[Live-devel] MJPEG -> MKV
Tomasz Kuźma
mapedd at gmail.com
Sat Apr 21 15:25:00 PDT 2012
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.
Thanks again for help!
Pozdrawiam
Tomek Kuźma
Dnia 21 kwi 2012 o godz. 22:02 Ross Finlayson <finlayson at live555.com> napisał(a):
>>> 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 ...
>>>
>>> Does live555 have built in support to do such a thing?
>>
>> 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).
>>
>>
>> Ok, i was expecting this. In that case how can i save MJPEG video stream to disk
>
> 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).
>
> The way to do this is to use the "FileSink" class, but setting the "oneFilePerFrame" parameter to "True".
>
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120422/702de613/attachment.html>
More information about the live-devel
mailing list