Results 1 to 7 of 7

Thread: Converting ape to flac in Lucid

  1. #1
    Join Date
    Oct 2009
    Location
    Romania
    Beans
    145

    Converting ape to flac in Lucid

    I'm having a hard time converting ape files to flac. I tried shncov, with
    Code:
    shnconv -o flac *.ape
    to convert a directory of ape files. The error messages I get
    Code:
    shnconv: warning: failed to read data from input file using format: [ape]
    shnconv:          + you may not have permission to read file: [01.ape]
    shnconv:          + arguments may be incorrect for decoder: [mac]
    shnconv:          + verify that the decoder is installed and in your PATH
    shnconv:          + this file may be unsupported, truncated or corrupt
    mac is not installed, but, if I check the supported formats of shnconv, ape comes up as well:
    Code:
    $ shntool -f
    shntool 3.0.7 supported file formats:
    
     format    ext     input    output  description
     ------    ---     -----    ------  -----------
        wav   .wav   shntool   shntool  RIFF WAVE file format
       aiff  .aiff       sox       sox  Audio Interchange File Format
        shn   .shn   shorten   shorten  Shorten low complexity waveform coder
       flac  .flac      flac      flac  Free Lossless Audio Codec
        ape   .ape       mac       mac  Monkey's Audio Compressor
        ofr   .ofr       ofr       ofr  OptimFROG Lossless WAVE Audio Coder
       lpac      -      lpac         -  Lossless Predictive Audio Compression
         wv    .wv  wvunpack   wavpack  WavPack Hybrid Lossless Audio Compression
       alac      -      alac         -  Apple Lossless Audio Codec
         la      -        la         -  Lossless Audio Compresser
        tta   .tta    ttaenc    ttaenc  TTA Lossless Audio Codec
        als   .als    mp4als    mp4als  MPEG-4 Audio Lossless Coding
        tak   .tak      takc      takc  (T)om's lossless (A)udio (K)ompressor
       bonk  .bonk      bonk      bonk  Bonk lossy/lossless audio compressor
        kxs      -     kexis         -  Kexis lossless WAV file compressor
        mkw   .mkw    mkwcon    mkwcon  MKW Audio Compression format
       cust      -         -   shntool  Custom output format module
       term      -         -   shntool  Sends output to the terminal
       null      -         -   shntool  Sends output to /dev/null
    or this list is just of what it could support if every plugin were installed? I'm not entirely sure about this. If this is the case, how can I install mac? Their official site only offers a windows version...

    Moving on, however, I have installed soundKonverter as well, and that also says that it supports ape out of the box, yet when browse to a folder of ape files, soundKonverter can not open them. I've tried dragging the folder, opening just files etc. No luck.

    Oh, and for the record: the files are not corrupted and they are not read only. They play flawlessly in Deadbeef, and they passed AudioTester as well. The only reason I'm trying to convert them to flac, is that I won't have to change players if I want to listen to these albums. (I'm using Amarok as my primary audio player, which can't play them.)
    Last edited by damnated; July 1st, 2010 at 04:31 PM.

  2. #2
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Converting ape to flac in Lucid

    You'll need the mac libs, then works quite easily
    Ex.
    doug@doug-desktop:~/Music$ shnconv -o flac *.ape
    Converting [luckynight.ape] (1:00.36) --> [luckynight.flac] : 100% OK
    I have a version I built myself, you can get the source here - last entry on page
    http://debian-multimedia.org/pool/ma...keys-audio.php

    It is also available as 3 packages on that page, you'll need to install 2 of them for shntool - first libmac2_3.99u4-b5-0.1 followed by monkeys-audio_3.99u4-b5-0.0
    (make sure to use the ver.# above - from feb. 08 2010

    Easy to build - if you want just say so, 1 file must be patched though or build will fail, simple to do (/MACLib/APELink.cpp

    Also note that the dm build has a shntool patch, whether of value ..?

  3. #3
    Join Date
    Oct 2009
    Location
    Romania
    Beans
    145

    Re: Converting ape to flac in Lucid

    Thank you, it worked flawlessly after installing those 2 packages.

  4. #4
    Join Date
    Jan 2008
    Beans
    21

    Re: Converting ape to flac in Lucid

    Thank you, that helped me as well. If you are looking to split the resulting flac into individual tracks you might be interested in this information as well.

  5. #5
    Join Date
    Jul 2009
    Location
    Hippiesoldierstan Norwich
    Beans
    2,326
    Distro
    Lubuntu 22.04 Jammy Jellyfish

    Re: Converting ape to flac in Lucid

    and if you are lazy like me you can simply use the attached deb
    Attached Files Attached Files
    Last edited by shantiq; July 26th, 2010 at 04:59 PM.
    Linux is Latin for off-the-beaten-track
    what I like MOST about our Ubuntu ... The Community ie 50 brains are better than one
    Playing with Slackware too now ...
    ShanArt

  6. #6
    Join Date
    Sep 2006
    Beans
    9
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Converting ape to flac in Lucid

    Works great! Thanks!

  7. #7
    Join Date
    Nov 2009
    Beans
    22

    Re: Converting ape to flac in Lucid

    worked for me, TY so much!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •