VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Results 1 to 23 of 23
  1. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Is it possible form someone to help me download 2 QVC live streams from YouTube.
    the live streams are very long and the program i use it doesn't allow me to download them

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

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


    thanks
    Quote Quote  
  2. Originally Posted by takistexas View Post
    the live streams are very long
    Hmmm...

    Started streaming on Mar 31, 2019
    Started streaming on Jun 4, 2020
    Quote Quote  
  3. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    It’s a live stream maybe that’s why ?
    Quote Quote  
  4. Usually when I see a live stream it's a few hours. These streams have been going for 3-4 YEARS.

    So probably the first step for someone to help you would be, you would need to define a specific reasonable time frame that you want to download from the stream.

    Or, are you wanting to capture it live at any time?
    Quote Quote  
  5. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    I want to capture some live shows that aired today
    Quote Quote  
  6. So I tested it, and you can capture it live as it's happening with yt-dlp. I captured about 90 seconds as a test.

    I'm not sure you can download anything else when it's a live stream like this, I think that's only possible if/when the stream ends, but clearly this particular channel has not setup their live streams like that.

    Probably a YouTube expert can elaborate or correct me.
    Quote Quote  
  7. Looks like it's a 24/7 non-stop live stream. The only software I know of that can download live stream is StreamFab but it probably starts wherever the stream is currently at and it has no end....just keeps going and going. Guess they want to b like a TV Channel for whatever reason. Weird I have never seen that.
    Quote Quote  
  8. Originally Posted by DigitalArchive View Post
    So I tested it, and you can capture it live as it's happening with yt-dlp. I captured about 90 seconds as a test.

    I'm not sure you can download anything else when it's a live stream like this, I think that's only possible if/when the stream ends, but clearly this particular channel has not setup their live streams like that.

    Probably a YouTube expert can elaborate or correct me.
    But the past 4 years would be lost lol So kind of same as doing a screen capture.
    Quote Quote  
  9. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    I think my best option would be screen recording it
    Quote Quote  
  10. Originally Posted by TubeBar View Post
    But the past 4 years would be lost lol So kind of same as doing a screen capture.
    Right but still if you are using yt-dlp you are saving yourself excessive bitrate and better performance, because there is no encoding happening from a download compared to a screen capture.

    Ah okay I see that YouTube does let you go back 12 hours. So if the content you want is still within that time period, in theory you should be able to get it.
    Quote Quote  
  11. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Yes the content is within that 12hrs
    I have no clue how to use the coding you guys are talking about
    Quote Quote  
  12. Code:
    yt-dlp "https://www.youtube.com/watch?v=Qt2c93O1p_c" --download-sections "*-5:00-inf"
    [youtube] Extracting URL: https://www.youtube.com/watch?v=Qt2c93O1p_c
    [youtube] Qt2c93O1p_c: Downloading webpage
    [youtube] Qt2c93O1p_c: Downloading ios player API JSON
    [youtube] Qt2c93O1p_c: Downloading android player API JSON
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [info] Qt2c93O1p_c: Downloading 1 format(s): 96
    [info] Qt2c93O1p_c: Downloading 1 time ranges: -300.0-inf
    [download] Destination: QVC3 Live Stream 2023-07-17 12_03 [Qt2c93O1p_c].mp4
    this will download the previous 5mins to forever until you stop it.
    modify the start time to whatever you like (but make sure you keep the asterisk as that denotes it as a time-range)
    Quote Quote  
  13. (Wrote before seeing ElCap's post.)

    So it looks like yt-dlp can download last 120 hours using --live-from-start

    Or download a timestamp range, including a negative offset (but that seems trickier to do with something happening live), with --download-sections - but it's really slow to download that way, depending on how long the clip you want is.

    The quality of the stream is not that good, it has weird interlacing.

    Your easiest bet may be screen recording if you already have a solution for that, unless a YouTube expert who has tackled this particular thing before chimes in.
    Quote Quote  
  14. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    awesome thank you guys for all the good advice thank you again
    Quote Quote  
  15. Glad I learned something too
    Quote Quote  
  16. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Originally Posted by ElCap View Post
    Code:
    yt-dlp "https://www.youtube.com/watch?v=Qt2c93O1p_c" --download-sections "*-5:00-inf"
    [youtube] Extracting URL: https://www.youtube.com/watch?v=Qt2c93O1p_c
    [youtube] Qt2c93O1p_c: Downloading webpage
    [youtube] Qt2c93O1p_c: Downloading ios player API JSON
    [youtube] Qt2c93O1p_c: Downloading android player API JSON
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [info] Qt2c93O1p_c: Downloading 1 format(s): 96
    [info] Qt2c93O1p_c: Downloading 1 time ranges: -300.0-inf
    [download] Destination: QVC3 Live Stream 2023-07-17 12_03 [Qt2c93O1p_c].mp4
    this will download the previous 5mins to forever until you stop it.
    modify the start time to whatever you like (but make sure you keep the asterisk as that denotes it as a time-range)

    How do I stop it ?
    Quote Quote  
  17. ctrl-c on windows
    Quote Quote  
  18. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Awesome thanks
    Quote Quote  
  19. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Originally Posted by ElCap View Post
    ctrl-c on windows
    It worked but the audio is not sync correctly with the video
    Quote Quote  
  20. Member
    Join Date
    Jan 2023
    Location
    montreal
    Search PM
    Originally Posted by takistexas View Post
    Originally Posted by ElCap View Post
    Code:
    yt-dlp "https://www.youtube.com/watch?v=Qt2c93O1p_c" --download-sections "*-5:00-inf"
    [youtube] Extracting URL: https://www.youtube.com/watch?v=Qt2c93O1p_c
    [youtube] Qt2c93O1p_c: Downloading webpage
    [youtube] Qt2c93O1p_c: Downloading ios player API JSON
    [youtube] Qt2c93O1p_c: Downloading android player API JSON
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [youtube] Qt2c93O1p_c: Downloading m3u8 information
    [info] Qt2c93O1p_c: Downloading 1 format(s): 96
    [info] Qt2c93O1p_c: Downloading 1 time ranges: -300.0-inf
    [download] Destination: QVC3 Live Stream 2023-07-17 12_03 [Qt2c93O1p_c].mp4
    this will download the previous 5mins to forever until you stop it.
    modify the start time to whatever you like (but make sure you keep the asterisk as that denotes it as a time-range)

    How do I stop it ?
    It worked
    The audio is perfect
    One thing tho
    How do I get it to download in 1080p?
    Quote Quote  
  21. what format is it downloading for you?
    it defaults to the highest resolution unless you specify something else.
    whats your yt-dlp output?
    Quote Quote  

  22. use N_m3u8DL-RE.exe

    Code:
    import subprocess
    import requests
    import re
    
    m3u8DL_RE = 'N_m3u8DL-RE.exe'
    
    def replace_invalid_chars(title: str) -> str:
        invalid_chars = {'<': '\u02c2', '>': '\u02c3',
        ':': '\u02d0', '"': '\u02ba', '/': '\u2044',
        '\\': '\u29f9', '|': '\u01c0', '?': '\u0294',
        '*': '\u2217'}
        
        return ''.join(invalid_chars.get(c, c) for c in title)
    
    print('test link: https://plus.qvc.com/streams/christmas-in-july-sale-716/VmlkZW9fVmlkZW9TdHJlYW0KZDY0YWVmMTVjNmZjZmQzMmU1MGY0NzFhMA==\n')
    
    link = input('link: ')
    
    headers = {
        'authority': 'plus.qvc.com',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36',
    }
    
    response = requests.get(link, headers=headers).text
    
    title = re.findall(r'<meta name=\".*title.*?content=\"(.*?)\">', response)[0].strip()
    replace_invalid_chars(title)
    print(f'\n{title}\n')
    
    m3u8 = re.findall(r'streamUri.*?:\\\"(.*vdq.*?)\\\"', response)[0].strip()
    print(f'\n{m3u8}\n')
    
    subprocess.run([m3u8DL_RE,
                    '-M', 'format=mkv:muxer=ffmpeg',
                    '--concurrent-download',
                    '--auto-select', 
                    '--del-after-done',
                    '--log-level', 'INFO',
                    '--save-name', title, m3u8])
    Quote Quote  



Similar Threads

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