[MPlayer-users] weird problem with -demuxer lafv and mp4 files
ajaxas
ajaxas at gmail.com
Fri Mar 9 15:35:21 CET 2007
On Fri, 9 Mar 2007 15:17:45 +0200
Nick Koretsky <nikita at public.ua.net> wrote:
> ...
> Something weird is going on here, and i don't understand where to look for....
Well, there's a lot of strange things with the way(s) mplayer handles MP4
container demuxing. As you just mentioned, there are two demuxers: MOV/MP4
demuxer and lavf, and both don't work correctly.
1. Lavf doesn't handle subtitles and sometimes fails on files which MOV/MP4
demuxer does properly. Usually, it doesn't decode audio stream.
Here's the example:
correct handling - MOV/MP4
---------------------------------------------------------------------------
mplayer \[C1\]Nodame_Cantabile_-_04\[X264\]\[OGG\]\[HD\]\[F743075A\].mp4
MPlayer dev-SVN-r22495-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 [C1]Nodame_Cantabile_-_04[X264][OGG][HD][F743075A].mp4.
Quicktime/MOV file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Planar YV12
[ASPECT] Warning: No suitable new res found!
incorrect handling - lavf
---------------------------------------------------------------------------
mplayer \[C1\]Nodame_Cantabile_-_04\[X264\]\[OGG\]\[HD\]\[F743075A\].mp4
-demuxer lavf MPlayer dev-SVN-r22495-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 [C1]Nodame_Cantabile_-_04[X264][OGG][HD][F743075A].mp4.
libavformat file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: Failed to initialize the decoder!
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x6134706D.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x720 => 1280x720 Planar YV12
[ASPECT] Warning: No suitable new res found!
Though each time mplayer fails recognizing video bitrate of the file.
In Windows MediaPlayerClassic + ffdshow work fine on these files.
2. Another bug has already been reported for several times: irrelevant to
demuxer enabled, mplayer shows wrong length (time) of MP4 files. For example, 8
seconds, or just several minutes. Usually, you cannot seek past some point in
these cases - playback will jump to the beginning of the file.
Inconvenient.
--
ajaxas <ajaxas at gmail.com>
More information about the MPlayer-users
mailing list