[FFmpeg-user] Can you encode lossless Motion JPEG 2000 videos with ffmpeg using the right command line arguments?

Paul B Mahol onemda at gmail.com
Tue Jun 19 15:36:00 CEST 2012


On 6/19/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Shyamal Chandra <shyamalc <at> gmail.com> writes:
>
>> Can you encode lossless Motion JPEG videos with ffmpeg using the right
>> command line arguments?
>
> Yes, FFmpeg supports both lossless jpeg and jpeg-ls, the codecs names
> are ljpeg and jpegls.
>
>> I want to convert an uncompressed AVI into a lossless Motion JPEG 2000.
>
> FFmpeg contains a native j2k encoder that does not support lossless
> encoding, and supports encoding j2k via the external library libopenjpeg.
> I don't know of my head how to lossless encode with libopenjpeg,
> perhaps try -fixed_quality.

libopenjpeg encoder encodes lossles by default.


More information about the ffmpeg-user mailing list