diff --git a/docs/source/tutorials/encoding.rst b/docs/source/tutorials/encoding.rst index 4a4e61c36f..42e0d164b5 100644 --- a/docs/source/tutorials/encoding.rst +++ b/docs/source/tutorials/encoding.rst @@ -39,7 +39,7 @@ H264 encoding $ ffmpeg -i original.mp4 -c:a copy \ -vf "scale=-2:360" \ -c:v libx264 -profile:v baseline -level:v 3.0 \ - -x264opts scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ + -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ -minrate 600k -maxrate 600k -bufsize 600k -b:v 600k \ -y h264_baseline_360p_600.mp4 @@ -48,7 +48,7 @@ H264 encoding $ ffmpeg -i original.mp4 -c:a copy \ -vf "scale=-2:480" \ -c:v libx264 -profile:v main -level:v 3.1 \ - -x264opts scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ + -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ -minrate 1000k -maxrate 1000k -bufsize 1000k -b:v 1000k \ -y h264_main_480p_1000.mp4 @@ -57,7 +57,7 @@ H264 encoding $ ffmpeg -i original.mp4 -c:a copy \ -vf "scale=-2:720" \ -c:v libx264 -profile:v main -level:v 4.0 \ - -x264opts scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ + -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ -minrate 3000k -maxrate 3000k -bufsize 3000k -b:v 3000k \ -y h264_main_720p_3000.mp4 @@ -66,7 +66,7 @@ H264 encoding $ ffmpeg -i original.mp4 -c:a copy \ -vf "scale=-2:1080" \ -c:v libx264 -profile:v high -level:v 4.2 \ - -x264opts scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ + -x264-params scenecut=0:open_gop=0:min-keyint=72:keyint=72 \ -minrate 6000k -maxrate 6000k -bufsize 6000k -b:v 6000k \ -y h264_high_1080p_6000.mp4