[FFmpeg-user] Draw original timecode on the output file

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 27 09:24:57 CEST 2013


Ivaylo Spasov <ivaylo.pif <at> gmail.com> writes:

> ffmpeg -i input.avi -copyts -vf drawtext=text='%{pts}'
> -c:v libx264 -preset ultrafast -threads 8 -crf 28 
> -c:a libfdk_aac -ac 2 output.mp4

> 1. Is this the real timecode of the file.

avi does not store pts, so depending on your use case 
you may want to replace pts with dts in your command 
line.

Carl Eugen



More information about the ffmpeg-user mailing list