Re: [Mjpeg-users] mjpg webcam image to jpg

2011-11-20 Thread Christian Verbeek
Hi Gernot, Am 19.11.2011 20:04, schrieb Gernot Ziegler: > Hej Christian, > > sorry for disappointing you, but AFAIK, JPEG has different DCT > coefficients, and thus you can't recode JPG frames into MPEG1. > > Regarding missing DHT segements, I don't know more than: > You could try inserting the DH

Re: [Mjpeg-users] mjpg webcam image to jpg

2011-11-19 Thread Gernot Ziegler
Hej Christian, sorry for disappointing you, but AFAIK, JPEG has different DCT coefficients, and thus you can't recode JPG frames into MPEG1. Regarding missing DHT segements, I don't know more than: You could try inserting the DHT segment from an encoded JPEG into the "broken" frames arriving

Re: [Mjpeg-users] mjpg webcam image to jpg

2011-11-18 Thread Burkhard Plaum
Hi, Am 18.11.2011 10:27, schrieb Christian Verbeek: > The question is if there is a way to insert the missing DHT segment to > the mjpg data without the need of decoding/encoding the image. Well if you are able to decode the image without DHT (which means, that some kind of default Huffman table

[Mjpeg-users] mjpg webcam image to jpg

2011-11-18 Thread Christian Verbeek
Dear all, It might be that my question is a bit out of topic but I think you guys might be able to help. You maybe know that a couple of modern webcams output some kind of motion JPG image. The Logitech C905 webcam does so. The data is a jpg-image without DHT segment. With the help of google I ma