An error with youtube-dl












6















When I run youtube-dl and extract the audio it gives me the error:
ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?










share|improve this question

























  • try xtreme video download manager for downloading videos

    – Dinse Das
    Jan 2 '14 at 1:28
















6















When I run youtube-dl and extract the audio it gives me the error:
ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?










share|improve this question

























  • try xtreme video download manager for downloading videos

    – Dinse Das
    Jan 2 '14 at 1:28














6












6








6


2






When I run youtube-dl and extract the audio it gives me the error:
ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?










share|improve this question
















When I run youtube-dl and extract the audio it gives me the error:
ERROR: audio conversion failed: Unknown encoder 'libmp3lame'

Could this be because I have ffmpeg and lame installed? Do the two conflict with eachother somehow?







youtube-dl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 5 '14 at 17:16









Braiam

52.3k20138223




52.3k20138223










asked Jan 2 '14 at 1:12









AwalrodAwalrod

4318




4318













  • try xtreme video download manager for downloading videos

    – Dinse Das
    Jan 2 '14 at 1:28



















  • try xtreme video download manager for downloading videos

    – Dinse Das
    Jan 2 '14 at 1:28

















try xtreme video download manager for downloading videos

– Dinse Das
Jan 2 '14 at 1:28





try xtreme video download manager for downloading videos

– Dinse Das
Jan 2 '14 at 1:28










3 Answers
3






active

oldest

votes


















10














Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:



sudo apt-get install libavcodec-extra-53  


Libav codec library:

Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.




  • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

  • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

  • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

  • In Ubuntu 18.10 and 19.04 Libav codec library has been updated to libavcodec-extra58.






share|improve this answer

































    0














    I just had the same problem but installing that package didn't work for me. When I ran this command, the problem was solved: sudo aptitude install ubuntu-restricted-extras.






    share|improve this answer































      0














      If you're getting this error running youtube-dl on a server
      check out this example for how I solved it for running python app on heroku:
      https://github.com/rg3/youtube-dl/issues/302#issuecomment-60146845



      The steps were




      1. make sure lame is installed (I used a buildpack) and

      2. make sure ffprobe is installed


      There are presumably other ways:
      --extract-audio "requires ffmpeg or avconv and ffprobe or avprobe"
      https://github.com/rg3/youtube-dl#post-processing-options






      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%2f398731%2fan-error-with-youtube-dl%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        10














        Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:



        sudo apt-get install libavcodec-extra-53  


        Libav codec library:

        Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.




        • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

        • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

        • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

        • In Ubuntu 18.10 and 19.04 Libav codec library has been updated to libavcodec-extra58.






        share|improve this answer






























          10














          Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:



          sudo apt-get install libavcodec-extra-53  


          Libav codec library:

          Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.




          • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

          • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

          • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

          • In Ubuntu 18.10 and 19.04 Libav codec library has been updated to libavcodec-extra58.






          share|improve this answer




























            10












            10








            10







            Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:



            sudo apt-get install libavcodec-extra-53  


            Libav codec library:

            Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.




            • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

            • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

            • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

            • In Ubuntu 18.10 and 19.04 Libav codec library has been updated to libavcodec-extra58.






            share|improve this answer















            Make sure that you have the libavcodec-extra-53 package for encoding to mp3 installed. To install libavcodec-extra-53 from the terminal run:



            sudo apt-get install libavcodec-extra-53  


            Libav codec library:

            Libav is a complete, cross-platform solution to decode, encode, record, convert and stream audio and video.




            • In Ubuntu 14.04 the Libav codec library (libavcodec-extra-53) has been updated to libavcodec-extra-54.

            • In Ubuntu 15.10 and 16.04 the Libav codec library has been updated to libavcodec-ffmpeg-extra56.

            • In Ubuntu 16.10, 17.04, 17.10, and 18.04 Libav codec library has been updated to libavcodec-extra57.

            • In Ubuntu 18.10 and 19.04 Libav codec library has been updated to libavcodec-extra58.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Feb 16 at 7:31

























            answered Jan 2 '14 at 1:41









            karelkarel

            60.2k13130154




            60.2k13130154

























                0














                I just had the same problem but installing that package didn't work for me. When I ran this command, the problem was solved: sudo aptitude install ubuntu-restricted-extras.






                share|improve this answer




























                  0














                  I just had the same problem but installing that package didn't work for me. When I ran this command, the problem was solved: sudo aptitude install ubuntu-restricted-extras.






                  share|improve this answer


























                    0












                    0








                    0







                    I just had the same problem but installing that package didn't work for me. When I ran this command, the problem was solved: sudo aptitude install ubuntu-restricted-extras.






                    share|improve this answer













                    I just had the same problem but installing that package didn't work for me. When I ran this command, the problem was solved: sudo aptitude install ubuntu-restricted-extras.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 5 '14 at 17:15









                    user1527227user1527227

                    2452415




                    2452415























                        0














                        If you're getting this error running youtube-dl on a server
                        check out this example for how I solved it for running python app on heroku:
                        https://github.com/rg3/youtube-dl/issues/302#issuecomment-60146845



                        The steps were




                        1. make sure lame is installed (I used a buildpack) and

                        2. make sure ffprobe is installed


                        There are presumably other ways:
                        --extract-audio "requires ffmpeg or avconv and ffprobe or avprobe"
                        https://github.com/rg3/youtube-dl#post-processing-options






                        share|improve this answer






























                          0














                          If you're getting this error running youtube-dl on a server
                          check out this example for how I solved it for running python app on heroku:
                          https://github.com/rg3/youtube-dl/issues/302#issuecomment-60146845



                          The steps were




                          1. make sure lame is installed (I used a buildpack) and

                          2. make sure ffprobe is installed


                          There are presumably other ways:
                          --extract-audio "requires ffmpeg or avconv and ffprobe or avprobe"
                          https://github.com/rg3/youtube-dl#post-processing-options






                          share|improve this answer




























                            0












                            0








                            0







                            If you're getting this error running youtube-dl on a server
                            check out this example for how I solved it for running python app on heroku:
                            https://github.com/rg3/youtube-dl/issues/302#issuecomment-60146845



                            The steps were




                            1. make sure lame is installed (I used a buildpack) and

                            2. make sure ffprobe is installed


                            There are presumably other ways:
                            --extract-audio "requires ffmpeg or avconv and ffprobe or avprobe"
                            https://github.com/rg3/youtube-dl#post-processing-options






                            share|improve this answer















                            If you're getting this error running youtube-dl on a server
                            check out this example for how I solved it for running python app on heroku:
                            https://github.com/rg3/youtube-dl/issues/302#issuecomment-60146845



                            The steps were




                            1. make sure lame is installed (I used a buildpack) and

                            2. make sure ffprobe is installed


                            There are presumably other ways:
                            --extract-audio "requires ffmpeg or avconv and ffprobe or avprobe"
                            https://github.com/rg3/youtube-dl#post-processing-options







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Oct 22 '14 at 20:36









                            guntbert

                            9,331133170




                            9,331133170










                            answered Oct 22 '14 at 20:16







                            user148697





































                                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%2f398731%2fan-error-with-youtube-dl%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

                                flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                                Mangá

                                 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