Created
April 10, 2020 08:22
-
-
Save ptisserand/0946bcd4708c3e24db075891c17c69b4 to your computer and use it in GitHub Desktop.
Add timestamp with ffmpeg
This file contains hidden or 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
ffmpeg -i INPUT.mp4 -vf "drawtext=fontfile=/usr/share/fonts/TTF/Roboto-Medium.ttf:fontsize=22:fontcolor=yellow:box=1:boxcolor=black:x=(W-tw)/2:y=H-th-10:text='%{pts\:hms} %{frame_num}'" OUTPUT.mp4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment