Download error with youtube-dl and axel












0















I am trying to download following video:



https://www.youtube.com/watch?v=pQWj2Fgxdrc


by combining 'youtube-dl' and 'axel'. I am trying to download this video in such a way that I want these two softwares (youtube-dl and axel) to not only save this video as "interview.mp4" but also limit download speed to 200KB. For this purpose, I used following command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


Here I am using following options:




-f 22 for video format



-c for resume download



-i for ignore errors



-o for output file name



-s 200000 for limit download speed to 200KB




However, instead of downloading the video at 200KB and saving it as "interview.mp4", it is giving following error:



ERROR: fixed output name but more than one file to download


I have also tried following variation of command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -s 200000 -o 'interview.mp4'  https://www.youtube.com/watch?v=pQWj2Fgxdrc


and



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc -s 200000


and



youtube-dl -f 22 -c -i -o 'interview.mp4' --external-downloader /usr/bin/axel -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


But still same error is appearing. However, if I remove the option (-s 200000), the error disappear and the video starts to download. But I want to use (-s 200000) option so that it should not eat all the bandwidth.
What mistake I am doing here?










share|improve this question

























  • Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

    – Haxiel
    Feb 18 at 15:19


















0















I am trying to download following video:



https://www.youtube.com/watch?v=pQWj2Fgxdrc


by combining 'youtube-dl' and 'axel'. I am trying to download this video in such a way that I want these two softwares (youtube-dl and axel) to not only save this video as "interview.mp4" but also limit download speed to 200KB. For this purpose, I used following command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


Here I am using following options:




-f 22 for video format



-c for resume download



-i for ignore errors



-o for output file name



-s 200000 for limit download speed to 200KB




However, instead of downloading the video at 200KB and saving it as "interview.mp4", it is giving following error:



ERROR: fixed output name but more than one file to download


I have also tried following variation of command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -s 200000 -o 'interview.mp4'  https://www.youtube.com/watch?v=pQWj2Fgxdrc


and



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc -s 200000


and



youtube-dl -f 22 -c -i -o 'interview.mp4' --external-downloader /usr/bin/axel -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


But still same error is appearing. However, if I remove the option (-s 200000), the error disappear and the video starts to download. But I want to use (-s 200000) option so that it should not eat all the bandwidth.
What mistake I am doing here?










share|improve this question

























  • Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

    – Haxiel
    Feb 18 at 15:19
















0












0








0








I am trying to download following video:



https://www.youtube.com/watch?v=pQWj2Fgxdrc


by combining 'youtube-dl' and 'axel'. I am trying to download this video in such a way that I want these two softwares (youtube-dl and axel) to not only save this video as "interview.mp4" but also limit download speed to 200KB. For this purpose, I used following command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


Here I am using following options:




-f 22 for video format



-c for resume download



-i for ignore errors



-o for output file name



-s 200000 for limit download speed to 200KB




However, instead of downloading the video at 200KB and saving it as "interview.mp4", it is giving following error:



ERROR: fixed output name but more than one file to download


I have also tried following variation of command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -s 200000 -o 'interview.mp4'  https://www.youtube.com/watch?v=pQWj2Fgxdrc


and



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc -s 200000


and



youtube-dl -f 22 -c -i -o 'interview.mp4' --external-downloader /usr/bin/axel -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


But still same error is appearing. However, if I remove the option (-s 200000), the error disappear and the video starts to download. But I want to use (-s 200000) option so that it should not eat all the bandwidth.
What mistake I am doing here?










share|improve this question
















I am trying to download following video:



https://www.youtube.com/watch?v=pQWj2Fgxdrc


by combining 'youtube-dl' and 'axel'. I am trying to download this video in such a way that I want these two softwares (youtube-dl and axel) to not only save this video as "interview.mp4" but also limit download speed to 200KB. For this purpose, I used following command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


Here I am using following options:




-f 22 for video format



-c for resume download



-i for ignore errors



-o for output file name



-s 200000 for limit download speed to 200KB




However, instead of downloading the video at 200KB and saving it as "interview.mp4", it is giving following error:



ERROR: fixed output name but more than one file to download


I have also tried following variation of command:



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -s 200000 -o 'interview.mp4'  https://www.youtube.com/watch?v=pQWj2Fgxdrc


and



youtube-dl -f 22 -c -i --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc -s 200000


and



youtube-dl -f 22 -c -i -o 'interview.mp4' --external-downloader /usr/bin/axel -s 200000 https://www.youtube.com/watch?v=pQWj2Fgxdrc


But still same error is appearing. However, if I remove the option (-s 200000), the error disappear and the video starts to download. But I want to use (-s 200000) option so that it should not eat all the bandwidth.
What mistake I am doing here?







video download limit youtube-dl axel






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 18 at 19:59









Rui F Ribeiro

41.1k1480138




41.1k1480138










asked Feb 18 at 14:10









Zetro TrackZetro Track

1




1













  • Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

    – Haxiel
    Feb 18 at 15:19





















  • Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

    – Haxiel
    Feb 18 at 15:19



















Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

– Haxiel
Feb 18 at 15:19







Instead of -o 'interview.mp4' -s 200000, can you try --external-downloader-args '-o interview.mp4 -s 200000' ? If it works, I'll add it as a proper answer with some references.

– Haxiel
Feb 18 at 15:19












1 Answer
1






active

oldest

votes


















0














The problem is solved. The following command worked for me:



youtube-dl -f 22 -c -i --external-downloader-args '-s 200000' --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc


Thanks to 'snowpine' at:



https://www.linuxquestions.org/questions/linux-newbie-8/download-error-with-youtube-dl-and-axel-4175648542/#post5963619






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f501365%2fdownload-error-with-youtube-dl-and-axel%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









    0














    The problem is solved. The following command worked for me:



    youtube-dl -f 22 -c -i --external-downloader-args '-s 200000' --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc


    Thanks to 'snowpine' at:



    https://www.linuxquestions.org/questions/linux-newbie-8/download-error-with-youtube-dl-and-axel-4175648542/#post5963619






    share|improve this answer




























      0














      The problem is solved. The following command worked for me:



      youtube-dl -f 22 -c -i --external-downloader-args '-s 200000' --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc


      Thanks to 'snowpine' at:



      https://www.linuxquestions.org/questions/linux-newbie-8/download-error-with-youtube-dl-and-axel-4175648542/#post5963619






      share|improve this answer


























        0












        0








        0







        The problem is solved. The following command worked for me:



        youtube-dl -f 22 -c -i --external-downloader-args '-s 200000' --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc


        Thanks to 'snowpine' at:



        https://www.linuxquestions.org/questions/linux-newbie-8/download-error-with-youtube-dl-and-axel-4175648542/#post5963619






        share|improve this answer













        The problem is solved. The following command worked for me:



        youtube-dl -f 22 -c -i --external-downloader-args '-s 200000' --external-downloader /usr/bin/axel -o 'interview.mp4' https://www.youtube.com/watch?v=pQWj2Fgxdrc


        Thanks to 'snowpine' at:



        https://www.linuxquestions.org/questions/linux-newbie-8/download-error-with-youtube-dl-and-axel-4175648542/#post5963619







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 18 at 17:31









        Zetro TrackZetro Track

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f501365%2fdownload-error-with-youtube-dl-and-axel%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

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?