Recording a YouTube live stream using VLCSchedule to record video stream in VLCHow can I improve the CPU...

Why aren't there more Gauls like Obelix?

How can a demon take control of a human body during REM sleep?

Origin of the word “pushka”

Too soon for a plot twist?

Is it possible to clone a polymorphic object without manually adding overridden clone method into each derived class in C++?

Did Amazon pay $0 in taxes last year?

(Codewars) Linked Lists-Sorted Insert

What will happen if my luggage gets delayed?

Is divide-by-zero a security vulnerability?

How can I portion out frozen cookie dough?

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

What would be the most expensive material to an intergalactic society?

Giving a career talk in my old university, how prominently should I tell students my salary?

The (Easy) Road to Code

Finding the minimum value of a function without using Calculus

Why is there an extra space when I type "ls" on the Desktop?

PTIJ: Who was the sixth set of priestly clothes for?

Would those living in a "perfect society" not understand satire

Is it a Cyclops number? "Nobody" knows!

Is there stress on two letters on the word стоят

How to copy the rest of lines of a file to another file

Logistic regression BIC: what's the right N?

Leveling the sagging side of the home

ESPP--any reason not to go all in?



Recording a YouTube live stream using VLC


Schedule to record video stream in VLCHow can I improve the CPU performance when I watch something on Twitch in Firefox?How can automatically restart a (vlc) video stream?Crontab won't execute vlc live streamSchedule to record video stream in VLCSound through HDMI is intermittent when playing MP4 or MKV video using VLC or VideosVLC Pixelated Video When SkippingVLC Firefox plugin won't stream .ts like Windows VLC willUsing VLC for stream recordingSplit VLC Stream Between ProcessesScreen tearing lines and other issues when I watch any videosUbuntu 18.04 can't play any video or audio in any browser?













6















I'm trying to set VLC to record a live stream on YouTube using cron. Vlc records videos that aren't live streaming just fine, but when the stream is live VLC records at most only 24 seconds. Why does it stop there? How can I get it to record more?



The lines I have in my crontab file were adapted from the answer to this question:



35 21 20 3 * cvlc --sout file/ts:/path/to/directory/file.mp4 <link to video>
37 21 20 3 * sh -c "killall cvlc; killall vlc"









