View Install nwjs globally
sudo npm install nwjs -g --allow-root |
View convert-mp4-webm.sh
#!/bin/bash | |
for f in *.mp4; do echo "$f"; avconv -i "$f" -c:a libvorbis -q:a 4 -c:v libvpx -crf 18 -b:v 2M -qmin 0 -qmax 50 -threads 6 "${f%.*}.webm"; done; | |
View convert-mp3-to-m4a.sh
#!/bin/bash | |
for f in *.mp3; do echo "$f"; ffmpeg -i "$f" -c:a aac -strict experimental "${f%.*}.m4a"; done; $SHELL |
View convert-mp3-to-ogg.sh
#!/bin/bash | |
for f in *.mp3; do echo "$f"; avconv -i "$f" -c:a libvorbis -q:a 4 -threads 6 "${f%.*}.ogg"; done; |