Hello,
I've trying to download : https://www.rts.ch/play/tv/les-goldberg/video/geoff-la-bonne-pate-episode-1323-saison-...video:13449307
Find the mpd : https://rtsvod-euwe.akamaized.net/ef624779-c07b-477a-b497-9486c7ad2205/RTSVOD-52d04d05...ncryption=cenc)
Find the cenc : AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISELmBMV Ot6kPxmGvQJzW/h7w=
Licence : https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license?contentId=RTSVOD
But impossible to find the key
And I've an error with yt-dlp when I try to download the audio : ERROR: string index out of range
Can you help me ?
Thanks
+ Reply to Thread
Results 1 to 26 of 26
-
-
Hi,
Where are you getting that PSSH from? Use https://greasyfork.org/en/scripts/373903-eme-logger which will get you the right PSSH, which can be used to get the key:
Code:C:\Users\me>set HTTP_PROXY=http://127.0.0.1:8081 C:\Users\me>set HTTPS_PROXY=http://127.0.0.1:8081 C:\Users\me>pywidevine license "******************************************************************************************_l3.wvd" "AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEOP49yKlqEy4iA5hMgvU0ms=" "https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license?contentId=RTSVOD" INFO:root:pywidevine version 1.5.0 Copyright (c) 2022 rlaphoenix INFO:root:https://github.com/rlaphoenix/pywidevine INFO:license:[+] Loaded Device (**** L3) INFO:license:[+] Loaded CDM INFO:license:[+] Opened CDM Session: ******************************** INFO:license:[+] Created License Request Message (Challenge) INFO:license:[+] Got License Message INFO:license:[+] License Parsed Successfully INFO:license:[SIGNING] 00000000000000000000000000000000:******************************************************************************************************************************** INFO:license:[CONTENT] e3f8f722a5a84cb8880e61320bd4d26b:db7be836c7b86876b1c77e104ca57353
And I've an error with yt-dlp when I try to download the audio : ERROR: string index out of range
Code:C:\Users\me>N_m3u8DL-RE.exe --custom-proxy "http://127.0.0.1:8081" --key e3f8f722a5a84cb8880e61320bd4d26b:db7be836c7b86876b1c77e104ca57353 "https://rtsvod-euwe.akamaized.net/ef624779-c07b-477a-b497-9486c7ad2205/RTSVOD-52d04d05-320f.ism/manifest(format=mpd-time-csf,encryption=cenc)" INFO : Loading URL: https://rtsvod-euwe.akamaized.net/ef624779-c07b-477a-b497-9486c7ad2205/RTSVOD-52d04d05-320f.ism/manifest(format=mpd-time-csf,encryption=cenc) INFO : Content Matched: Dynamic Adaptive Streaming over HTTP INFO : Parsing streams... INFO : Extracted, there are 9 streams, with 4 basic streams, 4 audio streams, 1 subtitle streams INFO : Vid *CENC 960x540 | 2000 Kbps | 1_V_video_3 | avc1.4D401F | 619 Segments | ~20m37s INFO : Vid *CENC 640x360 | 1200 Kbps | 1_V_video_1 | avc1.4D401F | 619 Segments | ~20m37s INFO : Vid *CENC 484x272 | 500 Kbps | 1_V_video_2 | avc1.4D401F | 619 Segments | ~20m37s INFO : Vid *CENC 320x180 | 250 Kbps | 1_V_video_4 | avc1.42C00D | 619 Segments | ~20m37s INFO : Aud *CENC 5_A_audio_fra_1 | 128 Kbps | mp4a.40.2 | fr | 618 Segments | ~20m37s INFO : Aud *CENC 5_A_audio_fra_2 | 128 Kbps | mp4a.40.2 | fr | 618 Segments | ~20m37s INFO : Aud *CENC 5_A_audio_fra_3 | 128 Kbps | mp4a.40.2 | fr | 618 Segments | ~20m37s INFO : Aud *CENC 5_A_audio_fra_4 | 128 Kbps | mp4a.40.2 | fr | 618 Segments | ~20m37s INFO : Sub fr | text_fra_sdh | 1 Segment | ~20m37s INFO : Parsing streams... INFO : Selected streams: INFO : Vid *CENC 960x540 | 2000 Kbps | 1_V_video_3 | avc1.4D401F | 619 Segments | ~20m37s INFO : Vid *CENC 320x180 | 250 Kbps | 1_V_video_4 | avc1.42C00D | 619 Segments | ~20m37s INFO : Aud *CENC 5_A_audio_fra_1 | 128 Kbps | mp4a.40.2 | fr | 618 Segments | ~20m37s INFO : Sub fr | text_fra_sdh | 1 Segment | ~20m37s INFO : Save Name: manifest(format=mpd-time-csf,encryption=cenc)_2022-10-13_19-40-39 INFO : Start downloading...Vid 960x540 | 2000 Kbps | 1_V_video_3 | avc1.4D401F WARN : When CENC encryption is detected, binary merging is automatically enabled WARN : Type: cenc WARN : PSSH(WV): EhDj+PcipahMuIgOYTIL1NJr WARN : KID: e3f8f722a5a84cb8880e61320bd4d26b INFO... INFO : [0x1]: Video, h264 (avc1), 960x540 INFO : Binary merging... INFO : Decrypting... INFO : Start downloading...Vid 320x180 | 250 Kbps | 1_V_video_4 | avc1.42C00D WARN : Type: cenc WARN : PSSH(WV): EhDj+PcipahMuIgOYTIL1NJr WARN : KID: e3f8f722a5a84cb8880e61320bd4d26b INFO... INFO : [0x1]: Video, h264 (avc1), 320x180 WARN : manifest(format=mpd-time-csf,encryption=cenc)_2022-10-13_19-40-39.mp4 => manifest(format=mpd-time-csf,encryption=cenc)_2022-10-13_19-40-39.copy.mp4------------------ 100% - 00:00:00 INFO : Binary merging... INFO : Decrypting... INFO : Start downloading...Aud 5_A_audio_fra_1 | 128 Kbps | mp4a.40.2 | fr WARN : Type: cenc WARN : PSSH(WV): EhDj+PcipahMuIgOYTIL1NJr WARN : KID: e3f8f722a5a84cb8880e61320bd4d26b INFO... INFO : [0x5]: Audio, aac (mp4a), 128 kb/s INFO : Binary merging... INFO : Decrypting... INFO : Start downloading...Sub fr | text_fra_sdh INFO... INFO : NaN: Subtitle, webvtt WARN : Extracting VTT(raw) subtitle... INFO : Binary merging... INFO : Done
EDIT: after doing what I should've done in the first place and searched this forum, I find out yt-dlp can download unencrypted videos from RTS:
Code:C:\Users\me>yt-dlp --proxy "http://127.0.0.1:8081" --allow-u -F "https://www.rts.ch/play/tv/les-goldberg/video/geoff-la-bonne-pate-episode-1323-saison-7?urn=urn:rts:video:13449307" WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging. If you experience any issues while using this option, DO NOT open a bug report [SRGSSR] 13449307: Downloading JSON metadata [SRGSSR] 13449307: Downloading m3u8 information [info] Available formats for 13449307: ID EXT RESOLUTION │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR MORE INFO ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── HLS-H264-HD-audio-audio_fra_128000 mp4 audio only │ m3u8 │ audio only unknown [fr] audio_fra_128000 HLS-H264-HD-138 mp4 audio only │ ~ 21.00MiB 139k m3u8 │ audio only mp4a.40.2 139k HLS-H264-HD-402 mp4 320x180 │ ~ 60.87MiB 403k m3u8 │ avc1.42c00d 403k video only HLS-H264-HD-658 mp4 484x272 │ ~ 99.49MiB 658k m3u8 │ avc1.4d401f 658k video only HLS-H264-HD-1374 mp4 640x360 │ ~207.64MiB 1374k m3u8 │ avc1.4d401f 1374k video only HLS-H264-HD-2191 mp4 960x540 │ ~331.17MiB 2192k m3u8 │ avc1.4d401f 2192k video only
Last edited by AbortRetryFail; 13th Oct 2022 at 14:19. Reason: Well, eff me
-
Whaou thank you so much, it's perfect !!
Great job
Edit : Do you think a better resolution is possible ? I saw 960x540, It's not even 720p...Last edited by screamjojo; 13th Oct 2022 at 18:17.
-
Someone else on this forum may know a way - my knowledge is pretty basic - but from what I saw, I would have to say no. I opened the link with Edge and got the same manifest with the < 720p resolution. RTS only appear to use Widevine for American dramas (and optionally so at that); everything else is served up through m3us and 1080p is offered with those shows, so I guess it's intentional?
Yeah, this is intentional: if you filter for "mediaComposition" in devtools, you'll find the JSON where the streams' manifests are defined. Not one of the manifests will give you anything above 960x540Last edited by AbortRetryFail; 14th Oct 2022 at 05:45.
-
-
it seem this site not have encryption. so simply play your video, search m3u8 link from network tab and use one app from here:
https://www.videohelp.com/software/sections/video-streaming-downloaders
like yt-dlp-gui, TVDownloader, TUBE4, MediaDownloader
[Attachment 70231 - Click to enlarge] -
Thank you for all this choice. I'll try them (possibly all) and report if I succeed in downloading from RTS play and which one is best.
-
So far, no luck. I tried MediaDownloader, TVdownloader & StreamFab. I used a VPN to locate in Switzerland. The video will play fine in the browser, but won't download using any of these pieces of software. Here are some of the errors reported. Looks like the video http://www.rts.ch/play/tv/yellowstone/video/cent-ans-ce-nest-rien-episode-18-saison-5?...video:13885651 is DRM protected. Any idea ?
[Attachment 70239 - Click to enlarge]
[Attachment 70240 - Click to enlarge]@ -
work fine with N_m3u8DL-RE
Code:N_m3u8DL-RE -M format=mkv --key 6952cdae0cf84c9187d900392dbaea47:ea359c4cc49908f323706d28766b1d29 "https://rtsvod-euwe.akamaized.net/6056b401-ff9a-4610-b653-a68cfab57021/RTSVOD-e859d165-b1b2.ism/manifest.mpd" --save-name video
-
Finally succeeded with Streamfab after fiddling a little !
[Attachment 70250 - Click to enlarge] -
Hello I'm kind of new and want to download the following video:
https://www.rts.ch/play/tv/-/video/football-fc-wil-stade-lausanne-ouchy?urn=urn:???:wi...eo:rts:1783306
Is there anyone who can help me to download the complete video? -
your video can be easily downloaded with N_m3u8DL-RE
Code:N_m3u8DL-RE "https://srgssrch.akamaized.net/hls/live/2022012/srgssr-hls-stream12-ch-dvr/master.m3u8?start=1694798430&end=1694809541&hdnts=exp%3D1694871990%7Eacl%3D%2Fhls%2Flive%2F2022012%2Fsrgssr-hls-stream12-ch-dvr%2F*%7Ehmac%3D9ca2dfcbf8746be12fe8a906e578fd9e36eb1bf2665872363114e3092b135925" --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" --header "Referer: https://www.rts.ch/" --save-name "master"
https://www.transfernow.net/dl/20230916ASDpJvvM -
Url : https://www.rts.ch/play/tv/riviere-perdue/video/marc-56?urn=urn:rts:video:14636686
Georestricted to Switzerland. Thanks. -
License URL:
Code:https://srg.live.ott.irdeto.com/licenseServer/widevine/v1/SRG/license?contentId=RTSVOD
Code:AAAAMnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABISEIWrxz6/k0JZg7KyN/qd6HU=
Key:
Code:--key 85abc73ebf93425983b2b237fa9de875:a168a6b3299e65ecce014b5428ec3d44
-
Anyone can help download this https://www.rts.ch/play/tv/-/video/-?urn=urn:rts:video:15356160?
-
Code:
--key 00888f2f07f74cdab93c7d6fb6352ee6:85ceb68e503f9f6dfc05c5dac9f88ec3 --key b15834f163cb4c50b82b566749135cbf:d328d75b0a03169570302107f40000f0
Similar Threads
-
Cannot download encrypted m3u8 video, the video works on the website
By krestek in forum Video Streaming DownloadingReplies: 6Last Post: 21st Feb 2022, 14:27 -
Corrupted (?) .ts files (download from RTS.CH)
By ecolek in forum Video Streaming DownloadingReplies: 9Last Post: 6th Feb 2021, 06:23 -
Download HLS video using FFMPEG with separate video and audio URLs?
By oschrndz in forum Video Streaming DownloadingReplies: 2Last Post: 15th Dec 2020, 13:53 -
how to download a portion of video from m3u8 that has separate video audio.
By adi111 in forum Video Streaming DownloadingReplies: 8Last Post: 5th Aug 2020, 14:53 -
more video files listed in Video-Download-Helper-Addon in Firefox
By blanc in forum Video Streaming DownloadingReplies: 0Last Post: 20th Mar 2018, 08:38