Announcement

Collapse
No announcement yet.

Perl Audio Converter

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Perl Audio Converter

    Perl Audio Converter
    Description:
    Perl Audio Converter is a tool for converting multiple audio types from one format to another. It supports AAC, AC3, AIFF, APE, AU, AVR, BONK, CAF, CDR, FAP, FLA, FLAC, IRCAM, LA, LPAC, M4A, MAT, MAT4, MAT5, MMF, MP2, MP3, MP4, MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA, RAM, RAW, SD2, SF, SHN, SMP, SND, SPX, TTA, VOC, W64, WAV, WMA, and WV. It can also convert audio from the following video extensions: RM, RV, ASF, DivX, MPG, MKV, MPEG, AVI, MOV, OGM, QT, VCD, SVCD, M4V, NSV, NUV, PSP, SMK, VOB, FLV, and WMV. A CD ripping function with CDDB support, batch conversion, tag preservation for most supported formats, independent tag reading/writing, and extensions for Amarok, Dolphin, and Konqueror are also provided.

    Links:

    Home: Perl Audio Converter

    In the wishlist: Bug #104098 in Ubuntu / needs packaging] Perl Audio Converter - pacpl

    Iinstalling perl audio converter (Ubuntu Forums)

    Perl Audio Converter (sourceforge)

    Latest Release: v4.0.2, My .deb (86 KB): pacpl_4.0.2-1_i386.deb (FileMojo) or REGGLE Download Link or http://rapidshare.com/files/10980223..._i386.deb.html


    Installation

    Tested with the Kubuntu (7.10) Gutsy Gibbon and Kubuntu (8.04) Hardy Heron.

    During installation pacpl might need feedback from the user:
    CPAN is the world-wide archive of perl resources. It consists of about
    100 sites that all replicate the same contents all around the globe.
    Many countries have at least one CPAN site already. The resources
    found on CPAN are easily accessible with the CPAN.pm module. If you
    want to use CPAN.pm, you have to configure it properly.

    If you do not want to enter a dialog now, you can answer 'no' to this
    question and I'll try to autoconfigure. (Note: you can revisit this
    dialog anytime later by typing 'o conf init' at the cpan prompt.)

    Are you ready for manual configuration? [yes]
    Asks mostly hard questions like:
    First, pick a nearby continent and country (you can pick several of
    each, separated by spaces, or none if you just want to keep your
    existing selections). Then, you will be presented with a list of URLs
    of CPAN mirrors in the countries you selected, along with previously
    selected URLs. Select some of those URLs, or just keep the old list.
    Finally, you will be prompted for any extra URLs -- file:, ftp:, or
    http: -- that host a CPAN mirror.

    (1) Africa
    (2) Asia
    (3) Central America
    (4) Europe
    (5) North America
    (6) Oceania
    (7) South America
    Select your continent (or several nearby continents) [].

    Note from the README.Debian:
    Upon install, pacpl checks for when needed recommended programs are available and only installs support for those that exist. If you add another program later, reinstall pacpl and the menu entries will be added.

    -- Chad Martin <chadm@linuxappfinder.com>, Fri, 04 Aug 2006 13:34:00 -0500

    Pacpl is a perl script that will use other programs to do conversion. After installation command:
    Code:
    pacpl -f
    will tell what programs you need (file attached at the end of the page).

    More:
    Code:
    pacpl --help
    Perl Audio Converter - 4.0.2

    -t, --to destination format
    -r, --recursive recursively convert directory(s)
    -p, --preserve preserve directory structure
    -f, --formats list supported encode/decode formats
    -o, --only only convert files matching extension
    -k, --keep keep files matching destination format
    -h, --help this help menu
    -l, --longhelp complete list of options
    -v, --verbose show detailed information

    usage: pacpl --to <format> <options> [file(s)/directory(s)]
    Even more:
    PACPL(1) User Contributed Perl Documentation PACPL(1)

    NAME
    Perl Audio Converter - multi purpose converter/ripper/tagger

    SYNOPSIS
    pacpl --to <format> <options> [file(s)/directory(s)]

    DESCRIPTION
    Perl Audio Converter is a tool for converting multiple audio types from
    one format to another. It supports AAC, AC3, AIFF, APE, AU, AVR, BONK,
    CAF, CDR, FAP, FLA, FLAC, IRCAM, LA, LPAC, MAT, MAT4, MAT5, M4A, MMF,
    MP2, MP3, MP4, MPC, MPP, NIST, OFR, OFS, OGG, PAC, PAF, PVF, RA, RAM,
    RAW, SD2, SF, SHN, SMP, SND, SPX, TTA, VOC, W64, WAV, WMA, and WV...

    Perl Audio Converter has kommander front-end. It will start:
    Code:
    kmdr-executor /etc/pacpl/mods/pacpl-gui.kmdr

    With the Hardy:
    Code:
    sudo apt-get install faac faad ffmpeg sox flac lame mppenc wavpack
    and kubuntu-restricted-extras + mplayer => Dolphin (d3lphin) Right click audio file(s) > Actions > PACPL-Convert:

    Attached Files
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    #2
    Re: Perl Audio Converter

    this code

    kmdr-executor /etc/pacpl/mods/pacpl-gui.kmdr

    don't work in my Kubuntu

    give this error

    Kommander file
    /etc/pacpl/mods/pacpl-gui.kmdr
    does not exist.


    help

    Comment


      #3
      Re: Perl Audio Converter

      this code

      kmdr-executor /etc/pacpl/mods/pacpl-gui.kmdr

      don't work in my Kubuntu
      Kubuntu 7.10 / 8.04 ?
      KDE 3.5 / KDE 4 ?



      Checking

      Removing (purging) pacpl....

      Searching
      Code:
      locate pacpl-gui.kmdr
      -

      Downloading pacpl_4.0.2-1_i386.deb (FileMojo)

      Installing
      Code:
      sudo dpkg -i pacpl_4.0.2-1_i386.deb
      output log at the end of page (you need to be log in to see it !).

      dpkg log tells:
      Code:
      grep "pacpl" /var/log/dpkg.log
      2008-05-24 10:39:53 remove pacpl 4.0.2-1 4.0.2-1
      2008-05-24 10:39:53 status half-configured pacpl 4.0.2-1
      2008-05-24 10:39:53 status half-installed pacpl 4.0.2-1
      2008-05-24 10:39:53 status config-files pacpl 4.0.2-1
      2008-05-24 10:39:53 purge pacpl 4.0.2-1 4.0.2-1
      2008-05-24 10:39:53 status config-files pacpl 4.0.2-1
      ...
      2008-05-24 10:39:53 status config-files pacpl 4.0.2-1
      2008-05-24 10:39:53 status not-installed pacpl <none>
      2008-05-24 10:41:44 install pacpl <none> 4.0.2-1
      2008-05-24 10:41:44 status half-installed pacpl 4.0.2-1
      2008-05-24 10:41:44 status unpacked pacpl 4.0.2-1
      2008-05-24 10:41:44 status unpacked pacpl 4.0.2-1
      2008-05-24 10:41:44 configure pacpl 4.0.2-1 4.0.2-1
      2008-05-24 10:41:44 status unpacked pacpl 4.0.2-1
      ...
      2008-05-24 10:41:44 status unpacked pacpl 4.0.2-1
      2008-05-24 10:41:44 status half-configured pacpl 4.0.2-1
      2008-05-24 10:42:16 status installed pacpl 4.0.2-1
      and searching
      Code:
      locate pacpl-gui.kmdr
      /etc/pacpl/mods/pacpl-gui.kmdr

      In the konsole:
      Code:
      :~$ kmdr-executor /etc/pacpl/mods/pacpl-gui.kmdr
      Attached Files
      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Perl Audio Converter

        KDE 4 (KDE 4.2 beta2) and Perl Audio Converter (4.0.3)

        Using Kubuntu Jaunty Jackalope (alpha2).


        Downloading pacpl-4.0.3.tar.bz2. Unpacking and cd to /pacpl-4.0.3 directory.

        Reading INSTALL and README files => making a MANUAL installation.


        An example: How to install Perl Audio Converter to the Kubuntu.

        Konsole is in the /pacpl-4.0.3 directory

        Making directories and copying files:

        Code:
        sudo cp pacpl /usr/bin
        Code:
        sudo mkdir /etc/pacpl
        sudo mkdir /etc/pacpl/po
        sudo mkdir /etc/pacpl/modules
        
        sudo cp pacpl.conf /etc/pacpl
        sudo cp pacpl.conf ~/.pacplrc
        sudo cp extra/sample.m /etc/pacpl/modules
        sudo cp po/* /etc/pacpl/po
        Code:
        sudo mkdir /usr/share/doc/pacpl-4.0.3
        
        sudo cp README COPYING TODO ChangeLog AUTHORS INSTALL /usr/share/doc/pacpl-4.0.3
        sudo cp -R extra/ /usr/share/doc/pacpl-4.0.3
        Code:
        sudo mkdir /usr/share/kde4/apps/amarok/scripts/pacx
        sudo cp plugins/amarok/pacx /usr/share/kde4/apps/amarok/scripts/pacx
        Note #1
        Amarok 1 scipts might not work with the Amarok 2 > Future of KDE Bindings for KDE3

        NOTE #2
        pacpl.desktop needs a bit tuning > Development/Tutorials/Creating Konqueror Service Menus (and Dolphin too)

        Now:
        Code:
        [Desktop Entry]
        ServiceTypes=audio/*,video/*,application/x-flash-video,inode/directory
        Changing to:
        Code:
        [Desktop Entry]
        Type=Service
        ServiceTypes=KonqPopupMenu/Plugin
        MimeType=audio/*;video/*;application/x-flash-video;inode/directory;
        Note #3
        Konqueror and Dolphin are using same ServiceMenus. Services are:
        Code:
        kde4-config --path services
        /home/<USER>/.kde/share/kde4/services/:/usr/share/kde4/services/
        => ServiceMenus are:
        User: /home/<USER>/.kde/share/kde4/services/ServiceMenus
        System: /usr/share/kde4/services/ServiceMenus


        After edit, copying:
        Code:
        sudo cp plugins/dolphin/pacpl.desktop /usr/share/kde4/services/ServiceMenus
        sudo cp plugins/konqueror/mimes/* /usr/share/mimelnk/audio/

        Downloading and installing all required modules

        cd extra, konsole is /pacpl-4.0.3/extra
        running command:
        Code:
        sudo ./mod-install.sh
        and...
        CPAN is the world-wide archive of perl resources. It consists of about
        300 sites that all replicate the same contents around the globe. Many
        countries have at least one CPAN site already. The resources found on
        CPAN are easily accessible with the CPAN.pm module. If you want to use
        CPAN.pm, lots of things have to be configured. Fortunately, most of
        them can be determined automatically. If you prefer the automatic
        configuration, answer 'yes' below.

        If you prefer to enter a dialog instead, you can answer 'no' to this
        question and I'll let you configure in small steps one thing after the
        other. (Note: you can revisit this dialog anytime later by typing 'o
        conf init' at the cpan prompt.)
        Would you like me to configure as much as possible automatically? [yes] y
        ...
        After lot of "Yes", modules have been installed.


        Testing

        Konsole:
        Code:
        pacpl --help
        error: could not open - /usr/share/pacpl/locale/en_US.po
        No such file or directory
        Making one directory more:
        Code:
        sudo mkdir -p /usr/share/pacpl/locale
        and copying (konsole is /pacpl-4.0.3)
        Code:
        sudo cp po/* /usr/share/pacpl/locale
        again:
        Code:
        pacpl --help
        Perl Audio Converter - 4.0.3

        -t, --to destination format
        -r, --recursive recursively convert directory(s)
        -p, --preserve preserve directory structure
        -f, --formats list supported encode/decode formats
        -o, --only only convert files matching extension
        -k, --keep keep files matching destination format
        -h, --help this help menu
        -l, --longhelp complete list of options
        -v, --verbose show detailed information

        usage: pacpl --to <format> <options> [file(s)/directory(s)]

        Example: Conversion from the wma (needs ffmpeg /1/) to aiff (needs sox /1/)

        From wma to aiff



        Where



        Channels



        Sampling rate



        Converting



        Done




        /1/ Konsole command:
        Code:
        pacpl -f
        Perl Audio Converter - 4.0.3

        EXT E D ENCODER DECODER TAG-READ TAG-WRITE
        ----------------------------------------------------------------------
        ...
        aiff Y Y sox sox N N
        ...
        wma Y Y ffmpeg ffmpeg Y N
        ...

        encode formats: 49 --- decode formats: 70
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment

        Working...
        X