Convert an .MPG video to Picture files in Linux with FFMPEG


Convert an .MPG video to Picture files in Linux with FFMPEG:

$ ffmpeg -i input.mpg image%d.jpg

This command will generate the files named image1.jpg, image2.jpg, …

Picture files supported: PGM, PPM, PAM, PGMYUV, JPEG, GIF, PNG, TIFF, SGI.



*NOTES:
- Where input is the source file.
- the $ sign at the start of the command is to signify the terminal's prompt, no need to type this in.

0 comments:

Post a Comment