From aba38e0a08f910467dddbd827386d1a3a6a96249 Mon Sep 17 00:00:00 2001 From: Kieran O'Leary Date: Tue, 10 May 2022 23:08:20 +0100 Subject: [PATCH] join files recipe - add @brainwane path hint --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0fdc832..7c72121 100644 --- a/index.html +++ b/index.html @@ -1092,7 +1092,7 @@
Join files together

ffmpeg -f concat -i mylist.txt -c copy output_file

-

This command takes two or more files of the same file type and joins them together to make a single file. All that the program needs is a text file with a list specifying the files that should be joined. However, it only works properly if the files to be combined have the exact same codec and technical specifications. Be careful, FFmpeg may appear to have successfully joined two video files with different codecs, but may only bring over the audio from the second file or have other weird behaviors. Don’t use this command for joining files with different codecs and technical specs and always preview your resulting video file!

+

This command takes two or more files of the same file type and joins them together to make a single file. All that the program needs is a text file with a list specifying the files that should be joined. If possible, run the command from the same directory where the files and the text file reside. Otherwise you'll have to use -safe 0, see below for more information. However, it only works properly if the files to be combined have the exact same codec and technical specifications. Be careful, FFmpeg may appear to have successfully joined two video files with different codecs, but may only bring over the audio from the second file or have other weird behaviors. Don’t use this command for joining files with different codecs and technical specs and always preview your resulting video file!

ffmpeg
starts the command
-f concat
forces ffmpeg to concatenate the files and to keep the same file format