Page 6 of 9 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 83

Thread: [HOWTO] abcde

  1. #51
    Join Date
    May 2006
    Location
    Amsterdam
    Beans
    1,731
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [HOWTO] abcde

    I know this is a pretty old guide, but the find / -name abcde.conf is not needed:

    dpkg -L abcde | grep conf

    will do the same without having to search on disk.
    Upgrade Ubuntu | Upgrade unsupported Ubuntu versions | Always backup | Howto upgrade flash
    Minimal CD install | Remove old kernels | My blog | Linux user #462801 | Conscience doth make cowards of us all. -- Shakespeare

  2. #52
    Join Date
    Sep 2008
    Location
    Atlanta
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [HOWTO] abcde

    I'm trying to get abcde to do a number of things such as name all my files based on their titles with the OUTPUTFORMAT option, however, it's not really working and just outputting track01.flac, etc.
    MKCUE=mkcue isn't generating a cue sheet either

    Is there something I'm missing with editing the configuration file?

    This is essentially what I have in my configuration file (everything that I have uncommented)

    Code:
    # Track padding: force abcde to pad tracks using 0
    PADTRACKS=y
    
    # Make a cue sheet
    MKCUE=mkcue
    
    
    #ACTIONS=cddb,read,encode,tag,move,clean
    ACTIONS=cddb,tag
    
    # Default location
    OUTPUTDIR=/blah/blah/abcde
    
    # Output type
    OUTPUTTYPE=flac,ogg
    
    # Output Format
    OUTPUTFORMAT='${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
    
    # Like OUTPUTFORMAT but for Various Artists discs.
    VAOUTPUTFORMAT='Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
    
    
    mungefilename ()
    {
    	echo "$@" | sed s,:,\ -,g | tr \ / __ | tr -d \'\"\?\[:cntrl:\]
    }
    Thank you in advance!
    Ubuntu 11.04 Natty Narwhal with GNOME 3
    Dell Latitude E6400
    2.4 GHz * 2, 3 GB RAM, 320 GB HDD, 1440 x 900 Resolution

  3. #53
    Join Date
    Jun 2007
    Beans
    12,906

    Re: [HOWTO] abcde

    Here is a basic guide and sample configs by andrew.46 - maybe take a look
    *****************************abcde.htm

    I used one of his as a starting point to do .aac with nero - for output have this (note what I highlighted in blue
    OUTPUTDIR="$HOME/music/"
    OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
    I put .abcde.conf in home folder - leave the default one in /etc alone

    In case any interest sometime - conf set up for neroAacEnc (does requires a patched abcde for nero and also to use cdda2wav instead of cdparanoia

    Code:
    # -----------------$HOME/.abcde.conf----------------- #
    #   A sample configuration file to convert music cds to 
    #      MP3, Ogg Vorbis, FLAC, Musepack & AAC 
    #          using abcde version 2.4.2
    #      Modified for neroAacEnc and atomicParsley from
    #       *****************************abcde.html
    #      Uses either cdparanoia or Jörg Schilling's cdda2wav
    # -------------------------------------------------- #
    #CDROM=/dev/cdrom
    
    #OGGENCODERSYNTAX=oggenc                # Specify encoder for Ogg Vorbis
    MP3ENCODERSYNTAX=lame                  # Specify encoder for MP3
    FLACENCODERSYNTAX=flac                 # Specify encoder for FLAC
    #MPPENCODERSYNTAX=mppenc                # Specify encoder for Musepack
    AACENCODERSYNTAX=neroAacEnc                 # Specify encoder for AAC
    
    #OGGENC=oggenc                          # Path to Ogg Vorbis encoder
    LAME=lame                              # Path to MP3 encoder
    FLAC=flac                              # Path to FLAC encoder
    #MPPENC=mppenc                          # Path to Musepack encoder
    AACENC=neroAacEnc                            # Path to AAC encoder
    ATOMICPARSLEY='AtomicParsley'
    
    #OGGENCOPTS='-q 6'                      # Options for Ogg Vorbis
    LAMEOPTS='-V 0'            # Options for MP3 
    FLACOPTS='--verify --best'             # Options for FLAC
    #MPPENCOPTS='--extreme'                 # Options for Musepack
    AACENCOPTS='-q 0.65'              # Options for AAC
     
    OUTPUTTYPE="m4a"      # Encode to all 5 formats! only 1 here
    
    CDROMREADERSYNTAX=cdparanoia
    CDPARANOIA=cdparanoia 
    #CDROMREADERSYNTAX=cdda2wav 
    #CDDA2WAV=cdda2wav            
    CDPARANOIAOPTS="--never-skip=40"
    #CDDA2WAVOPTS="-paranoia -paraopts=proof"
    
    # Give the location of the CD identification program:       
    CDDISCID=cd-discid           
                                   
    OUTPUTDIR="$HOME/music/"               
    OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
    VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
    ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
    VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'
    
    mungefilename ()
    {
      echo "$@" | sed s,:,-,g | tr / _ | tr -d \'\"\?\[:cntrl:\]
    }
    MAXPROCS=2                              # Run a few encoders simultaneously
    PADTRACKS=y                             # Makes tracks 01 02 not 1 2
    EXTRAVERBOSE=y                          # Useful for debugging
    EJECTCD=y                               # Please eject cd when finished :-)
    Last edited by mc4man; May 23rd, 2010 at 08:41 PM.

  4. #54
    Join Date
    Sep 2008
    Location
    Atlanta
    Beans
    84
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: [HOWTO] abcde

    Quote Originally Posted by mc4man View Post
    Here is a basic guide and sample configs by andrew.46 - maybe take a look
    *****************************abcde.htm

    I used one of his as a starting point to do .aac with nero - for output have this (note what I highlighted in blue


    I put .abcde.conf in home folder - leave the default one in /etc alone

    In case any interest sometime - conf set up for neroAacEnc (does requires a patched abcde

    Thank you for the link! it was really helpful!
    Ubuntu 11.04 Natty Narwhal with GNOME 3
    Dell Latitude E6400
    2.4 GHz * 2, 3 GB RAM, 320 GB HDD, 1440 x 900 Resolution

  5. #55
    Join Date
    Dec 2006
    Beans
    6,930

    Re: [HOWTO] abcde

    Hi,

    @mc4man; Nice link indeed . I see that the page has only recently added some details on how to automatically generate a playlist as well, not the most complex thing to do I will admit but it is nice to use some more features of this nice script...

    @Captain_Falafel: You saw on that page in the flac section how 'cue' either needs to be added to your commandline or in the ~/.abcde.conf file under the 'ACTIONS' section?

    Andrew
    Last edited by andrew.46; May 10th, 2010 at 11:54 AM.
    You think that's air you're breathing now?

  6. #56
    Join Date
    May 2010
    Beans
    4

    Re: [HOWTO] abcde

    Hello,

    Looks like abcde and its associated tools is just the thing to help me easily rip my CD library to multiple formats on harddisks. I have installed abcde and all the tools mentioned that it may use. I have even run abcde on a couple of CDs, but I must have something misconfigured since the results it get are incomplete. Only the first four tracks are encoded, but abcde seems to go to sleep after that and the command line prompt never returns. I can show you my .abcde.conf file and the error and status files generated by one of the runs of abcde. Can anyone see something configured incorrectly? Any suggestions will be appreciated.

    My .abcde.conf file (slightly modified stock file, only encodes 3 formats):
    Code:
    # -----------------$HOME/.abcde.conf----------------- #
    # 
    #   A sample configuration file to convert music cds to 
    #      MP3, Ogg Vorbis, FLAC, Musepack & AAC 
    #          using abcde version 2.3.99.6
    # 
    #       *****************************abcde.html
    # -------------------------------------------------- #
    
    OGGENCODERSYNTAX=oggenc                # Specify encoder for Ogg Vorbis
    MP3ENCODERSYNTAX=lame                  # Specify encoder for MP3
    FLACENCODERSYNTAX=flac                 # Specify encoder for FLAC
    MPPENCODERSYNTAX=mppenc                # Specify encoder for Musepack
    AACENCODERSYNTAX=faac                  # Specify encoder for AAC
    
    OGGENC=oggenc                          # Path to Ogg Vorbis encoder
    LAME=lame                              # Path to MP3 encoder
    FLAC=flac                              # Path to FLAC encoder
    MPPENC=mppenc                          # Path to Musepack encoder
    AACENC=faac                            # Path to AAC encoder
    
    OGGENCOPTS='-q 6'                      # Options for Ogg Vorbis
    LAMEOPTS='--preset extreme'            # Options for MP3 
    FLACOPTS='--verify --best'             # Options for FLAC
    MPPENCOPTS='--extreme'                 # Options for Musepack
    AACENCOPTS='-q 250 -w -s'              # Options for AAC
     
    OUTPUTTYPE="mp3,flac,m4a"      # Encode to just 3 formats!
    
    CDROMREADERSYNTAX=cdparanoia            
    CDPARANOIA=cdparanoia  
    CDPARANOIAOPTS="--never-skip=40"
    
    # Give the location of the CD identification program:       
    CDDISCID=cd-discid           
                                   
    OUTPUTDIR="$HOME/Music/"               
    ACTIONS=cddb,playlist,read,encode,tag,move,clean
    OUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${TRACKNUM}.${TRACKFILE}'
    VAOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${TRACKNUM}.${ARTISTFILE}-${TRACKFILE}'
    ONETRACKOUTPUTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}'
    VAONETRACKOUTPUTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}'
    
    # Create playlists for single and various-artist encodes. I would suggest
    # commenting these out for single-track encoding.
    PLAYLISTFORMAT='${OUTPUT}/${ARTISTFILE}-${ALBUMFILE}/${ALBUMFILE}.m3u'
    VAPLAYLISTFORMAT='${OUTPUT}/Various-${ALBUMFILE}/${ALBUMFILE}.m3u'
    
    mungefilename ()
    {
      echo "$@" | sed s,:,-,g | tr / _ | tr -d \'\"\?\[:cntrl:\]
    }
    MAXPROCS=4                              # Run a few encoders simultaneously
    PADTRACKS=y                             # Makes tracks 01 02 not 1 2
    EXTRAVERBOSE=y                          # Useful for debugging
    EJECTCD=y                               # Please eject cd when finished :-)
    The contents of one of the temporary directories created while abcde runs (note only the first 4 tracks are encoded):
    Code:
    bob@Basement:/home/xbmc/abcde.e7112e11$ ls
    cddbchoices  status        track02.wav   track04.wav  track10.wav  track16.wav
    cddbquery    track01.flac  track03.flac  track05.wav  track11.wav  track17.wav
    cddbread.1   track01.mp3   track03.mp3   track06.wav  track12.wav
    cddbstat     track01.wav   track03.wav   track07.wav  track13.wav
    discid       track02.flac  track04.flac  track08.wav  track14.wav
    errors       track02.mp3   track04.mp3   track09.wav  track15.wav
    The contents of the file "errors":
    Code:
    encodetrack-m4a-01: returned code 1: nice -n 10 faac -q 250 -w -s --artist Prince --album The Very Best of Prince --title I Wanna Be Your Lover --track 01 --genre Rock --year 2001 --comment  -o /home/xbmc/abcde.e7112e11/track01.m4a /home/xbmc/abcde.e7112e11/track01.wav
    encodetrack-m4a-02: returned code 1: nice -n 10 faac -q 250 -w -s --artist Prince --album The Very Best of Prince --title 1999 --track 02 --genre Rock --year 2001 --comment  -o /home/xbmc/abcde.e7112e11/track02.m4a /home/xbmc/abcde.e7112e11/track02.wav
    encodetrack-m4a-03: returned code 1: nice -n 10 faac -q 250 -w -s --artist Prince --album The Very Best of Prince --title Little Red Corvette --track 03 --genre Rock --year 2001 --comment  -o /home/xbmc/abcde.e7112e11/track03.m4a /home/xbmc/abcde.e7112e11/track03.wav
    encodetrack-m4a-04: returned code 1: nice -n 10 faac -q 250 -w -s --artist Prince --album The Very Best of Prince --title When Doves Cry --track 04 --genre Rock --year 2001 --comment  -o /home/xbmc/abcde.e7112e11/track04.m4a /home/xbmc/abcde.e7112e11/track04.wav
    The contents of the file "status":
    Code:
    abcde-version=2.4
    cdparanoia-audio-tracks=17
    cddbmethod=cddb
    cddb-statcomplete
    cddb-querycomplete
    cddb-read-1-complete
    cddb-choice=1
    cddb-readcomplete
    variousartists=
    variousartiststyle=forward
    cddb-edit
    playlistcomplete
    playlistcomplete
    playlistcomplete
    readtrack-01
    encodetracklocation-%local1%=01
    readtrack-02
    encodetracklocation-%local2%=02
    encodetrack-mp3-01
    encodetrack-flac-01
    readtrack-03
    encodetracklocation-%local3%=03
    encodetrack-mp3-02
    readtrack-03
    encodetracklocation-%local3%=03
    encodetrack-mp3-02
    encodetrack-flac-02
    readtrack-04
    encodetracklocation-%local4%=04
    encodetrack-mp3-03
    readtrack-05
    encodetrack-mp3-04
    encodetrack-flac-03
    encodetrack-flac-04
    readtrack-06
    readtrack-07
    readtrack-08
    readtrack-09
    readtrack-10
    readtrack-11
    readtrack-12
    readtrack-13
    readtrack-14
    readtrack-15
    readtrack-16
    readtrack-17

  7. #57
    Join Date
    Dec 2006
    Beans
    6,930

    Re: [HOWTO] abcde

    Hi JRobertBuchanan,

    I wonder if your copy of faac has been compiled against mp4v2, which is where the -w -s options come from. Have a look at:

    Code:
    andrew@skamandros~$ faac -h
    Freeware Advanced Audio Coder
    FAAC 1.28
    
    Usage: faac [options] infiles ...
    Options:
      -q <quality>	Set quantizer quality.
      -b <bitrate>	Set average bitrate to x kbps. (ABR, lower quality mode)
      -c <freq>	Set the bandwidth in Hz. (default=automatic)
      -o X		Set output file to X (only for one input file)
      -r		Use RAW AAC output file.
      -P		Raw PCM input mode (default 44100Hz 16bit stereo).
      -R		Raw PCM input rate.
      -B		Raw PCM input sample size (8, 16 (default), 24 or 32bits).
      -C		Raw PCM input channels.
      -X		Raw PCM swap input bytes
      -I <C,LF>	Input channel config, default is 3,4 (Center third, LF fourth)
    
    MP4 specific options:
      -w		Wrap AAC data in MP4 container. (default for *.mp4 and *.m4a)
      -s		Optimize MP4 container layout after encoding
      --artist X	Set artist to X
      --writer X	Set writer to X
      --title X	Set title to X
      --genre X	Set genre to X
      --album X	Set album to X
      --compilation	Set compilation
      --track X	Set track to X (number/total)
      --disc X	Set disc to X (number/total)
      --year X	Set year to X
      --cover-art X	Read cover art from file X
      --comment X	Set comment to X
    
    Documentation:
      --license	Show the FAAC license.
      --help	Show this abbreviated help.
      --long-help	Show complete help.
    
      More tips can be found in the audiocoding.com Knowledge Base at
      <http://www.audiocoding.com/wiki/>
    and see if these options exist for you. If not, and I suspect this is the problem, you could try and recompile faac against libmp4v2 or simply alter the aac options in ~/.abcde.conf to:

    Code:
    AACENCOPTS='-q 250'              # Options for AAC
    That 'andrews-corner' abcde webpage certainly is popular .

    All the best,

    Andrew
    You think that's air you're breathing now?

  8. #58
    Join Date
    May 2010
    Beans
    4

    Re: [HOWTO] abcde

    Andrew,

    Thanks for your razor sharp insight. I have faac version 1.26.1 which has the -w option, but not the -s option. I removed the -s portion of the AACENOPTS, and it looks like things are working now. Your page certainly is popular. abcde (once configured properly) is very easy to use. I have twenty years worth of CDs to rip, archive, and make available for streaming to my squeezebox, iphone, xbmc, etc and I just like being able to pop a CD in the tray, type "abcde" and forget about it. Now if I could just teach the cat to change the CDs for me, it would be nearly automated.

    Thanks again,
    Bob

  9. #59
    Join Date
    May 2010
    Beans
    4

    Re: [HOWTO] abcde

    Just one more problem to solve for today:

    Thanks to Andrew's help I've made a great deal of progress today. The last error I seem to be unable to overcome on my own is the tagging of some flac files. Here are the errors:

    Code:
    [ERROR] abcde: The following commands failed to run:
    tagtrack-flac-01: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-tags-from=- /home/xbmc/abcde.a60ce50c/track01.flac
    tagtrack-flac-04: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-tags-from=- /home/xbmc/abcde.a60ce50c/track04.flac
    tagtrack-flac-07: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-tags-from=- /home/xbmc/abcde.a60ce50c/track07.flac
    tagtrack-flac-11: returned code 1: nice -n 10 metaflac --no-utf8-convert --import-tags-from=- /home/xbmc/abcde.a60ce50c/track11.flac
    I get the same errors with and also without the "--no-utf8-convert" option. One of these track titles contains an umlaut, but the other three are all just english letters (and spaces).

    Any help or suggestions will be appreciated.

    Thanks,
    Bob

  10. #60
    Join Date
    Dec 2006
    Beans
    6,930

    Re: [HOWTO] abcde

    Hi JRobertBuchanan,

    This one I am not sure about, but I would certainly check the obvious i.e. that both metaflac and flac are installed. If they are in place try running abcde in 'debug' mode:

    Code:
    abcde -D 2>$HOME/Desktop/abcde_log
    Hopefully this will reveal the problem... Perhaps have a quick look at this thread as well:

    metaflac, utf-8 (and abcde)
    http://ubuntuforums.org/showthread.php?t=534603

    All the best,

    Andrew
    You think that's air you're breathing now?

Page 6 of 9 FirstFirst ... 45678 ... LastLast

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
  •