Difference between revisions of "FFMPEG Commands"

From Hawk Wiki
Jump to: navigation, search
Line 4: Line 4:
 
ffmpeg -i input.mov -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov<br>
 
ffmpeg -i input.mov -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov<br>
 
ffmpeg -i f%03d.jpg -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov<br>
 
ffmpeg -i f%03d.jpg -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov<br>
 +
aaaa

Revision as of 23:22, 13 July 2011

extracting images (jpeg) from a video:
ffmpeg -i foo.avi -f image2 f%03d.jpg
ffmpeg convert to photo-jpeg
ffmpeg -i input.mov -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov
ffmpeg -i f%03d.jpg -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov
aaaa