<div dir="ltr"><div dir="ltr">Typo: <b>Pause</b>: <font face="monospace, monospace">gst_element_set_state(pipeline, GST_STATE_PAUSE)</font><div><font face="monospace, monospace"><br></font><i>(although I have tried various combinations of both)</i></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 24, 2018 at 5:04 PM David Manpearl <<a href="mailto:dmanpearl@gmail.com">dmanpearl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b>Issue</b>: I am unable to pause and resume a pipeline.</div><div dir="ltr"><div>Pause works, but I have been unable to resume playing.</div><div><br></div><div><b>Pause</b>: <font face="monospace, monospace">gst_element_set_state(pipeline, GST_STATE_READY)</font></div><div>Works!</div><div><br></div><div><b>Resume</b>: <font face="monospace, monospace">gst_element_set_state(pipeline, GST_STATE_PLAY)</font></div><div>Fails :(</div><div><font face="monospace, monospace">GStreamer error: element gbxdemux, msg: Internal data stream error. {"dbg_info":"qtdemux.c(5850): gst_qtdemux_loop (): /GstPipeline:pipeline2/GstQTDemux:gbxdemux:\nstreaming stopped, reason not-linked (-1)","err":"Internal data stream error."}</font><br></div><div><br></div><div><b>Pipeline</b>:</div><div><font face="monospace, monospace">gst-launch-1.0 filesrc location=GOPR1568.mp4 ! decodebin name=gbxdemux ! videoconvert ! videorate ! videoscale ! video/x-raw,format=I420,framerate=30/1,width=1280,height=720 ! progressreport update-freq=2 ! x264enc ! mp4mux name=mux ! filesink async=false location=/test_media/video.mp4  gbxdemux. ! queue ! decodebin ! audioconvert ! audioresample ! avenc_aac ! mux.</font><br></div><div><br></div><div><b>Error</b>:</div><div><font face="monospace, monospace">GStreamer error: element qtdemux1, msg: Internal data stream error. {"dbg_info":"qtdemux.c(5850): gst_qtdemux_loop (): /GstPipeline:pipeline0/GstDecodeBin:gbxdemux/GstQTDemux:qtdemux1:\nstreaming stopped, reason not-linked (-1)","err":"Internal data stream error."}<br></font></div><div><br></div><div><b>GStreamer Version</b>: 1.10.4</div><div><br></div><div><b>Notes</b>:</div><div><ol><li><b>async</b>: I recently added "<font face="monospace, monospace">async=false</font>" to the "filesink". It has not resolved the issue, and I am worried that it may allow de-synchronization of audio and video on the output.<br></li><li><b>audio</b>: The same pipeline can be run with without audio by removing the ending phrase: "gbxdemux. ! queue ! decodebin ! audioconvert ! audioresample ! avenc_aac ! mux." Same error.<br></li><li><b>state</b>: I have tried transitioning through GST_STATE_READY between PAUSE an PLAY. Same error.</li></ol></div><div><br></div><div>Thanks!<br></div></div></div></div></div></div></div></div></div>
</blockquote></div>