Hi everyone,
I have been trying to download this video by using different toolsI have tried using ffmpeg:Code:https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8Also using youtube-dl:Code:ffmpeg -i https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8 -c copy test.mkvBut I get the following error everytime:Code:youtube-dl https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8
VLS is also unable to stream it. It can load the metadata as I see the correct video length, but that's it.Code:[generic] chunklist_b1348000: Requesting header [generic] chunklist_b1348000: Downloading m3u8 information [download] Destination: chunklist_b1348000-chunklist_b1348000.mp4 ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers built with Apple clang version 12.0.0 (clang-1200.0.32.28) configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1_5 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --enable-libzmq --disable-libjack --disable-indev=jack libavutil 56. 51.100 / 56. 51.100 libavcodec 58. 91.100 / 58. 91.100 libavformat 58. 45.100 / 58. 45.100 libavdevice 58. 10.100 / 58. 10.100 libavfilter 7. 85.100 / 7. 85.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 7.100 / 5. 7.100 libswresample 3. 7.100 / 3. 7.100 libpostproc 55. 7.100 / 55. 7.100 [hls @ 0x7febbe009000] Skip ('#EXT-X-VERSION:3') [hls @ 0x7febbe009000] Opening 'http://pulse.atresplayer.com/key.php' for reading [hls @ 0x7febbe009000] Opening 'crypto+https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/media_b1348000_0.ts' for reading [hls @ 0x7febbe009000] Error when loading first segment 'https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/media_b1348000_0.ts' https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8: Invalid data found when processing input ERROR: ffmpeg exited with code 1
This playlist contains the key #EXT-X-KEY:METHOD=AES-128,URI="http://pulse.atresplayer.com/key.php" but still, it cannot download the video data. I thought that as long as the playlist contains where to get the key from, crypto could do its job.
Am I mistaken? Is there any way to correctly obtain and decrypt the video so that it can be played with, say, VLC?
Thank you very much in advance!
+ Reply to Thread
Results 1 to 18 of 18
-
-
What do you mean? Is "https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8" not the original link? Or maybe you mean where the video is posted to be accessible?
In the latter case, that content is supposed to be "premium" so I can only access it with my account. I managed to get this playlist link after logging in my account and retrieving the video data. That's the playlist of the highest resolution of that video available in the platform.
Edit: I will include the link to the platform either way:Code:https://www.atresplayer.com/neox/programas/homo-zapping/temporada-1/capitulo-100-programa-100_5ad49c1d7ed1a84c934af05b/
Last edited by ao8vofa8usibfd; 23rd Feb 2021 at 03:33.
-
yes, i mean this link https://www.atresplayer.com/neox..........
but, as you say, is only with premium access. then either provide the keys to access, or how can you hope for help from other users?
anyway don't post here your login credentials ... -
This is the data you guys need. In this JSON structure you will see a sources array with the original untouched playlists. The m3u8 I provided comes from either the first [0] or third [2] source. I don't exactly remember now. What I do is parse the playlist and obtain all the different resolutions. I gave you guys the best resolution for this episode, around 500p.
Code:{ "id": "5ad49c1d7ed1a84c934af05b", "tipo": "video", "videoType": "EPISODE", "metricType": "EPISODE", "titulo": "Programa 100", "thumbnailUrl": "https://thumbnails.akamaized.net/thumbnails/assets13/atresplayer/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/sprite.jpg", "imgPoster": "https://imagenes.atresplayer.com/atp/clipping/cmsimages02/2018/06/15/40394D31-B3EE-4628-A8E5-29C0A45EFD37/", "positionLogo": "left", "channel": "5a6a17da7ed1a834493ebf6d", "live": false, "sources": [ { "src": "https://deswowa3player.akamaized.net/vsg/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/eshls.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1", "type": "application/vnd.apple.mpegurl" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/manifest_mvtime.mpd", "type": "application/dash+xml" }, { "src": "https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1", "type": "application/hls+legacy" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/manifest_mvtime_vo.mpd", "type": "application/dashvo+xml" } ], "autoplay": true, "omniture": { "name": "Programa 100", "channel": "Neox", "format": "Homo Zapping", "season": "Temporada 1", "genres": [ "Humor", "Entretenimiento" ], "category": "Programas", "episodeNumber": "100", "type": "episodio", "embeddedMode": false, "duration": 1604, "creator": "Atresmedia" }, "heartbeat": { "name": "Programa 100", "channel": "Neox", "format": "Homo Zapping", "season": "Temporada 1", "genres": [ "Humor", "Entretenimiento" ], "category": "Programas", "episodeNumber": "100", "type": "episodio", "embeddedMode": false, "duration": 1604, "creator": "Atresmedia", "rating": "PLUS_16", "publicationDate": "2016-12-03" }, "conviva": { "assetName": "[5ad49c1d7ed1a84c934af05b] - Homo Zapping - Programa 100", "duration": 1604, "custom": { "CMSID": "5ad49c1d7ed1a84c934af05b", "categoryType": "Programas", "channel": "Neox", "contentType": "VOD", "episodeName": "Programa 100", "episodeNumber": "100", "genreList": "Humor,Entretenimiento", "seasonNumber": "Temporada 1", "showTitle": "Homo Zapping", "type": "episodio" }, "customAdv": { "CMSID": "5ad49c1d7ed1a84c934af05b", "categoryType": "Programas", "channel": "Neox", "contentType": "VOD", "content_form": "long_form", "episodeName": "Programa 100", "showTitle": "Homo Zapping" } }, "comscore": { "comscoreTag": "ATRES_PLAYER", "channel": "Neox", "kantar": { "programID": "*null", "firstBroadcastDate": "*null", "firstBroadcastTime": "*null", "typeTvStream": "0001", "kantarGenre": "ENTRETENIMIENTO", "channelId": "5008" }, "content_form": "long_form" }, "youbora": { "title": "Programa 100", "enableAnalytics": true, "accountCode": "antena3tv", "extraparam1": "Neox", "extraparam2": "Homo Zapping", "extraparam3": "Atresplayer", "extraparam4": "Temporada 1" }, "urlHits": "", "duration": 1604, "progress": 0, "playondraw": true, "ageRating": "PLUS_16", "format": { "title": "Homo Zapping" }, "maxQuality": "SD", "playMaxQuality": 4800, "userInfo": { "id": "11508626", "subscriptions": [ { "packageId": 862777 }, { "packageId": 1706986 } ] } }
-
I can also download the file if I download directly from the sources:
Code:"sources": [ { "src": "https://deswowa3player.akamaized.net/vsg/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/eshls.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1", "type": "application/vnd.apple.mpegurl" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/manifest_mvtime.mpd", "type": "application/dash+xml" }, { "src": "https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1", "type": "application/hls+legacy" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/manifest_mvtime_vo.mpd", "type": "application/dashvo+xml" } ]
Example of this file:
Code:#EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=712800,CODECS="avc1.77.31,mp4a.40.5",RESOLUTION=720x404,SUBTITLES="subt" chunklist_b648000.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1 #EXT-X-STREAM-INF:BANDWIDTH=1042800,CODECS="avc1.77.31,mp4a.40.5",RESOLUTION=720x404,SUBTITLES="subt" chunklist_b948000.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1 #EXT-X-STREAM-INF:BANDWIDTH=1482800,CODECS="avc1.77.31,mp4a.40.5",RESOLUTION=720x404,SUBTITLES="subt" chunklist_b1348000.m3u8?pulse=assets13%2F2016%2F11%2F27%2FB588736C-DB0F-460D-810F-CE23D7419E33%2F%7C1614092400%7Ce9962fae57be412346fdef74bb2228f1 #EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subt",LANGUAGE="es",NAME="Spanish",DEFAULT=YES,URI="../vtt/es_subt.vtt"
Every time I try to do that, it does not work, but what I have noticed is that, when I download from the source and then I try the extracted link, then the download is successful!
How can that be? -
Here's another example:
Try to download the following extracted playlist:
Code:https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/75257449-FA8A-494B-9708-821A0A663ED6/es.smil/chunklist_b1348000.m3u8?pulse=assets13%2F2016%2F11%2F27%2F75257449-FA8A-494B-9708-821A0A663ED6%2F%7C1614096000%7Cebd05db04ea571e998c0e63589c0cf39
Code:"sources": [ { "src": "https://deswowa3player.akamaized.net/vsg/_definst_/assets13/2016/11/27/75257449-FA8A-494B-9708-821A0A663ED6/eshls.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2F75257449-FA8A-494B-9708-821A0A663ED6%2F%7C1614096000%7Cebd05db04ea571e998c0e63589c0cf39", "type": "application/vnd.apple.mpegurl" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/75257449-FA8A-494B-9708-821A0A663ED6/es.smil/manifest_mvtime.mpd", "type": "application/dash+xml" }, { "src": "https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/75257449-FA8A-494B-9708-821A0A663ED6/es.smil/playlist.m3u8?pulse=assets13%2F2016%2F11%2F27%2F75257449-FA8A-494B-9708-821A0A663ED6%2F%7C1614096000%7Cebd05db04ea571e998c0e63589c0cf39", "type": "application/hls+legacy" }, { "src": "https://dasha3player.akamaized.net/vsgdash/_definst_/assets13/2016/11/27/75257449-FA8A-494B-9708-821A0A663ED6/es.smil/manifest_mvtime_vo.mpd", "type": "application/dashvo+xml" } ],
-
I'm not sure if I understand you correctly. But https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/75257449-FA8A...c0e63589c0cf39
can be downloaded without any problem because the URL to the key is valid. It is clearkey, I think. N_m3u8DL can download it. Try it yourself. You'll see it can be downloaded.
https://github.com/nilaoda/N_m3u8DL-CLI/releases/tag/2.9.5 -
It can also download encrypted mpd's. Can one of the tools you named do that?
And I don't mean the modified version of yt-dl. But for this here he can also use yt-dl, streamlink or ffmpeg... It will work.
-
I do not have Windows so unfortunately I cannot test that...
And the script I'm building I want it to run in Unix systems.
What I was trying to explain is:
Sources contain URLS ending with playlist.m3u8, but those playlists can contain multiple other playlists inside, called chunklist_[0-9]{n}.m3u8. What I want to offer my users is a list of all the resolutions available. For that I download and parse the playlist.m3u8 to get all the chunklist_[0-9]{n}.m3u8
If I first download playlist.m3u8, then all the chunklist_[0-9]{n}.m3u8 can be downloaded without problems. But if I get a random episode and directly try to download the chunklist_[0-9]{n}.m3u8, then I get error. If I first download the playlist.m3u8 it looks like then I can download chunklist_[0-9]{n}.m3u8 with no issues. Of course that's a problem, because I offer my users the chunklist_[0-9]{n}.m3u8 and not the playlist.m3u8, so when they want to download the chunklist_[0-9]{n}.m3u8, it gives errors. -
Now I cannot seem to be able to download a few episodes in a row... can you guys get any of those?
https://deswowa3player.akamaized.net/vsgtv/_definst_/assets14/2016/11/27/5CFBC56E-CF03...fc8b401cf99780
https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/730E888F-0CBF...fbc3efe2742c2e
https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/173BD59C-F633...73664991aae73a
Thanks in advance for checking -
Hello everybody. I don't have much experience using Youtube-DL. I need help in order to download the following episode:
https://www.atresplayer.com/antena3/programas/al-rincon-de-pensar/temporada-1/capitulo...1a8cd77b5b333/
Can anyone tell me the complete command?
Thanks
Similar Threads
-
How to download aes encrypted m3u8?
By Cluelessidiot in forum Video Streaming DownloadingReplies: 6Last Post: 4th Oct 2020, 14:12 -
How to download encrypted .m3u8 videos? HELP!
By AngelofDarkness in forum Video Streaming DownloadingReplies: 10Last Post: 21st Sep 2018, 17:17 -
How to download encrypted .m3u8 videos? HELP!
By AngelofDarkness in forum Newbie / General discussionsReplies: 0Last Post: 20th Sep 2018, 18:04 -
How do I download AES encrypted m3u8 playlist files
By shraman in forum Video Streaming DownloadingReplies: 2Last Post: 23rd Jul 2018, 09:49 -
Download m3u8 link encrypted
By perwann in forum Video Streaming DownloadingReplies: 0Last Post: 10th Aug 2016, 06:29