VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. I'm a confirmed newbie, please be gentle. Is it possible to capture the live video stream from Studio Brussel? I've tried some methods but I'm not having any success.

    https://stubru.be/live

    I'm very keen to learn the mechanics rather than just getting the quick fix, as it were. Not necessarily a step by step guide as to how its done, but just a hint of the software used etc.

    Thank you for your help, folks.
    Quote Quote  
  2. Get the m3u8 link from a web browser's Developer Tools (F12).

    Code:
    https://live-w.lwc.vrtcdn.be/groupb/live/0f394a26-c87d-475e-8590-e9c6e79b28d9/live.isml/.m3u8
    Use youtube-dl to get a list of available streams:

    Code:
    youtube-dl -F https://live-w.lwc.vrtcdn.be/groupb/live/0f394a26-c87d-475e-8590-e9c6e79b28d9/live.isml/.m3u8
    You'll see a list of streams:

    Code:
    format code            extension  resolution note
    audio-aacl-96-English  mp4        audio only [en]
    251                    mp4        416x234     251k , avc1.42C01E, 25.0fps, video only
    484                    mp4        480x270     484k , avc1.42C01E, 25.0fps, video only
    871                    mp4        640x360     871k , avc1.42C01E, 25.0fps, video only
    1263                   mp4        768x432    1263k , avc1.42C01F, 25.0fps, video only
    2217                   mp4        960x540    2217k , avc1.4D401F, 25.0fps, video only (best)
    Pick the stream you want and download:

    Code:
    youtube-dl -f audio-aacl-96-English -o output.aac https://live-w.lwc.vrtcdn.be/groupb/live/0f394a26-c87d-475e-8590-e9c6e79b28d9/live.isml/.m3u8
    Normally, youtube-dl will download the complete file. But since this is a live stream, it never ends. You have to hit CTRL+C to terminate the download. That leaves ".part" at the end of the filename. You have to remove that manually.

    But there's a problem if you want both audio and video. When video and audio are in separate streams youtube-dl downloads all the video, then all the audio, and finally muxes them together into a single file. But a live stream never ends -- so it can't download all the video. And even if the video stream ends the program can't go back and get the audio that corresponds to the time the video was downloaded. You would have to start two instances of youtube-dl, one for the audio and one for the video. Then mux the resulting streams together when you're done.
    Quote Quote  
  3. Wow! Thank you so much for taking the time to break it down for me too. I'm slowly learning, but I am learning. Much appreciated jagabo.
    Quote Quote  
  4. You would have to start two instances of youtube-dl, one for the audio and one for the video.
    I assume you mean two command-line windows with youtube-dl. But it would be nearly impossible to hit enter and start both instances of youtube-dl at the exact same time, so it seems to me that the audio will be out of sync from the video by a few seconds. How would you delay/advance the audio to be in sync with the video?
    Quote Quote  
  5. Hi ,

    For both audio+video try :

    youtube-dl -f audio-aacl-96-English+1263 ...

    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  
  6. Originally Posted by aazerty View Post
    For both audio+video try :

    youtube-dl -f audio-aacl-96-English+1263 ...
    That doesn't work for live streams because youtube-dl will try to download all the video in one pass, then all the audio in a second. Since a live stream never ends, youtube-dl will record video forever. And even if the video does end youtube-dl can't go back in time to get the audio.

    Originally Posted by jimdagys View Post
    You would have to start two instances of youtube-dl, one for the audio and one for the video.
    I assume you mean two command-line windows with youtube-dl. But it would be nearly impossible to hit enter and start both instances of youtube-dl at the exact same time, so it seems to me that the audio will be out of sync from the video by a few seconds. How would you delay/advance the audio to be in sync with the video?
    You can specify an audio delay/advance in the mux.

    ffmpeg can download both video and audio streams simultaneously:

    Code:
    ffmpeg.exe -i "https://live-w.lwc.vrtcdn.be/groupb/live/0f394a26-c87d-475e-8590-e9c6e79b28d9/live.isml/.m3u8" -c copy output.mkv
    Quote Quote  
  7. Hi jagabo ,

    Thanks for the reply .

    Cheers .
    JE SUIS CHARLIE !!!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!