Ok. It was my problem. I should have opened the file as binary. I added the 'b' 
to file open mode, and it worked.
 FILE *fout = fopen(fname,"wb");

Thanks for your help.



Tim Gee<mailto:[email protected]> | Senior R&D Engineer
Aldis<http://www.aldiscorp.com/> | 10545 Hardin Valley Rd. | Knoxville TN | 
37932
o: 865-978-6535 | f: 865-249-6608




________________________________
From: [email protected] <[email protected]> on 
behalf of Ross Finlayson <[email protected]>
Sent: Tuesday, July 30, 2013 2:10 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] testRTSPClient and MJPEG decoding

I've been looking at the JPEG images in JpegSnoop and hex view. It appears that 
there are 4 extra bytes between the luminance and chrominance quantization 
tables. I've looked at the code for JPEGVideoRTPSource::processSpecialHeader(), 
and I don't yet see why the extra bytes would occur.

I'll keep looking.

The fact that - by your own admission - the same stream is decoded and rendered 
OK by VLC (which also uses the LIVE555 library code) suggests that you are on a 
wild goose chase here.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to