Creating a mosaic of screenshots from a video

Here is a command that we can get images composed of the screenshots when the scene changed:

$ ffmpeg -i YosemiteHDI.mp4 -vf select='gt(scene\,0.4)',scale=640:360,tile -frames:v 1 Yosemite_mosaic.png

Here is the output:


The following command will select every 300th frame, scale it to 640x360 pixels and create 6x4 tiles in the output image:

$ ffmpeg -i YosemiteHDI.mp4 -frames 1 -vf "select=not(mod(n\,500)),scale=640:360,tile=4x3" Yosemite_mosaic2.png
Site Home
YouTube Home
YouTube extract-iframe page
YouTube mosaic-tile page
YouTube another page

Click the app icons listed below to see what PyGoogle can do.

youtube_icon plus_icon search_icon chrome_icon hangouts_icon translate_icon maps_icon gmail_icon drive_icon calendar_icon play_icon projects_icon