new script

This commit is contained in:
Stefen Auris 2024-07-26 15:50:45 -04:00
parent be10e2b7d1
commit a0f46ab8ed

5
scripts/server_bin/rencode.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
for i in `fdfind video.mp4`; do
snap run ffmpeg -hide_banner -hwaccel cuda -hwaccel_output_format cuda -i "$i" -c:a copy -c:v h264_nvenc "${i}_shrink.mp4"
done