/ Published in: Bash

-s 86x60 Defines the dimension of the thumbnail
-ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
-ss 4 Generate a thumbnail from position 00:00:04 (4 seconds)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ffmpeg -v 0 -y -i $VIDEOFILE -vframes 1 -ss 4 -vcodec mjpeg -f rawvideo -s 86x60 -aspect 4:3 $THUMBNAILFILE
Comments
