Difference between revisions of "FFMPEG Commands"

From Hawk Wiki
Jump to: navigation, search
(Created page with "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 ...")
 
Line 1: Line 1:
extracting images (jpeg) from a video:
+
extracting images (jpeg) from a video:<br>
ffmpeg -i foo.avi -f image2 f%03d.jpg
+
ffmpeg -i foo.avi -f image2 f%03d.jpg<br>
ffmpeg convert to photo-jpeg
+
ffmpeg convert to photo-jpeg<br>
ffmpeg -i input.mov -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov
+
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
+
ffmpeg -i f%03d.jpg -pix_fmt yuv420p -vcodec mjpeg -qscale 1 output.mov<br>

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