One line per segment for the FFmpeg concat demuxer.
static String concatList(List<String> paths) => paths .map((p) => "file '${p.replaceAll("'", r"'\''")}'") .join('\n');