I like the idea of JSON syntax. To avoid escaping problems simply read the arguments out of a file instead of off the command line. Suggestion -vf '@/path/to/filter-syntax' to read filter syntax from a file -vf '-' to read filter syntax from STDIN