[FFmpeg-user] drawtext timecode from metadata
Bouke
bouke at editb.nl
Sat Apr 24 14:26:18 EEST 2021
trying to capture and burn in TC at the same time.
Burn in TC works if I specify the start TC, but I can’t probe and then record, as that takes time so the TC will be off.
So I’m hoping to set the drawtext filter on the fly, I tried:
drawtext=timecode=%{metadata\\\:timecode}:
-filter_complex "[0:0]drawtext=timecode=%{metadata\\\:timecode}:fontfile='/Volumes/Data/fonts/courbd.ttf':r=25:x=(w-tw) - (w * 0.02): y=h-(2*lh):fontsize=54.0:fontcolor=white”
This does not work, gives me:
[Parsed_drawtext_0 @ 0x7ff9fbe0cb40] Unable to parse timecode, syntax: hh:mm:ss[:;.]ff
Is there a way to do this?
thx,
Bouke
More information about the ffmpeg-user
mailing list