Encoding with faac as an Other Encoder

Lyall Pearce <[email protected]>
Newsgroups gmane.comp.multimedia.grip.user
Message-ID <[email protected]>
Keywords: grip 3.3.0 faac encode aac

Gday

Grip 3.3.0

I want to encode my old cd collection as AAC file format. I am having
diffiuclty setting up an encoder - faac.

(see http://www.audiocoding.com/modules/wiki/?page=FAAC#What%20the%20FAAC??)

Of course, if there is a better way, I am all ears, but, to continue on
with my problem...

I have tried

Encoder Executable: /usr/bin/faac
Encoder Command-line: --mpeg-vers 4 -b '%b' --title '%t-%n' --artist
'%a' --album '%d-%A-%y' -o '%m.%xaac' '%m'
Encoder file extension : <empty>
Encode file format: ~/Music/%A/%d/%n%x

I cannot for the life of me convince it to work.
I have created a script, which I called 'faac.sh' which contains the
following  :-

    #!/bin/bash
    exec >> /tmp/faac.log 2>&1
    echo "=================="
    date
    echo "$0 $*"
    /usr/bin/faac $*
    theResult=$?
    date
    echo "=================="
    exit $?


whose output ends up being (after I reverse slash quote the quotes)

Encoder Executable: /usr/bin/faac
Encoder Command-line: --mpeg-vers 4 -b \'%b\' --title \'%t-%n\' --artist
\'%a\' --album \'%d-%A-%y\' -o \'%m.%xaac\' \'%m\'
Encoder file extension : <empty>
Encode file format: ~/Music/%A/%d/%n%x

    ==================
    Sun Jun 12 14:08:19 CST 2005
    /usr/bin/faac.sh --mpeg-vers 4 -b 128 --title '01-N.W.O.' --artist
    'Ministry' --album 'Psalm 69-Ministry-1992' -o
    '/home/lyall/Music/ministry/psalm_69/nwo.aac'
    '/home/lyall/Music/ministry/psalm_69/nwo'
    Freeware Advanced Audio Coder
    FAAC 1.24

    Cannot encode several input files to one output file.
    Sun Jun 12 14:08:19 CST 2005
    ==================

I even tried removing all the -- options and putting a ls command in the
script, at which point, it decided to not complain about multiple input
files but then could not find the file at all...

Encoder Executable: /usr/bin/faac
Encoder Command-line:  -b '%b' -o '%m.%xaac' '%m'
Encoder file extension : <empty>
Encode file format: ~/Music/%A/%d/%n%x

    ==================
    Sun Jun 12 14:17:05 CST 2005
    /usr/bin/faac.sh --mpeg-vers 4 -b 128 -o
    /home/lyall/Music/ministry/psalm_69/nwo.aac
    /home/lyall/Music/ministry/psalm_69/nwo
    total 8
    drwxrwx---  2 root vfat 4096 Jun 12 14:17 .
    drwxrwx---  3 root vfat 4096 Jun 12 11:56 ..
    Freeware Advanced Audio Coder
    FAAC 1.24

    /home/lyall/Music/ministry/psalm_69/nwo: No such file or directory
    Couldn't open input file /home/lyall/Music/ministry/psalm_69/nwo
    Sun Jun 12 14:17:05 CST 2005
    ==================


Any help would be appreciated.

...Lyall

I am really confused.



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.