[FFmpeg-user] Lossless JPEG encoding

2025-04-03 Thread Gianluca Cannata
What is the right command to produce a Lossless JPEG file ? magick wizard: ppm:- | ffmpeg -v trace -i - -map 0:v -c:v ljpeg -b:v 1M -pred median -f mjpeg -y wizard.jpg ffmpeg version N-119135-g1722f08acf Copyright (c) 2000-2025 the FFmpeg developers built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.0

Re: [FFmpeg-user] Lossless JPEG encoding

2025-04-03 Thread Tom Sparks
there is no Lossless JPEG cmpresstion in libjpeg if you are dealing with single images use mozjpeg[1] [1] https://github.com/mozilla/mozjpeg On Thu, 3 Apr 2025 at 18:20, Gianluca Cannata wrote: > > What is the right command to produce a Lossless JPEG file ? > > magick wizard: ppm:- | ffmpeg -v