Merge pull request #458 from amiaopensource/kfrn-join-files

Fix indentation of code block showing file contents
This commit is contained in:
Katherine Frances Nagels 2022-05-11 07:53:34 +12:00 committed by GitHub
commit 20cbf26144
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1098,10 +1098,12 @@
<dt>-f concat</dt><dd>forces ffmpeg to concatenate the files and to keep the same file format</dd> <dt>-f concat</dt><dd>forces ffmpeg to concatenate the files and to keep the same file format</dd>
<dt>-i <em>mylist.txt</em></dt><dd>path, name and extension of the input file. Per the <a href="https://ffmpeg.org/ffmpeg-formats.html#Options" target="_blank">FFmpeg documentation</a>, it is preferable to specify relative rather than absolute file paths, as allowing absolute file paths may pose a security risk.<br> <dt>-i <em>mylist.txt</em></dt><dd>path, name and extension of the input file. Per the <a href="https://ffmpeg.org/ffmpeg-formats.html#Options" target="_blank">FFmpeg documentation</a>, it is preferable to specify relative rather than absolute file paths, as allowing absolute file paths may pose a security risk.<br>
This text file contains the list of files to be concatenated and should be formatted as follows: This text file contains the list of files to be concatenated and should be formatted as follows:
<pre>file '<em>./first_file.ext</em>' <pre>
file '<em>./first_file.ext</em>'
file '<em>./second_file.ext</em>' file '<em>./second_file.ext</em>'
. . . . . .
file '<em>./last_file.ext</em>'</pre> file '<em>./last_file.ext</em>'
</pre>
In the above, <strong>file</strong> is simply the word "file". Straight apostrophes ('like this') rather than curved quotation marks (like this) must be used to enclose the file paths.<br> In the above, <strong>file</strong> is simply the word "file". Straight apostrophes ('like this') rather than curved quotation marks (like this) must be used to enclose the file paths.<br>
<strong>Note:</strong> If specifying absolute file paths in the .txt file, add <code>-safe 0</code> before the input file.<br> <strong>Note:</strong> If specifying absolute file paths in the .txt file, add <code>-safe 0</code> before the input file.<br>
e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <em>output_file</em></code></dd> e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <em>output_file</em></code></dd>