Re: [FFmpeg-user] Using drawtext for date/time

2015-10-09 Thread Moritz Barsnick
Alex, On Thu, Oct 08, 2015 at 18:12:23 -0400, Alex Agranovsky wrote: > Note, however, that I wanted to derive the text from pts (with > optional application of some base time), rather than from the current > time. Correct me if I’m wrong, but what you’ve described (localtime) > can only do the la

Re: [FFmpeg-user] Using drawtext for date/time

2015-10-08 Thread Alex Agranovsky
Moritz — thanks. Note, however, that I wanted to derive the text from pts (with optional application of some base time), rather than from the current time. Correct me if I’m wrong, but what you’ve described (localtime) can only do the latter. I’ve just submitted a patch, which hopefully will in

Re: [FFmpeg-user] Using drawtext for date/time

2015-10-08 Thread Moritz Barsnick
Hi Alex, On Thu, Oct 08, 2015 at 15:11:46 -0400, Alex Agranovsky wrote: > 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. Alternativ

[FFmpeg-user] Using drawtext for date/time

2015-10-08 Thread Alex Agranovsky
Hi, 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 ba