<html><head></head><body bgcolor="#FFFFFF"><div>Thank you so much for this answer, i was suspecting this is the case, now i'm sure. I'll use ffmpeg to enocode those single jpeg files to some useful video format.</div><div><br></div><div>Thanks again for help!</div><div><br>Pozdrawiam<div>Tomek Kuźma</div></div><div><br>Dnia 21 kwi 2012 o godz. 22:02 Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> napisał(a):<br><br></div><div></div><blockquote type="cite"><div><div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; "><div style="word-wrap:break-word"><div><div class="im"><blockquote type="cite"><div>My job is to save this stream to disk as a mkv file. As far as i know to save some video file to MKV container i can use mkvmerge tool from mkvtoolnix. But the problem here is how to save MJPEG video stream to something compatible with matroska ...<br>
<br>Does live555 have built in support to do such a thing?</div></blockquote><div><br></div></div>Sorry, no. There's currently no support in the library for writing a Matroska file (only for streaming from (i.e., reading from) such files).</div>
</div></blockquote><div><br></div><div><br></div><div>Ok, i was expecting this. In that case how can i save MJPEG video stream to disk</div></div></blockquote><div><br></div>Note that each MJPEG video 'frame' will be a complete JPEG image. If you save each incoming frame to disk - as a separate JPEG file - then you can later do whatever you want with these files (using some other library, not ours, because our library doesn't include any decoding/encoding/transcoding).</div><div><br></div><div>The way to do this is to use the "FileSink" class, but setting the "oneFilePerFrame" parameter to "True".</div><br><br><div apple-content-edited="true">
<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; font-size: medium; "><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; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>live-devel mailing list</span><br><span><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a></span><br><span><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a></span><br></div></blockquote></body></html>