Convert WMA/WMV to Vorbis/Theora, useful for XNA Windows games
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
find -name "*.wma" -exec bash -c 'ffmpeg -i "{}" -q:a 10 "${0/.wma}.ogg"' {} \; | |
find -name "*.wmv" -exec bash -c 'ffmpeg -i "{}" -q:v 10 -q:a 10 "${0/.wmv}.ogv"' {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PPS: credit to Bryan Steele from OpenBSD and our OpenBSD gaming group who came up with the gst-launch syntax. The subshell acrobatics are mine...