[mythtv] mythvideo: can see the myth theme when playing a video 16:9

Keith C mythtv at keithandjill.com
Mon Aug 15 16:36:06 UTC 2005


> In Mythvideo when I play 16:9 DVD-VOBs with the following command:
> mplayer -vo x11 -alang de -cache 8192 -ao sdl -really-quiet -fs - 
> zoom "$1"
> I see the myth theme at the top and bottom of the screen.
>

I prefer to put all my options in the ~/.mplayer/config file and then  
leaving the MythVideo player call at "mplayer %s".  Makes it far  
easier to keep cleaned up.

My guess here is that the "-vo x11" is at fault.  The x11 video out  
might not work as well as the xv out that most of us use.

And now, I give up one of my most precious secrets, how to get  
mplayer to scale video to fit inside an over-scanned output.  You  
could easily modify this line to scale video to fit inside whatever  
window size you want :

vf = pp=de,scale=1170:-2,expand=1280:720:26::0

This is a video filter:
     pp=de - denoise filter (i've always had it, assuming it was good)
     scale=1170:-2 - this scales the original video to 1170 pixels  
wide (what actually fits in my over-scanned tv screen), and the -2  
scales the vertical size to keep the original aspect ratio
     expand=1280:720:26::0 - this puts black borders around the video  
to fit the 1280x720 screen size and positions the newly scaled video  
at 26 pixels in from the left and centers the vertical.

I have noticed a bit of a change in the playback quality/speed, but  
it's still very watchable.  A better solution for me would likely be  
to force the xserver to only use the visible part of the screen, but  
I'm not good enough at modelines to get that working.

Keith C


More information about the mythtv-dev mailing list