Update to index.html

Addition of 'Change colour to black and white' in Change Video Properties
This commit is contained in:
Joanna White 2018-12-20 14:42:33 +00:00 committed by GitHub
parent f771ff3816
commit 3934d85f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -781,6 +781,35 @@
</div>
<!-- ends Crop video -->
<!-- Change video colour to black and white -->
<label class="recipe" for="col_change">Change video colour to black and white</label>
<input type="checkbox" id="col_change">
<div class="hiding">
<h3>Change video colour to black and white</h3>
<p><code>ffmpeg -i <em>input_file</em> -filter_complex hue=s=0 -c:a copy <em>output_file</em></code></p>
<p>A basic command to alter colour hue to black and white using filter_complex (credit @FFMPEG via Twitter).</p>
<dl>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt>-i <em>input_file</em></dt><dd>path, name and extension of the input file</dd>
<dt>-filter_complex hue=s=0</dt><dd>uses filter_complex command to set the hue to black and white</dd>
<dt>-c:a copy</dt><dd>copies the encode settings of the input_file to the output_file</dd>
<dt><em>output_file</em></dt><dd>path, name and extension of the output_file</dd>
</dl>
<p>An alternative that preserves interlacing information for a prores 422hq file generated, for example, from a tape master (credit Dave Rice):</p>
<p><code>ffmpeg -i <em>input_file</em> -c:v prores_ks -flags +ildct+ilme -map 0 -c:a copy -profile:v 3 -vf hue=s=0 <em>output_file</em></code></p>
<dl>
<dt>ffmpeg</dt><dd>starts the command</dd>
<dt>-i <em>input_file</em></dt><dd>path, name and extension of the input file</dd>
<dt>-c:v prores_ks</dt><dd>encodes the video to ProRes (prores_ks marks the stream as interlaced, unlike prores)</dd>
<dt>-flags +ildct+ilme</dt><dd>ensures that the output_file has interlaced field encoding, using interlace aware discrete cosine transform and interlace aware motion estimation</em></dd>
<dt>-map 0</dt><dd>ensures ffmpeg maps all streams of the input_file to the output_file</dd>
<dt>-c:a copy</dt><dd>copies the encode settings of the input_file to the output_file</dd>
<dt><em>output_file</em></dt><dd>path, name and extension of the output file</dd>
</dl>
<p class="link"></p>
</div>
<!-- ends Change video colour to black and white -->
</div>
<div class="well">
<h2 id="audio-files">Change or view audio properties</h2>