I want to concatenate files with ffmpeg using Concat demuxer as described in this article How to concatenate (join, merge) media files. My files, however contain, single quotes (apostrophes). So my concat.list looks like this:
file 'artist's song.mp3'
file 'artist's song 2 .mp3'
As you can see the apostrophe in the middle of the filename conflicts with the format of the concat file. Putting backslash doesn't help, because ffmpeg reads the filename literary and complains that the file doesn't exist. As additional detail, I'm using ffmpeg with cygwin under Windows 7.
Best Answer
You need to put everything in single quotes, and escape every single quote with
So,
would be specified as:
You can imagine it as the string being split where the first pair of single quotes end, and then continued later:
This is also explained in the documentation:
and this bug report.