GNOME Bugzilla – Bug 537377
Gstreamer avidemux fails on avi files with non-AV data streams
Last modified: 2008-06-10 11:05:35 UTC
I'm currently writing an application which generates AVI files that have additional data streams multiplexed with the audio and video data. While a separate tool is, of course, required to make use of this data, a conventional video player should be able to ignore these extra streams. However, Gstreamer doesn't like to play these files and fails with: Error: Internal data stream error. gstavidemux.c(3742): gst_avi_demux_loop (): /play/decodebin0/avidemux0: streaming stopped, reason error Here's the gst-launch command I tried: gst-launch-0.10 filesrc location=test.avi ! avidemux name=demux demux.video_00 ! queue ! decodebin ! ffmpegcolorspace ! videoscale ! autovideosink I'll attach an example AVI to try. Yours, Florian
Created attachment 112407 [details] avi with additional data stream
* gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream), (gst_avi_demux_parse_index), (gst_avi_demux_massage_index), (gst_avi_demux_calculate_durations_from_index), (gst_avi_demux_stream_header_push), (gst_avi_demux_stream_header_pull): Try to ignore unparsable/unknown streams and give a warning instead of erroring out. Fixes #537377.