[MPlayer-users] video scaling doesn't work
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Feb 11 20:32:33 CET 2014
On 11.02.2014, at 20:10, Grant <emailgrant at gmail.com> wrote:
>>
>> Well, someone got it working at some point with X11 and its omapfb
>> XVideo implementation. So that definitely is possible without
>> programming, it's just a matter of finding the "magic incantations"
>> (aka where did they hide the magic combination of programs that worked
>> on exactly one day).
>
> I didn't realize that was ever working. How do you know it used to work?
Because I saw a patch that enabled scaling by someone who said it worked, and it was integrated.
Thus the conclusion that for one person it must have worked once.
>>> so I can either prescale with mencoder/ffmpeg or try to get mplayer to
>>> scale on the fly. This works nicely except the video only appears in
>>> the top 35% of the screen:
>>>
>>> mplayer -vf scale=1360:-1 -fs file.mp4
>>
>> You'll want something like "-vf scale=1360:-2,expand=aspect=16/9"
>> but the saying about lipstick and pig applies...
>
> That scales it perfectly although performance isn't up to snuff as expected.
>
>> Also I don't know what code you are using, but since this code in the
>> comment right on top:
>> http://cgit.openembedded.org/openembedded/plain/recipes/mplayer/files/vo_omapfb.c
>> explicitly says that _downscaling_ doesn't work that should
>> mean that upscaling certainly should work.
>> (Note: there is some ancient code there, so that link is not meant as
>> endorsement...)
>
> I've been using the xf86-video-omapfb driver but I haven't tried -vo
> omapfb.
It would have saved some confusion if you had said that the first time I asked.
> How can I get mplayer to consider that omapfb C file at
> compile time? Does it just need to be in a certain folder in the
> source?
There's also a diff that needs to be applied, and even then I have some doubts it will work.
The code misses about 5 years of updates to libvo functionality..
More information about the MPlayer-users
mailing list