[FFmpeg-user] Timestamp for variable frame rate (VFR ) video
Paul B Mahol
onemda at gmail.com
Tue Sep 18 10:01:53 EEST 2018
On 9/17/18, Wolfgang Hugemann <auto at hugemann.de> wrote:
>> You want timecode and not pts, look at
>> drawtext manual.
>
> You may assume that I already did that.
>
> IMHO, the main issue is not drawtext, but where to get the text from.
> There only a few ready-made options, all other information has to be
> drawn from metadata provided by some other source.
>
> For example, if you want to print the SMPTE derived from VITC, you use
> something like:
>
> -vf "readvitc:drawtext=text=%%{metadata\\:lavfi.readvitc.tc_str}"
>
> Thus if you want to write a timecode / timestamp on the video, you will
> probably have to use a certain filer that can provide this information.
>
> Any ideas?
Drawtext filter already have timecode you want, and its in all in documentation.
If you really want timecode and not something else.
More information about the ffmpeg-user
mailing list