<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 23, 2015, at 8:59 AM, Piotr Piwko <<a href="mailto:piotr.piwko@embedded-engineering.pl" class="">piotr.piwko@embedded-engineering.pl</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">2015-07-17 11:14 GMT+02:00 Ross Finlayson <span dir="ltr" class=""><<a href="mailto:finlayson@live555.com" target="_blank" class="">finlayson@live555.com</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Unfortunately, because of the way that AVI files are designed, it is not possible to update them continuously - in a way that allows them to be used while they are being written.<div class="">...</div>(btw, the same applies to “.MP4” and “.MOV” files.)</div></blockquote><div class=""><br class=""></div><div class="">I see. Could you please recommend some other format which supports such functionality?</div></div></div></div></div></blockquote><div><br class=""></div></div>If your streams contain just one media type - i.e., just video or just audio - then you could write an ‘elementary stream’ file instead.<div class=""><br class=""></div><div class="">E.g., if your stream is H.264 video, you could feed the received video data into a “H264VideoFileSink”, and you will then get a file that could be played (or re-streamed) while it’s being recorded.</div><br class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>