[FFmpeg-user] Using drawtext for date/time
alex at sighthound.com
Thu Oct 8 21:11:46 CEST 2015
I’d like to burn a date/time using drawtext, based on PTS with the addition of a specified basetime. Looking at the code, expansion=strftime seems to do exactly what I want — but it is marked as deprecated. Alternatives don’t seem to cut it: func_pts doesn’t print date and does not take basetime into account, func_strftime doesn’t take basetime into account, and uses current time rather than PTS. What is the reason the strftime expansion had been deprecated? Is there a current equivalent?
More information about the ffmpeg-user