GNOME Bugzilla – Bug 364958
[avidemux] broken timestamping in streaming mode
Last modified: 2006-11-02 13:13:27 UTC
$ gst-launch playbin uri=http://pancrace.tv/free/demo.avi Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /playbin0/decoder/typefind: GstAviDemux cannot work in push mode. The operation is not supported with this source element or protocol. Additional debug info: gsttypefindelement.c(442): stop_typefinding (): /playbin0/decoder/typefind: Downstream pad avidemux0:sink has no chainfunction, and the upstream element does not support pull mode ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... FREEING pipeline ... xine-lib is able to play that file streaming.
This works fine for me with CVS.
I'm using gstreamer-plugins-good-0.10.4-0.gst.1.5
gst-plugins-good in CVS has streaming support for AVI as well (bug #336465). Timestamping seems to be a bit broken in streaming mode though ... $ gst-launch-0.10 http://pancrace.tv/free/demo.avi ! avidemux name=d d.audio_00 ! mad ! fakesink -v 2>&1 |more /pipeline0/fakesink0: timestamp: 0:00:00.000000000, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.000045351, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.000113378, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.026235827, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.052358276, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.000181405, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.000249433, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.026371882, duration: 0:00:00.026122448 /pipeline0/fakesink0: timestamp: 0:00:00.000294784, duration: 0:00:00.026122448
Seems to be due to the demuxer and mad disagreeing on the duration of the various chunks. The chunks coming out of avidemux seem awfully short (duration value of 0:00:00.000062465) ...
* gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_query), (gst_avi_demux_parse_file_header), (gst_avi_demux_stream_init_push), (gst_avi_demux_parse_stream), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_data), (gst_avi_demux_chain): Fix position query for audio. also fixes timestamps in streaming mode and bug #364958. Small cleanups.
*** Bug 362674 has been marked as a duplicate of this bug. ***