Log in

View Full Version : Tool in linux for creating screenshots


Teebeeke
30th May 2016, 16:51
Hi,

i know there are tools in windows/linux to create screenshots (sample of eg. 9/16 images of a encode) of movies/tv-shows that work with x264 / x265.


But i can't seem to find a tool for linux that is able to make screenshots of x265 encodes.


Can anyone help?

BadFrame
31st May 2016, 02:48
Assuming you have ffmpeg installed (since you are on this forum that's probably very likely :D ):

ffmpeg -i video.mkv -vf fps=1 image%04d.png

Will take a screenshot every second, you can modify the fps parameter according to your needs, like if you wanted a screenshot every 10 seconds instead, it would be '-vf fps=1/10' etc.

Teebeeke
31st May 2016, 14:52
I ment more of a tool that can take eg. 9 or 16 images and make one screenshot that shows all these screengrabs in one image. I hope this makes it clearer, which i should have done the first time :D

aculnaig
31st May 2016, 15:11
You probably want to use FFmpeg tile video filter:

https://trac.ffmpeg.org/wiki/How%20to%20take%20multiple%20screenshots%20to%20an%20image%20%28tile%2C%20mosaic%29


If you want more flexibility and fancy effects use ImageMagick Montage:

http://www.imagemagick.org/Usage/montage/

after you grabbed all the N images with FFmpeg.