VideoHelp Forum
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Hi everyone,

    I have been trying to download this video by using different tools
    Code:
    https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8
    I have tried using ffmpeg:
    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.mkv
    Also using youtube-dl:
    Code:
    youtube-dl https://deswowa3player.akamaized.net/vsgtv/_definst_/assets13/2016/11/27/B588736C-DB0F-460D-810F-CE23D7419E33/es.smil/chunklist_b1348000.m3u8
    But I get the following error everytime:
    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
    VLS is also unable to stream it. It can load the metadata as I see the correct video length, but that's it.

    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!
    Quote Quote  
  2. you forgot to write original video link...
    Quote Quote  
  3. Originally Posted by lomero View Post
    you forgot to write original video link...
    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/
    , but I think it's impossible to retrieve the playlists unless you are premium.
    Last edited by ao8vofa8usibfd; 23rd Feb 2021 at 04:33.
    Quote Quote  
  4. 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 ...
    Quote Quote  
  5. 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
          }
        ]
      }
    }
    Quote Quote  
  6. 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"
        }
      ]
    The problem I am having is that: I want the tool I'm coding to read the m3u8 files, get all the playlists individually -if you download the playlists with a browser and open the m3u8 file with a text editor you will see what I mean so that I can arrange them in different qualities and offer the user the individual links -again, extracted from the original m3u8 file-.

    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"
    I can download the episode no problem from the sources directly, what I want to do is to be able to download the episode by providing only the m3u8 url that has been extracted from the original one.

    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?
    Quote Quote  
  7. 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
    Without trying to download first from the original sources below:
    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"
        }
      ],
    Quote Quote  
  8. Member
    Join Date
    Mar 2019
    Location
    Germany
    Search PM
    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
    Quote Quote  
  9. why use N_m3u8DL that yt-dl can't do? or ffmpeg...
    Quote Quote  
  10. Member
    Join Date
    Mar 2019
    Location
    Germany
    Search PM
    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.
    Quote Quote  
  11. Originally Posted by hvq View Post
    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
    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.
    Quote Quote  
  12. 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
    Quote Quote  
  13. login is required
    Quote Quote  
  14. psaframe
    Join Date
    Mar 2021
    Location
    Algeria
    Search PM
    Need access.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!