I understand that I can decode and then re-encode JPEG to TIFF using:

ffmpeg -i input.jpeg -pix_fmt rgba output.tiff

But instead I want to do lossless muxing from JPEG into a TIFF container/format. Can I do that using ffmpeg or other UNIX command line tool ? For example I can mux JPEG to M-JPEG losslessly:

ffmpeg -framerate 30 -i input%03d.jpg -codec copy output.mjpeg

For reference:

% file input.jpg
input.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 1016x708, components 3


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.