You can concat files into one large file via a .txt file that holds the file names. The issue started when the source files hold whitespace or a simple ' - you need to use the "-safe 0" option since ffmpeg considers filenames with whitespace "unsafe".
Lets say you downloaded a playlist of music via youtube-dl, e.g. with
Code: Select all
youtube-dl -if 251 "https://www.youtube.com/playlist?list=WhAt-EvEr"
Each line holds one filename, starting with "file " - e.g. like so:
Code: Select all
file 'filename.mp4'
file 'filename 2.mp4'
(Found it here: https://stackoverflow.com/questions/227 ... whitespace)
E.g. when a file is named
Code: Select all
Names' Confession.webm
Code: Select all
file 'Names'\'' Confession.webm'
Then just start the concat with this command:
Code: Select all
ffmpeg -f concat -safe 0 -i concat.txt -c copy "Playlist name.webm"