new script
This commit is contained in:
parent
be10e2b7d1
commit
a0f46ab8ed
1 changed files with 5 additions and 0 deletions
5
scripts/server_bin/rencode.sh
Executable file
5
scripts/server_bin/rencode.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue