mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2024-11-06 13:37:24 +01:00
commit
4a83b45e7e
16
index.html
16
index.html
@ -113,13 +113,13 @@
|
||||
<p>It is also possible to apply multiple filters to an input, which are sequenced together in the filtergraph. A chained set of filters is called a filter chain, and a filtergraph may include multiple filter chains. Filters in a filterchain are separated from each other by commas (<code>,</code>), and filterchains are separated from each other by semicolons (<code>;</code>). For example, take the <a href="#inverse-telecine">inverse telecine</a> command:</p>
|
||||
<p><code>ffmpeg -i <i>input_file</i> -c:v libx264 -vf "fieldmatch,yadif,decimate" <i>output_file</i></code></p>
|
||||
<p>Here we have a filtergraph including one filter chain, which is made up of three video filters.</p>
|
||||
<p>It is often prudent to enclose your filtergraph in quotation marks; this means that you can use spaces within the filtergraph. Using the inverse telecine example again, the following filter commands are all valid and equivalent:
|
||||
<ul>
|
||||
<li><code>-vf fieldmatch,yadif,decimate</code></li>
|
||||
<li><code>-vf "fieldmatch,yadif,decimate"</code></li>
|
||||
<li><code>-vf "fieldmatch, yadif, decimate"</code></li>
|
||||
</ul>
|
||||
but <code>-vf fieldmatch, yadif, decimate</code> is not valid.</p>
|
||||
<p>It is often prudent to enclose your filtergraph in quotation marks; this means that you can use spaces within the filtergraph. Using the inverse telecine example again, the following filter commands are all valid and equivalent:</p>
|
||||
<ul>
|
||||
<li><code>-vf fieldmatch,yadif,decimate</code></li>
|
||||
<li><code>-vf "fieldmatch,yadif,decimate"</code></li>
|
||||
<li><code>-vf "fieldmatch, yadif, decimate"</code></li>
|
||||
</ul>
|
||||
<p>but <code>-vf fieldmatch, yadif, decimate</code> is not valid.</p>
|
||||
<p>The ordering of the filters is significant. Video filters are applied in the order given, with the output of one filter being passed along as the input to the next filter in the chain. In the example above, <code>fieldmatch</code> reconstructs the original frames from the inverse telecined video, <code>yadif</code> deinterlaces (this is a failsafe in case any combed frames remain, for example if the source mixes telecined and real interlaced content), and <code>decimate</code> deletes duplicated frames. Clearly, it is not possible to delete duplicated frames before those frames are reconstructed.</p>
|
||||
<h4>Notes</h4>
|
||||
<ul>
|
||||
@ -998,7 +998,7 @@
|
||||
<dt>-ss 00:02:00</dt><dd>sets in point at 00:02:00</dd>
|
||||
<dt>-to 00:55:00</dt><dd>sets out point at 00:55:00</dd>
|
||||
<dt>-c copy</dt><dd>use stream copy mode (no re-encoding)<br>
|
||||
<dt>-map 0</dt><dd>tells FFmpeg to map all streams of the input to the output.</dd>
|
||||
<dt>-map 0</dt><dd>tells FFmpeg to map all streams of the input to the output.<br>
|
||||
<b>Note:</b> watch out when using <code>-ss</code> with <code>-c copy</code> if the source is encoded with an interframe codec (e.g., H.264). Since FFmpeg must split on i-frames, it will seek to the nearest i-frame to begin the stream copy.</dd>
|
||||
<dt><i>output_file</i></dt><dd>path, name and extension of the output file</dd>
|
||||
</dl>
|
||||
|
Loading…
Reference in New Issue
Block a user