[Live-devel] MJPEG support for MKV parser
Ross Finlayson
finlayson at live555.com
Thu Apr 3 01:27:10 PDT 2014
I took a look at your example MKV file. It turns out that this file (and apparently all MKV files with JPEG video tracks) stores each JPEG frame as a complete JPEG image, including a JPEG header. For RTP streaming, however, we don't include the JPEG header. Therefore, to stream a JPEG video track from a MKV file, we'd need to add an additional filter (not currently implemented) that parses the JPEG header of each frame, to derive/extract out the 'type', 'qfactor', and (if non-standard) the quantization table - to put in the RTP packet.
This is something that might get done sometime in a future, but since JPEG video streaming is a bad idea (that nobody should really be doing in 2014), it's not a high priority for me.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140403/164f5c51/attachment-0001.html>
More information about the live-devel
mailing list