Opened 14 years ago
Last modified 14 years ago
#1763 new defect
some MKVs out-of-sync
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | demuxer |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
It takes up to 20 seconds with some MKV files to reach AV sync. There is no sound with shorter files. I uploaded such file (100814.mkv) to ftp://upload.mplayerhq.hu/MPlayer/incoming
VLC plays that file well. MPlayer SVN built in May doesn't have this bug.
MPlayer 31961-4.4.4 (C) 2000-2010 MPlayer Team
Playing 100814.mkv.
Cache fill: 15.29% (2564747 bytes)
libavformat file format detected.
[matroska,webm @ 0x1553390] Estimating duration from bitrate, this may be inaccurate
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
[lavf] stream 1: audio (flac), -aid 0
VIDEO: [H264] 720x480 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=100814.mkv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=1.7793
ID_AUDIO_FORMAT=61868
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=11.86
ID_SEEKABLE=1
ID_CHAPTERS=0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [hqdn3d=2:1:0]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->192000)
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffflac] afm: ffmpeg (FFmpeg FLAC audio)
==========================================================================
AO: [alsa] 48000Hz 2ch s32le (4 bytes per sample)
ID_AUDIO_CODEC=ffflac
Starting playback...
[h264 @ 0xbe88e0]Cannot parallelize deblocking type 1, decoding such frames in sequential order
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7793
VO: [gl] 720x480 => 854x480 Planar YV12 [fs]
A: 7.1 V: 1.7 A-V: 5.394 ct: 6.040 0/ 0 10% 45% 0.8% 50 0 10%
Your system is too SLOW to play this!
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
A: 12.1 V: 11.7 A-V: 0.406 ct: 6.069 0/ 0 7% 43% 0.5% 344 0 0%
Exiting... (End of file)
ID_EXIT=EOF
Sync is much better if "-mc 0" is used
VO: [gl] 720x480 => 854x480 Planar YV12 [fs]
A: 11.8 V: 11.7 A-V: 0.085 ct: 0.000 0/ 0 7% 6% 1.0% 1 0 0%
Exiting... (End of file)
ID_EXIT=EOF