[MPlayer-users] Scaling problems on Windows
Robert Jenks
rjenks at animefest.org
Mon Aug 20 15:39:42 CEST 2007
RC wrote:
> On Sun, 19 Aug 2007 21:54:18 -0500
> Robert Jenks <rjenks at animefest.org> wrote:
>
>
>> In this particular case I am trying to scale video to
>> the best fit within a 480x360 rectangle.
>>
>
> -vf dsize has options for exactly that purpose.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
I just tried:
-vf dsize=480:360:-1
-vf dsize=480:360:0
-vf dsize=480:360:1
-vf dsize=480:360:2
-vf dsize=480:360:3
They all did the same thing. It says that it's scaling the video to
480x360, but it's actually scaling it to 560x360.
Here is the output from one of the runs:
C:\>mplayer -noborder -slave -osdlevel 0 -zoom -geometry 640:135 -vf
dsize=480:360:2 preview.avi
Playing preview.avi.
AVI file format detected.
VIDEO: [XVID] 640x480 24bpp 23.976 fps 2342.6 kbps (286.0 kbyte/s)
Clip info:
Software: VirtualDubMod 1.5.4.1 (build 2066/release)
Opening video filter: [dsize=480:360:2]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [directx] 640x480 => 480x360 Planar YV12 [zoom]
Exiting... (End of file)
-Robert
More information about the MPlayer-users
mailing list