Saving stream to file on unstable communication line

Mailing List SVR lists at svrinformatica.it
Fri Nov 4 13:27:33 UTC 2016


Hi,

try to set streamable = true on matroskamux, this way the produced files 
have no indexes (standard seek will not work) but are always playable,

Nicola

Il 04/11/2016 14:07, alexolut ha scritto:
> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list