[FFmpeg-user] drawtext timecode from metadata

Bouke bouke at editb.nl
Sat Apr 24 16:23:08 EEST 2021


Hmm,
I’m pretty sure I saw a reply from Gyan, stating ’not possible, how are you capturing, i’ll look into something’

few seconds later that was gone. (Or I really need to up my medicine…)

Anyways, I’m dong a BM capture, with TC coming in embedded over SDI.
(I must admit I have not yet tested it with BM capture, just with a local file.

The TC as metadata in a Qt atom works just fine.

Bouke


> On 24 Apr 2021, at 13:26, Bouke <bouke at editb.nl> wrote:
> 
> 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
> 
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list