mirror of
https://github.com/YunoHost-Apps/streama_ynh.git
synced 2024-09-03 20:26:30 +02:00
Create convert_avidemux
This commit is contained in:
parent
540e4bff65
commit
ef625b36be
1 changed files with 9 additions and 0 deletions
9
conf/convert_avidemux
Normal file
9
conf/convert_avidemux
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#! /bin/bash
|
||||||
|
VIDEOCODEC="mp4"
|
||||||
|
AUDIOCODEC="aac"
|
||||||
|
while IFS= read -r -d '' file
|
||||||
|
do
|
||||||
|
#ffmpeg -nostdin -i "$file" -vcodec h264 -acodec aac -strict -2 "${file%.*}.mp4"
|
||||||
|
avidemux3_cli --video-codec $VIDEOCODEC --audio-codec $AUDIOCODEC --force-alt-h264 --load "$file" --save "${file%.*}.mp4" --quit
|
||||||
|
rm -f "$file"
|
||||||
|
done < <(find /home/pc/Téléchargements/odrive-bin/ -name '*.mkv' -print0 -o -name '*.avi' -print0)
|
Loading…
Add table
Reference in a new issue