[MPlayer-advusers] mencoder cannot handle VFR mkv file and mplayer AVI demuxer cannot handle the reencoded file

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Sun Jun 25 21:40:57 CEST 2006


mphq: incoming/120fps-mkv/[KTKJ][stratos4_advance][01][big][E72C0C1D].mkv

The file is VFR. Particularly, the end credits are 30000/1001 and the rest
is 24000/1001. MPlayer reports it as 120000/1001.

There seems to be a bug in mencoder concerning this particular MKV file.

If I tell mencoder to handle audio then it always fails with:
Pos: 188.6s   4435f (14%) 685.90fps Trem:   0min 170mb  A-V:-0.012 [930:128]
Too many audio packets in the buffer: (4099 in 7345408 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.

Video stream:  930.404 kbit/s  (116300 B/s)  size: 21932742 bytes  188.587 secs  4435 frames

Audio stream:  128.000 kbit/s  (16000 B/s)  size: 3025920 bytes  189.120 secs

even with streamcopy. If I use -nosound, it goes through the whole file fine.

If I reencode the video stream to 24000/1001 AVI and remux with audio extracted
with mkvextract (it's AC3), the resulting file doesn't play in sync when using
MPlayer's AVI demuxer. Audio timestamps grow about 500 times faster than video
and seeking makes audio restart from the very beginning. If I use -demuxer lavf,
however, it plays fine and there's no desync.

$ mplayer -v
MPlayer dev-Fedora-GS-SVN-r18747-4.1.1 (C) 2000-2006 MPlayer Team

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-advusers mailing list