Skip to content

Instantly share code, notes, and snippets.

@pgsin pgsin/commands.sh
Last active Feb 14, 2018

Embed
What would you like to do?
ffmpeg -i input_video.mp4 -ss 00:00:30 -to 00:00:40 -c:v copy cropped.mp4
convert -depth 8 -resize 50% -background none plate.svg plate.png
ffmpeg -i cropped.mp4 -i plate.png -filter_complex "overlay=0:446:enable=between(t\,1\,9)" plated.mp4
ffmpeg -i plated.mp4 -vf drawtext="fontfile=Arial.ttf: text='Everything is empty, all lies, except this infinite sky': fontcolor=black: fontsize=12: x=200: y=476" result.mp4
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.