Another option is to use the same approach as find -exec.
prog [options] --ffmpeg [ffmpeg args] [sentinel] [options] [args]
I'm not a fan of this approach because of its down sides.
Footnotes:
In reply to Re: Parsing a command-line string into an array
by ikegami
in thread Parsing a command-line string into an array
by bliako
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |