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
718324f34b
commit
e637ade007
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
for file in $(find /home/yunohost.app/streama/ -iname "*.mkv" -o -iname "*.avi")
|
while IFS= read -r -d '' file
|
||||||
do
|
do
|
||||||
ffmpeg -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4"
|
ffmpeg -nostdin -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4"
|
||||||
rm -f "$file"
|
rm -f "$file"
|
||||||
done
|
done < <(find /home/yunohost.app/streama/ -name '*.mkv' '*.avi' -print0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue