This commit is contained in:
sc-idevops 2025-03-02 16:06:00 -05:00
parent b76fc64528
commit d016d45557
2 changed files with 6 additions and 5 deletions

View file

@ -3,7 +3,7 @@
#test to see if its already been encoded to av1 or else it converts it
format=$(ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 "$1")
rate=28
rate=26
echo "Format of file $1 is ---> $format"
if [ "$format" != "av1" ]
@ -19,5 +19,5 @@ then
-preset 3 \
-g 150 \
-c:a aac \
"/config/${1%.mp4}.mkv"
"/config/${1%.*}_converted.mkv"
fi