<p dir="ltr"></p>
<p dir="ltr">Le 4 nov. 2016 9:42 AM, "Mailing List SVR" <<a href="mailto:lists@svrinformatica.it">lists@svrinformatica.it</a>> a écrit :<br>
><br>
> Hi,<br>
><br>
> try to set streamable = true on matroskamux, this way the produced files have no indexes (standard seek will not work) but are always playable,<br>
></p>
<p dir="ltr">And additionally, send Eos from a separate thread, and use g_timeout to cancel it (state null) if it took longer then expected.</p>
<p dir="ltr">> Nicola<br>
><br>
><br>
> Il 04/11/2016 14:07, alexolut ha scritto:<br>
>><br>
>> Hello, Mikl.<br>
>><br>
>><br>
>> Mikl wrote<br>
>>><br>
>>> Your mkv container is not finished. It is the reason it is damaged.<br>
>>><br>
>>> -You need to send EOS event before stoping pipeline<br>
>>><br>
>>>   gst_element_send_event(_pipeline, gst_event_new_eos());<br>
>>><br>
>>> -After this, wait for GST_MESSAGE_EOS on a bus<br>
>>><br>
>>> -Only then you can close pipeline<br>
>><br>
>> Even if I send EOS to the pipeline it couldn't be received because pipeline<br>
>> is not in a PLAYING state (connection is broken now). I will wait for EOS<br>
>> forever, that is not acceptably.<br>
>><br>
>> So I need a strategy to prevent locking of application (on wait for EOS) and<br>
>> creation of unfinished files at the same time.<br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Saving-stream-to-file-on-unstable-communication-line-tp4680334p4680450.html">http://gstreamer-devel.966125.n4.nabble.com/Saving-stream-to-file-on-unstable-communication-line-tp4680334p4680450.html</a><br>
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
>> _______________________________________________<br>
>> gstreamer-devel mailing list<br>
>> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></p>