Created
March 26, 2012 17:30
-
-
Save stefanocudini/2206996 to your computer and use it in GitHub Desktop.
speex encode test bitrate
This file contains hidden or 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 | |
| #copyleft stefano.cudini@gmail.com | |
| # | |
| #requirements: | |
| #aptitude install pv lame speex mplayer | |
| #rename this file in testplayer and set permission 0755 | |
| #a sound file contains more human voice | |
| # | |
| #make test files: | |
| #lame --decode song.mp3 song.wav | |
| #speexenc song.wav song.spx | |
| # | |
| #test bitrate: | |
| #dd if=song.mp3 | pv -r | ./testplayer | |
| #[14,2kB/s] | |
| # | |
| #dd if=song.spx | pv -r | ./testplayer | |
| #[6,5kB/s] | |
| mplayer - &> /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment