removing some cosmic stuff and fixing lots of things

This commit is contained in:
Chris Cochrun 2025-07-17 10:53:31 -05:00
parent e3e6cbe1b4
commit 17a592dc12
5 changed files with 40 additions and 32 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
for filename in *.mov; do
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
ffmpeg -init_hw_device vaapi=va:/dev/dri/renderD128 -filter_hw_device va -i "${filename}" -vf 'format=nv12,hwupload' -c:v h264_vaapi -c:a aac -crf 28 "${filename%.*}".mp4
rm $filename
done