Fixed ffconv-a ext naming, updated copyright

master
Leo Coogan 4 years ago
parent 8f26e9dca7
commit cf2bc799b6
No known key found for this signature in database
GPG Key ID: B4F9BE9CF7FF8A5C

@ -15,10 +15,13 @@ yt-dl is licensed under the Unlicense. A license copy is provided in LICENSES/Un
yt-mpeg is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt. yt-mpeg is licensed under the Unlicense. A license copy is provided in LICENSES/Unlicense.txt.
ffconv is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-3.0.txt. ffconv is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-3.0.txt.
ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee ffconv - Copyright (c) 2019, 2011 Isaac, tripleee
ffconv-a is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-4.0.txt. ffconv-a is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-4.0.txt.
ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee ffconv-a - Copyright (c) 2019, 2011 Isaac, tripleee, llogan, Matthias Braun
ffconv-ar is licensed under CC BY-SA 4.0. A license copy is provided in LICENSES/CC-BY-SA-4.0.txt.
ffconv-ar - Copyright (c) 2019, 2011 Isaac, tripleee, llogan, Matthias Braun
matrix-upload is licensed under ISC. A license copy is provided in LICENSES/ISC.txt. matrix-upload is licensed under ISC. A license copy is provided in LICENSES/ISC.txt.
Copyright (c) 2018 Damir Jelić <poljar@termina.org.uk> Copyright (c) 2018 Damir Jelić <poljar@termina.org.uk>

@ -3,11 +3,9 @@ echo Convert from...
read ext read ext
echo Convert to... echo Convert to...
read toext read toext
for i in *.$ext;
do name=`echo "$i" | grep -E '(.+?)(\.[^.]*$|$)'` for i in *.$ext; do ffmpeg -i "$i" "${i%.*}.$toext"; done
echo "$name"
ffmpeg -i "$i" "${name}.$toext" -movflags use_metadata_tags
done
while true; do while true; do
read -p "Delete original files? " yn read -p "Delete original files? " yn
case $yn in case $yn in

Loading…
Cancel
Save