adding some tweaks to env
This commit is contained in:
parent
fe1e6c695b
commit
0f7392671c
5 changed files with 11 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
for filename in *.mov; do
|
||||
ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i "${filename}" -c:v hevc_nvenc -c:a aac -crf 22 "${filename%.*}".mp4
|
||||
ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -hwaccel_device /dev/dri/renderD128 -i "${filename}" -vf 'format=nv12,hwupload' -c:v hevc_vaapi -c:a aac -crf 22 "${filename%.*}".mp4
|
||||
rm $filename
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue