Hello, generally I use video downloadhelper for that site but I tried several times yesterday and now but it doesn't work. I got only empty video files that
can't even be played.
Could you give me the code/command line to download them with ffmpeg, please? I really like ffmpeg, it worked quite good for me before.
+ Reply to Thread
Results 1 to 14 of 14
your videos are drm encrypted.
you can use N_m3u8DL-RE to download your videos
N_m3u8DL-RE --key 9ad86dd429915447bc608983700a9a5d:4d3caeab3cbcf601628bb188ddd387d8 --key 08b17f07fd5d59528421df0d82c6463b:06ddb04442857be6429cbaabe8d2e2fb --key f2bea227a52d5eb387e02ca47b50012f:316e10ff12244b29936d94b9d35c8247 "https://vod-das.cdn-0.diff.tf1.fr/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaXAiOiI4Mi4xMjQuMTA2LjIwNSIsImNtY2QiOiIiLCJleHAiOjE2OTQyNzQ4OTEsImdpZCI6IjM5Yzk5ZjZiLWYyNjctNDJiYS1hODI2LTk2NzdiOGE3MGIzOSIsImlhdCI6MTY5NDI2MDQ5MSwiaXNzIjoiZGVsaXZlcnkiLCJtYXhiIjoyNzAwMDAwLCJzdGVtIjoiLzIvVVNQLTB4MC83NC8yOC8xNDAxNzQyOC9zc20vZTJhMWVkMzJlMWMxNjRhZGY5MDQ5OWYzNjk4MzE2YzAxY2QxZTI2NGVlMTdhNDhiMDUxN2U4MTM5MmFkYzZlNS5pc20vMTQwMTc0MjgubXBkIiwic3ViIjoiMzljOTlmNmItZjI2Ny00MmJhLWE4MjYtOTY3N2I4YTcwYjM5In0.AhCYXeYJO59gYFzC5L3niCfPQIHJSohMrvzh47PTaNg/2/USP-0x0/74/28/14017428/ssm/e2a1ed32e1c164adf90499f3698316c01cd1e264ee17a48b0517e81392adc6e5.ism/14017428.mpd" -M format=mp4
N_m3u8DL-RE --key 2c98772d4f515dfa8698649533966d63:ebc3728db7fe297174dd34d60fd51c2f --key 942ee237b5a151b88792fdfa3797e9c7:057a49cc187f01eddc573379eedff19a --key 5d28311175595859b12581df1e4076f9:e44480d8a2f29cac0c38a1eda16f08f0 "https://vod-das.cdn-0.diff.tf1.fr/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjaXAiOiI4Mi4xMjQuMTA2LjIwNSIsImNtY2QiOiIiLCJleHAiOjE2OTQyNzUxODIsImdpZCI6ImY0NTFhMDhmLWZjMDgtNDgwOC1iNTIyLTRmNWEwYzNjMzFmNSIsImlhdCI6MTY5NDI2MDc4MiwiaXNzIjoiZGVsaXZlcnkiLCJtYXhiIjoyNzAwMDAwLCJzdGVtIjoiLzIvVVNQLTB4MC80My80Ny8xNDAxNDM0Ny9zc20vZDk3OTE1NjM4MWM3NzMwMzY0NjBmZTg3MzI5Mzg0ZDY5YWZkMGU2NzhmNzYwMGJiZDFhMmU1ZWI5YWEyN2NkZi5pc20vMTQwMTQzNDcubXBkIiwic3ViIjoiZjQ1MWEwOGYtZmMwOC00ODA4LWI1MjItNGY1YTBjM2MzMWY1In0.36sXzLSk72ysZ6Zb8PVe8I1NrvHyWF__bXZqoiSMHsg/2/USP-0x0/43/47/14014347/ssm/d979156381c773036460fe87329384d69afd0e678f7600bbd1a2e5eb9aa27cdf.ism/14014347.mpd" -M format=mp4
I checked the first one: the browser plugin "stream detector" shows a "mpd" url, which - downloaded - has a section for widevine content protection.
In that case I usually use "yt-dlp --allow-unplayable-formats ..." to download both audio and video track. You'll find the license url when you filter for "drm" (here: https://drm-wide.tf1.fr/proxy)
The keys I found to decrypt the first video:
--key 9ad86dd429915447bc608983700a9a5d:4d3caeab3cbcf601628bb188ddd387d8 --key 08b17f07fd5d59528421df0d82c6463b:06ddb04442857be6429cbaabe8d2e2fb --key f2bea227a52d5eb387e02ca47b50012f:316e10ff12244b29936d94b9d35c8247
Thank you so much @cedric8528
newbie here, but interested in the same: downloading TF1 DRM videos.
I will download N_m3u8DL-RE but my question is (maybe asked 1000 times, sorry) : how do you get the key to provide in the command line? Do you have a link to any post I can start with? Thx a lot =)
now I know where to start.
I have a read in the forum a lot of threads related to «*unlocked physical Android devices*» or virtual CDM:
do I need to go through this as well?
on site provide from cedric in his post above virtual cdm is already included in the site
all you have to do is enter the values
Thanks Iomero, things are getting clear.
Now the next question comes up:
trying to fetch the license for this video:
i have no luck on filtering in Network tool (using Chrome):
[Attachment 73937 - Click to enlarge]
Thanks for your help all, great forum =)
after searching around on the forum, I've searched for "Widevine", that provided the needed URL =)
I could also find the PSSH in the mpd, then thx to the URL provided from Cedric, get my keys and download the video ..
Last edited by YoBruce45; 20th Sep 2023 at 08:11.
since the post above and thanks to the help of cedric8528 and lomero's posts, I have been able to download several videos from TF1 and Auvio.
Also i took the time to surf the forum, in order to understand more about that interesting topic.
Though I am facing 2 questions and I hope someone could light my beginner's understanding
1) what is the advantage for me to use my own (emulated or real) CDM, compared to using an URL like http://184.108.40.206:8080/ ?
Of course, I am dependent of the good fonctionning of that URL, but as long as it works, why shall i go through the steps described in
2) I was positively surprised to see that the request to get my keys for websites like TF1 and Auvio went smooth with the default headers defined in http://220.127.116.11:8080/.
The default headers are:
[Attachment 74003 - Click to enlarge]
But why does it work this way? In other words: in case it wouldn't, where do i fetch the headers I need to perform the request?
Thanks again to that great forum , peace
2.The answer should be found here! https://forum.videohelp.com/threads/407216-Decryption-The-Dungeon-of-Despair