Saving stream to file on unstable communication line

alexolut alexolut at gmail.com
Fri Nov 4 13:07:54 UTC 2016


Hello, Mikl.


Mikl wrote
> Your mkv container is not finished. It is the reason it is damaged.
> 
> -You need to send EOS event before stoping pipeline
> 
>  gst_element_send_event(_pipeline, gst_event_new_eos());
> 
> -After this, wait for GST_MESSAGE_EOS on a bus
> 
> -Only then you can close pipeline

Even if I send EOS to the pipeline it couldn't be received because pipeline
is not in a PLAYING state (connection is broken now). I will wait for EOS
forever, that is not acceptably. 

So I need a strategy to prevent locking of application (on wait for EOS) and
creation of unfinished files at the same time.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Saving-stream-to-file-on-unstable-communication-line-tp4680334p4680450.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list