Pipeline Pause/Resume Fails

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pipeline Pause/Resume Fails

David Manpearl
Issue: I am unable to pause and resume a pipeline.
Pause works, but I have been unable to resume playing.

Pause: gst_element_set_state(pipeline, GST_STATE_READY)
Works!

Resume: gst_element_set_state(pipeline, GST_STATE_PLAY)
Fails :(
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."}

Pipeline:
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.

Error:
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."}

GStreamer Version: 1.10.4

Notes:
  1. async: I recently added "async=false" 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.
  2. audio: The same pipeline can be run with without audio by removing the ending phrase: "gbxdemux. ! queue ! decodebin ! audioconvert ! audioresample ! avenc_aac ! mux." Same error.
  3. state: I have tried transitioning through GST_STATE_READY between PAUSE an PLAY. Same error.

Thanks!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Pipeline Pause/Resume Fails

David Manpearl
Typo: Pausegst_element_set_state(pipeline, GST_STATE_PAUSE)

(although I have tried various combinations of both)

On Mon, Sep 24, 2018 at 5:04 PM David Manpearl <[hidden email]> wrote:
Issue: I am unable to pause and resume a pipeline.
Pause works, but I have been unable to resume playing.

Pause: gst_element_set_state(pipeline, GST_STATE_READY)
Works!

Resume: gst_element_set_state(pipeline, GST_STATE_PLAY)
Fails :(
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."}

Pipeline:
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.

Error:
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."}

GStreamer Version: 1.10.4

Notes:
  1. async: I recently added "async=false" 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.
  2. audio: The same pipeline can be run with without audio by removing the ending phrase: "gbxdemux. ! queue ! decodebin ! audioconvert ! audioresample ! avenc_aac ! mux." Same error.
  3. state: I have tried transitioning through GST_STATE_READY between PAUSE an PLAY. Same error.

Thanks!

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel