I want to add timestamp of current played time to a video, so I use this:
ffmpeg -i video.mkv -filter_complex "drawtext=fontfile=/Library/Fonts/Arial.ttf:
text='timestamp: %{pts \: hms}': x=5: y=5: fontsize=16:
[email protected]: box=1: [email protected]" -c:a copy -c:v libx264 -map 0 output.mkv
This comes out that the timestamp was in hh:mm:ss:mm format, but I want it in hh:mm:ss format. So how can I achieve this goal?