Use -x264-params instead of -x264opts in the docs
-x264opts is deprecated: https://trac.ffmpeg.org/wiki/Encode/H.264. Fixes #507. Change-Id: Idb6cda03fbdfb88804e2297df4b9986ea87e4e64
This commit is contained in:
parent
db3ed544f8
commit
1aeabc10f1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue