Bring step 2 speed claim down to earth

This commit is contained in:
Neale Pickett 2023-03-02 08:54:38 -07:00
parent 8190079a6a
commit 5cb75ee4fd
2 changed files with 7 additions and 2 deletions

View File

@ -39,7 +39,7 @@ Doing things in two steps adds a little bit of time,
but in my experience, but in my experience,
the hardware transcoder is so much faster, the hardware transcoder is so much faster,
the second step time isn't a problem. the second step time isn't a problem.
I see ffmpeg reporting running at `speed=500x` and higher I see ffmpeg reporting running at `speed=84x` and higher
on the second step. on the second step.
# Thanks # Thanks

7
h264
View File

@ -12,7 +12,8 @@ Output will be written to \$SRC.h264.mp4
-1080p Rescale to no bigger than 1080p -1080p Rescale to no bigger than 1080p
-720p Rescale to no bigger than 720p -720p Rescale to no bigger than 720p
-480p Rescale to no bigger than 480p -480p Rescale to no bigger than 480p
-bitrate B Set average bitrate to B, overriding rescale setting -bitrate B Set average bitrate to B, overriding rescale setting or CRF
-crf C Set CRF to C, overriding rescale setting or bitrate
-swenc Software encode instead of hardware -swenc Software encode instead of hardware
EOD EOD
@ -44,6 +45,10 @@ while true; do
bitrateManual="-b:v $2" bitrateManual="-b:v $2"
shift 2 shift 2
;; ;;
-crf|--crf)
bitrateManual="-crf $2"
shift 2
;;
-swenc|--swenc) -swenc|--swenc)
codec=h264 codec=h264
shift shift