share|improve this question





























    6















    I'm trying to set VLC to record a live stream on YouTube using cron. Vlc records videos that aren't live streaming just fine, but when the stream is live VLC records at most only 24 seconds. Why does it stop there? How can I get it to record more?



    The lines I have in my crontab file were adapted from the answer to this question:



    35 21 20 3 * cvlc --sout file/ts:/path/to/directory/file.mp4 <link to video>
    37 21 20 3 * sh -c "killall cvlc; killall vlc"









    share|improve this question



























      6












      6








      6


      2






      I'm trying to set VLC to record a live stream on YouTube using cron. Vlc records videos that aren't live streaming just fine, but when the stream is live VLC records at most only 24 seconds. Why does it stop there? How can I get it to record more?



      The lines I have in my crontab file were adapted from the answer to this question:



      35 21 20 3 * cvlc --sout file/ts:/path/to/directory/file.mp4 <link to video>
      37 21 20 3 * sh -c "killall cvlc; killall vlc"









      share|improve this question
















      I'm trying to set VLC to record a live stream on YouTube using cron. Vlc records videos that aren't live streaming just fine, but when the stream is live VLC records at most only 24 seconds. Why does it stop there? How can I get it to record more?



      The lines I have in my crontab file were adapted from the answer to this question:



      35 21 20 3 * cvlc --sout file/ts:/path/to/directory/file.mp4 <link to video>
      37 21 20 3 * sh -c "killall cvlc; killall vlc"






      video cron vlc streaming video-recording






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 6 '17 at 17:45









      Zanna

      51k13137241




      51k13137241










      asked Mar 21 '15 at 1:46









      user2980766user2980766

      4382813




      4382813






















          2 Answers
          2






          active

          oldest

          votes


















          13














          For livestreams I would recommend using livestreamer instead of VLC. Recording with livestreamer is a breeze, e.g.:



          livestreamer <livestream-url> best -o vod.mp4


          livestreamer supports dozens of different streaming providers and works very reliably, even with spotty streams.



          For installation instructions check out this answer by @henry.






          share|improve this answer


























          • livestreamer is now deprecated and forked to streamlink.

            – Igor V.
            Aug 29 '18 at 7:52



















          0














          According to livestreamer manpage, options must come first:



          COMMAND-LINE USAGE
          $ livestreamer [OPTIONS] [URL] [STREAM]


          These will show you streams you can choose from:



          $ livestreamer [URL]


          or



          $ livestreamer [OPTIONS] [URL]


          This will save the best quality available stream to file arq.mp4 in the current dir:



          livestreamer -o arq.mp4 <livestream-url> best


          Check



          $ man livestreamer 


          for many more details.






          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%2f599388%2frecording-a-youtube-live-stream-using-vlc%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            13














            For livestreams I would recommend using livestreamer instead of VLC. Recording with livestreamer is a breeze, e.g.:



            livestreamer <livestream-url> best -o vod.mp4


            livestreamer supports dozens of different streaming providers and works very reliably, even with spotty streams.



            For installation instructions check out this answer by @henry.






            share|improve this answer


























            • livestreamer is now deprecated and forked to streamlink.

              – Igor V.
              Aug 29 '18 at 7:52
















            13














            For livestreams I would recommend using livestreamer instead of VLC. Recording with livestreamer is a breeze, e.g.:



            livestreamer <livestream-url> best -o vod.mp4


            livestreamer supports dozens of different streaming providers and works very reliably, even with spotty streams.



            For installation instructions check out this answer by @henry.






            share|improve this answer


























            • livestreamer is now deprecated and forked to streamlink.

              – Igor V.
              Aug 29 '18 at 7:52














            13












            13








            13







            For livestreams I would recommend using livestreamer instead of VLC. Recording with livestreamer is a breeze, e.g.:



            livestreamer <livestream-url> best -o vod.mp4


            livestreamer supports dozens of different streaming providers and works very reliably, even with spotty streams.



            For installation instructions check out this answer by @henry.






            share|improve this answer















            For livestreams I would recommend using livestreamer instead of VLC. Recording with livestreamer is a breeze, e.g.:



            livestreamer <livestream-url> best -o vod.mp4


            livestreamer supports dozens of different streaming providers and works very reliably, even with spotty streams.



            For installation instructions check out this answer by @henry.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community

            1




            1










            answered Mar 21 '15 at 2:42









            GlutanimateGlutanimate

            16.3k873132




            16.3k873132













            • livestreamer is now deprecated and forked to streamlink.

              – Igor V.
              Aug 29 '18 at 7:52



















            • livestreamer is now deprecated and forked to streamlink.

              – Igor V.
              Aug 29 '18 at 7:52

















            livestreamer is now deprecated and forked to streamlink.

            – Igor V.
            Aug 29 '18 at 7:52





            livestreamer is now deprecated and forked to streamlink.

            – Igor V.
            Aug 29 '18 at 7:52













            0














            According to livestreamer manpage, options must come first:



            COMMAND-LINE USAGE
            $ livestreamer [OPTIONS] [URL] [STREAM]


            These will show you streams you can choose from:



            $ livestreamer [URL]


            or



            $ livestreamer [OPTIONS] [URL]


            This will save the best quality available stream to file arq.mp4 in the current dir:



            livestreamer -o arq.mp4 <livestream-url> best


            Check



            $ man livestreamer 


            for many more details.






            share|improve this answer






























              0














              According to livestreamer manpage, options must come first:



              COMMAND-LINE USAGE
              $ livestreamer [OPTIONS] [URL] [STREAM]


              These will show you streams you can choose from:



              $ livestreamer [URL]


              or



              $ livestreamer [OPTIONS] [URL]


              This will save the best quality available stream to file arq.mp4 in the current dir:



              livestreamer -o arq.mp4 <livestream-url> best


              Check



              $ man livestreamer 


              for many more details.






              share|improve this answer




























                0












                0








                0







                According to livestreamer manpage, options must come first:



                COMMAND-LINE USAGE
                $ livestreamer [OPTIONS] [URL] [STREAM]


                These will show you streams you can choose from:



                $ livestreamer [URL]


                or



                $ livestreamer [OPTIONS] [URL]


                This will save the best quality available stream to file arq.mp4 in the current dir:



                livestreamer -o arq.mp4 <livestream-url> best


                Check



                $ man livestreamer 


                for many more details.






                share|improve this answer















                According to livestreamer manpage, options must come first:



                COMMAND-LINE USAGE
                $ livestreamer [OPTIONS] [URL] [STREAM]


                These will show you streams you can choose from:



                $ livestreamer [URL]


                or



                $ livestreamer [OPTIONS] [URL]


                This will save the best quality available stream to file arq.mp4 in the current dir:



                livestreamer -o arq.mp4 <livestream-url> best


                Check



                $ man livestreamer 


                for many more details.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 5 mins ago









                Pablo Bianchi

                2,89521535




                2,89521535










                answered Sep 30 '17 at 12:26









                Algum AlguémAlgum Alguém

                11




                11






























                    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%2f599388%2frecording-a-youtube-live-stream-using-vlc%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

                    Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

                    Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

                    Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...