Re: Choppy playback
Tim Wunder <[email protected]> Thu, 06 Jun 2002 13:42:47 -0400
| Newsgroups | gmane.comp.apache.mod-mp3 |
|---|---|
| Message-ID | <[email protected]> |
On 6/6/2002 12:09 PM, someone claiming to be Disnard, Jon wrote: > Hello, > > Since you have bandwidth issues, it is time to turn on compression. Actually, it is time to use LAME to compress your mp3 files even more than they are now, before transit across your broadband network. > > Look at it this way: > You have 100 kilo bits per second of upload capability. You have to consider the protocol overhead or minus 10% or 15%. You have a 128 Kbit quality MP3 you want to stream. The calculation looks something like this: > > ((100,000 - 10%) / 128000) = 0.703125 > > This means you get 0.7 of your connection dedicated for music (aka 70% music, 30% pops & static). > > To fix this you have to lower the bitrate of your mp3 stream, and try the calculation above again until you get a whole number. This means you need to use the mod_mp3 MP3Encoder directive to lower your mp3 bitrate while they are on their way out the door: > > MP3Encoder "/usr/local/bin/lame -q 2 -b 48 --silent % -" > This seems to have worked! woo-hoo! Question: What's the "-q 2" supposed to do? The "-q" option doesn't appear to be listed when I execute "/usr/local/bin/lame --help"? OK, nevermind, "/usr/local/bin/lame --longhelp" tells me :-) Thanks, Tim <snip>