[Live-devel] JPEGVideoRTPSink and Restart markers

Francisco Feijoo francisco at j2kvideo.com
Tue Oct 26 07:01:43 PDT 2010


Hello,

This is my first post in the list. Thanks for all your great work on the libraries.

My problem:

I'm trying to create a rtsp server to stream MJPEG images. I have implemented a new TestJPEGFileServerMediaSubsession that creates a TestJPEGVideoRTPSink.

In TestJPEGVideoRTPSink::doSpecialFrameHandling I'm adding the quantization tables of the image into the header using setSpecialHeaderBytes

This is working fine using some JPEG images, but fails with others. 

I'm testing one image that has the marker 0xFF, 0xDD ( Define Restart Interval) and I think I have to do something else seeing this comment in the code 

// Note: We assume that there are no 'restart markers'

So, what should I do with images containing restart markers and macroblocks?

-- 
Francisco Feijoo
Software Engineer
J2K Video Limited

W: www.j2kvideo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101026/3c05f846/attachment.html>


More information about the live-devel mailing list