Jason Tackaberry wrote: >On Tue, 2005-11-08 at 19:15 -0800, Ben Ford wrote: > > >>+ h = int(w*0.75) >> >> > >The problem with this is that it assumes a 4:3 display. I'm sure freevo > > That's why I posted it saying there's probably a better way ;)
[...] >So this should be called with -vf expand=720:640. MPlayer will display >this video as 854x640 via hardware scaling, which you can see is 4:3. >Your way would call -vf expand=720:540, which would play as 854x540 >which is 1.58:1. > > The expand filter doesn't scale, so it doesn't really matter what you set the height to as long as it's equal to or greater than the "real" height. It won't affect how the video is displayed, you'll just waste a small amount of screen space that won't be visible anyways. FWIW, the files I tested this on were 2.43:1, 1.78:1 and 1.3:1. (and again, the more proper way would take the aspect ratio and the display size into account) >Personally, I would find it annoying that the video is aligned on the >top edge of the screen but hey, to each his own. :) The expand filter >has an option to render subtitles over the expanded area, though, so >something like -vf expand=720:640:::1 would be my preference. > > The :1 for subtitles didn't seem to work properly. However, if you omit it, subtitles are displayed as usual. >>Unfortunately, the two don't seem to work with each other. If you apply >>the patch, the panscan trick stops working. I believe that's a >>limitation of mplayer. >> >> > >MPlayer isn't really behaving wrong here. When you expand the video to >4:3 aspect, panscan has nothing to do. > > That's one way of thinking about it. However, I think that panscan should operate on the video stream before the -vf filters. Expanding the video is merely a hack to get around mplayer silliness. -b -- Dear Outlook users: Please remove me from your address books http://www.newsforge.com/article.pl?sid=03/08/21/143258 ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
