This PR adds the script_filename
parameter to get_args
and compile
functions, introducing the ability to sidestep the "command line too long" error that can arise from complex filtergraphs, described in the issue https://github.com/kkroening/ffmpeg-python/issues/161.
It is a backwards compatible change, defaulting to the current behaviour when script_filename
is not defined.