Last active
December 1, 2019 21:12
-
-
Save mattiasghodsian/a7a8673a4269e68c0d3c2d1f9aec1c53 to your computer and use it in GitHub Desktop.
Generate thumbnail with ffmpeg | https://www.ffmpeg.org/download.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "################################ `n### Thumbnail generator by https://github.com/mattiasghodsian ### `n################################`n" -ForegroundColor Red | |
./ffmpeg -y -ss 00:00:10 -i input.mp4 -frames 1 -vf "drawtext=text='%{pts\:hms}': x=(w-tw)-20: y=(h-th)-20: fontcolor=white: fontsize=43: shadowcolor=black:shadowx=2:shadowy=2,fps=1/10,scale=-1:120,tile=4x4" out.png | |
start out.png | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment