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 768005 - flvdemux: Gets confused when fed with different streams
flvdemux: Gets confused when fed with different streams
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-24 11:47 UTC by Vivia Nikolaidou
Modified: 2018-11-03 15:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vivia Nikolaidou 2016-06-24 11:47:27 UTC
Using the files from here:

https://ahiru.eu/~vivia/parts1to7.tar

$ gst-launch-1.0 splitmuxsrc location="part*.flv" name=d d.video ! queue ! h264parse ! matroskamux name=m ! queue ! filesink location=allparts2.mkv d.audio ! aacparse ! queue ! m.

This works fine.

[fish syntax warning]
$ env GST_DEBUG=\*:3 gst-launch-1.0 multifilesrc location="part%02d.flv" start-index=1 stop-index=7 ! queue ! flvdemux name=d d.video ! queue ! h264parse ! matroskamux name=m ! queue ! filesink location=allparts1.mkv d.audio ! aacparse ! queue ! m.

[...]
0:00:01.216200161 22013       0xfbf320 WARN                flvdemux gstflvdemux.c:1307:gst_flv_demux_video_negotiate:<d> unsupported video codec tag 8
0:00:01.216265742 22013       0xfbf320 WARN                flvdemux gstflvdemux.c:1311:gst_flv_demux_video_negotiate:<d> failed creating caps for video pad
0:00:01.216353327 22013       0xfbf320 WARN                   queue gstqueue.c:1541:gst_queue_loop:<queue0> error: Internal data flow error.
0:00:01.216420933 22013       0xfbf320 WARN                   queue gstqueue.c:1541:gst_queue_loop:<queue0> error: streaming task paused, reason error (-5)
ERROR: from element /GstPipeline:pipeline0/GstQueue:queue0: Internal data flow error.
Additional debug info:
gstqueue.c(1541): gst_queue_loop (): /GstPipeline:pipeline0/GstQueue:queue0:
streaming task paused, reason error (-5)

The video codec tag 8 is completely bogus, the file is H264, like all the previous ones. gst-discoverer and gst-play agree with me, as well as the first example.

$ gst-launch-1.0 multifilesrc location="part%02d.flv" start-index=2 stop-index=7  ! queue ! flvdemux name=d d.video ! queue ! h264parse ! matroskamux name=m ! queue ! filesink location=allparts1.mkv d.audio ! aacparse ! queue ! m.

The resulting file is valid, but it only contains the contents of part02.flv .
Comment 1 Nicolas Dufresne (ndufresne) 2016-06-25 00:01:29 UTC
This is more a feature / use case not being supported. I think it can be fixed by improving the parser. Well bed to watch for handling the segment properly, it might be slightly hard coded right now.
Comment 2 GStreamer system administrator 2018-11-03 15:10:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/282.