[FFmpeg-user] How can I burn-in the timestamp from AVCHD/MTS video?

Reino Wijnsma rwijnsma at xs4all.nl
Fri Apr 4 18:12:51 EEST 2025


Hello Jesse,

On 2025-04-04T06:15:40+0200, Jesse Gordon <tojesseg at gmail.com> wrote:
> ffmpeg -i 00000.MTS -vf 
> "drawtext=fontsize=60:fontcolor=black:text='%{pts\:gmtime}':x=(w-text_w):y=(h-text_h)" 
> -acodec mp3 -y output.mp4
>
> And that almost works, but it starts the date at "1970-01-01 00:00:00" 
> and counts up.
I think https://stackoverflow.com/a/67409424/2703456 can help you out on 
this one.

-- 
Reino


More information about the ffmpeg-user mailing list