Update 'change-length-video-HWACCEL.sh'

This commit is contained in:
Arkadiusz Wieczorek 2022-07-13 14:09:50 +02:00
parent 40275ad867
commit b71d260396

View File

@ -51,7 +51,7 @@ slow () {
echo "running with filter $FILTER"; echo "running with filter $FILTER";
if [ "$IS_MAC" -eq 1 ]; then if [ "$IS_MAC" -eq 1 ]; then
ffmpeg -c:v h264_videotoolbox -i "$IN_FILE" -b:v $BITRATE -filter_complex "$FILTER" "${OPTS[@]}" -c:v h264_vaapi "$OUT_FILE"; ffmpeg -hwaccel videotoolbox -i "$IN_FILE" -b:v $BITRATE -filter_complex "$FILTER" "${OPTS[@]}" -c:v h264_videotoolbox "$OUT_FILE";
else else
ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "$IN_FILE" -b:v $BITRATE -filter_complex "$FILTER" "${OPTS[@]}" -c:v h264_vaapi "$OUT_FILE"; ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i "$IN_FILE" -b:v $BITRATE -filter_complex "$FILTER" "${OPTS[@]}" -c:v h264_vaapi "$OUT_FILE";
fi; fi;