Skip to content

Instantly share code, notes, and snippets.

View sebastian-meier's full-sized avatar
🤖
Wrestling Robots

Sebastian Meier sebastian-meier

🤖
Wrestling Robots
View GitHub Profile
unzip /*.zip
rm *.zip
./citygml-tools *.gml --tojson
rm *.gml
pip install 'cjio[export]'
for f in *.json; do cjio "$f" export gml "$f.json"; done
rm *.json
@sebastian-meier
sebastian-meier / convert.md
Created October 22, 2023 08:33
ffmpeg audio conversion mp3<>wav

for f in ./**/*.wav; do ffmpeg -y -i "$f" -c:a libmp3lame -ac 1 -q:a 2 -b:a 96k "${f/%wav/mp3}"; done

for f in ./**/*.mp3; do ffmpeg -y -i "$f" -acodec pcm_u8 -ar 22050 "${f/%.mp3/-1.WAV}"; done