[MPlayer-users] [BUG] movie-aspect autodetection failes for mkv in r22325

ajaxas ajaxas at gmail.com
Sat Feb 24 17:58:11 CET 2007


On Fri, 23 Feb 2007 22:49:37 +0300
Andrew Savchenko <Bircoph at list.ru> wrote:

> Hi, all
> 
> In current SVN revision 22325, movie aspect ratio detection failes 
> for matroska container (in spite of it works fine for avi). 
> 
> This feature works fine with r22290, so something was broken 
> recently. Regression test shows that problem appears in r22295.
> 
> Here is mplayer's output for current svn head:
[...]

Funny thing, but I recently encountered the same problem, yet without that
"Movie-Aspect is undefined - no prescaling applied" string :) I know nothing
about the way mplayer handles aspect ratio of MKV files, but seems like it uses
pixel w/h instead of display w/h, which is ofcourse more preferable.

Here's an example.

This is right:
-----------------------------------------------------------------------------
MPlayer dev-SVN-r22093-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Cannot load bitmap font: arial

Playing [TS]Hills_Have_Size_Ep1v2.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_MPEG/L3), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_VOBSUB) "Signs", -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_VOBSUB) "English Subtitles", -sid 1, -slang eng
[mkv] Will play video track 1.
[mkv] Will display subtitle track 3.
Matroska file format detected.
VIDEO:  [XVID]  640x480  12bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Opening video filter: [pp]
==========================================================================
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: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 852x480 Planar YV12 
-----------------------------------------------------------------------------------

And this is wrong:
-----------------------------------------------------------------------------------
MPlayer dev-SVN-r22335-4.1.2 (C) 2000-2007
MPlayer Team CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Cannot load bitmap font: arial

Playing [TS]Hills_Have_Size_Ep1v2.mkv.
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_MPEG/L3), -aid 0, -alang jpn
[mkv] Track ID 3: subtitles (S_VOBSUB) "Signs", -sid 0, -slang eng
[mkv] Track ID 4: subtitles (S_VOBSUB) "English Subtitles", -sid 1, -slang eng
[mkv] Will play video track 1.
[mkv] Will display subtitle track 3.
Matroska file format detected.
VIDEO:  [XVID]  640x480  12bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
Opening video filter: [pp]
==========================================================================
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: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12

-- 
ajaxas <ajaxas at gmail.com>



More information about the MPlayer-users mailing list