+ Reply to Thread
Results 211 to 240 of 321
-
-
[Attachment 69628 - Click to enlarge] using N_m3u8DL-RE_Beta_win-x64 to capture a live stream on Foxtel. 2 things.. First, how do i stop it because when i did the test run and hit ctrl c it did not merge the files. And 2, how do i find the 720 or 1080p stream for this? -
-
I tested on this video....
https://watch.mech-plus.com/player/25338/stream?assetType=episodes&playlist_id=54
Seems to be classic widevine with PSSH and Licence (https://manifest.prod.boltdns.net/license/v1/cenc/widevine/....)...and classic headers... -
https://switcher.cdn.svt.se/resolve/243ecbd5-0af3-42b6-ba4e-f508c79fd42c/dash-full.mpd
https://switcher.cdn.svt.se/resolve/97d90e7a-0f71-43b1-a794-9ef64ee062f6/dash-full.mpd
I have these 2 URL's I would like to download through ffempeg. They are not DRM protected. How do I proceed?
C:\Windows\system32>ffmpeg -i "https://switcher.cdn.svt.se/resolve/243ecbd5-0af3-42b6-ba4e-f508c79fd42c/dash-full.mpd" -c copy hithere.mp4
ffmpeg version git-2020-08-28-ccc7120 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.1 (GCC) 20200805
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 58.100 / 56. 58.100
libavcodec 58.101.100 / 58.101.100
libavformat 58. 51.101 / 58. 51.101
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
https://switcher.cdn.svt.se/resolve/243ecbd5-0af3-42b6-ba4e-f508c79fd42c/dash-full.mpd: Invalid data found when processing input
Why can't my ffmpeg download it? Do I have a wrong version or something? -
-
Thanks for the help, but it does not work. Any other link I try to download on ffmpeg through "privatkopiera" extension works.
But the ones you gave me does not work and nothing really happens. This is the code I get. The links you gave worked on a site that downloads mpd. But it does not work on my ffmpeg?
Microsoft Windows [Version 10.0.19045.2604]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>ffmpeg -i "https://svt-vod-4g.akamaized.net/d0/world/20211123/243ecbd5-0af3-42b6-ba4e-f508c79fd42c/dash-full.mpd" -c copy hithere.mp4
ffmpeg version git-2020-08-28-ccc7120 Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 10.2.1 (GCC) 20200805
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
libavutil 56. 58.100 / 56. 58.100
libavcodec 58.101.100 / 58.101.100
libavformat 58. 51.101 / 58. 51.101
libavdevice 58. 11.101 / 58. 11.101
libavfilter 7. 87.100 / 7. 87.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
C:\Windows\system32>
-
Update your version of ffmpeg.
Works also with yt-dlp
[Attachment 69784 - Click to enlarge] -
I ran your exact command and it works just fine. Something is wrong on your end, try updating ffmpeg. Or just use yt-dlp.
Code:Input #0, dash, from 'https://svt-vod-4g.akamaized.net/d0/world/20211123/243ecbd5-0af3-42b6-ba4e-f508c79fd42c/dash-full.mpd': Duration: 00:02:02.00, start: -0.042667, bitrate: 0 kb/s Program 0 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080 [SAR 1:1 DAR 1:1], 1353 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: variant_bitrate : 3952242 id : 0 Stream #0:1: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x720 [SAR 1:1 DAR 1:1], 694 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: variant_bitrate : 1889744 id : 1 Stream #0:2: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 540x540 [SAR 1:1 DAR 1:1], 536 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: variant_bitrate : 1327596 id : 2 Stream #0:3: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 360x360 [SAR 1:1 DAR 1:1], 384 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: variant_bitrate : 702736 id : 3 Stream #0:4: Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 234x234 [SAR 1:1 DAR 1:1], 215 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: variant_bitrate : 361005 id : 4 Stream #0:5(sv): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: variant_bitrate : 196207 id : 5 Output #0, mp4, to 'hithere.mp4': Metadata: encoder : Lavf58.76.100 Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080 [SAR 1:1 DAR 1:1], q=2-31, 1353 kb/s, 25 fps, 25 tbr, 12800 tbn, 12800 tbc (default) Metadata: variant_bitrate : 3952242 id : 0 Stream #0:1(sv): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: variant_bitrate : 196207 id : 5 Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:5 -> #0:1 (copy) Press [q] to stop, [?] for help [dash @ 0x55a93a71d580] No longer receiving stream_index 10 bitrate=N/A speed=N/A [dash @ 0x55a93a71d580] No longer receiving stream_index 2 [dash @ 0x55a93a71d580] No longer receiving stream_index 3 [dash @ 0x55a93a71d580] No longer receiving stream_index 4 frame= 3073 fps=210 q=-1.0 Lsize= 40515kB time=00:02:02.92 bitrate=2700.1kbits/s speed=8.41x video:37541kB audio:2882kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.228966%
-
Yes, I now updated it and it works fine! Thanks!
Some questions tho!
What browser are you using? I can't find the mpd links you found? I just see a bunch of split mp4 files in n audio and video files, which can't be opened. Those mpd links I posted where the only ones I found. Did you convert the mp4's into mpd's or something? I just looked in the network tab on EDGE.
And how did you find the original url link itself? I mean where those clips were on.
Also, my files always get saved in system32, how can I change directory in ffmpeg forever? I don't want to write directory everyime when I download something. I want it to know that, how can I change it? -
The real links are inside the "switcher" mpds. Check the Response tab, or open them in a new tab or a text editor and you'll see it.
Unless you use ffmpeg in a script, I don't think you can set the output path permanently without specifying it each time. I'd highly suggest using yt-dlp instead. -
Is there a tutorial for how to use yt-dlp?
The extension "privatkopiera" finds the m3u8, for both video and audio, but where does the m3u8 links hide? I can't find them in the mp4's or the mpd's.
https://www.svt.se/nyheter/utrikes/ryskt-stridsflygplan-har-krockat-med-amerikansk-dronare
I download from Swedish television's own website. For example, the link above has this m3u8 stream for the video, that is what the extension Privatkopiera gives me, but I can't find that myself. Do you know where it is located?
https://svt-vod-1q.akamaized.net/d0/world/20230314/ded86403-f6f0-4a5e-9c2a-0918e0acf9b...0p25-2478.m3u8 -
Yes, there are tons of tutorials for yt-dlp out there. It's a very popular tool, just google search or go through their github: https://github.com/yt-dlp/yt-dlp
You will be served different manifests depending on what system you're on. If you're on desktop, for example, you'll get mpd. If you're on an iphone, you'll get m3u8 instead. So it's likely that "Privatkopiera" is either using a different user agent, or is sniffing out the m3u8 through their API. It's all essentially the same, but mpd will give you slightly higher bitrate:
m3u8:
Code:ID EXT RESOLUTION FPS │ TBR PROTO │ VCODEC VBR ACODEC MORE INFO ──────────────────────────────────────────────────────────────────────────────────────────────── AAC-190-2ch-Svenska mp4 audio only │ m3u8 │ audio only unknown [sv] Svenska 473 mp4 234x234 25 │ 473k m3u8 │ avc1.42c01f 473k video only 705 mp4 360x360 25 │ 705k m3u8 │ avc1.4d401f 705k video only 1105 mp4 540x540 25 │ 1106k m3u8 │ avc1.4d401f 1106k video only 1547 mp4 720x720 25 │ 1547k m3u8 │ avc1.4d401f 1547k video only 2753 mp4 1080x1080 25 │ 2753k m3u8 │ avc1.640029 2753k video only
Code:ID EXT RESOLUTION FPS │ TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ───────────────────────────────────────────────────────────────────────────────────────────────────── 5 m4a audio only │ 196k dash │ audio only mp4a.40.2 196k 48k [sv] DASH audio, m4a_dash 4 mp4 234x234 25 │ 415k dash │ avc1.42c01f 415k video only DASH video, mp4_dash 3 mp4 360x360 25 │ 749k dash │ avc1.4d401f 749k video only DASH video, mp4_dash 2 mp4 540x540 25 │ 1317k dash │ avc1.4d401f 1317k video only DASH video, mp4_dash 1 mp4 720x720 25 │ 1843k dash │ avc1.4d401f 1843k video only DASH video, mp4_dash 0 mp4 1080x1080 25 │ 3385k dash │ avc1.640029 3385k video only DASH video, mp4_dash
-
trying to get the keys using Mr. Vegas excellent video and ive come across this error, would anyone happen to know what this means? I googled it and could not find anything.... Thanks for any help!
[Attachment 70964 - Click to enlarge]
[Attachment 70965 - Click to enlarge] -
added this heades:
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0',
'Accept': '*/*',
'Accept-Language': 'en-US,en;q=0.5',
# 'Accept-Encoding': 'gzip, deflate, br',
'AcquireLicenseAssertion': 'ORmpaZCnbEWlc0TmmEadRp5ACH1EbQGiY/p3wksawB1jVyt1h7U3c68qtEON2+ON7HtACqifXhlFaaDF77Sx vrJB5vlT0ztNvsXXBKaHUTGICuOUEuyq8fmW555D60KAPymxNc 0Ktx+tB/VvmW3SyTgd0pogmjUl7rNFDPlKKxsHRk9Ay+K2T+ii8rBFpKGQ rB1439noFK1f/HglffheVXP35Ax1Ne2aXUT9+7Wt2S3/E1jR+kLtaSoR01zPqUPR/Oe4L4VLptWP/t8PgYRWhwNv/332FS7FpO6Ydh/eKs+j35CnbAw3cLgkGQd93eyR/3DoLo1ZToKJyjTmFwFljCjOZaf+VOH3gOzZzzqNfHDNpG+YeYq rPK5TFFWokuJE8IOgdWIgV7FcCWKCOLPx4oiBwaEkB3LwV+0iq H7e9euuwgSgSY7QUP0yCQzFwV6UhB1Y8VUZInpkPaK7a9Ml6DL C//42JZEU86sRkeHUq8x0JOC5bHMY31/CR7yMX34uYMRlDh71u1TB9u6f7GMJaYcdjNgjyLTUMGJMVaw4t Q8Dw27EHmEu6+wH/yH4gMV++UnRwgZd3o4mpsk2bpbyk653lBzt35smSgEibKV0fBM wfuOdIOPAFvSSpnIYbkOsLsU/Zjr729dB1z1CDpuUuTPNoRWvf0OcVLYs1JQP6PNqqPMt2bBwZO 9z5C3D2Hl7SmUp+3HLa76OP4G1He+xRv5CCllK1DXQ8gniLrNg dYL2wyGOoiOFajkiP1tqMFCNSzYKViEaewWpESpnSxLqLgCZgY cQZHiIsUrAU58R2g4op/ILjUxxzfkRDTAVcq0HZnGOl9ROF4pVP0bxA2S1ve/uzKGeAn7Ti/afJLueV1YcetMFmA6QOgfHF1KbDFMcUwv8xi0gHmawGCgkjB82 KXj5r+7oOJZo4qGgGtk0lVZ+h5KB41hX4z/htCfCqP70aive221ZbQ8fuCmie/7jJB2OVLUUTc88CSuTrYVv91ZKOVvtfcqM8upYwTXyQ+zGN3/h0pjh9RJJsn907AwZv/nhIPcLEahCYdxOAbuowCK6otOzqpecynPunoCXwnlygvaQld7M emKbCcgTAcyGspz51399GgRN8k8LanPIeH1wWn2Luds97idui5 DOsDDtdeOsQ/jU66fT6AlE+BeGde0CwqleeTYr5m8x56E+V1SZpQhtjTl6F+ru +FQomhgM',
'Origin': 'https://lemino.docomo.ne.jp',
'DNT': '1',
'Connection': 'keep-alive',
'Referer': 'https://lemino.docomo.ne.jp/',
'Sec-Fetch-Dest': 'empty',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Site': 'same-site',
# Requests doesn't support trailers
# 'TE': 'trailers',
'Content-Type': 'application/x-www-form-urlencoded',
}
data = '^\b^\x04'
response = requests.post('https://drm.lemino.docomo.ne.jp/widevine_license', headers=headers, data=data)
pssh: AAAAWXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAADkSEG9fwE YzG0jsvZ6QwhpQNRMaDXdpZGV2aW5lX3Rlc3QiEP6ReDafH067 vPVV3bz+txRI49yVmwY=
[Attachment 70970 - Click to enlarge] -
your key
Code:6f5fc046331b48ecbd9e90c21a503513:2d880677eed496d14bf9f02409e8c6c8
-
Use only 'AcquireLicenseAssertion' as header.
[Attachment 70972 - Click to enlarge] -
Make sure that you're passing in the AcquireLicenseAssertion token as below in the Headers section and you should be good.
[Attachment 70973 - Click to enlarge] -
thats a wild assumption that they were referring to you....
https://youtu.be/mQZmCJUSC6g?t=53 -
-
[Attachment 72088 - Click to enlarge]
is someone here to explain why it only recognizes streamfab mpd doesn't start the download -
StreamFab v6.1.1.0 in your screenshot is quite out of date. As you probably know it's updated very frequently, invariably to fix problems with downloading/decrypting from various providers. It's currently at v6.1.2.8 (June 19th). Changelogs for new releases and what's been fixed can be found on their forums.
Similar Threads
-
Download encrypted video via DRM protected MPD manifest
By Beta2k in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jan 2024, 10:47 -
mpd protected with DRM?
By chisdchisdq in forum Video Streaming DownloadingReplies: 21Last Post: 24th Mar 2022, 22:14 -
How to download mpd stream (DRM protected)?
By bodasaud in forum Video Streaming DownloadingReplies: 5Last Post: 3rd Feb 2021, 07:41 -
Downloading mpd stream (DRM protected?)
By odyssey1234 in forum Video Streaming DownloadingReplies: 8Last Post: 14th Aug 2019, 21:26 -
Impossible Website: MPD / Fragmented Video / DRM Protected - Need Help!
By dynrte in forum Video Streaming DownloadingReplies: 1Last Post: 2nd Sep 2018, 23:03