How can I use abcde to rip to mp3 and embed album art under Trusty and Xenial?












3















I would like to use the commandline audio ripper abcde to:




  1. Rip audio cds to mp3

  2. Download and then embed the appropriate album art


Can someone show me an example of how to accomplish this under both Trusty Tahr LTS and Xenial Xerus LTS?



Full disclosure: I was formerly one of the maintainers of abcde.










share|improve this question

























  • I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

    – Patrick Meredith
    Jan 24 at 23:33











  • This is my work :)

    – andrew.46
    Jan 25 at 5:52











  • FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

    – Pablo Bianchi
    Jan 25 at 13:34
















3















I would like to use the commandline audio ripper abcde to:




  1. Rip audio cds to mp3

  2. Download and then embed the appropriate album art


Can someone show me an example of how to accomplish this under both Trusty Tahr LTS and Xenial Xerus LTS?



Full disclosure: I was formerly one of the maintainers of abcde.










share|improve this question

























  • I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

    – Patrick Meredith
    Jan 24 at 23:33











  • This is my work :)

    – andrew.46
    Jan 25 at 5:52











  • FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

    – Pablo Bianchi
    Jan 25 at 13:34














3












3








3








I would like to use the commandline audio ripper abcde to:




  1. Rip audio cds to mp3

  2. Download and then embed the appropriate album art


Can someone show me an example of how to accomplish this under both Trusty Tahr LTS and Xenial Xerus LTS?



Full disclosure: I was formerly one of the maintainers of abcde.










share|improve this question
















I would like to use the commandline audio ripper abcde to:




  1. Rip audio cds to mp3

  2. Download and then embed the appropriate album art


Can someone show me an example of how to accomplish this under both Trusty Tahr LTS and Xenial Xerus LTS?



Full disclosure: I was formerly one of the maintainers of abcde.







14.04 command-line 16.04 mp3 abcde






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 8 '18 at 23:30







andrew.46

















asked Apr 9 '16 at 23:46









andrew.46andrew.46

21.9k1469149




21.9k1469149













  • I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

    – Patrick Meredith
    Jan 24 at 23:33











  • This is my work :)

    – andrew.46
    Jan 25 at 5:52











  • FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

    – Pablo Bianchi
    Jan 25 at 13:34



















  • I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

    – Patrick Meredith
    Jan 24 at 23:33











  • This is my work :)

    – andrew.46
    Jan 25 at 5:52











  • FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

    – Pablo Bianchi
    Jan 25 at 13:34

















I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

– Patrick Meredith
Jan 24 at 23:33





I came across this that worked real well! andrews-corner.org/linux/abcde/getalbumart.html#embedmp3

– Patrick Meredith
Jan 24 at 23:33













This is my work :)

– andrew.46
Jan 25 at 5:52





This is my work :)

– andrew.46
Jan 25 at 5:52













FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

– Pablo Bianchi
Jan 25 at 13:34





FTR you can split an mp3 album with mp3splt -s -p th=-50,nt=10 album.mp3, where _th: threshold level (dB) to be considered silence_ and _nt` number of tracks_.`

– Pablo Bianchi
Jan 25 at 13:34










1 Answer
1






active

oldest

votes


















7














For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:



1. Installation for Trusty:



Add the following PPA and some required packages:



sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


2. Installation for Xenial:



Add the following PPA and some required packages:



sudo add-apt-repository ppa:mc3man/xerus-media
sudo apt-get update
sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


3. Running abcde for Trusty or Xenial:



You can use a customised ~/.abcde.conf file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:



abcde -o mp3:-V2 -a default,getalbumart


This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?



4. Embed the album art?



Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:



for i in *.mp3
do
eyeD3 --add-image cover.jpg:FRONT_COVER "$i"
done


And now you are done :)



