Browse Source

Fix FFmpeg filter command in Creating movies and Playing videos (#6151)

Douglas Leão 2 years ago
parent
commit
6939935aa8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      tutorials/animation/creating_movies.rst
  2. 1 1
      tutorials/animation/playing_videos.rst

+ 1 - 1
tutorials/animation/creating_movies.rst

@@ -336,7 +336,7 @@ while preserving its existing aspect ratio:
 
 ::
 
-    ffmpeg -i input.avi -f:v "scale=-1:1080" -crf 15 -preset veryfast output.mp4
+    ffmpeg -i input.avi -vf "scale=-1:1080" -crf 15 -preset veryfast output.mp4
 
 
 .. _doc_creating_movies_reducing_framerate:

+ 1 - 1
tutorials/animation/playing_videos.rst

@@ -231,4 +231,4 @@ significantly if the source is recorded at a higher resolution than 720p:
 
 ::
 
-    ffmpeg -i input.mp4 -f:v "scale=-1:720" -q:v 6 -q:a 6 output.ogv
+    ffmpeg -i input.mp4 -vf "scale=-1:720" -q:v 6 -q:a 6 output.ogv