From 2f9b65b3e591c20f5e25541aab7ecdd8c0579e23 Mon Sep 17 00:00:00 2001 From: Reto Kromer Date: Thu, 26 Jan 2017 13:14:24 +0100 Subject: [PATCH] delete `-filter:v` for `ffplay` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The syntax of `ffplay` differs from the syntax of `ffmpeg`. In our case, `-filter:v` does not exist in `ffplay` at all. (Don’t ask why.) --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b14dd7b..3816fef 100644 --- a/index.html +++ b/index.html @@ -491,7 +491,7 @@
ffplay
starts the command
input_file
path, name and extension of the input file
-
-vf
-vf is an alias for -filter:v, which creates a filtergraph to use for the streams.
+
-vf
creates a filtergraph to use for the streams
"
quotation mark to start filter command
ocr,
tells ffplay to use ocr as source and the comma signifies that the script is ready for filter assertion
drawtext=fontfile=/Library/Fonts/Andale Mono.ttf
tells ffplay to drawtext and use a specific font (Andale Mono) when doing so
@@ -549,7 +549,7 @@
ffplay
starts the command
input_file
path, name and extension of the input file
-
-vf
-vf is an alias for -filter:v, which creates a filtergraph to use for the streams.
+
-vf
creates a filtergraph to use for the streams
"
quotation mark to start command
,
comma signifies there is another parameter coming
split=2[m][v]
Splits the input into two identical outputs and names them [m] and [v]
@@ -636,7 +636,7 @@
ffmpeg
starts the command
-i input_file
path, name and extension of the input file
-ss 00:00:20
seeks video file to 20 seconds into the video
-
-vf fps=1/60
-vf is an alias for -filter:v, which creates a filtergraph to use for the streams. The rest of the command identifies filtering by frames per second, and sets the frames per second at 1/60 (which is one per minute). Omitting this will output all frames from the video
+
-vf fps=1/60
Creates a filtergraph to use for the streams. The rest of the command identifies filtering by frames per second, and sets the frames per second at 1/60 (which is one per minute). Omitting this will output all frames from the video.
output file
path, name and extension of the output file. In the example out%d.png where %d is a regular expression that adds a number (d is for digit) and increments with each frame (out1.png, out2.png, out3.png…). You may also chose a regular expression like out%04d.png which gives 4 digits with leading 0 (out0001.png, out0002.png, out0003.png, …).