Skip to content

ffmpeg

What is ffmpeg

ffmpeg is a tool to modify images with. It can do all sorts of stuff for example it can resize images or compress them.

How do I use it?

Playing videos and getting details

  • To play a video using ffmpeg you can use ffmpeg.ffplay <filename>
  • To see all details of a video you can use ffmpeg.ffprobe <filename>

Compressing videos

Command to scale down a video

ffmpeg -i input_video.mp4 -s 800x800 -vcodec libx264 -b:v 1000k -an output_video.mp4