mirror of
https://github.com/YunoHost-Apps/streama_ynh.git
synced 2024-09-03 20:26:30 +02:00
Update convert.sh
This commit is contained in:
parent
ee966b642d
commit
41d136665b
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ usage ()
|
||||||
ffmpeg_convert(){
|
ffmpeg_convert(){
|
||||||
while IFS= read -r -d '' file
|
while IFS= read -r -d '' file
|
||||||
do
|
do
|
||||||
ffmpeg -nostdin -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4"
|
ffmpeg -nostdin -i "$file" -c:v libx264 -c:a aac "${file%.*}.mp4"
|
||||||
rm -f "$file"
|
rm -f "$file"
|
||||||
done < <(find /home/yunohost.app/streama/upload/ -name '*.mkv' -print0 -o -name '*.avi' -print0)
|
done < <(find /home/yunohost.app/streama/upload/ -name '*.mkv' -print0 -o -name '*.avi' -print0)
|
||||||
chown -R streama:users /home/yunohost.app/streama/upload/
|
chown -R streama:users /home/yunohost.app/streama/upload/
|
||||||
|
|
Loading…
Add table
Reference in a new issue