diff --git a/bin/ffconv-a b/bin/ffconv-a index d8d0af3..4acdce9 100755 --- a/bin/ffconv-a +++ b/bin/ffconv-a @@ -1,4 +1,4 @@ #!/bin/dash # Convert directories and subdirectories from other audio formats to opus # Public domain, you probably couldn't even copyright a script this short -find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \; +find ./ -type f \( -iname \*.flac -o -iname \*.mp3 -o -iname \*.ogg -o -iname \*.m4a \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" "${i%.*}.opus" && rm -f "$i"' \; diff --git a/bin/ffconv-av b/bin/ffconv-av index e0b6efd..e508d83 100755 --- a/bin/ffconv-av +++ b/bin/ffconv-av @@ -5,4 +5,4 @@ #find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v libx265 -vtag hvc1 -c:a copy -crf 18 -preset veryslow "${i%.*}-x265.mp4" && rm -f "$i"' \; # update to use this command if on rpm -find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset veryslow "${i%.*}-x265.mp4" && rm -f "$i"' \; +find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm -o -iname \*.avi \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset veryslow "${i%.*}-x265.mp4" && rm -f "$i"' \;