proxy: gst-stream-error-quark: Internal data stream error
Hi guys,
I'm using proxy plugin to decouple pipelines but I have an issue when I try to decouple two pipelines and use h264 data in between. Just mention that the problem does not exist if:
- proxysink/proxysrc are part of the same pipeline.
- I use RAW data instead.
- h264 data is inside a container like 'mpegts'.
example 1
This is 1 pipeline executing 2 'sub' pipelines which are communicated through proxysink
/proxysrc
. Here, h264 data flows properly from one sub-pipeline to the other.
Here how the components are linked inside the same pipeline:
sub-pipeline1:
filesrc ! qtdemux ! multiqueue ! \
h264parse ! video/x-h264,stream-format=byte-stream,aligment=au ! queue ! proxysink \
\
sub-pipeline2:
proxysrc ! avdec_h264 ! video/x-raw ! queue ! autovideosink
example 2
This is when I try the above but sub-pipelines are executed in different pipelines. So, something like:
Pipeline 1:
sub-pipeline1:
filesrc ! qtdemux ! multiqueue ! \
h264parse ! video/x-h264,stream-format=byte-stream,aligment=au ! queue ! proxysink
Pipeline 2:
sub-pipeline1:
proxysrc ! avdec_h264 ! video/x-raw ! queue ! autovideosink
In this case, I get the next error:
0:00:00.090315812 48480 0x246ab60 WARN qtdemux qtdemux.c:6605:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error.
0:00:00.090391172 48480 0x246ab60 WARN qtdemux qtdemux.c:6605:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason error (-5)
Error: gst-stream-error-quark: Internal data stream error. (1): qtdemux.c(6605): gst_qtdemux_loop (): /GstPipeline:b_pipedoc_src/GstQTDemux:qtdemux0:
streaming stopped, reason error (-5)
Here the graph for the 1st pipeline:
Here the graph for the 2st pipeline:
Questions
Any idea why this is happening?
What is funny is that if you enable debug level 7 then, the 2nd example works fine.
Here the log file with level 5 in case it can help: ex0-proxy-r1.log
Thanks!