ffmpeg-helper.sh uses windows version for gpu accel
This commit is contained in:
@@ -139,7 +139,8 @@ if [ "$remove_audio" = true ] && [ "$audio_track_no" != 1 ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ffmpeg_command="ffmpeg -i \"$input_file\""
|
||||
# ffmpeg_command="ffmpeg -progress - -nostats -i \"$input_file\""
|
||||
ffmpeg_command="/mnt/e/programs/ffmpeg-2024-08-15-git-1f801dfdb5-full_build/bin/ffmpeg.exe -i \"$input_file\""
|
||||
|
||||
# if command -v ffmpeg.exe &> /dev/null; then
|
||||
# ffmpeg_command="ffmpeg.exe -hwaccel d3d11va"
|
||||
@@ -158,7 +159,8 @@ if [ -n "$trim_start" ] && [ -n "$trim_end" ]; then
|
||||
fi
|
||||
|
||||
if [ -n "$crf" ]; then
|
||||
ffmpeg_command+=" -c:v libx265 -crf $crf"
|
||||
# ffmpeg_command+=" -c:v libx265 -crf $crf"
|
||||
ffmpeg_command+="-c:v hevc_amf -rc cqp -qp_i $crf -qp_p $crf"
|
||||
fi
|
||||
|
||||
if [ -n "$new_fps" ]; then
|
||||
|
||||
Reference in New Issue
Block a user