Mplayer stream…
This barely deserves to be called a script, but… it’s more of a “wrapper” around mplayer. I got tired of adding the -cache 128 and -playlist options so much, that I decided I’d make a script to do it…. so, I copy this script to /usr/bin/ and everyone on the system can make use of the simplification.
#!/bin/bash
killall mplayer
mplayer -af volnorm,comp -cache 128 -playlist $1
The first part kills current streams (because I got tired of clicking my stopmplayer script…). The -af volnorm,comp switch adds audio filters normalization and compression. I’m not sure how effective they are, it may be only psychological, but I think I can tell the compression is working some (although I’d like it to be a bit more….) I started using that mostly for one local radio station stream that doesn’t seem to get any processing before streaming.
Of course, don’t forget to set it executable… (chmod +x yourscriptname.sh)

































