Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Apache::MP3::Resample 4.00

    Download button

    No screenshots available
    Downloads: 775  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Lincoln Stein | More programs
    Perl Artistic License / FREE
    June 22nd, 2006, 15:40 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Apache::MP3::Resample description

    Downsample MP3/FLAC/Shorten files during streaming

    Apache::MP3::Resample can downsample MP3/FLAC/Shorten files during streaming.

    SYNOPSIS

    # httpd.conf or access.conf
    AddType audio/shorten .shn .SHN
    AddType audio/flac .flac

    Alias /apache_mp3 /usr/share/libapache-mp3-perl

    < Location /songs >
    SetHandler perl-script
    PerlHandler Apache::MP3::Resample
    PerlSetVar CacheDir /var/cache/Apache::MP3
    PerlSetVar AllowDownload no
    PerlSetVar SortFields Album,Track,Title,-Duration
    PerlSetVar Fields Track,Title,Artist,Album,Duration,Bitrate
    < /Location >


    Apache::MP3::Resample subclasses Apache::MP3::Playlist to allow the user to downsample audio files before streaming them. This allows users on slower connections to stream songs. When this module is installed, a menu of bitrates is presented in the upper right-hand corner of the screen. The user can choose from one of the bitrates, or select a mode that performs no resampling. The selected bitrate is maintained in a persistent cookie so that resampling is performed whenever the user returns to the site.

    This module requires a command-line MP3 encoder to resample and reencode the audio data. If not otherwise specified, Apache::MP3::Resample will try to use the Open Source Lame MP3 encoder. This utility is available at http://www.sulaco.org/mp3. Version 3.90 was used during the development of this module. Your results with other versions may vary.

    When you install Lame (or the encoder of your choice), be sure to place it in a directory located in Apache's PATH so that the module can find them at run time. You may need to set the PATH environment variable during Apache's launch, or by explicitly adding a SetEnv directive to the Apache configuration file.

    You should be aware that the decoding/reencoding process is CPU-intensive, and server performance may degrade as the number of simultaneous users increases.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    mp3 resample | Perl module | downsample MP3 | Resample | Apache | mp3

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM