Page 1 of 1

OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 24, 2012 3:14 pm
by Alvaro
Sorry if this has been asked before. When I launch a movie with the parameters "omxplayer -o hdmi moviename", depending on the movie, parts of the desktop (top and bottom) are visible when the movie plays. I can see the top of the wallpaper and the taskbar even when the movie is on.

Any way to fix this?

I am running fully upgraded Raspbian.

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Thu Aug 30, 2012 4:07 pm
by sylverboss
Hi ,

having the exact same problem as well .. did an upgrade today but still the same

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Thu Aug 30, 2012 6:26 pm
by matbos
Try adding this to the end of the code:

Code: Select all

fbset -depth 8 && fbset -depth 16
:)

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 31, 2012 6:20 am
by Alvaro
matbos wrote:Try adding this to the end of the code:

Code: Select all

fbset -depth 8 && fbset -depth 16
:)
It is possible to get back to the desktop afterwards, or does it just blank out everything so you have to reboot?

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 31, 2012 8:05 am
by matbos
Yes, it is possible. Blank screen happens if you give -r to code,I had the same problem, I think its probably a bug. But that code works.

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 31, 2012 3:48 pm
by Alvaro
I am trying to add the parameters, but the movie does not launch. I must be doing something wrong. Any ideas?

Code: Select all

omxplayer -o hdmi -t on --align center nameofmovie.mp4 && fbset -depth 8 && fbset -depth 16
This had the same effect:

Code: Select all

omxplayer -o hdmi -t on --align center nameofmovie.mp4 fbset -depth 8 && fbset -depth 16

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 31, 2012 5:34 pm
by matbos
Does your screen go black?

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Fri Aug 31, 2012 8:04 pm
by Alvaro
matbos wrote:Does your screen go black?
No.

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Tue Oct 23, 2012 10:47 pm
by juriy
Just want to check out... are there any advises regarding this issue? I'm running into the same problem... The video playback works as a charm, but the parts of the desktop that are not covered by the player remain visible (initially they are blacked out, but they reappear once you move the mouse pointer over them).

I tried to launch several videos with and without -r flag, all having the same effect...

Would be grateful for help.

Re: OMXplayer - visible taskbar when playing a movie.

Posted: Tue Oct 23, 2012 11:25 pm
by Dweeber
I have a script that I use that calls omxplayer. I call it omxplay:

Code: Select all

#!/bin/bash
clear > /dev/tty1
omxplayer -o hdmi $1
It uses a command call clear and sends it to the /dev/tty1 port which clears the screen before playing.

I use it just like omxplayer but only have to deal with the video name like

omxplay hungergames.mp4

I keep the script with my other scripts in /usr/local/bin

Note that I use this headless.. and I rarely use startx itself preferring the command line.