add
This commit is contained in:
11
bin/tc
Executable file
11
bin/tc
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
mkdir -p output
|
||||||
|
for file in *.MP4; do
|
||||||
|
# CPU
|
||||||
|
ffmpeg -i "$file" -c:a copy -c:v hevc -crf 20 "output/$file"
|
||||||
|
# VAAPI
|
||||||
|
#ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i "$file" -c:a copy -c:v av1_vaapi -crf 20 -b:v 30M "output/$file"
|
||||||
|
#ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -i "$file" -c:a copy -c:v av1_vaapi -rc_mode VBR -b:v 30M -maxrate 35M "output/$file"
|
||||||
|
# NVENC
|
||||||
|
#ffmpeg -i "$file" -c:a copy -c:v hevc_nvec -b:v 10M -minrate 5M -maxrate 15M "output/$file"
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user