Hi,
I am trying to replicate a Tdarr plugin that detects closed captions and removes them if found. I am able to remove closed captions using FFMPEG Builder Nodes - Custom Parameters, and inputting -bsf:v "filter_units=remove_types=6". However, I am having difficulty creating a script that filters so that movies without closed captions are not processed.

I can see that the closed captions are listed within the stream info, but have not been able to call it from within a script

Is it possible to do what I am trying to do? My programming knowledge is minimal at best, any guidance would be appreciated.