Hot answers tagged encoding
1
I have a large set of jpgs that I want to convert to a video losslessly
You can probably just mux the jpg images:
ffmpeg -r 30 -i input%03d.jpg -codec copy output.mkv
Then compare the md5sums of each frame with the framemd5 muxer:
$ ffmpeg -i input%03d.jpg -f framemd5 -
0, 0, 0, 1, 460800, 29bcc2db3726c7dfec1826c5740f603f
...
1
You can create an avi animation as a series of png images ( png is lossless so the jpeg => png conversion should not degrade your pictures ):
if your images a named img_0001.jpg
ffmpeg -r 25 -start_number 1 -f image2 -i "img_%04d.jpg" -vcodec png video.avi
where "25" is the frame rate you want in the resulting video. -start_number is not needed if it ...
Only top voted, non community-wiki answers of a minimum length are eligible