From e6552c54944a2ee5a99825893c3574e3c220ad09 Mon Sep 17 00:00:00 2001 From: kfrn Date: Wed, 11 May 2022 07:31:40 +1200 Subject: [PATCH] Join files recipe: fix indentation of code block showing file contents Previously, the second and following lines were indented compared to the first line. --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ac0f628..8b6e52c 100644 --- a/index.html +++ b/index.html @@ -1098,10 +1098,12 @@
-f concat
forces ffmpeg to concatenate the files and to keep the same file format
-i mylist.txt
path, name and extension of the input file. Per the FFmpeg documentation, it is preferable to specify relative rather than absolute file paths, as allowing absolute file paths may pose a security risk.
This text file contains the list of files to be concatenated and should be formatted as follows: -
file './first_file.ext'
+
+  file './first_file.ext'
   file './second_file.ext'
   . . .
-  file './last_file.ext'
+ file './last_file.ext' +
In the above, file is simply the word "file". Straight apostrophes ('like this') rather than curved quotation marks (‘like this’) must be used to enclose the file paths.
Note: If specifying absolute file paths in the .txt file, add -safe 0 before the input file.
e.g.: ffmpeg -f concat -safe 0 -i mylist.txt -c copy output_file