After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364958 - [avidemux] broken timestamping in streaming mode
[avidemux] broken timestamping in streaming mode
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: Wim Taymans
GStreamer Maintainers
: 362674 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-10-25 10:55 UTC by Bastien Nocera
Modified: 2006-11-02 13:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2006-10-25 10:55:19 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.
Comment 1 René Stadler 2006-10-25 11:06:13 UTC
This works fine for me with CVS.
Comment 2 Bastien Nocera 2006-10-25 11:10:36 UTC
I'm using gstreamer-plugins-good-0.10.4-0.gst.1.5
Comment 3 Tim-Philipp Müller 2006-10-25 11:17:50 UTC
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
Comment 4 Tim-Philipp Müller 2006-10-25 11:21:45 UTC
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) ...
Comment 5 Wim Taymans 2006-10-28 16:38:59 UTC
        * 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.
Comment 6 Tim-Philipp Müller 2006-11-02 13:13:27 UTC
*** Bug 362674 has been marked as a duplicate of this bug. ***