I am trying to download a stream from player.siriusxm.com
It is audio stream with HLS encryption.
The m3u8 file is here https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583 590822_3ad3dbea085b47753d9ef03b715211ca&consumer=k 2&gupId=CA22AD559CFCD6593660CE82CFDBAEC6"
But got this error:
Is there any way to downlaod this such of stream? Thank you!Code:ffmpeg -allowed_extensions ALL -i "https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583590822_3ad3dbea085b47753d9ef03b715211ca&consumer=k2&gupId=CA22AD559CFCD6593660CE82CFDBAEC6" -acodec copy -absf aac_adtstoasc "metopera.mp4" ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.101 / 58. 55.101 libavformat 58. 31.104 / 58. 31.104 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.101 / 7. 58.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [hls @ 00000247ca5c9280] Skip ('#EXT-X-ALLOW-CACHE:NO') [hls @ 00000247ca5c9280] Skip ('#EXT-X-VERSION:1') [hls @ 00000247ca5c9280] Opening 'https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8' for reading [https @ 00000247cc434ac0] HTTP error 403 Forbidden https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583590822_3ad3dbea085b47753d9ef03b715211ca&consumer=k2&gupId=CA22AD559CFCD6593660CE82CFDBAEC6: Server returned 403 Forbidden (access denied)
+ Reply to Thread
Results 1 to 23 of 23
-
-
player.sirusxm.com than select metopera channel
m3u8 link:
https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanoper...3u8?token=1583 590822_3ad3dbea085b47753d9ef03b715211ca&consumer=k 2&gupId=CA22AD559CFCD6593660CE82CFDBAEC6" -
Hello, That Server Error 403 means that it's impossible to download streams?
Or wait ...Last edited by sysanin; 8th Mar 2020 at 16:24.
-
-
Tried several code line like these:
HTML Code:ffmpeg -headers Mozilla/5.0 "https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583856935_daab60a2ba8564b7897c00f03faca1cf&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" [url=https://www.videohelp.com/software/ffmpeg]ffmpeg[/url] version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.101 / 58. 55.101 libavformat 58. 31.104 / 58. 31.104 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.101 / 7. 58.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [NULL @ 000001918a698d00] Unable to find a suitable output format for 'https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583856935_daab60a2ba8564b7897c00f03faca1cf&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4' [url]https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583856935_daab60a2ba8564b7897c00f03faca1cf&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4:[/url] Invalid argument
Code:ffmpeg.exe -headers Mozilla/5.0 "Referer: https://player.siriusxm.com/all-channels" -i "https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583859590_e77b050f577f04aa333e6434ce2f3cef&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" -c copy metrop.mp4 ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.101 / 58. 55.101 libavformat 58. 31.104 / 58. 31.104 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.101 / 7. 58.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [hls @ 00000255219dab80] Skip ('#EXT-X-ALLOW-CACHE:NO') [hls @ 00000255219dab80] Skip ('#EXT-X-VERSION:1') [hls @ 00000255219dab80] Opening 'https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8' for reading [https @ 0000025521aa28c0] HTTP error 403 Forbidden https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583859590_e77b050f577f04aa333e6434ce2f3cef&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4: Server returned 403 Forbidden (access denied)
Code:youtube-dl. "https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1583856935_daab60a2ba8564b7897c00f03faca1cf&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" [generic] metropolitanopera_variant_large_v3: Requesting header [generic] metropolitanopera_variant_large_v3: Downloading m3u8 information [download] Destination: metropolitanopera_variant_large_v3-metropolitanopera_variant_large_v3.mp4 ffmpeg version N-94664-g0821bc4eee Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 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-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-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.101 / 58. 55.101 libavformat 58. 31.104 / 58. 31.104 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.101 / 7. 58.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [https @ 00000239c084a700] HTTP error 403 Forbidden https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8: Server returned 403 Forbidden (access denied) ERROR: ffmpeg exited with code 1
Last edited by pedrothelion; 10th Mar 2020 at 11:51.
-
New command:
Code:streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 AOL/9.8 AOLBuild/4346.2019.US Safari/537.36" --http-header "Referer=https://player.siriusxm.com/home/foryou" "hlsvariant://https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1584014363_36b29731b14d8ecccfd054e87c8bb51f&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" best -o metropolitan.ts [cli][info] Found matching plugin hls for URL hlsvariant://https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1584014363_36b29731b14d8ecccfd054e87c8bb51f&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4 [cli][info] Available streams: 35k (worst), 70k, 105k, 281k (best) [cli][info] Opening stream: 281k (hls) [cli][error] Try 1/1: Could not open stream <HLSStream('https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8')> (Could not open stream: Unable to open URL: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8 (403 Client Error: Forbidden for url: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8)) error: Could not open stream <HLSStream('https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8')>, tried 1 times, exiting
Code:HEADER REQUEST: Host: siriusxm-priprodlive.akamaized.net User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0 Accept: / Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate, br Origin: https://player.siriusxm.com/ DNT: 1 Connection: keep-alive Referer: https://player.siriusxm.com/home/foryou HTTP/1.1 200 OK Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 X-Powered-By: PHP/5.4.16 Access-Control-Allow-Origin: https://player.siriusxm.com/ Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: Content-Length Content-Encoding: gzip Content-Length: 206 CDN-Origin-Protocol: HTTP Expires: Thu, 12 Mar 2020 11:39:25 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache Date: Thu, 12 Mar 2020 11:39:25 GMT Connection: keep-alive Vary: Accept-Encoding Akamai-Mon-Iucid-Del: 140697 Alt-Svc: quic=":443"; v="48,46,43,39"; ma=93600 Content-Type: application/x-mpegURL
Can anyone point me in the right direction?Last edited by pedrothelion; 12th Mar 2020 at 06:04.
-
How is this NOT completely against policy?!!
They're encrypted for a reason. You aren't supposed to have access to them - ever - without using their proprietary (and DRM compliant) players.
Scott -
According to lingyi, an expert about the forum rules, "removal of DRM isn't a banned topic". From this post;
But the stream in question doesn't even really have DRM. It does use hls with an aes key, but this isn't considered drm in the streaming industry because the key isn't secured from direct download. -
-
thanks for the reply though I haven't understood much ...
I tried this command:
Code:C:\Program Files (x86)\Streamlink\bin>streamlink --http-header "User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0" --http-header "Referer=https://https//player.siriusxm.com/home/foryou" --http-header "Origin=https://player.siriusxm.com/" "hlsvariant://https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1584019657_bf15d59de0158b680edfd414fdb0f91c&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4" best -o metropolitan.mp4 [cli][info] Found matching plugin hls for URL hlsvariant://https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/metropolitanopera_variant_large_v3.m3u8?token=1584019657_bf15d59de0158b680edfd414fdb0f91c&consumer=k2&gupId=3BDA15C5F23ADEEFE7B02D01A66968D4 [cli][info] Available streams: 35k (worst), 70k, 105k, 281k (best) [cli][info] Opening stream: 281k (hls) [cli][error] Try 1/1: Could not open stream HLSStream('https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8') (Could not open stream: Unable to open URL: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8 (403 Client Error: Forbidden for url: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8)) error: Could not open stream HLSStream('https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_256k_v3/metropolitanopera_256k_large_v3.m3u8'), tried 1 times, exiting
Code:Host: siriusxm-priprodlive.akamaized.net User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0 Accept: / Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate, br Origin: https://player.siriusxm.com/ DNT: 1 Connection: keep-alive Referer: https://player.siriusxm.com/home/foryou HTTP/1.1 200 OK Server: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/5.4.16 X-Powered-By: PHP/5.4.16 Access-Control-Allow-Origin: https://player.siriusxm.com/ Access-Control-Allow-Credentials: true Access-Control-Expose-Headers: Content-Length Content-Encoding: gzip Content-Length: 206 CDN-Origin-Protocol: HTTP Expires: Thu, 12 Mar 2020 11:39:25 GMT Cache-Control: max-age=0, no-cache, no-store Pragma: no-cache Date: Thu, 12 Mar 2020 11:39:25 GMT Connection: keep-alive Vary: Accept-Encoding Akamai-Mon-Iucid-Del: 140697 Alt-Svc: quic=":443"; v="48,46,43,39"; ma=93600 Content-Type: application/x-mpegURL
-
Hello to everyone, and I hope you're healthy!
I know that can use youtube-dl to download AES-128 encrypted streams only if you have the key.
Since I managed to get the aes-128 key how can I implement it in the master.m3u8 URL to feed it to youtube-dl along with cookie?
So what command line shall I use?
Thank you!Last edited by pedrothelion; 28th Apr 2020 at 09:49.
-
you can't download it.
Code:[hls,applehttp @ 038e79c0] Opening 'https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3/key/1' for reading [https @ 050d92e0] HTTP error 403 Forbidden Unable to open key file https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3/key/1 [hls,applehttp @ 038e79c0] Opening 'crypto+https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3/metropolitanopera_64k_1_042871735382_00286891_v3.aac' for reading [https @ 05462ac0] HTTP error 403 Forbidden [crypto @ 0512a840] Unable to open resource: https://siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3/metropolitanopera_64k_1_042871735382_00286891_v3.aac [hls,applehttp @ 038e79c0] Failed to open segment of playlist 0
-
-
-
I need the tool
-
Last edited by lomero; 27th May 2020 at 10:10.
-
-
site?? on your attach i see aac (audio) file... what does it mean??
Code:siriusxm-priprodlive.akamaized.net/AAC_Data/metropolitanopera/HLS_metropolitanopera_64k_v3
Complete name : \sirius\27.05.2020.ts
Format : ADTS
Format/Info : Audio Data Transport Stream
File size : 14.0 MiB
Overall bit rate mode : Variable
FileExtension_Invalid : aac aacp adts
Complete name : \sirius\27.05.2020 [Fact 160].mp3
Format : MPEG Audio
File size : 41.3 MiB
Duration : 30 min 4 s
Overall bit rate mode : Variable
Overall bit rate : 192 kb/s
Writing library : LAME3.100
Complete name : \sirius\27.05.2020 [Distorted].aac
Format : ADTS
Format/Info : Audio Data Transport Stream
File size : 33.5 MiB
Overall bit rate mode : Variable
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 33.5 MiB (100%)
The spectra of all files are almost the samebut the sizes are different
Checked by the program Fakin The Funk
Please let me knowLast edited by sysanin; 29th May 2020 at 08:38. Reason: Removed unnecessary information
Similar Threads
-
Help downloading AES-encrypted HLS video stream
By Woodswolf in forum Video Streaming DownloadingReplies: 26Last Post: 25th May 2019, 14:20 -
Help me with AES encrypted HLS downloading ?
By shraman in forum Video Streaming DownloadingReplies: 0Last Post: 30th Jul 2018, 06:54 -
Help downloading AES-encrypted HLS video stream
By vidder in forum Video Streaming DownloadingReplies: 3Last Post: 4th Jul 2018, 17:24 -
Looking for HLS dvr or HLS time-shift record
By Alien51 in forum Newbie / General discussionsReplies: 0Last Post: 15th Mar 2018, 23:48 -
how to combine encrypted ts files using ffmpeg(hls protocol)
By asdasdqqq in forum Video Streaming DownloadingReplies: 9Last Post: 29th Aug 2016, 06:12