GNOME Bugzilla – Bug 617855
[oggdemux] Fails to play LAC2010 videos
Last modified: 2010-05-06 10:58:25 UTC
Playing the LAC2010 videos with latest GIT results in an error while it works with latest release. This happens over http and locally. http://lac.linuxaudio.org/2010/recordings/ $ totem day1_1630_Writing_Audio_Applications_Using_GStreamer.ogv 0:00:01.021570116 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:392:bvw_error_msg: message = Could not decode stream. 0:00:01.021729984 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:394:bvw_error_msg: domain = 3595 (gst-stream-error-quark) 0:00:01.021761971 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:395:bvw_error_msg: code = 7 0:00:01.021787323 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:396:bvw_error_msg: debug = gsttheoradec.c(1147): theora_handle_data_packet (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTheoraDec:theoradec0: no header sent yet 0:00:01.021806669 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:397:bvw_error_msg: source = <theoradec0> 0:00:01.021835584 25904 0x12aa100 ERROR totem bacon-video-widget-gst-0.10.c:398:bvw_error_msg: uri = file:///home/slomo/projects/gstreamer/head/samples/day1_1630_Writing_Audio_Applications_Using_GStreamer.ogv ** Message: Error: Could not decode stream. gsttheoradec.c(1147): theora_handle_data_packet (): /GstPlayBin2:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTheoraDec:theoradec0:
Problem is, that only the 0x80 header packet is pushed and the 0x81, 0x82 header packets disappear somewhere in oggdemux. theoradec needs them both though.
This is fixed by one of the following commits: commit e33425e4d0697a88138c361aadd2cb6162678a67 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu May 6 12:21:38 2010 +0200 oggdemux: ignore the skeleton start time Ignore the skeleton start time as it is usually wrong for live streams and we have the needed logic to calculate it anyway. commit 27de725038a3734ab48e20439059455917f1054d Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu May 6 12:06:09 2010 +0200 oggdemux: wait for headers before exposing chains Wait until we have all the stream headers before we start exposing the strea of a chain.