Skip to content

Instantly share code, notes, and snippets.

@chaitanyagupta
Created February 4, 2022 20:43
Show Gist options
  • Save chaitanyagupta/fb028192d300aed335f658addcf4c202 to your computer and use it in GitHub Desktop.
Save chaitanyagupta/fb028192d300aed335f658addcf4c202 to your computer and use it in GitHub Desktop.
ffmpeg video with frame timestamp overlaid
# shows time in milliseconds
# source: https://superuser.com/a/1613753/95678
ffmpeg -i input.mp4 -vf drawtext="fontsize=60:fontcolor=yellow:text='%{e\:t*1000}':x=(w-text_w):y=(h-text_h)" output.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment