Opened 13 years ago

Closed 13 years ago

#1879 closed defect (fixed)

Unable to play back smoothly with ogm container versus mkv

Reported by: kernel@… Owned by: reimar
Priority: normal Component: demuxer
Version: 1.0rc4 Severity: normal
Keywords: Cc: cehoyos
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

With a video that has the following properties in an ogm container:

libavformat file format detected.
[vorbis @ 0x15a02a0]Extradata missing.
[vorbis @ 0x15b0aa0]Extradata missing.
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0, -alang English
[lavf] stream 2: audio (vorbis), -aid 1, -alang Japanese
[lavf] stream 3: subtitle (unknown), -sid 0, -slang English (Dubbed Subtitles)
[lavf] stream 4: subtitle (unknown), -sid 1, -slang English (Formated)
[lavf] stream 5: subtitle (unknown), -sid 2, -slang English (Unformated)
VIDEO: [MP4V] 640x480 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 91.2 kbit/5.94% (ratio: 11400->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================

Playback stutters and drops frames and is unable to keep up. However, simply opening the ogm with mkvtoolnix and remuxing it as an mkv, it plays back fine.

The sample video is here:
http://ittaku-subs.net/zx.cots.01.divx5.ogm

Please advise once the video has been grabbed so I may remove it from this server as I do not wish it to be general distribution after this bug report.

Attachments (1)

debug.log (98.6 KB ) - added by kernel@… 13 years ago.
Verbose output log

Download all attachments as: .zip

Change History (6)

comment:1 by cehoyos, 13 years ago

Cc: cehoyos@… added

Since your sample plays fine for me (no stuttering, no drops, A/V sync ok afaict), please provide complete, uncut output.

comment:2 by kernel@…, 13 years ago

Trying this with either mplayer or gmplayer yields slightly different playback, but both really bad. The main difference in output without gmplayer is the lack of "too many buffered" message.

gmplayer zx.cots.01.divx5.ogm
MPlayer 1.0rc4-4.4.5 (C) 2000-2010 MPlayer Team
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.

Playing /media/disk/Anime/ZX.COTS/zx.cots.01.divx5.ogm.
Cache fill: 0.00% (0 bytes)
libavformat file format detected.
[vorbis @ 0x171b520]Extradata missing.
[vorbis @ 0x172bd20]Extradata missing.
[lavf] stream 0: video (mpeg4), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0, -alang English
[lavf] stream 2: audio (vorbis), -aid 1, -alang Japanese
[lavf] stream 3: subtitle (unknown), -sid 0, -slang English (Dubbed Subtitles)
[lavf] stream 4: subtitle (unknown), -sid 1, -slang English (Formated)
[lavf] stream 5: subtitle (unknown), -sid 2, -slang English (Unformated)
VIDEO: [MP4V] 640x480 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[ass] auto-open
[ass] Init
[ass] Updating font cache
==========================================================================
Trying to force video codec driver family :...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 91.2 kbit/5.94% (ratio: 11400->192000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
Too many buffered pts: -0.089 ct: 17.778 0/ 0 6% 2% 0.3% 21 0 99%
Too many buffered pts: -0.088 ct: 16.778 0/ 0 6% 2% 0.3% 22 0 99%
Too many buffered pts: -0.088 ct: 15.778 0/ 0 6% 2% 0.3% 23 0 99%
Too many buffered pts: -0.087 ct: 14.778 0/ 0 6% 2% 0.3% 24 0 99%
Too many buffered pts: -0.087 ct: 13.778 0/ 0 6% 2% 0.3% 25 0 99%
Too many buffered pts: -0.086 ct: 12.778 0/ 0 6% 2% 0.3% 26 0 99%
Too many buffered pts: -0.086 ct: 11.778 0/ 0 6% 2% 0.3% 27 0 99%
Too many buffered pts: -0.085 ct: 10.778 0/ 0 6% 2% 0.3% 28 0 99%
Too many buffered pts: -0.085 ct: 9.778 0/ 0 6% 2% 0.3% 29 0 99%
Too many buffered pts: -0.084 ct: 8.778 0/ 0 6% 2% 0.3% 30 0 99%
Too many buffered pts: -0.084 ct: 7.868 0/ 0 6% 2% 0.3% 31 0 99%
Too many buffered pts: -0.083 ct: 7.049 0/ 0 6% 2% 0.3% 32 0 99%
Too many buffered pts: -0.083 ct: 6.312 0/ 0 6% 2% 0.3% 33 0 99%
Too many buffered pts: -0.083 ct: 5.649 0/ 0 6% 2% 0.3% 34 0 99%
Too many buffered pts: -0.082 ct: 5.052 0/ 0 6% 2% 0.3% 35 0 99%
Too many buffered pts: -0.082 ct: 4.515 0/ 0 6% 2% 0.3% 36 0 99%
Too many buffered pts: -0.081 ct: 4.031 0/ 0 6% 2% 0.3% 37 0 99%
Too many buffered pts: -0.081 ct: 3.596 0/ 0 6% 2% 0.3% 38 0 99%
Too many buffered pts: -0.081 ct: 3.204 0/ 0 6% 2% 0.3% 39 0 99%
Too many buffered pts: -0.080 ct: 2.852 0/ 0 6% 2% 0.3% 40 0 99%
Too many buffered pts: -0.080 ct: 2.535 0/ 0 6% 2% 0.3% 41 0 99%
Too many buffered pts: -0.079 ct: 2.249 0/ 0 6% 2% 0.3% 42 0 99%
Too many buffered pts: -0.079 ct: 1.992 0/ 0 6% 2% 0.3% 43 0 99%
Too many buffered pts: -0.078 ct: 1.761 0/ 0 6% 2% 0.3% 44 0 99%
Too many buffered pts: -0.078 ct: 1.553 0/ 0 6% 2% 0.3% 45 0 99%
A: -0.2 V: 5.0 A-V: -5.216 ct: -1.105 0/ 0 3% 1% 0.3% 55 0 99%


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.

Too many buffered pts: 1.072 ct: -0.171 0/ 0 3% 1% 0.3% 74 0 99%
Too many buffered pts: 1.073 ct: -0.158 0/ 0 3% 1% 0.3% 75 0 99%
Too many buffered pts: 1.073 ct: -0.147 0/ 0 3% 1% 0.3% 76 0 99%
Too many buffered pts: 1.023 ct: -0.073 0/ 0 3% 1% 0.3% 95 0 99%
Too many buffered pts: 1.024 ct: -0.073 0/ 0 3% 1% 0.3% 96 0 99%
Too many buffered pts: 1.024 ct: -0.072 0/ 0 3% 1% 0.3% 97 0 99%
Too many buffered pts: 1.024 ct: -0.071 0/ 0 3% 1% 0.3% 98 0 99%
A: 7.1 V: 7.1 A-V: -0.058 ct: -0.772 0/ 0 2% 0% 0.2% 102 0 99%
Exiting... (Quit)

by kernel@…, 13 years ago

Attachment: debug.log added

Verbose output log

comment:3 by kernel@…, 13 years ago

This is the output log when run with a higher message level (attachment since it's long):
gmplayer -msglevel all=6 zx.cots.01.divx5.ogm > debug.log 2>&1

comment:4 by reimar, 13 years ago

rc4 is already quite old, there were a lot of Ogg-related fixes in FFmpeg since then.
You can try -demuxer ogg but otherwise getting a latest SVN version (or only updating libavformat might help as well) is likely to fix it.

comment:5 by kernel@…, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in latest source snapshot. Thanks very much, I'm marking this resolved.

Note: See TracTickets for help on using tickets.