Friday, August 9, 2019

How-To make FFMPEG concatenate all files in a folder into one video without re-encoding (LINUX)

Replace *.mp4 with whatever your filenames are, such as *.mkv *.mp4 etc


find *.mp4 | sed 's:\ :\\\ :g'| sed 's/^/file /' > filelist.txt; ffmpeg -f concat -i filelist.txt -vcodec copy -an output.mp4

No comments:

Post a Comment