1
0
Fork 0
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:
liberodark 2020-05-29 16:12:39 +02:00 committed by GitHub
parent bf2b413ee8
commit c922ce54af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
#! /bin/bash #! /bin/bash
for file in $(find ./ -iname "*.mkv" -o -iname "*.avi") for file in $(find /home/yunohost.app/streama/ -iname "*.mkv" -o -iname "*.avi")
do do
ffmpeg -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4" ffmpeg -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4"
rm "$file" rm "$file"