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 28 of 28
  1. Hey there,

    im just wondering, how can i download a livestream encrypted by widivine.

    ffmpeg is great for download unencrypted livestreams at realtime, but i didn't found any option to download an encryped one.
    Yt-dlp is great for download encrypted content, but i found no option for downloading a livestream.

    Any input is appreciated.

    muppler
    Quote Quote  
  2. Mpd with the keys ?
    discord=notaghost9997
    Quote Quote  
  3. Hey no specific site, just wondering which tool will do the job...
    Quote Quote  
  4. just like any other mpd.
    you binary merg segments ( init+segments ) and decrypt


    for reference you can see the code of https://github.com/xhlove/XstreamDL-CLI and streamlink
    discord=notaghost9997
    Quote Quote  
  5. I guess I must be missing some option.

    When i use
    ffmpeg -hide_banner -re -i URL -c copy file.mp4 there are many errors and warning and i cant decrypt the finished file with the widevine key.
    Quote Quote  
  6. 1. How do you know its Widevine ? You can't even spell it in your first post.

    2. To be able to assist you we need an url for the livestream or at the very least, post the .mpd file here for examination.

    Plus you will not download a livestream encrypted with WV with ffmpeg. Forget ffmpeg for this.
    Quote Quote  
  7. Okay I misspelled Widevine, so this must be the reason I have no idea what im talking about? I know its Widevine because I get the keys from the chrome extension

    URL wont work without Login and VPN but i hope the MPD helps: https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd


    My basic question was which software to use for downloading encrypted WV livestreams. But so far I still have no clue...
    Quote Quote  
  8. Member
    Join Date
    Sep 2019
    Location
    maldives
    Search PM
    Originally Posted by muppler View Post
    Okay I misspelled Widevine, so this must be the reason I have no idea what im talking about? I know its Widevine because I get the keys from the chrome extension

    URL wont work without Login and VPN but i hope the MPD helps: https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd


    My basic question was which software to use for downloading encrypted WV livestreams. But so far I still have no clue...
    yt-dlp works fine for this link.

    Code:
    C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -F --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd"
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information
    [info] Available formats for kabeleinsdoku-l1-v2-4-57142f-179b58:
    ID             EXT RESOLUTION FPS |   TBR PROTO | VCODEC        VBR ACODEC     ABR  ASR    NOTE
    -------------- --- ---------- --- - ----- ----- - ----------- ----- --------- ---- ------- -----------------------------------
    audio_1=128000 m4a audio only     |  128k dash  |                   mp4a.40.2 128k 48000Hz [de], DASH audio, m4a_dash, 48000Hz
    video=600000   mp4 640x360    25  |  600k dash  | avc1.64001E  600k                        DASH video, mp4_dash
    video=1500000  mp4 960x540    25  | 1500k dash  | avc1.64001F 1500k                        DASH video, mp4_dash
    video=3000000  mp4 1280x720   25  | 3000k dash  | avc1.64001F 3000k                        DASH video, mp4_dash
    video=7000000  mp4 1920x1080  25  | 7000k dash  | avc1.640028 7000k                        DASH video, mp4_dash
    
    C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -f video=7000000+audio_1=128000 --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd" -o test.mp4
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information
    [info] Downloading format(s) video=7000000+audio_1=128000
    WARNING: You have requested merging of multiple formats while also allowing unplayable formats to be downloaded. The formats won't be merged to prevent data corruption.
    [dashsegments] Total fragments: 43
    [download] Destination: test.fvideo=7000000.mp4
    [download]   6.9% of ~75.97MiB at 88.44KiB/s ETA 08:38
    Quote Quote  
  9. Yeah it works on the first view, but this is a livestream. With your command it downloads arround 100MB and then stops.
    How can i download the stream in realtime?
    Quote Quote  
  10. Member
    Join Date
    Sep 2019
    Location
    maldives
    Search PM
    Originally Posted by muppler View Post
    Yeah it works on the first view, but this is a livestream. With your command it downloads arround 100MB and then stops.
    How can i download the stream in realtime?
    give a try to N_m3u8DL
    remove '.mpd' from the link and add '-audio_1=128000-video=7000000.m3u8' in the end of the link.
    i got around 500mb file and it was still going on...can't decrypt as i don't have the key
    Quote Quote  
  11. N_m3u8DL seems to DL the stream without problems to one .ts file. Shouldnt video and audio be seperated?
    Also i can't decrypt, try it for yourself: KID= 12b1a5c05476068c62831e04cb3a5fc7 Key: b9eb9fea1ec12d2c7c8ea68298f1d0f8
    Quote Quote  
  12. Originally Posted by muppler View Post
    N_m3u8DL seems to DL the stream without problems to one .ts file. Shouldnt video and audio be seperated?
    Also i can't decrypt, try it for yourself: KID= 12b1a5c05476068c62831e04cb3a5fc7 Key: b9eb9fea1ec12d2c7c8ea68298f1d0f8
    That's odd for N_m3u8DL to do that unless you have ticked a wrong box in the GUI (?) Or got the syntax incorrect in the CLI version.

    And that will explain why it wont decrypt, the 2 streams have to be decrypted independently and then muxed together with ffmpeg.
    Quote Quote  
  13. Usually on a static stream it first downloads the video and then the audio. Im not sure how this works on a live stream, it would have to download both simultaneously, but it doesnt...
    Quote Quote  
  14. Originally Posted by Whochain View Post
    Originally Posted by muppler View Post
    Okay I misspelled Widevine, so this must be the reason I have no idea what im talking about? I know its Widevine because I get the keys from the chrome extension

    URL wont work without Login and VPN but i hope the MPD helps: https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd


    My basic question was which software to use for downloading encrypted WV livestreams. But so far I still have no clue...
    yt-dlp works fine for this link.

    Code:
    C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -F --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd"
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information
    [info] Available formats for kabeleinsdoku-l1-v2-4-57142f-179b58:
    ID             EXT RESOLUTION FPS |   TBR PROTO | VCODEC        VBR ACODEC     ABR  ASR    NOTE
    -------------- --- ---------- --- - ----- ----- - ----------- ----- --------- ---- ------- -----------------------------------
    audio_1=128000 m4a audio only     |  128k dash  |                   mp4a.40.2 128k 48000Hz [de], DASH audio, m4a_dash, 48000Hz
    video=600000   mp4 640x360    25  |  600k dash  | avc1.64001E  600k                        DASH video, mp4_dash
    video=1500000  mp4 960x540    25  | 1500k dash  | avc1.64001F 1500k                        DASH video, mp4_dash
    video=3000000  mp4 1280x720   25  | 3000k dash  | avc1.64001F 3000k                        DASH video, mp4_dash
    video=7000000  mp4 1920x1080  25  | 7000k dash  | avc1.640028 7000k                        DASH video, mp4_dash
    
    C:\Users\whochain\Downloads\Programs\New folder (4)>yt-dlp -f video=7000000+audio_1=128000 --allow-unplayable-formats "https://e-f1-008-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWluc2Rva3UtbDEtdjItNC01NzE0MmYtMTc5YjU4IiwiaXAiOiI5NS4yMjMuNTkuMTUzIiwibWIiOiI4MDAwMDAwIiwic3VicyI6IlBlcmZlY3QgUGx1cyIsInRpZCI6IjYxYzVkNzQ5LTlhNDAtNGQ2My05MDFiLTNjNDIyY2QyMzhiNCIsImRpZCI6ImQ1Y2Q4NTgzLTkyNTItNDk3ZS1iNGVhLTQ5OGY2MzM3ODExYyIsInVoIjoiMjNmYTE5ZGUwMzI4YTgxN2RjMTMxNDAwYzA5MmRiMDAiLCJ2YmVnaW4iOiIiLCJ2YiI6IiIsImVkZ2UiOiJlLWYxLTAwOC1kcy53cHN0ci50diIsImNuIjoiZGUiLCJhc25zIjpbMzM4OTFdLCJleHAiOjE2MzAxMDYwODksImlhdCI6MTYzMDA4ODA4OSwiaXNzIjoicmVkaXJlY3Ryb24ifQ.oSBCpikyiCgiJveqIRBoafOsXhr8bFj4iPFka3p8qiE/kabeleinsdoku-l1-v2-4-57142f-179b58.mpd" -o test.mp4
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Requesting header
    WARNING: Falling back on generic information extractor.
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Downloading webpage
    [generic] kabeleinsdoku-l1-v2-4-57142f-179b58: Extracting information
    [info] Downloading format(s) video=7000000+audio_1=128000
    WARNING: You have requested merging of multiple formats while also allowing unplayable formats to be downloaded. The formats won't be merged to prevent data corruption.
    [dashsegments] Total fragments: 43
    [download] Destination: test.fvideo=7000000.mp4
    [download]   6.9% of ~75.97MiB at 88.44KiB/s ETA 08:38
    You need to be downloading independent video and audio streams for WV encrypted content.

    A high percentage of Audio streams are not encrypted at all on streaming sites, too.

    (So downloading a combined encrypted Video +non-encrypted Audio stream and then trying to decrypt the whole thing is never going to work either.
    Last edited by codehound; 27th Aug 2021 at 16:07.
    Quote Quote  
  15. There is a project for this that Notaghost eluded to in Post #4 - I have no experience of it though. Maybe PM him and ask for help ?

    With this Live stream is there not a VOD (static video-on-demand) available for DL after the event ?
    Quote Quote  
  16. I tried Xstream but most of it is in chinese, when i tried to start the DL the cmd box came up for half a second and closed directly, so im not sure whats wrong.
    Streamlink complained about the DRM and didn't even start DLing....

    Downloading Video and Audio seperately (not that its working with my tools at all) also has the problem of video and audio being out of sync... ill check for the mpd and keys tomorrow for the case they changed and repost them here.

    There is no VOD
    Last edited by muppler; 27th Aug 2021 at 16:27.
    Quote Quote  
  17. Good morning,

    mpd and key should still be working, still looking for a guide how to dl this livestream

    https://e-m1-001-ds.wpstr.tv/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcyI6ImthYmVsZWlu...42f-179b58.mpd

    KID= 12b1a5c05476068c62831e04cb3a5fc7 Key: b9eb9fea1ec12d2c7c8ea68298f1d0f8
    Quote Quote  
  18. Originally Posted by muppler View Post
    I tried Xstream but most of it is in chinese, when i tried to start the DL the cmd box came up for half a second and closed directly, so im not sure whats wrong.
    Because you double clicked the CLI version and expected it to be a GUI, you have to call it from the command line like yt-dlp, streamlink etc.

    You need the GUI version to be able to double click it and have an interface.
    https://github.com/xhlove/XstreamDL-CLI/releases/download/1.2.9/XstreamDL-GUI.exe

    Originally Posted by muppler View Post
    Streamlink complained about the DRM and didn't even start DLing....
    This is correct, streamlink developers have made it perfectly clear that DRM will NEVER be supported. Ditto youtube-dl

    Originally Posted by muppler View Post
    Downloading Video and Audio seperately (not that its working with my tools at all) also has the problem of video and audio being out of sync... ill check for the mpd and keys tomorrow for the case they changed and repost them here.

    There is no VOD
    Have you asked Notoghost for help with XstreamDL yet ? He may be able to assist.
    Last edited by codehound; 28th Aug 2021 at 04:38.
    Quote Quote  
  19. He has PM disabled, so maybe he will write something here....


    Xstream also doesnt work... it downloads some single files and then just quits....
    Last edited by muppler; 28th Aug 2021 at 06:09.
    Quote Quote  
  20. yt-dlp have a discord server - this may be possible with yt-dlp

    https://discord.gg/u9uzcjP9

    Don't directly discuss DRM in any of the channels (against rules). Ask for help (in the Help channel) downloading simultaneous, but separate Video and Audio from a Livestream (or something similar).

    If not possible, you need XstreamDL or a custom script.
    Quote Quote  
  21. Originally Posted by muppler View Post
    He has PM disabled, so maybe he will write something here....


    Xstream also doesnt work... it downloads some single files and then just quits....
    use this .m3u8 http://23.106.122.66/1/master.m3u8
    or you can watch online here http://23.106.122.66/1/watch
    i set it up on my server


    Edit: Mpd inaccessible ....
    Last edited by notaghost; 28th Aug 2021 at 09:45.
    discord=notaghost9997
    Quote Quote  
  22. Hey thank you! But im still curious how to capture an encrypted livestream. If you can give me any hint on which tool to use for that....
    Quote Quote  
  23. unfortunately, there are not any tools publicly available right now you have to write your own script. (not any i know of)

    use codes of XstreamDL-CLI and streamlink only for reference
    discord=notaghost9997
    Quote Quote  
  24. Originally Posted by Whochain View Post
    give a try to N_m3u8DL
    remove '.mpd' from the link and add '-audio_1=128000-video=7000000.m3u8' in the end of the link.
    i got around 500mb file and it was still going on...can't decrypt as i don't have the key
    How did you get the link to the m3u8?
    Quote Quote  
  25. read fine post #10...
    remove '.mpd' from the link and add .m3u8
    is manual workaround
    Quote Quote  
  26. I don't get the point.
    Quote Quote  
  27. you have mpd right?
    then change extension at the end .mpd with .m3u8 and add '-audio=xxxvalue-video=xxxvalue
    Quote Quote  
  28. What you write is just the opposite from how he showed the link. Don't get it.
    And from where did he know that an m3u8 is provided, too? Very obscure, isn't it?
    Quote Quote  



Similar Threads

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