correct ffmpeg input info

This commit is contained in:
kfrn 2016-05-19 00:24:22 +12:00
parent 0dcb47c98b
commit bd928844e6

View File

@ -702,19 +702,19 @@
<dl> <dl>
<dt>ffmpeg</dt><dd>starts the command</dd> <dt>ffmpeg</dt><dd>starts the command</dd>
<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 <i>mylist.txt</i></dt><dd>path, name and extension of the input file. This text file contains the list of files to be concatenated and should be formatted as follows: <dt>-i <i>mylist.txt</i></dt><dd>path, name and extension of the input file. Per the <a href="https://www.ffmpeg.org/ffmpeg-formats.html#Options">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>
<pre>file '<i>path/to/first_file.ext</i>' This text file contains the list of files to be concatenated and should be formatted as follows:
file '<i>path/to/second_file.ext</i>' <pre>file '<i>./first_file.ext</i>'
file '<i>./second_file.ext</i>'
. . . . . .
file '<i>path/to/last_file.ext</i>'</pre> file '<i>./last_file.ext</i>'</pre>
In the above, <strong>file</strong> is simply the word "file". Example of an .txt input file: In the above, <strong>file</strong> is simply the word "file".<br/>
<pre>file 'd:/Videos/cats_01.mov' <i>Note</i>: If specifying absolute file paths in the .txt file, add <code>-safe 0</code> before the input file.<br/>
file 'd:/Videos/cats_02.mov' e.g.: <code>ffmpeg -f concat -safe 0 -i mylist.txt -c copy <i>output_file</i></code></dd>
file 'd:/Videos/cats_03.mov'</pre></dd>
<dt>-c copy</dt><dd>use stream copy mode to re-mux instead of re-encode</dd> <dt>-c copy</dt><dd>use stream copy mode to re-mux instead of re-encode</dd>
<dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd> <dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
</dl> </dl>
<p>For full list of flags and commands, see the <a href="https://trac.ffmpeg.org/wiki/Concatenate">ffmpeg documentation on concatenating files</a>.</p> <p>For more information, see the <a href="https://trac.ffmpeg.org/wiki/Concatenate">ffmpeg wiki page on concatenating files</a>.</p>
</div> </div>
</div> </div>
</div> </div>