Two issues here: 1. File length is shown as 00:03:01. MPlayer's demuxer cannot seek past 00:07:09 (it wraps back to 00:00:00 when you try). After that there's a quickly growing desync: First analysis: Video timestamp resets at 429 seconds, audio timestamps go on. -demuxer lavf seems to handle it fine -Reimar $ mplayer -v [AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4 MPlayer SVN-r23784 rpm.livna.org (C) 2000-2007 MPlayer Team CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 35, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/home/rathann/.mplayer/codecs.conf' Reading /home/rathann/.mplayer/codecs.conf: Can't open '/home/rathann/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer --mandir=/usr/share/man --confdir=/etc/mplayer --libdir=/usr/lib64 --codecsdir=/usr/lib64/codecs --disable-encoder=FAAC --disable-encoder=MP3LAME --disable-encoder=X264 --enable-largefiles --disable-termcap --disable-bitmap-font --enable-lirc --enable-joystick --disable-smb --disable-dvdread-internal --disable-libdvdcss-internal --enable-menu --disable-faad-internal --disable-tremor-internal --disable-libamr_nb --disable-libamr_wb --disable-mad --disable-svga --enable-xvmc --disable-directfb --disable-svga --disable-arts --disable-esd --disable-jack --disable-openal --enable-runtime-cpudetection --target=x86_64-linux --language=all --with-xvmclib=XvMCW CommandLine: '-v' '[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/rathann/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/rathann/.mplayer/input.conf' Parsing input config file /home/rathann/.mplayer/input.conf Input config file /home/rathann/.mplayer/input.conf parsed: 62 binds Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. get_path('[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4.conf') -> '/home/rathann/.mplayer/[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4.conf' Playing [AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4. get_path('sub/') -> '/home/rathann/.mplayer/sub/' [file] File size is 262130406 bytes STREAM: [file] [AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for NuppelVideo Checking for REAL Checking for SMJPEG SUB: opened iconv descriptor. SUB: closed iconv descriptor. Searching demuxer type for filename [AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4 ext: .mp4 Trying demuxer 7 based on filename extension Checking for MOV ISO: File Type Major Brand: ISO Base Media ISO: File Type Minor Version: 1 ISO: File Type Compatible Brand #0: isom MOV: Movie header found! MOV: Movie DATA found! Quicktime/MOV file format detected. MOV: Movie header (100 bytes): tscale=600 dur=881855 MOV: unknown chunk: iods 13 -------------- MOV: Track #0: MOV: Track header! tkhd len=84 ver=0 flags=0x0 id=1 dur=881855 lay=0 vol=0 MOV: Media stream! MOV: Media header! MOV: Handler header: /vide () PAC ISO Video Handler MOV: unknown handler class: 0x0 () MOV: Media info! MOV: Video header! MOV: unknown chunk: dinf 28 MOV: Sample info! MOV: Description list! (cnt:1) MOV: desc #0: avc1 (138 bytes) MOV: Sample duration table! (1 blocks) MOV: unknown chunk: ctts 238056 MOV: Syncing samples (keyframes) table! (330 entries) (ver:0,flags:0) MOV: Sample->Chunk mapping table! (3 blocks) (ver:0,flags:0) MOV: Sample size table! (entries=35239 ss=0) (ver:0,flags:0) MOV: Chunk offset table! (3204 chunks) MOV track #0: 3204 chunks, 35239 samples pts=1812685949 scale=10000000 time=181.269 ==> Found video stream: 0 [mov] Video stream found, -vid 0 MOV: AVC decoder configuration record atom (48)! MOV: avcC version: 1 MOV: avcC profile: 100 MOV: avcC profile compatibility: 0 MOV: avcC level: 51 MOV: avcC nal length size: 4 MOV: avcC number of sequence param sets: 1 MOV: avcC sps 0 have length 25 MOV: avcC number of picture param sets: 1 MOV: avcC pps 0 have length 4 MOV: Found unknown movie atom btrt (20)! Image size: 1280 x 720 (24 bpp) Display size: 1280 x 720 Fourcc: avc1 Codec: '' -------------- MOV: Track #1: MOV: Track header! tkhd len=84 ver=0 flags=0x0 id=2 dur=881728 lay=0 vol=256 MOV: Media stream! MOV: Media header! MOV: Handler header: /soun () PAC ISO Audio Handler MOV: unknown handler class: 0x0 () MOV: Media info! MOV: Sound header! MOV: unknown chunk: dinf 28 MOV: Sample info! MOV: Description list! (cnt:1) MOV: desc #0: mp4a (59 bytes) MOV: Sample duration table! (1 blocks) MOV: Sample->Chunk mapping table! (3166 blocks) (ver:0,flags:0) MOV: Sample size table! (entries=68885 ss=0) (ver:0,flags:0) MOV: Chunk offset table! (3203 chunks) MOV track #1: 3203 chunks, 68885 samples pts=70538240 scale=48000 time=1469.547 ==> Found audio stream: 1 [mov] Audio stream found, -aid 1 Audio bits: 16 chans: 6 rate: 48000 MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)! ESDS MPEG4 version: 0 flags: 0x000000 ESDS MPEG4 ES Descriptor (25Bytes): -> ESId: 0 -> streamPriority: 0 ESDS MPEG4 Decoder Config Descriptor (17Bytes): -> objectTypeId: 64 -> streamType: 0x15 -> bufferSizeDB: 0x000465 -> maxBitrate: 335.712kbit/s -> avgBitrate: 316.632kbit/s ESDS MPEG4 Decoder Specific Descriptor (2Bytes) ESDS MPEG4 Sync Layer Config Descriptor (1Bytes) -> predefined: 2 Fourcc: mp4a -------------- MOV: longest streams: A: #1 (68885 samples) V: #0 (35239 samples) VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:7 fourcc:0x31637661 size:1280x720 fps:23.98 ftime:=0.0417 get_path('sub/') -> '/home/rathann/.mplayer/sub/' X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms Disabling DPMS DPMSDisable stat: 1 xscreensaver_disable: xscreensaver wid=35651585. [xv common] Drawing no colorkey. [xv common] Maximum source image dimensions: 2046x2046 [vo] query(Planar YV12) -> 3 [ass] auto-open [ass] Init get_path('fonts') -> '/home/rathann/.mplayer/fonts' get_path('subfont.ttf') -> '/home/rathann/.mplayer/subfont.ttf' ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) dec_audio: Allocating 4608 bytes for input buffer. dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer. FAAD: Decoder init done (0Bytes)! FAAD: Negotiated samplerate: 48000Hz channels: 6 FAAD: got 316kbit/s bitrate from MP4 header! AUDIO: 48000 Hz, 2 ch, s16le, 316.6 kbit/20.61% (ratio: 39579->192000) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder) ========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter volnorm alsa-init: requested format: 48000 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.14 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: chunksize set to 1024 alsa-init: fragcount=16 alsa-init: got buffersize=65536 alsa-init: got period size 1024 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.x audio output AO: Author: Alex Beregszaszi, Zsolt Barat AO: Comment: under developement Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... Starting playback... [ffmpeg] aspect_ratio: 0.000000 VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12) Trying filter chain: ass vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659) REQ: flags=0x437 req=0x0 VO: [xv] 1280x720 => 1280x720 Planar YV12 VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x30323449 (I420) planar using Xvideo port 355 for hw scaling [xv] dx: 0 dy: 0 dw: 1280 dh: 720 *** [ass] Exporting mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes *** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes Unicode font: 656 glyphs. [xv] dx: 1 dy: 21 dw: 1280 dh: 720 A: 429.4 V: 429.4 A-V: 0.001 ct: 0.045 895/895 21% 4% 2.2% 0 0 Invalid frame duration value (429.470/0.015 => -429.455). Defaulting to 0.042 sec. A: 430.0 V: 2.1 A-V:427.917 ct: 51.045 947/947 21% 4% 2.0% 50 0 2. lavf's demuxer works fine on 64bit, but not so on 32bit. The playback is slowed down by a factor of over 10 and I soon get "your system is too slow" message. This is on 32bit Intel Core: $ mplayer [AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4 -demuxer lavf -v MPlayer dev-SVN-r24100-4.1.2 (C) 2000-2007 MPlayer Team CPU: Genuine Intel(R) CPU T2050 @ 1.60GHz (Family: 6, Model: 14, Stepping: 8) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 get_path('codecs.conf') -> '/home/staff/rathann/.mplayer/codecs.conf' Reading /home/staff/rathann/.mplayer/codecs.conf: Can't open '/home/staff/rathann/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: CommandLine: '/home/staff/rathann/media/video/[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4' '-demuxer' 'lavf' '-v' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/staff/rathann/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/staff/rathann/.mplayer/input.conf' Can't open input config file /home/staff/rathann/.mplayer/input.conf: No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config get_path('[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4.conf') -> '/home/staff/rathann/.mplayer/[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4.conf' Playing /home/staff/rathann/media/video/[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4. get_path('sub/') -> '/home/staff/rathann/.mplayer/sub/' [file] File size is 262130406 bytes STREAM: [file] /home/staff/rathann/media/video/[AonE_-_Conclave]_Devil_May_Cry_-_01_[x264][1280x720][AAC_5.1][E1F8CD70].mp4 STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) CACHE_PRE_INIT: 0 [0] 122880 pre:6710886 eof:0 LAVF_check: QuickTime/MPEG4/Motion JPEG 2000 format libavformat file format detected. ==> Found video stream: 0 [lavf] Video stream found, -vid 0 ======= VIDEO Format ====== biSize 80 biWidth 1280 biHeight 720 biPlanes 0 biBitCount 24 biCompression 828601953='avc1' biSizeImage 2764800 Unknown extra header dump: [1] [64] [0] [33] [ff] [e1] [0] [19] [67] [64] [0] [33] [ac] [34] [e1] [10] [14] [1] [6e] [84] [0] [19] [74] [ec] [4] [c4] [b4] [2] [3c] [60] [c6] [11] [80] [1] [0] [4] [68] [ee] [bc] [b0] =========================== ==> Found audio stream: 1 [lavf] Audio stream found, -aid 1 ======= WAVE Format ======= Format Tag: 28781 (0x706D) Channels: 3 Samplerate: 48000 avg byte/sec: 0 Block align: 1 bits/sample: 16 cbSize: 2 Unknown extra header dump: [11] [b0] ========================================================================== LAVF: 1 audio and 1 video streams found LAVF: build 3345410 VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) [V] filefmt:35 fourcc:0x31637661 size:1280x720 fps:23.98 ftime:=0.0417 get_path('sub/') -> '/home/staff/rathann/.mplayer/sub/' X11 opening display: :0.0 vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display) [x11] Detected wm supports NetWM. [x11] Detected wm supports FULLSCREEN state. [x11] Detected wm supports ABOVE state. [x11] Detected wm supports BELOW state. [x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms xscreensaver_disable: Could not find XScreenSaver window. [xv common] Drawing colorkey manually. [xv common] Using colorkey from Xv (0x0101fe). [xv common] Maximum source image dimensions: 1920x1088 [vo] query(Planar YV12) -> 3 [ass] auto-open [ass] Init get_path('fonts') -> '/home/staff/rathann/.mplayer/fonts' get_path('subfont.ttf') -> '/home/staff/rathann/.mplayer/subfont.ttf' ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family INFO: libavcodec init OK! Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) dec_audio: Allocating 4608 bytes for input buffer. dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer. FAAD: Decoder init done (0Bytes)! FAAD: Negotiated samplerate: 48000Hz channels: 6 FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder) ========================================================================== Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??... [libaf] Adding filter volnorm alsa-init: requested format: 48000 Hz, 2 channels, 9 alsa-init: using ALSA 1.0.14rc1 alsa-init: setup for 1/2 channel(s) alsa-init: using device default alsa-init: pcm opened in blocking mode alsa-init: chunksize set to 1024 alsa-init: fragcount=16 alsa-init: got buffersize=65536 alsa-init: got period size 1024 alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) AO: Description: ALSA-0.9.x-1.x audio output AO: Author: Alex Beregszaszi, Zsolt Barat AO: Comment: under developement Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le... Starting playback... [ffmpeg] aspect_ratio: 0.000000 VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12) Trying filter chain: ass vo VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO Config (1280x720->1280x720,flags=0,'MPlayer',0x32315659) REQ: flags=0x437 req=0x0 VO: [xv] 1280x720 => 1280x720 Planar YV12 VO: Description: X11/Xv VO: Author: Gerd Knorr and others Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x30323449 (I420) planar Xvideo image format: 0x59565955 (UYVY) packed using Xvideo port 73 for hw scaling [xv] dx: 0 dy: 0 dw: 1280 dh: 720 *** [ass] Exporting mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes *** [vo] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes Unicode font: 656 glyphs. [xv] dx: 1 dy: 21 dw: 1278 dh: 720 A: 0.1 V: 0.1 A-V: -0.008 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 4% A: 0.4 V: 0.1 A-V: 0.228 ct: -0.006 2/ 2 ??% ??% ??,?% 1 0 4% A: 0.3 V: 0.3 A-V: 0.091 ct: -0.020 3/ 3 ??% ??% ??,?% 2 0 4% A: 0.4 V: 0.2 A-V: 0.175 ct: -0.024 4/ 4 ??% ??% ??,?% 2 0 4% A: 0.5 V: 0.2 A-V: 0.302 ct: -0.020 5/ 5 ??% ??% ??,?% 3 0 4% A: 0.5 V: 0.3 A-V: 0.199 ct: -0.024 6/ 6 ??% ??% ??,?% 4 0 4% A: 0.6 V: 0.3 A-V: 0.264 ct: -0.028 7/ 7 ??% ??% ??,?% 5 0 4% A: 0.6 V: 0.4 A-V: 0.243 ct: -0.031 8/ 8 ??% ??% ??,?% 6 0 4% A: 0.8 V: 0.4 A-V: 0.351 ct: -0.034 9/ 9 ??% ??% ??,?% 7 0 4% A: 0.8 V: 0.5 A-V: 0.309 ct: -0.037 10/ 10 ??% ??% ??,?% 8 0 4% A: 0.8 V: 0.5 A-V: 0.310 ct: -0.040 11/ 11 ??% ??% ??,?% 8 0 4% A: 1.0 V: 0.5 A-V: 0.439 ct: -0.042 12/ 12 ??% ??% ??,?% 9 0 4% A: 1.0 V: 0.6 A-V: 0.397 ct: -0.044 13/ 13 44% 9% 1108.4% 10 0 4% A: 1.0 V: 0.6 A-V: 0.398 ct: -0.046 14/ 14 42% 9% 1023.2% 11 0 4% A: 1.2 V: 0.7 A-V: 0.570 ct: -0.047 15/ 15 41% 9% 981.0% 12 0 4% A: 1.2 V: 0.7 A-V: 0.507 ct: -0.049 16/ 16 41% 9% 1056.8% 13 0 4% A: 1.3 V: 0.8 A-V: 0.508 ct: -0.050 17/ 17 40% 9% 990.7% 14 0 4% A: 1.3 V: 0.8 A-V: 0.551 ct: -0.051 18/ 18 39% 9% 940.3% 15 0 4% A: 1.7 V: 0.8 A-V: 0.830 ct: -0.052 19/ 19 38% 9% 932.6% 16 0 5% A: 1.7 V: 0.9 A-V: 0.788 ct: -0.053 20/ 20 38% 9% 1045.1% 17 0 4% A: 1.7 V: 0.9 A-V: 0.789 ct: -0.054 21/ 21 37% 9% 992.9% 18 0 4% Uninit audio filters... [libaf] Removing filter volnorm Uninit audio: faad FAAD: Closing decoder! Uninit video: ffmpeg alsa-uninit: pcm closed vo: uninit ... Exiting... (Quit)