Filename quoting in ffmpeg concat
Solution 1:
You need to put everything in single quotes, and escape every single quote with
'\''
So,
foo'bar test.mp4
would be specified as:
file 'foo'\''bar test.mp4'
You can imagine it as the string being split where the first pair of single quotes end, and then continued later:
'foo' \' 'bar test.mp4'
This is also explained in the documentation:
The quote character ' itself cannot be quoted, so you may need to close the quote and escape it.
and this bug report.