This content originally appeared on David Walsh Blog and was authored by David Walsh
Creating a thumbnail to represent a video is a frequent task when presenting media on a website. I previously created a shell script to create a preview video from a larger video, much like many adult sites provide. Let’s view how we can create a preview thumbnail from a video!
Developers can use `ffmpeg
, an incredible open source media utility, to create a thumbnail. To create a thumbnail from the first frame of a video, execute the following command:
ffmpeg -i input.webm -vf "select=eq(n\,34)" -vframes 1 thumbnail.png
Providing a video thumbnail is a great tool convert images into video views. You don’t need fancy software and manual labor to create thumbnails — use ffmpeg
!
The post Create a Thumbnail From a Video with ffmpeg appeared first on David Walsh Blog.
This content originally appeared on David Walsh Blog and was authored by David Walsh
David Walsh | Sciencx (2022-10-25T09:28:58+00:00) Create a Thumbnail From a Video with ffmpeg. Retrieved from https://www.scien.cx/2022/10/25/create-a-thumbnail-from-a-video-with-ffmpeg/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.