FFmpeg Command to Add Timecode Starting at 10:00:00:00

This article provides the exact FFmpeg command needed to overlay a burnt-in timecode onto a video, specifically configured to start at the standard broadcast timecode of 10:00:00:00. You will learn the breakdown of the command parameters, including frame rate adjustments and visual styling options, so you can easily apply and customize the overlay for your post-production workflow.

The FFmpeg Command

To overlay a timecode starting at 10:00:00:00, use the drawtext video filter. Run the following command in your terminal:

ffmpeg -i input.mp4 -vf "drawtext=timecode='10\:00\:00\:00':r=30:x=(w-tw)/2:y=h-th-40:fontcolor=white:fontsize=48:box=1:boxcolor=black@0.5" -c:a copy output.mp4

Parameter Breakdown

Adjusting for Drop-Frame Timecode (29.97 fps)

If you are working with NTSC broadcast media at 29.97 frames per second, you should use a drop-frame timecode. To specify drop-frame, change the last separator in the timecode string from a colon to a semicolon:

ffmpeg -i input.mp4 -vf "drawtext=timecode='10\:00\:00\;00':r=29.97:x=(w-tw)/2:y=h-th-40:fontcolor=white:fontsize=48:box=1:boxcolor=black@0.5" -c:a copy output.mp4