Skip to content

Instantly share code, notes, and snippets.

@m1tk4
Last active April 18, 2018 23:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m1tk4/484fe42ec29a0a5bd3a46753e89cb174 to your computer and use it in GitHub Desktop.
Save m1tk4/484fe42ec29a0a5bd3a46753e89cb174 to your computer and use it in GitHub Desktop.
FFmpeg Drop-Frame Timecode Burn-in
# 59.94 drop frame timecodes
# NOTE: if you change ; in TC template to : it will produce 59.94 NDF!
ffmpeg -i input.ts vf drawtext="fontsize=15:fontfile=Roboto-Regular.ttf:\ timecode='00\:00\:00\;00':rate=60000/1001:text='TCR\:':fontsize=72:fontcolor='white':\ boxcolor=0x00000088:box=1:x=10:y=10" -r 60000/1001 output.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment