VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 2 of 3
FirstFirst 1 2 3 LastLast
Results 31 to 60 of 61
Thread
  1. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by PennyHartz View Post
    Still no luck. Any help would be appreciated. I can find mpd buts that's it. I haven't been on here since 21 and that was for the last Olympics and '16 before that so im rusty and don't know all the new techniques. Just need help with this then Ill see you again in 4 years. haha

    can use this link as example:
    What have you tried? I pointed you to a few good posts.

    You can also grab a cdm from here and try.
    HTML Code:
    https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21
    Quote Quote  
  2. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Yeah I’ve read through it. I thought I had it figured out. Feel like I have the right mpd and key. And even got it to download but when I play the finished file it’s just a green screen. I guess things aren’t as straightforward as they used be. I appreciate everybody trying to help but I guess I won’t be able to rip this time. I don’t have the time like I use to troubleshoot and find a solution. If I really want them, I’ll just use a capture card and drm stripping splitter but that’s real time recordings that I don’t really have free time for anyways . Thanks tho. Ps. Just. Think it’s funny I can pretty rip anything else like tv shows and movies that have a big after market to make income but make the Olympics so difficult when they virtually have no value after initial airing. Plus the majority of the events don’t make network tv. It literally a free streaming service and the Olympics are tax payer funded. Oh well.
    Quote Quote  
  3. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    ok I got this far but still wont play correctly. Where do I find the --key and pssh? Is this something I might need
    N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\N_m3u8DL-RE.exe https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f

    03:40:36.636 INFO : N_m3u8DL-RE (Beta version) 20230628
    03:40:36.650 EXTRA: ffmpeg => C:\Users\xxxx\dwhelper\N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\ffmpeg.exe
    03:40:36.650 INFO : Loading URL: https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f
    03:40:37.076 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    03:40:37.077 INFO : Parsing streams...
    03:40:37.147 WARN : Writing meta json
    03:40:37.165 INFO : Extracted, there are 8 streams, with 6 basic streams, 2 audio streams, 0 subtitle streams
    03:40:37.165 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:37.166 INFO : Vid *CENC 1280x720 | 4830 Kbps | 1722144376062item-05item | 29.97 | avc1.64001f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 3000 Kbps | 1722144376062item-04item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 1850 Kbps | 1722144376062item-03item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 768x432 | 860 Kbps | 1722144376062item-02item | 29.97 | avc1.4d401e | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 512x288 | 350 Kbps | 1722144376062item-01item | 29.97 | avc1.4d4015 | 1106 Segments | ~01h05m29s
    03:40:37.169 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:37.170 INFO : Aud *CENC 1722144376062item-07item | 96 Kbps | mp4a.40.2 | eng | 2CH | 1106 Segments | ~01h05m29s
    03:40:58.999 INFO : Parsing streams...
    03:40:59.003 INFO : Selected streams:
    03:40:59.005 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:59.005 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:59.006 WARN : Writing meta json
    03:40:59.011 INFO : Save Name: master_2024-07-29_03-40-37
    03:40:59.014 INFO : Start downloading...Vid 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028
    03:40:59.015 WARN : fMP4 is detected, binary merging is automatically enabled
    03:40:59.176 WARN : Reading media info...
    03:40:59.254 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    03:41:54.714 INFO : Binary merging...
    03:42:18.296 INFO : Start downloading...Aud 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH
    03:42:18.328 WARN : Reading media info...
    03:42:18.412 INFO : [0x1]: Audio, eac3 (ec-3)
    03:42:29.140 INFO : Binary merging...
    03:42:30.477 INFO : Done


    Last edited by PennyHartz; 29th Jul 2024 at 09:56.
    Quote Quote  
  4. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by PennyHartz View Post
    ok I got this far but still wont play correctly. Where do I find the --key and pssh? Is this something I might need
    N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\N_m3u8DL-RE.exe https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f

    03:40:36.636 INFO : N_m3u8DL-RE (Beta version) 20230628
    03:40:36.650 EXTRA: ffmpeg => C:\Users\xxxx\dwhelper\N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\ffmpeg.exe
    03:40:36.650 INFO : Loading URL: https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f
    03:40:37.076 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    03:40:37.077 INFO : Parsing streams...
    03:40:37.147 WARN : Writing meta json
    03:40:37.165 INFO : Extracted, there are 8 streams, with 6 basic streams, 2 audio streams, 0 subtitle streams
    03:40:37.165 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:37.166 INFO : Vid *CENC 1280x720 | 4830 Kbps | 1722144376062item-05item | 29.97 | avc1.64001f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 3000 Kbps | 1722144376062item-04item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 1850 Kbps | 1722144376062item-03item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 768x432 | 860 Kbps | 1722144376062item-02item | 29.97 | avc1.4d401e | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 512x288 | 350 Kbps | 1722144376062item-01item | 29.97 | avc1.4d4015 | 1106 Segments | ~01h05m29s
    03:40:37.169 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:37.170 INFO : Aud *CENC 1722144376062item-07item | 96 Kbps | mp4a.40.2 | eng | 2CH | 1106 Segments | ~01h05m29s
    03:40:58.999 INFO : Parsing streams...
    03:40:59.003 INFO : Selected streams:
    03:40:59.005 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:59.005 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:59.006 WARN : Writing meta json
    03:40:59.011 INFO : Save Name: master_2024-07-29_03-40-37
    03:40:59.014 INFO : Start downloading...Vid 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028
    03:40:59.015 WARN : fMP4 is detected, binary merging is automatically enabled
    03:40:59.176 WARN : Reading media info...
    03:40:59.254 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    03:41:54.714 INFO : Binary merging...
    03:42:18.296 INFO : Start downloading...Aud 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH
    03:42:18.328 WARN : Reading media info...
    03:42:18.412 INFO : [0x1]: Audio, eac3 (ec-3)
    03:42:29.140 INFO : Binary merging...
    03:42:30.477 INFO : Done


    Here is where you get the pssh.
    Image
    [Attachment 81031 - Click to enlarge]


    You have to generate the --key pair.

    This is what you need for link above.
    Code:
    --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f
    Last edited by ehurdler; 29th Jul 2024 at 11:29. Reason: key
    Quote Quote  
  5. Hi, I'm also trying to save the NBC Olympic Replays and am new to DRM. I have been reviewing the stickies in this forum and have been able to decrypt this video, however, I believe I am experiencing an issue during play back because it is a multi-period MPD. The video is playable, but whenever the video reaches a time where an advertisement was to be inserted, the video freezes while the audio continues.

    Any advice about how to best process this video would be greatly appreciated. I am not opposed to including the ads in the video if that is a more straight forward process.

    You can see that the video consists of 13 parts, the primary video with DRM and 12 ads without DRM.
    Code:
    yt-dlp --list-formats --allow-unplayable-formats "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Using the lowest bitrate as an example, save the encrypted primary video.
    Code:
    yt-dlp -f 1722144376062item-01item-1 --allow-unplayable-formats -o encrypted_video.mp4 "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Save the encrypted primary audio.
    Code:
    yt-dlp -f 1722144376062item-07item-12 --allow-unplayable-formats -o encrypted_audio.m4a "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Decrypt the primary video.
    Code:
    mp4decrypt --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f encrypted_video.mp4 decrypted_video.mp4
    Decrypt the primary audio.
    Code:
    mp4decrypt --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f encrypted_audio.m4a decrypted_audio.m4a
    Merge the decrypted video and audio.
    Code:
    ffmpeg -i decrypted_video.mp4 -i decrypted_audio.m4a -vcodec copy -acodec copy myWatchableMovie.mp4
    I tried using N_m3u8DL-RE as well, but the resulting video appears to still be encrypted. During processing, N_m3u8DL-RE warns of potential incorrect timestamps in the output file due to Non-monotonic DTS.
    Code:
    N_m3u8DL-RE "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f --save-name "beach-volleyball-pool-play-match-7" -M format=mkv
    I received a similarly looking video using hell3.py, which is to be expected as I believe the commands are the same.
    https://forum.videohelp.com/threads/415090-All-Hell-Let-Loose%21

    I also tried using N_m3u8DL-RE with the output set to mp4 format rather than mkv, but the resulting video looked the same as the previous two videos processed with N_m3u8DL-RE.
    Code:
    N_m3u8DL-RE "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f --save-name "beach-volleyball-pool-play-match-7" -M format=mp4
    Quote Quote  
  6. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Originally Posted by ehurdler View Post
    Originally Posted by PennyHartz View Post
    ok I got this far but still wont play correctly. Where do I find the --key and pssh? Is this something I might need
    N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\N_m3u8DL-RE.exe https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f

    03:40:36.636 INFO : N_m3u8DL-RE (Beta version) 20230628
    03:40:36.650 EXTRA: ffmpeg => C:\Users\xxxx\dwhelper\N_m3u8DL-RE_Beta_win-x64_20230628\N_m3u8DL-RE_Beta_win-x64\ffmpeg.exe
    03:40:36.650 INFO : Loading URL: https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f
    03:40:37.076 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    03:40:37.077 INFO : Parsing streams...
    03:40:37.147 WARN : Writing meta json
    03:40:37.165 INFO : Extracted, there are 8 streams, with 6 basic streams, 2 audio streams, 0 subtitle streams
    03:40:37.165 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:37.166 INFO : Vid *CENC 1280x720 | 4830 Kbps | 1722144376062item-05item | 29.97 | avc1.64001f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 3000 Kbps | 1722144376062item-04item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.167 INFO : Vid *CENC 960x540 | 1850 Kbps | 1722144376062item-03item | 29.97 | avc1.4d401f | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 768x432 | 860 Kbps | 1722144376062item-02item | 29.97 | avc1.4d401e | 1106 Segments | ~01h05m29s
    03:40:37.168 INFO : Vid *CENC 512x288 | 350 Kbps | 1722144376062item-01item | 29.97 | avc1.4d4015 | 1106 Segments | ~01h05m29s
    03:40:37.169 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:37.170 INFO : Aud *CENC 1722144376062item-07item | 96 Kbps | mp4a.40.2 | eng | 2CH | 1106 Segments | ~01h05m29s
    03:40:58.999 INFO : Parsing streams...
    03:40:59.003 INFO : Selected streams:
    03:40:59.005 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028 | 1106 Segments | ~01h05m29s
    03:40:59.005 INFO : Aud *CENC 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH | 1106 Segments | ~01h05m29s
    03:40:59.006 WARN : Writing meta json
    03:40:59.011 INFO : Save Name: master_2024-07-29_03-40-37
    03:40:59.014 INFO : Start downloading...Vid 1920x1080 | 7830 Kbps | 1722144376062item-06item | 29.97 | avc1.640028
    03:40:59.015 WARN : fMP4 is detected, binary merging is automatically enabled
    03:40:59.176 WARN : Reading media info...
    03:40:59.254 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    03:41:54.714 INFO : Binary merging...
    03:42:18.296 INFO : Start downloading...Aud 1722144376062item-08item | 192 Kbps | ec-3 | eng | 6CH
    03:42:18.328 WARN : Reading media info...
    03:42:18.412 INFO : [0x1]: Audio, eac3 (ec-3)
    03:42:29.140 INFO : Binary merging...
    03:42:30.477 INFO : Done


    Here is where you get the pssh.
    Image
    [Attachment 81031 - Click to enlarge]


    You have to generate the --key pair.

    This is what you need for link above.
    Code:
    --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f

    Thanks so much. I’m still not sure how the key is found or produced. It’s like to rip some other streams and don’t want to bother yall everytime I need a key. If you can help me to find the key for what stream I’d really appreciate it but if to much to explain I understand. And where do you insert the pssh in the command line
    Quote Quote  
  7. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Originally Posted by orionsbelt View Post
    I also tried using N_M3U8DL-RE with the output set to mp4 format rather than mkv, but the resulting video looked the same as the previous two videos processed with N_M3U8DL-RE.
    Code:
    N_m3u8DL-RE "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f --save-name "beach-volleyball-pool-play-match-7" -M format=mp4
    I actually know the answer to this one. NBC/USA/CNBC/etc. that have commercials have issues when using N-m3udl-re. While you might try using "--ad-keyword atp", it will strip the ads, but not decrypt it.
    You need to manually delete them.
    Do this by downloading the master.mpd file. It's in an XML format and you need to manually delete the content between the Period Duration tags where the BaseURL is "https://vod-lf-oneapp-prd.akamaized.net/atp/"

    For example the first one to be deleted from this one is:
    Code:
        <Period duration="PT30.03S" id="1359_PT0S_0" start="PT0S">
            <BaseURL>https://vod-lf-oneapp-prd.akamaized.net/atp/7c0c1d2f-8802-403b-a0f3-42c2488e77cc/cmaf_2s/</BaseURL>
            <AdaptationSet bitstreamSwitching="false" mimeType="video/mp4" segmentAlignment="true" startWithSAP="1" subsegmentAlignment="true" subsegmentStartsWithSAP="1">
                <SegmentTemplate startNumber="1" timescale="96000"/>
                <Representation bandwidth="350000" codecs="avc1.4d4015" frameRate="30000/1001" height="288" id="1722144376062item-01item" width="512">
                    <SegmentTemplate initialization="master_288_2997init.cmfv" media="master_288_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
                <Representation bandwidth="860000" codecs="avc1.4d401e" frameRate="30000/1001" height="432" id="1722144376062item-02item" width="768">
                    <SegmentTemplate initialization="master_432_2997init.cmfv" media="master_432_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
                <Representation bandwidth="1850000" codecs="avc1.4d401f" frameRate="30000/1001" height="540" id="1722144376062item-03item" width="960">
                    <SegmentTemplate initialization="master_540_2997init.cmfv" media="master_540_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
                <Representation bandwidth="3000000" codecs="avc1.4d401f" frameRate="30000/1001" height="540" id="1722144376062item-04item" width="960">
                    <SegmentTemplate initialization="master_540_2_2997init.cmfv" media="master_540_2_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
                <Representation bandwidth="4830000" codecs="avc1.64001f" frameRate="30000/1001" height="720" id="1722144376062item-05item" width="1280">
                    <SegmentTemplate initialization="master_720_1_2997init.cmfv" media="master_720_1_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
                <Representation bandwidth="7830000" codecs="avc1.640028" frameRate="30000/1001" height="1080" id="1722144376062item-06item" width="1920">
                    <SegmentTemplate initialization="master_1080_2997init.cmfv" media="master_1080_2997_$Number%09d$.cmfv" startNumber="1" timescale="90000">
                        <SegmentTimeline>
                            <S d="180180" r="14" t="0"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                </Representation>
            </AdaptationSet>
            <AdaptationSet lang="eng" mimeType="audio/mp4" segmentAlignment="0">
                <SegmentTemplate startNumber="1" timescale="48000"/>
                <Representation audioSamplingRate="48000" bandwidth="96000" codecs="mp4a.40.2" id="1722144376062item-07item">
                    <SegmentTemplate initialization="masteraacinit.cmfa" media="masteraac_$Number%09d$.cmfa" startNumber="1">
                        <SegmentTimeline>
                            <S d="98304" t="0"/>
                            <S d="96256" r="1" t="98304"/>
                            <S d="95232" t="290816"/>
                            <S d="96256" r="4" t="386048"/>
                            <S d="95232" t="867328"/>
                            <S d="96256" r="4" t="962560"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                    <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
                </Representation>
            </AdaptationSet>
            <AdaptationSet lang="eng" mimeType="audio/mp4" segmentAlignment="0">
                <SegmentTemplate startNumber="1" timescale="48000"/>
                <Representation audioSamplingRate="48000" bandwidth="192000" codecs="ec-3" id="1722144376062item-08item">
                    <SegmentTemplate initialization="masterec3init.cmfa" media="masterec3_$Number%09d$.cmfa" startNumber="1">
                        <SegmentTimeline>
                            <S d="96768" r="1" t="0"/>
                            <S d="95232" t="193536"/>
                            <S d="96768" t="288768"/>
                            <S d="95232" t="385536"/>
                            <S d="96768" t="480768"/>
                            <S d="95232" t="577536"/>
                            <S d="96768" r="1" t="672768"/>
                            <S d="95232" t="866304"/>
                            <S d="96768" t="961536"/>
                            <S d="95232" t="1058304"/>
                            <S d="96768" t="1153536"/>
                            <S d="95232" t="1250304"/>
                            <S d="96768" t="1345536"/>
                        </SegmentTimeline>
                    </SegmentTemplate>
                    <AudioChannelConfiguration schemeIdUri="urn:mpeg:mpegB:cicp:ChannelConfiguration" value="6"/>
                </Representation>
            </AdaptationSet>
        </Period>
    Then upload it to somewhere you can link download it with N_M3U8DL-RE. Like here on VideoHelp: https://files.videohelp.com/u/107659/beach-volleyball-pool-play-match-7.mpd
    This should work:
    Code:
    N_M3U8DL-RE -M format=mp4 -sv best -sa best "https://files.videohelp.com/u/107659/beach-volleyball-pool-play-match-7.mpd" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f -mt --save-name "beach-volleyball-pool-play-match-7"
    I'd definitely keep it .MP4 since there always seems to be timing issues generated by the commercials being removed and .MP4 seems to handle it better in my experience.

    I added -mt so it downloads the audio and video simultaneously and -sv and -sa so you don't have to manually choose the quality (you can delete it if you don't want the best).
    Quote Quote  
  8. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by orionsbelt View Post
    Hi, I'm also trying to save the NBC Olympic Replays and am new to DRM. I have been reviewing the stickies in this forum and have been able to decrypt this video, however, I believe I am experiencing an issue during play back because it is a multi-period MPD. The video is playable, but whenever the video reaches a time where an advertisement was to be inserted, the video freezes while the audio continues.

    Any advice about how to best process this video would be greatly appreciated. I am not opposed to including the ads in the video if that is a more straight forward process.

    You can see that the video consists of 13 parts, the primary video with DRM and 12 ads without DRM.
    Code:
    yt-dlp --list-formats --allow-unplayable-formats "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Using the lowest bitrate as an example, save the encrypted primary video.
    Code:
    yt-dlp -f 1722144376062item-01item-1 --allow-unplayable-formats -o encrypted_video.mp4 "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Save the encrypted primary audio.
    Code:
    yt-dlp -f 1722144376062item-07item-12 --allow-unplayable-formats -o encrypted_audio.m4a "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f"
    Decrypt the primary video.
    Code:
    mp4decrypt --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f encrypted_video.mp4 decrypted_video.mp4
    Decrypt the primary audio.
    Code:
    mp4decrypt --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f encrypted_audio.m4a decrypted_audio.m4a
    Merge the decrypted video and audio.
    Code:
    ffmpeg -i decrypted_video.mp4 -i decrypted_audio.m4a -vcodec copy -acodec copy myWatchableMovie.mp4
    I tried using N_m3u8DL-RE as well, but the resulting video appears to still be encrypted. During processing, N_m3u8DL-RE warns of potential incorrect timestamps in the output file due to Non-monotonic DTS.
    Code:
    N_m3u8DL-RE "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f --save-name "beach-volleyball-pool-play-match-7" -M format=mkv
    I received a similarly looking video using hell3.py, which is to be expected as I believe the commands are the same.
    https://forum.videohelp.com/threads/415090-All-Hell-Let-Loose%21

    I also tried using N_m3u8DL-RE with the output set to mp4 format rather than mkv, but the resulting video looked the same as the previous two videos processed with N_m3u8DL-RE.
    Code:
    N_m3u8DL-RE "https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?aws.sessionId=8b74a75a-2b49-4090-b2bc-edec02e5f67f" --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f --save-name "beach-volleyball-pool-play-match-7" -M format=mp4
    Not sure where you got that mpd from?

    Try
    Code:
    https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true
    Still works for me now:
    Code:
    N_m3u8DL-RE --key ed43c4a5606536e5a788bb2132a007e9:94f0e4059012f2da0270c4a2fcefa07f "https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/991/c69/202407/991c69a7-7a9c-5b12-80e1-e660b6568796/nbcdtc12000244-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true" --save-name "VB event7_1" -M format=mkv
    Outputs a full unencrypted mkv.

    Where are you getting your mpd?

    Mine is obtained in my last screenshot.

    Same url as I pasted above
    Image
    [Attachment 81036 - Click to enlarge]
    Quote Quote  
  9. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Like I said, I downloaded the MPD from the link orionsbelt posted: https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f
    I manually edited it to delete the commercials, as I described, and then uploaded the edited version here.

    Edit: Interesting. The link you posted replaces
    Code:
    https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/
    with
    Code:
    https://vod-lf-oneapp-prd.akamaized.net/
    which removes the ads.
    I wonder if that can be manually done for other .MPD from them...

    Edit 2: Yes, it does. Searching for the .MPD doesn't turn that up. Searching for vod-lf-oneapp-prd shows the segments but not an .MPD file. Getting the .MPD file and then changing that part of the link deletes ads!
    Awesome!!! I'm going to be using that a lot.

    Btw, you can use https://cdrm-project.com/ for keys with NBC. You just need the PSSH, the License URL (look for drmproxy.digitalsvc.apps.nbcuni.com...) and the headers.

    Edit 3: I use a command line batch to grab this sort of thing. Thanks to you, ehurdler, I've added:
    Code:
    set mpd=%mpd:*-generic=https://vod-lf-oneapp-prd.akamaized.net%
    Now the .MPD link string is modified and commercials are cut if the wrong link is used.
    Last edited by doctorm; 29th Jul 2024 at 18:23.
    Quote Quote  
  10. I am having trouble getting keys. I was able to download video with the code from ehurdler. I am trying to get this on my own. https://stream.nbcolympics.com/beach-volleyball-pool-play-match-20
    I get this when using cdm project:Image
    [Attachment 81045 - Click to enlarge]

    I got enter the pssh, license url and header. Can someone post examples using match 20?

    NVM I figured it out after doing research.Thanks guys.
    Image
    [Attachment 81048 - Click to enlarge]
    Last edited by dinzul; 30th Jul 2024 at 02:09. Reason: Fixed
    Quote Quote  
  11. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by doctorm View Post
    Like I said, I downloaded the MPD from the link orionsbelt posted: https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7...c-edec02e5f67f
    I manually edited it to delete the commercials, as I described, and then uploaded the edited version here.

    Edit: Interesting. The link you posted replaces
    Code:
    https://d32eb54f6044433e841272aa4bf4984a.mediatailor.us-east-1.amazonaws.com/v1/dash/7f34bf1814de6fddce84b1e6c296b7a70243b88f/oneapp-atp-dash-vod-2s-generic/
    with
    Code:
    https://vod-lf-oneapp-prd.akamaized.net/
    which removes the ads.
    I wonder if that can be manually done for other .MPD from them...

    Edit 2: Yes, it does. Searching for the .MPD doesn't turn that up. Searching for vod-lf-oneapp-prd shows the segments but not an .MPD file. Getting the .MPD file and then changing that part of the link deletes ads!
    Awesome!!! I'm going to be using that a lot.

    Btw, you can use https://cdrm-project.com/ for keys with NBC. You just need the PSSH, the License URL (look for drmproxy.digitalsvc.apps.nbcuni.com...) and the headers.

    Edit 3: I use a command line batch to grab this sort of thing. Thanks to you, ehurdler, I've added:
    Code:
    set mpd=%mpd:*-generic=https://vod-lf-oneapp-prd.akamaized.net%
    Now the .MPD link string is modified and commercials are cut if the wrong link is used.
    Sweet!

    What headers do you end up using at https://cdrm-project.com/ ?

    I am only curious, not the way I have been grabbing them.

    May help PennyHartz, but not sure what other processes they are trying.

    PennyHartz I assume does not have python installed, looking for keys with a script, so would prob help them out.
    Quote Quote  
  12. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    I think Im almost there. haha

    For
    HTML Code:
    https://stream.nbcolympics.com/beach-volleyball-pool-play-match-20
    mpd
    Code:
    https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?mt.config=oneapp-atp-dash-vod-2s-generic&audio=all&subtitle=all&forcedNarrative=true
    license
    Code:
    https://drmproxy.digitalsvc.apps.nbcuni.com/drm-proxy/license/widevine?time=1722361483801&hash=082bdb963118297ef015acd16ff2f07a649577d2320b9b36202a64c0d45f3b81&device=web
    Image
    [Attachment 81053 - Click to enlarge]


    pssh
    Code:
    AAAAV3Bzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADcIARIQKUATsefyPe+2dVHQQ+lRIxoLYnV5ZHJta2V5b3MiEClAE7Hn8j3vtnVR0EPpUSMqAkhE
    Image
    [Attachment 81054 - Click to enlarge]


    Is this right and what else do i need for https://cdrm-project.com/? because this is what I get at the moment.

    Image
    [Attachment 81055 - Click to enlarge]
    Last edited by PennyHartz; 30th Jul 2024 at 13:19.
    Quote Quote  
  13. @PennyHartz Right click and copy as cURL on the drm license link. Paste it here: https://curlconverter.com/. Copy the brackets "{'User-Agent' ... # 'TE': 'trailers',}" from headers =. Paste PSSH, license url and header into crdm-project.
    Quote Quote  
  14. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Is this the correct header

    Code:
    headers = {
        'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',
        'Referer': 'https://stream.nbcolympics.com/beach-volleyball-pool-play-match-20',
        'sec-ch-ua-mobile': '?0',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
        'sec-ch-ua-platform': '"Windows"',
    }
    Image
    [Attachment 81060 - Click to enlarge]


    And are the license time sensitive? Like they wont work unless you use them in a certain amount of time. Do they expire? haha that was the word I was looking for.
    Quote Quote  
  15. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Make sure you remove
    headers =
    and only copy paste the {...} portion.
    Although, this didn't work when I tried it.
    Quote Quote  
  16. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Originally Posted by PennyHartz View Post
    Is this the correct header

    Code:
    headers = {
        'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',
        'Referer': 'https://stream.nbcolympics.com/beach-volleyball-pool-play-match-20',
        'sec-ch-ua-mobile': '?0',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
        'sec-ch-ua-platform': '"Windows"',
    }
    Image
    [Attachment 81060 - Click to enlarge]


    And are the license time sensitive? Like they wont work unless you use them in a certain amount of time. Do they expire? haha that was the word I was looking for.
    Sometimes sensitive. I would just do it when you go to the site, all together.

    Again, remove "headers = "
    Code:
    headers = {
        'accept': '*/*',
        'accept-language': 'en-US,en;q=0.9',
        'content-type': 'application/octet-stream',
        'origin': 'https://stream.nbcolympics.com',
        'priority': 'u=1, i',
        'referer': 'https://stream.nbcolympics.com/',
        'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'cross-site',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
    }
    Image
    [Attachment 81061 - Click to enlarge]


    Image
    [Attachment 81062 - Click to enlarge]


    Code:
    --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d
    Code:
    N_m3u8DL-RE --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d "https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true" --save-name "beach-volleyball-pool-play-match-20" -M format=mkv
    Code:
    D:\dl>N_m3u8DL-RE --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d "https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true" --save-name "beach-volleyball-pool-play-match-20" -M format=mkv
    16:30:03.706 INFO : N_m3u8DL-RE (Beta version) 20230628
    16:30:03.725 INFO : Loading URL: https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true
    16:30:03.973 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    16:30:03.974 INFO : Parsing streams...
    16:30:04.043 WARN : Writing meta json
    16:30:04.061 INFO : Extracted, there are 8 streams, with 6 basic streams, 2 audio streams, 0 subtitle streams
    16:30:04.062 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028 | 737 Segments | ~47m52s
    16:30:04.062 INFO : Vid *CENC 1280x720 | 4830 Kbps | 1722241844483item-05item | 29.97 | avc1.64001f | 737 Segments | ~47m52s
    16:30:04.063 INFO : Vid *CENC 960x540 | 3000 Kbps | 1722241844483item-04item | 29.97 | avc1.64001f | 737 Segments | ~47m52s
    16:30:04.064 INFO : Vid *CENC 960x540 | 1850 Kbps | 1722241844483item-03item | 29.97 | avc1.4d401f | 737 Segments | ~47m52s
    16:30:04.064 INFO : Vid *CENC 768x432 | 860 Kbps | 1722241844483item-02item | 29.97 | avc1.4d401e | 737 Segments | ~47m52s
    16:30:04.065 INFO : Vid *CENC 512x288 | 350 Kbps | 1722241844483item-01item | 29.97 | avc1.4d4015 | 737 Segments | ~47m52s
    16:30:04.065 INFO : Aud *CENC 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH | 737 Segments | ~47m52s
    16:30:04.065 INFO : Aud *CENC 1722241844483item-07item | 128 Kbps | mp4a.40.2 | eng | 2CH | 737 Segments | ~47m52s
    16:30:08.092 INFO : Parsing streams...
    16:30:08.096 INFO : Selected streams:
    16:30:08.097 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028 | 737 Segments | ~47m52s
    16:30:08.097 INFO : Aud *CENC 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH | 737 Segments | ~47m52s
    16:30:08.097 WARN : Writing meta json
    16:30:08.101 INFO : Save Name: beach-volleyball-pool-play-match-20
    16:30:08.101 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    16:30:08.103 INFO : Start downloading...Vid 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028
    16:30:08.137 WARN : Type: cenc
    16:30:08.137 WARN : PSSH(WV): CAESEClAE7Hn8j3vtnVR0EPpUSMaC2J1eWRybWtleW9zIhApQBOx5/I977Z1UdBD6VEjKgJIRA==
    16:30:08.137 WARN : KID: 294013b1e7f23defb67551d043e95123
    16:30:08.138 WARN : Reading media info...
    16:30:08.196 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    16:31:20.620 INFO : Binary merging...
    16:32:06.592 INFO : Decrypting...
    16:33:03.610 INFO : Start downloading...Aud 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH
    16:33:03.786 WARN : Type: cenc
    16:33:03.786 WARN : PSSH(WV): CAESEClAE7Hn8j3vtnVR0EPpUSMaC2J1eWRybWtleW9zIhApQBOx5/I977Z1UdBD6VEjKgJIRA==
    16:33:03.788 WARN : KID: 294013b1e7f23defb67551d043e95123
    16:33:03.788 WARN : Reading media info...
    16:33:03.861 INFO : [0x1]: Audio, eac3 (ec-3)
    16:33:15.272 INFO : Binary merging...
    16:33:15.542 INFO : Decrypting...
    16:33:17.579 WARN : beach-volleyball-pool-play-match-20.mp4
    16:33:17.580 WARN : beach-volleyball-pool-play-match-20.eng.m4a
    16:33:17.580 WARN : Muxing to beach-volleyball-pool-play-match-20.MUX.mkv
    16:33:37.544 WARN : [matroska @ 00000181eb114c80] Starting new cluster due to timestamp
    16:34:06.898 WARN : Cleaning files...
    16:34:07.108 WARN : Rename to beach-volleyball-pool-play-match-20.mkv
    16:34:07.109 INFO : Done
    
    D:\dl>
    Image
    [Attachment 81063 - Click to enlarge]
    Last edited by ehurdler; 30th Jul 2024 at 15:37. Reason: edited
    Quote Quote  
  17. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Pretty sure you've got the wrong headers though. I had 15 headers when I tried this.
    Make sure you right-click the license link (with POST + preflight) and select the 'Copy as cURL (bash)' and paste that into curlconverter.

    Also, I did notice that when I played this video, my license link had a different hash than the one posted here.
    Quote Quote  
  18. Try with firefox. Right click the first link with "POST" and copy as "cURL".
    Image
    [Attachment 81065 - Click to enlarge]

    Paste into curlconverter to get the header. I think the license are tied into "cookies".
    Image
    [Attachment 81066 - Click to enlarge]
    Last edited by dinzul; 30th Jul 2024 at 16:16. Reason: n/a
    Quote Quote  
  19. Matches with TV network watermarks like #7 ESP-ITA or #35 BRA-ESP causes audio/video sync when it goes to commercial even using the code from ehurdler. Tried with VLC and Windows Media player. This game https://stream.nbcolympics.com/beach-volleyball-pool-play-match-35 has ad and action in split screen. Matches without TV channel logos play smooth.
    Okay video now plays fine with a different computer and fresh install of players. For some reason the ads cause high cpu usage, but it is an older i5.
    Last edited by dinzul; 30th Jul 2024 at 19:47.
    Quote Quote  
  20. Image
    [Attachment 81122 - Click to enlarge]
    Originally Posted by ehurdler View Post
    Originally Posted by PennyHartz View Post
    Is this the correct header

    Code:
    headers = {
        'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',
        'Referer': 'https://stream.nbcolympics.com/beach-volleyball-pool-play-match-20',
        'sec-ch-ua-mobile': '?0',
        'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
        'sec-ch-ua-platform': '"Windows"',
    }
    Image
    [Attachment 81060 - Click to enlarge]


    And are the license time sensitive? Like they wont work unless you use them in a certain amount of time. Do they expire? haha that was the word I was looking for.
    Sometimes sensitive. I would just do it when you go to the site, all together.

    Again, remove "headers = "
    Code:
    headers = {
        'accept': '*/*',
        'accept-language': 'en-US,en;q=0.9',
        'content-type': 'application/octet-stream',
        'origin': 'https://stream.nbcolympics.com',
        'priority': 'u=1, i',
        'referer': 'https://stream.nbcolympics.com/',
        'sec-ch-ua': '"Not)A;Brand";v="99", "Google Chrome";v="127", "Chromium";v="127"',
        'sec-ch-ua-mobile': '?0',
        'sec-ch-ua-platform': '"Windows"',
        'sec-fetch-dest': 'empty',
        'sec-fetch-mode': 'cors',
        'sec-fetch-site': 'cross-site',
        'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36',
    }
    Image
    [Attachment 81061 - Click to enlarge]


    Image
    [Attachment 81062 - Click to enlarge]


    Code:
    --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d
    Code:
    N_m3u8DL-RE --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d "https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true" --save-name "beach-volleyball-pool-play-match-20" -M format=mkv
    Code:
    D:\dl>N_m3u8DL-RE --key 294013b1e7f23defb67551d043e95123:5e394cbaf395618b264267b26ba4844d "https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true" --save-name "beach-volleyball-pool-play-match-20" -M format=mkv
    16:30:03.706 INFO : N_m3u8DL-RE (Beta version) 20230628
    16:30:03.725 INFO : Loading URL: https://vod-lf-oneapp-prd.akamaized.net/pub/global/FER/22c/5db/202407/22c5db9a-33ce-5f18-9618-79074f40453c/nbcdtc12000257-ctr/master.mpd?audio=all&subtitle=all&forcedNarrative=true
    16:30:03.973 INFO : Content Matched: Dynamic Adaptive Streaming over HTTP
    16:30:03.974 INFO : Parsing streams...
    16:30:04.043 WARN : Writing meta json
    16:30:04.061 INFO : Extracted, there are 8 streams, with 6 basic streams, 2 audio streams, 0 subtitle streams
    16:30:04.062 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028 | 737 Segments | ~47m52s
    16:30:04.062 INFO : Vid *CENC 1280x720 | 4830 Kbps | 1722241844483item-05item | 29.97 | avc1.64001f | 737 Segments | ~47m52s
    16:30:04.063 INFO : Vid *CENC 960x540 | 3000 Kbps | 1722241844483item-04item | 29.97 | avc1.64001f | 737 Segments | ~47m52s
    16:30:04.064 INFO : Vid *CENC 960x540 | 1850 Kbps | 1722241844483item-03item | 29.97 | avc1.4d401f | 737 Segments | ~47m52s
    16:30:04.064 INFO : Vid *CENC 768x432 | 860 Kbps | 1722241844483item-02item | 29.97 | avc1.4d401e | 737 Segments | ~47m52s
    16:30:04.065 INFO : Vid *CENC 512x288 | 350 Kbps | 1722241844483item-01item | 29.97 | avc1.4d4015 | 737 Segments | ~47m52s
    16:30:04.065 INFO : Aud *CENC 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH | 737 Segments | ~47m52s
    16:30:04.065 INFO : Aud *CENC 1722241844483item-07item | 128 Kbps | mp4a.40.2 | eng | 2CH | 737 Segments | ~47m52s
    16:30:08.092 INFO : Parsing streams...
    16:30:08.096 INFO : Selected streams:
    16:30:08.097 INFO : Vid *CENC 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028 | 737 Segments | ~47m52s
    16:30:08.097 INFO : Aud *CENC 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH | 737 Segments | ~47m52s
    16:30:08.097 WARN : Writing meta json
    16:30:08.101 INFO : Save Name: beach-volleyball-pool-play-match-20
    16:30:08.101 WARN : MuxAfterDone is detected, binary merging is automatically enabled
    16:30:08.103 INFO : Start downloading...Vid 1920x1080 | 7830 Kbps | 1722241844483item-06item | 29.97 | avc1.640028
    16:30:08.137 WARN : Type: cenc
    16:30:08.137 WARN : PSSH(WV): CAESEClAE7Hn8j3vtnVR0EPpUSMaC2J1eWRybWtleW9zIhApQBOx5/I977Z1UdBD6VEjKgJIRA==
    16:30:08.137 WARN : KID: 294013b1e7f23defb67551d043e95123
    16:30:08.138 WARN : Reading media info...
    16:30:08.196 INFO : [0x1]: Video, h264 (avc1), 1920x1080
    16:31:20.620 INFO : Binary merging...
    16:32:06.592 INFO : Decrypting...
    16:33:03.610 INFO : Start downloading...Aud 1722241844483item-08item | 384 Kbps | ec-3 | eng | A000CH
    16:33:03.786 WARN : Type: cenc
    16:33:03.786 WARN : PSSH(WV): CAESEClAE7Hn8j3vtnVR0EPpUSMaC2J1eWRybWtleW9zIhApQBOx5/I977Z1UdBD6VEjKgJIRA==
    16:33:03.788 WARN : KID: 294013b1e7f23defb67551d043e95123
    16:33:03.788 WARN : Reading media info...
    16:33:03.861 INFO : [0x1]: Audio, eac3 (ec-3)
    16:33:15.272 INFO : Binary merging...
    16:33:15.542 INFO : Decrypting...
    16:33:17.579 WARN : beach-volleyball-pool-play-match-20.mp4
    16:33:17.580 WARN : beach-volleyball-pool-play-match-20.eng.m4a
    16:33:17.580 WARN : Muxing to beach-volleyball-pool-play-match-20.MUX.mkv
    16:33:37.544 WARN : [matroska @ 00000181eb114c80] Starting new cluster due to timestamp
    16:34:06.898 WARN : Cleaning files...
    16:34:07.108 WARN : Rename to beach-volleyball-pool-play-match-20.mkv
    16:34:07.109 INFO : Done
    
    D:\dl>
    Image
    [Attachment 81063 - Click to enlarge]
    Hello, do you know why i have this message?
    Quote Quote  
  21. Member
    Join Date
    Mar 2006
    Location
    United States
    Search Comp PM
    Hello, do you know why i have this message?
    No, you'll have to post what headers you used, etc.

    If you copied and pasted what I used maybe issue, but you'll have to show what you tried.
    Quote Quote  
  22. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    I've read all these threads and I don't think I can do all this. They really made it nearly impossible for people to save videos for their own use, and even screen capturing is now impossible.
    Quote Quote  
  23. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Originally Posted by daygecko View Post
    I've read all these threads and I don't think I can do all this. They really made it nearly impossible for people to save videos for their own use, and even screen capturing is now impossible.
    While widevine is much worse than what web-dl'ing used to be, the security level on these is quite low (NOT Peacock) and even chimps like me can pull it off.

    https://forum.videohelp.com/threads/414761-How-does-CDRM-Project-2-0-work#post2737757

    A little practice and it's a piece of cake.

    Also, love it or hate it, StreamFab can occasionally do the job well.
    Quote Quote  
  24. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Dnzul , doctorm, and ehurler thanks for the help. Finally got it to work about a week ago and meant to post earlier. Thanks again and see yall again in 4 years. Haha. I was also able to rip from Canadian and Spanish networks websites with a VPN. They’re easily captured with streamlink or a variety of Firefox extensions.
    Quote Quote  
  25. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    Originally Posted by doctorm View Post
    Originally Posted by daygecko View Post
    I've read all these threads and I don't think I can do all this. They really made it nearly impossible for people to save videos for their own use, and even screen capturing is now impossible.
    While widevine is much worse than what web-dl'ing used to be, the security level on these is quite low (NOT Peacock) and even chimps like me can pull it off.

    https://forum.videohelp.com/threads/414761-How-does-CDRM-Project-2-0-work#post2737757

    A little practice and it's a piece of cake.

    Also, love it or hate it, StreamFab can occasionally do the job well.
    If you have to extract encryption keys and write python scripts to do it, I wouldn't call it easy by any means!
    Quote Quote  
  26. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Is anyone else having trouble logging into their cable provider with NBC/USANetwork to even play streams? I've tried 3 different browsers with no luck the last two days.
    Either I get an adobe-pass tab that doesn't do anything from https://entitlement.auth.adobe.com/ or "Sorry! We're having some trouble".
    If the problem persists, please contact us and send us a note."

    Edit: The must have changed something. Cleared cookies and data for NBC, USA and adobe and now it works.
    Last edited by doctorm; 27th Aug 2024 at 14:02.
    Quote Quote  
  27. Member
    Join Date
    Jan 2007
    Location
    United States
    Search PM
    Originally Posted by PennyHartz View Post
    Dnzul , doctorm, and ehurler thanks for the help. Finally got it to work about a week ago and meant to post earlier. Thanks again and see yall again in 4 years. Haha. I was also able to rip from Canadian and Spanish networks websites with a VPN. They’re easily captured with streamlink or a variety of Firefox extensions.
    You could at least tell us how you finally got it to work, instead of just laughing and disappearing for the next 4 years.

    I managed to get it working, and I'll post all the steps here, since the info seems to be scattered across a lot of different posts:

    1. in a browser, open the console and go to the Network tab
    2. load the video you want to download
    3. in the Network tab, search for "mpd", there should be a master.mpd
    4. do a Copy URL on the master.mpd, then paste it somewhere to be used later, and after pasting, remove everything that comes after master.mpd
    5. click on the Response tab for the master.mpd
    6. copy/paste the XML somewhere, then search for "pssh", there should be some <cencssh xmlns:cenc="urn:mpeg:cenc:2013"> tags
    7. copy the value of the first one
    8. paste it into the PSSH field at https://old.cdrm-project.com/
    9. search for "license" in the Network tab, there should be at least one that comes up
    10. pick the first one, do a Copy URL, then paste it into the License field on the same https://old.cdrm-project.com/
    11. then do a Copy as cURL, paste it into https://curlconverter.com/, copy the "headers = " value that is returned (just everything inside the braces and including the braces), then paste it into the Headers field on the same https://old.cdrm-project.com/, then click Send
    12. it should return the key at the bottom, as a long string followed by a colon followed by another long string
    13. run the following command with the master.mpd URL and key: N_m3u8DL-RE.exe --key <key from step 13> <mpd URL from step 4> --auto-select --save-name "output-filename" -M format=mp4
    Quote Quote  
  28. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    Originally Posted by sldvd View Post
    Originally Posted by PennyHartz View Post
    Dnzul , doctorm, and ehurler thanks for the help. Finally got it to work about a week ago and meant to post earlier. Thanks again and see yall again in 4 years. Haha. I was also able to rip from Canadian and Spanish networks websites with a VPN. They’re easily captured with streamlink or a variety of Firefox extensions.
    You could at least tell us how you finally got it to work, instead of just laughing and disappearing for the next 4 years.

    I managed to get it working, and I'll post all the steps here, since the info seems to be scattered across a lot of different posts:

    1. in a browser, open the console and go to the Network tab
    2. load the video you want to download
    3. in the Network tab, search for "mpd", there should be a master.mpd
    4. do a Copy URL on the master.mpd, then paste it somewhere to be used later, and after pasting, remove everything that comes after master.mpd
    5. click on the Response tab for the master.mpd
    6. copy/paste the XML somewhere, then search for "pssh", there should be some <cencssh xmlns:cenc="urn:mpeg:cenc:2013"> tags
    7. copy the value of the first one
    8. paste it into the PSSH field at https://old.cdrm-project.com/
    9. search for "license" in the Network tab, there should be at least one that comes up
    10. pick the first one, do a Copy URL, then paste it into the License field on the same https://old.cdrm-project.com/
    11. then do a Copy as cURL, paste it into https://curlconverter.com/, copy the "headers = " value that is returned (just everything inside the braces and including the braces), then paste it into the Headers field on the same https://old.cdrm-project.com/, then click Send
    12. it should return the key at the bottom, as a long string followed by a colon followed by another long string
    13. run the following command with the master.mpd URL and key: N_m3u8DL-RE.exe --key <key from step 13> <mpd URL from step 4> --auto-select --save-name "output-filename" -M format=mp4
    Any reason why you are using the old.cdrm-project?
    Also, for the pssh, I have TamperMonkey installed in my browser with the emeshort.js script. The PSSH will automatically pop-up in the 'console' tab if you filter for "MediaKeySession::generateRequest".
    The links for emeshort.js seem dead ATM. If you're interested, let me know.
    Quote Quote  
  29. Member
    Join Date
    Jan 2007
    Location
    United States
    Search PM
    Originally Posted by doctorm View Post
    Any reason why you are using the old.cdrm-project?
    Also, for the pssh, I have TamperMonkey installed in my browser with the emeshort.js script. The PSSH will automatically pop-up in the 'console' tab if you filter for "MediaKeySession::generateRequest".
    The links for emeshort.js seem dead ATM. If you're interested, let me know.
    I found old.cdrm-project.com in another thread. I guess either one would work. I don't have too many browser extensions installed, so I guess I'll go without the extension/script for now. I'm not downloading too many of these videos.
    Quote Quote  



Similar Threads

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