[MPlayer-dev-eng] autoexpand patch

jan gregor pamela at rak.bb.euroweb.sk
Sat Nov 13 14:20:58 CET 2004


> On closer look it doesn't work right. With the above setting, it expands
> my 640x272 AVI with 2.35 aspect to 640x479 and it messes up my DVD:
> -vf 1024:::::4/3 gives me 1456x768 from 720x576, aspect 16/9 movie.
> Sorry, it's broken.

It's strange, for me and my test movies everything works just fine.
In first scenario, I get this:
./mplayer -vf expand=aspect=2.35 -identify ../test_video/test.avi
...
ID_VIDEO_WIDTH=640
ID_VIDEO_HEIGHT=272
...
VO: [xv] 640x272 => 640x272 Planar YV12

In the second scenario I get this:
./mplayer -vf expand=1024:::::4/3 -identify ../test_video/test.avi
...
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
...
VO: [xv] 1024x768 => 1024x768 Planar YV12

Try to put this line:
printf("\n%d %d\n\n",width,height);
to patched libmpcodecs/vf_expand.c on line 166 (just after line:
if (outfmt == IMGFMT_IF09) return 0;
. Then compare assumed proportions of the movie with numbers printed by
this printf().
That's best what i thought of at the moment, please send me a result of
this test, after that I will look at this issue as soon as possible.
Anyone else having similar problem(s)?


Best regards

Jan Gregor




More information about the MPlayer-dev-eng mailing list