Win Unix Mac

Articles,How Tos,Tips n more

  • Increase font size
  • Default font size
  • Decrease font size

How to make a screenshot of a video file on Unix/Linux systems

E-mail Print PDF

If you have every wondered how to make a video screen shot on the command line , read on. First of all you will need the ffmpeg package installed ( get it from ffmpeg.org )

Then you will need to run it on the command line against your video, e.g.

 

ffmpeg  -itsoffset -2  -i mymovie.mov -vcodec png -vframes 1 -an -f rawvideo -s 120x80 test.png

-itsoffset = the number of seconds into the video the extraction occurs

-i = the movie file

-vcodec = the code

-vframes= the number of frames you want to capture.

To read more about all the options, see the ffmpeg docs

 

Add your comment

Your name:
Subject:
Comment:

yvcomment, category: "Unix How To's"