From 8d68a273a48d98bf15975fdc3f38f9f58f9f4c69 Mon Sep 17 00:00:00 2001 From: liberodark Date: Sat, 30 May 2020 20:06:27 +0200 Subject: [PATCH] Update convert.sh --- conf/convert.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/convert.sh b/conf/convert.sh index a68122c..f1afd0b 100644 --- a/conf/convert.sh +++ b/conf/convert.sh @@ -62,7 +62,7 @@ chown -R streama:users /home/yunohost.app/streama/upload/ avconv_convert(){ while IFS= read -r -d '' file do - avconv -i "$file" -codec copy "${file%.*}.mp4" + avconv -i "$file" -c:v h264 -c:a aac "${file%.*}.mp4" rm -f "$file" done < <(find /home/yunohost.app/streama/upload/ -name '*.mkv' -print0 -o -name '*.avi' -print0) chown -R streama:users /home/yunohost.app/streama/upload/