Update 'change-length-video-HWACCEL.sh'
This commit is contained in:
parent
40275ad867
commit
b71d260396
@ -51,7 +51,7 @@ slow () {
|
||||
echo "running with filter $FILTER";
|
||||
|
||||
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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user