You might want to create a thumbnail for a video that you downloaded from a website. These could be used on a page that shows a number of video thumbnails and lets you click on them to watch the specific video.
Creating a Video Thumbnail
Getting ready
This sample will use a tool known as ffmpeg. ffmpeg is available at www.ffmpeg.org. Download and install as per the instructions for your operating system.
How to do it
The example script is in 04/11_create_video_thumbnail.py. It consists of the following code:
import subprocess
video_file = 'BigBuckBunny.mp4&apos...