From 3934d85f54384621d32c782035b6503e34f2f7fd Mon Sep 17 00:00:00 2001 From: Joanna White <37188631+b00giehead@users.noreply.github.com> Date: Thu, 20 Dec 2018 14:42:33 +0000 Subject: [PATCH] Update to index.html Addition of 'Change colour to black and white' in Change Video Properties --- index.html | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/index.html b/index.html index e6d3298..1a901c8 100644 --- a/index.html +++ b/index.html @@ -781,6 +781,35 @@ + + + +
+

Change video colour to black and white

+

ffmpeg -i input_file -filter_complex hue=s=0 -c:a copy output_file

+

A basic command to alter colour hue to black and white using filter_complex (credit @FFMPEG via Twitter).

+
+
ffmpeg
starts the command
+
-i input_file
path, name and extension of the input file
+
-filter_complex hue=s=0
uses filter_complex command to set the hue to black and white
+
-c:a copy
copies the encode settings of the input_file to the output_file
+
output_file
path, name and extension of the output_file
+
+

An alternative that preserves interlacing information for a prores 422hq file generated, for example, from a tape master (credit Dave Rice):

+

ffmpeg -i input_file -c:v prores_ks -flags +ildct+ilme -map 0 -c:a copy -profile:v 3 -vf hue=s=0 output_file

+
+
ffmpeg
starts the command
+
-i input_file
path, name and extension of the input file
+
-c:v prores_ks
encodes the video to ProRes (prores_ks marks the stream as interlaced, unlike prores)
+
-flags +ildct+ilme
ensures that the output_file has interlaced field encoding, using interlace aware discrete cosine transform and interlace aware motion estimation
+
-map 0
ensures ffmpeg maps all streams of the input_file to the output_file
+
-c:a copy
copies the encode settings of the input_file to the output_file
+
output_file
path, name and extension of the output file
+
+ +
+ +

Change or view audio properties