W
William
I am running Apache 1.3.29, ActiveState Perl 5.6, Windows XP and
mod_perl. Here is part of my httpd.conf file for configuring the
handler for the /Songs location.
<Location /Songs>
SetHandler perl-script
PerlSetEnv PATH c:/lame
PerlHandler Apache::MP3::Resample
PerlSetVar CacheDir /temp
PerlSetVar MP3Encoder 'lame --mp3input %b - <%f'
PerlSetVar ResamplePresets 'Low => -b16'
PerlSetVar AllowDownload no
</Location>
I set up a simple html file with the following:
<a href="/Songs/Song_to_play.m3u?play=1>Song</a> where
Song_to_play.mp3 is located in the /Songs directory.
When I click on the link, the Apache::MP3 module streams the file in
it's original bitrate, but I want it to stream in the Low bitrate
(defined above). I'm not sure why this isn't working, but any help
will be greatly appreciated.
mod_perl. Here is part of my httpd.conf file for configuring the
handler for the /Songs location.
<Location /Songs>
SetHandler perl-script
PerlSetEnv PATH c:/lame
PerlHandler Apache::MP3::Resample
PerlSetVar CacheDir /temp
PerlSetVar MP3Encoder 'lame --mp3input %b - <%f'
PerlSetVar ResamplePresets 'Low => -b16'
PerlSetVar AllowDownload no
</Location>
I set up a simple html file with the following:
<a href="/Songs/Song_to_play.m3u?play=1>Song</a> where
Song_to_play.mp3 is located in the /Songs directory.
When I click on the link, the Apache::MP3 module streams the file in
it's original bitrate, but I want it to stream in the Low bitrate
(defined above). I'm not sure why this isn't working, but any help
will be greatly appreciated.