Pipeline Pause/Resume Fails
David Manpearl
dmanpearl at gmail.com
Tue Sep 25 00:12:23 UTC 2018
Typo: *Pause*: gst_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 <dmanpearl at gmail.com> 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!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180924/f670e765/attachment.html>
More information about the gstreamer-devel
mailing list