[FFmpeg-user] Ffmpeg conversion from JPEG-SOF3(lossless) to JPEG-LS(lossless) cuts the image after some kB

Steffen Knoll steffen.knoll at pergamonmed.com
Fri Aug 26 12:46:00 EEST 2016


Hi,
i'm using ffmpeg to convert old JPEG-SOF3 lossless images into JPEG-LS 
lossless. I've encountered the problem that some images are cut after 
some kiloBytes. The Sof-3 Header seems correct for me. The ScanData-Tag 
contains 121475 bytes.
However in the converted JPEG-LS the ScanData is only 5149 Bytes.
http://s000.tinyupload.com/?file_id=00054117486941883286 
<http://s000.tinyupload.com/index.php?file_id=00054117486941883286> -> 
Original SOF3
http://s000.tinyupload.com/?file_id=22297762703192557889 
<http://s000.tinyupload.com/index.php?file_id=22297762703192557889> -> 
ffmpeg converted JPEG-LS

I've used following command:
ffmpeg -y -i big.sof3 -vcodec jpegls -q:v 0 test.jls

Thanks for your time!

-- 
best regards

Steffen Knoll



More information about the ffmpeg-user mailing list