Seems like i found a solution. Instead of dealing with quoting the hell out of ffmpegs filtergraph, it was just easier to write the variable to a temp file and use "filter_script".
@espen yeah, that usually saves a lot of headaches. Same with regex replacing text with sed... much easier to load the rules from a file than to deal with the nightmare of escaping...
@FiXato Hah, yeah, at one point my variable had more slashes in it that normal text, it was sort of insane. My encoding script was pushing 70kb in size and growing, at least now I'm down to a more manageable 25kb thanks to variables and looping.
@espen oh wow... yes, then a separate script file would definitely save some headaches xD
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!