[MPlayer-users] dvr-ms incorrect aspect ratio
Andrew Wason
rectalogic at rectalogic.com
Mon Mar 30 23:49:07 CEST 2009
mplayer seems to play most dvr-ms samples with the wrong aspect ratio by
default. Forcing "-vc mpeg12" fixes it, so it must be some interaction with the
default 'ffmpeg2' decoder.
e.g. with the various samples available, mplayer plays at the following sizes:
-vc ffmpeg2 => 1001x480
-vc mpeg12 => 768x576
http://samples.mplayerhq.hu/dvr_ms/Channel%204%20News_Channel%204_20_10_2006_19_00_01.dvr-ms
-vc ffmpeg2 => 1002x480
-vc mpeg12 => 1920x1080
http://samples.mplayerhq.hu/dvr_ms/today.dvr-ms
-vc ffmpeg2 => 1002x480
-vc mpeg12 => 1920x1080
http://samples.mplayerhq.hu/dvr_ms/test.dvr-ms
I also have a sample that gets these results:
-vc ffmpeg2 => 720x540
-vc mpeg12 => 1920x1080
Sample mplayer output for default (ffmpeg2) and forcing mpeg12:
mplayer http://samples.mplayerhq.hu/dvr_ms/today.dvr-ms
MPlayer SVN-r29108-4.0.1 (C) 2000-2009 MPlayer Team
Playing http://samples.mplayerhq.hu/dvr_ms/today.dvr-ms.
Resolving samples.mplayerhq.hu for AF_INET6...
Resolving samples.mplayerhq.hu for AF_INET...
Connecting to server samples.mplayerhq.hu[213.144.138.186]: 80...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
Cache fill: 2.50% (8192 bytes)
Cache fill: 7.50% (24576 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 2
[asfheader] Video stream found, -vid 1
VIDEO: [DVR ] 0x0 0bpp 1000.000 fps 13219.3 kbps (1613.7 kbyte/s)
VIDEO: MPEG2 1440x1080 (aspect 3) 25.000 fps 90000.0 kbps (11250.0 kbyte/s)
Clip info:
name: Today
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 704 x 480 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.09:1 - prescaling to correct movie aspect.
[swscaler @ 0x827340]BICUBIC scaler, from yuv420p to yuyv422 using MMX2
VO: [macosx] 704x480 => 1002x480 Packed YUY2
=========
mplayer -vc mpeg12 http://samples.mplayerhq.hu/dvr_ms/today.dvr-ms
MPlayer SVN-r29108-4.0.1 (C) 2000-2009 MPlayer Team
Playing http://samples.mplayerhq.hu/dvr_ms/today.dvr-ms.
Resolving samples.mplayerhq.hu for AF_INET6...
Resolving samples.mplayerhq.hu for AF_INET...
Connecting to server samples.mplayerhq.hu[213.144.138.186]: 80...
Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)
Cache fill: 0.00% (0 bytes)
Cache fill: 7.50% (24576 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 2
[asfheader] Video stream found, -vid 1
VIDEO: [DVR ] 0x0 0bpp 1000.000 fps 13219.3 kbps (1613.7 kbyte/s)
VIDEO: MPEG2 1440x1080 (aspect 3) 25.000 fps 90000.0 kbps (11250.0 kbyte/s)
Clip info:
name: Today
==========================================================================
Forced video codec: mpeg12
Opening video decoder: [libmpeg2] libmpeg2 MPEG 1/2 Video decoder
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 256.0 kbit/16.67% (ratio: 32000->192000)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
AO: [macosx] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
[...]
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [macosx] 1440x1080 => 1920x1080 Packed YUY2
More information about the MPlayer-users
mailing list