References:




  • Hydrogen Audio: Lame recommended Settings

  • abcde: Downloading Album Art...

  • abcde: Command Line Music CD Ripping for Linux






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f755722%2fhow-can-i-use-abcde-to-rip-to-mp3-and-embed-album-art-under-trusty-and-xenial%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    7














    For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:



    1. Installation for Trusty:



    Add the following PPA and some required packages:



    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update
    sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


    2. Installation for Xenial:



    Add the following PPA and some required packages:



    sudo add-apt-repository ppa:mc3man/xerus-media
    sudo apt-get update
    sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


    3. Running abcde for Trusty or Xenial:



    You can use a customised ~/.abcde.conf file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:



    abcde -o mp3:-V2 -a default,getalbumart


    This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?



    4. Embed the album art?



    Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:



    for i in *.mp3
    do
    eyeD3 --add-image cover.jpg:FRONT_COVER "$i"
    done


    And now you are done :)



    References:




    • Hydrogen Audio: Lame recommended Settings

    • abcde: Downloading Album Art...

    • abcde: Command Line Music CD Ripping for Linux






    share|improve this answer






























      7














      For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:



      1. Installation for Trusty:



      Add the following PPA and some required packages:



      sudo add-apt-repository ppa:mc3man/trusty-media
      sudo apt-get update
      sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


      2. Installation for Xenial:



      Add the following PPA and some required packages:



      sudo add-apt-repository ppa:mc3man/xerus-media
      sudo apt-get update
      sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


      3. Running abcde for Trusty or Xenial:



      You can use a customised ~/.abcde.conf file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:



      abcde -o mp3:-V2 -a default,getalbumart


      This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?



      4. Embed the album art?



      Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:



      for i in *.mp3
      do
      eyeD3 --add-image cover.jpg:FRONT_COVER "$i"
      done


      And now you are done :)



      References:




      • Hydrogen Audio: Lame recommended Settings

      • abcde: Downloading Album Art...

      • abcde: Command Line Music CD Ripping for Linux






      share|improve this answer




























        7












        7








        7







        For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:



        1. Installation for Trusty:



        Add the following PPA and some required packages:



        sudo add-apt-repository ppa:mc3man/trusty-media
        sudo apt-get update
        sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


        2. Installation for Xenial:



        Add the following PPA and some required packages:



        sudo add-apt-repository ppa:mc3man/xerus-media
        sudo apt-get update
        sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


        3. Running abcde for Trusty or Xenial:



        You can use a customised ~/.abcde.conf file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:



        abcde -o mp3:-V2 -a default,getalbumart


        This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?



        4. Embed the album art?



        Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:



        for i in *.mp3
        do
        eyeD3 --add-image cover.jpg:FRONT_COVER "$i"
        done


        And now you are done :)



        References:




        • Hydrogen Audio: Lame recommended Settings

        • abcde: Downloading Album Art...

        • abcde: Command Line Music CD Ripping for Linux






        share|improve this answer















        For both Trusty and Xenial it is a good idea to use one of the multimedia PPAs of mc3man to get the most modern abcde available:



        1. Installation for Trusty:



        Add the following PPA and some required packages:



        sudo add-apt-repository ppa:mc3man/trusty-media
        sudo apt-get update
        sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


        2. Installation for Xenial:



        Add the following PPA and some required packages:



        sudo add-apt-repository ppa:mc3man/xerus-media
        sudo apt-get update
        sudo apt-get install abcde lame eyed3 glyrc imagemagick cdparanoia


        3. Running abcde for Trusty or Xenial:



        You can use a customised ~/.abcde.conf file to get quality mp3 files as well as album art but if you just want to use the commandline simply use the following, under either Trusty or Xenial:



        abcde -o mp3:-V2 -a default,getalbumart


        This will find the album art and download it next to your mp3 files which will be encoded to Variable Bitrate with bitrate averaging between 170-210 kbps. What more could you want?



        4. Embed the album art?



        Well, you could want to actually embed the cover image into your mp3 files. To do this simply change to the directory that holds your mp3s and the cover image and run the following:



        for i in *.mp3
        do
        eyeD3 --add-image cover.jpg:FRONT_COVER "$i"
        done


        And now you are done :)



        References:




        • Hydrogen Audio: Lame recommended Settings

        • abcde: Downloading Album Art...

        • abcde: Command Line Music CD Ripping for Linux







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 26 '18 at 11:59

























        answered Apr 20 '16 at 8:16









        andrew.46andrew.46

        21.9k1469149




        21.9k1469149






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f755722%2fhow-can-i-use-abcde-to-rip-to-mp3-and-embed-album-art-under-trusty-and-xenial%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