Recording a YouTube live stream using VLCSchedule to record video stream in VLCHow can I improve the CPU performance when I watch something on Twitch in Firefox?Saving live video streamsHow 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?

Can the Witch Sight warlock invocation see through the Mirror Image spell?

Will expression retain the same definition if particle is changed?

The (Easy) Road to Code

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Is there a logarithm base for which the logarithm becomes an identity function?

How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?

I am the person who abides by rules, but breaks the rules. Who am I?

Can one live in the U.S. and not use a credit card?

Short scifi story where reproductive organs are converted to produce "materials", pregnant protagonist is "found fit" to be a mother

Trocar background-image com delay via jQuery

Does an unused member variable take up memory?

Smooth vector fields on a surface modulo diffeomorphisms

How should I solve this integral with changing parameters?

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

I can't die. Who am I?

Why do we say 'Pairwise Disjoint', rather than 'Disjoint'?

What passages of Adi Shankaracharya’s Brahmasutra Bhashya does Sudarshana Suri cite?

Why is it common in European airports not to display the gate for flights until around 45-90 minutes before departure, unlike other places?

Do black holes violate the conservation of mass?

Numerical value of Determinant far from what it is supposed to be

Why aren't there more Gauls like Obelix?

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

If sound is a longitudinal wave, why can we hear it if our ears aren't aligned with the propagation direction?

Does the US political system, in principle, allow for a no-party system?



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?Saving live video streamsHow 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




















          3 Answers
          3






          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




















          • 1





            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














            Streamlink



            livestreamer is no longer maintained. Use Streamlink instead



            Install:



            sudo -H pip install streamlink


            Then just



            streamlink --output stream.mp4 "https://www.youtube.com/freecodecamp/live" best # or worst


            You can also send the stream to cvlc with any parameter you may want






            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

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              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




















              • 1





                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




















              • 1





                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







              • 1





                livestreamer is now deprecated and forked to streamlink.

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












              • 1





                livestreamer is now deprecated and forked to streamlink.

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







              1




              1





              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 2 hours ago









                  Pablo Bianchi

                  2,89521535




                  2,89521535










                  answered Sep 30 '17 at 12:26









                  Algum AlguémAlgum Alguém

                  11




                  11





















                      0














                      Streamlink



                      livestreamer is no longer maintained. Use Streamlink instead



                      Install:



                      sudo -H pip install streamlink


                      Then just



                      streamlink --output stream.mp4 "https://www.youtube.com/freecodecamp/live" best # or worst


                      You can also send the stream to cvlc with any parameter you may want






                      share|improve this answer





























                        0














                        Streamlink



                        livestreamer is no longer maintained. Use Streamlink instead



                        Install:



                        sudo -H pip install streamlink


                        Then just



                        streamlink --output stream.mp4 "https://www.youtube.com/freecodecamp/live" best # or worst


                        You can also send the stream to cvlc with any parameter you may want






                        share|improve this answer



























                          0












                          0








                          0







                          Streamlink



                          livestreamer is no longer maintained. Use Streamlink instead



                          Install:



                          sudo -H pip install streamlink


                          Then just



                          streamlink --output stream.mp4 "https://www.youtube.com/freecodecamp/live" best # or worst


                          You can also send the stream to cvlc with any parameter you may want






                          share|improve this answer















                          Streamlink



                          livestreamer is no longer maintained. Use Streamlink instead



                          Install:



                          sudo -H pip install streamlink


                          Then just



                          streamlink --output stream.mp4 "https://www.youtube.com/freecodecamp/live" best # or worst


                          You can also send the stream to cvlc with any parameter you may want







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited 1 hour ago

























                          answered 1 hour ago









                          Pablo BianchiPablo Bianchi

                          2,89521535




                          2,89521535



























                              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

                              Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

                              Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

                              Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»