Gstreamer, how recover from (rtmpsink)error

lestoilfante lestoilfante at gmail.com
Wed Mar 9 22:11:26 UTC 2016


Hello,
did you solved this situation?

I'm currently stuck with same problem. Actually I have a valve element
before rtmpsink and when rtmpsink fire an error on bus I put valve in drop
state but this doesn't solve, pipeline stop to write on filesink aniway...
Btw rtmpsink as async=false

Thank you

On Tue, Dec 30, 2014 at 6:16 PM, KPAXIT <romants at gmail.com> wrote:

> Hi list,
>
> I´m building streaming application in python.
> Applications writes data to rtmpsink and to filesink using tee element.
> Starting and streaming works fine in ideal environment(network) but what to
> do if there is disconnect with streaming server for example? I'm trying to
> figure out how I at least can make pipeline write data to filesink and
> block
> streaming part(rtmpsink)...
>
>
> *What I'm trying to archive:*
> step 1) At least I would like to keep my archive file(filesink) after error
> in streaming part(rtmpsink) occur. Hereby we have some backup if error
> happens.
> step 2) Manually reconnect to streaming server.
> step 3) Build some mechanism to check for connection
>
> *Question(s):*
> Is it possible to archive what I'm trying to do?
> How can it be archived (dynamic pipeline / probes / extra elements )?
>
> Any explanation, example or point to right direction will be very much
> appreciated.
>
> *note:*
> Gst version: gstreamer 1.3.90 (rtmpsink, faac, x264enc)
> OS: ubuntu 14.04 LTS
> Streaming server: wowza 4.x
>
> *Test application (code):*  link
> <https://dl.dropboxusercontent.com/u/75885675/gst-test-error.py>
>
> *Pipeline after startup(OK):*  link
> <https://dl.dropboxusercontent.com/u/75885675/gst_startup.png>
>
>
> *Pipeline after rtmpsink error(Failed to write data):*  link
> <https://dl.dropboxusercontent.com/u/75885675/gst_error_rtmp.png>
>
> *Log snippet after rtmpsink error(Failed to write data):*  link
> <https://dl.dropboxusercontent.com/u/75885675/gst_log.txt>
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-how-recover-from-rtmpsink-error-tp4670055.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160309/f909e3ca/attachment.html>


More information about the gstreamer-devel mailing list