VideoHelp Forum
+ Reply to Thread
Results 1 to 13 of 13
Thread
  1. The m3u8 header
    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    ## Created with Unified Streaming Platform(version=1.9.5)
    #EXT-X-MEDIA-SEQUENCE:1
    #EXT-X-INDEPENDENT-SEGMENTS
    #EXT-X-TARGETDURATION:15
    #USP-X-TIMESTAMP-MAP:MPEGTS=900000,LOCAL=1970-01-01T00:00:00Z
    #EXT-X-KEY:METHOD=AES-128,URI="//goose.vzaar.com/keys",IV=0x18E88A373C6469FE4A62A86B749A7D01
    #EXTINF:10.641, no desc
    m3u8
    Code:
    https://fable.vzaar.com/v4/uspaes/tYh0-_34aHY0/19613550.ism/.m3u8?ts=1550719717&s=Qcg3RmVh4YY9fbFW4pe0g47MPPo%3D
    The key file is protected. so ffmpeg and streamlink don't work

    Code:
    streamlink --http-header "Referer=https://view.vzaar.com/19613556/player?uss_token=2.20190217215722.663e996c11a598f7b188885cc0a6734f&apiOn=true&hideFullScreen=true"  --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" --http-header "Origin=https://view.vzaar.com" "https://fable.vzaar.com/v4/uspaes/tBKP830q5ISo/19613556.ism/.m3u8?ts=1550438843&s=p7GyiOX1TtrMGvildn4VsmtVVJo%3D" best -o video.mp4
    There's https://github.com/e2iplayer/hlsdl which converts m3u to ts with AES decryption support. Yes, I got a 122 MB data output file but I am not sure if the file is good. I am not familiar with ts files. I know they can be converted with ffmpeg.

    Code:
    ffmpeg -allowed_extensions ALL -i "../vid" -bsf:a aac_adtstoasc  -vcodec copy -c copy -crf 50 check.mp4
      libavutil      56. 22.100 / 56. 22.100
      libavcodec     58. 35.100 / 58. 35.100
      libavformat    58. 20.100 / 58. 20.100
      libavdevice    58.  5.100 / 58.  5.100
      libavfilter     7. 40.101 /  7. 40.101
      libswscale      5.  3.100 /  5.  3.100
      libswresample   3.  3.100 /  3.  3.100
      libpostproc    55.  3.100 / 55.  3.100
    vid: Invalid data found when processing input


    Code:
    ./hlsdl "https://fable.vzaar.com/v4/uspaes/tYh0-_34aHY0/19613550.ism/.m3u8?ts=1550719717&s=Qcg3RmVh4YY9fbFW4pe0g47MPPo%3D" -b -v   -o ../vid
    
    > START media_playlist_get_links
    > END media_playlist_get_links
    HLS Stream is AES-128 encrypted.
    Media Playlist parsed successfully.
    Downloading segments.
    {"d_t":"vod"}
    {"t_d":4008,"d_d":0, "d_s":0}
    Downloading part 1
    Error: Getting key-file [https://goose.vzaar.com/keys] failed http_code[404].
    Error: AES128_CBC_DecryptUpdate failed: 0, in_size: 403456, out_size: 403440
    {"t_d":4008,"d_d":10,"d_s":403440}
    Downloading part 2
    Error: Getting key-file [https://goose.vzaar.com/keys] failed http_code[404].
    Error: AES128_CBC_DecryptUpdate failed: 0, in_size: 340288, out_size: 340272
    Any ideas guys on what direction I can try next
    Last edited by xyzo; 20th Feb 2019 at 21:30.
    Quote Quote  
  2. @LZAA
    https://pastebin.com/Z3S9bzzf
    Do you have the key file?
    Quote Quote  
  3. Member Emeritus
    Join Date
    May 2014
    Search PM
    Use youtube-dl and ffmpeg with the first instance url.

    19613556

    It is useful to learn fundamental electronics theory, although this guy's presentation is a bit lacking at times.
    Quote Quote  
  4. @ponens
    Noice!! The first url instance, do you mean the .ts url instances?
    Code:
    youtube-dl -f 0  "http://goose.vzaar.com/tXbP_-rRZAzM/19509657.ism?ts=1550506452&s=P68ME9JNiy0rWFkASwA7Dq8gnQY="
    ??

    or

    Code:
    youtube-dl -f 0  "https://fable.vzaar.com/v4/uspaes/tXbP_-rRZAzM/19509657.ism/19509657-a_original=56000-v_original=175000.m3u8?ts=1550506452&s=P68ME9JNiy0rWFkASwA7Dq8gnQY="
     
    libavutil      56. 22.100 / 56. 22.100
      libavcodec     58. 35.100 / 58. 35.100
      libavformat    58. 20.100 / 58. 20.100
      libavdevice    58.  5.100 / 58.  5.100
      libavfilter     7. 40.101 /  7. 40.101
      libswscale      5.  3.100 /  5.  3.100
      libswresample   3.  3.100 /  3.  3.100
      libpostproc    55.  3.100 / 55.  3.100
    [hls,applehttp @ 0x5558b2058e40] Opening 'https://goose.vzaar.com/keys' for reading
    [https @ 0x5558b2667500] HTTP error 404 Not Found
    Unable to open key file https://goose.vzaar.com/keys
    I'm doing something wrong
    Quote Quote  
  5. Member Emeritus
    Join Date
    May 2014
    Search PM
    By first instance url, I mean the parent m3u8, instead of the child m3u8.

    It turns out that is wrong anyway. I had thought that youtube-dl passed the query string parameters from the parent m3u8 supplied on the command line, to the key url - which is needed to download the key.

    But it turns out that the default youtube-dl code does not do this. I was using modified youtube-dl.

    I can't think of another easy solution offhand other than to get the key from the browser.
    Quote Quote  
  6. Retrieving the key, I think will be a bit challenging. I don't think that's an easy solution at all. An easier alternative, I think would be your solution with modified YT-dl. If you don't mind sharing your modified youtube-dl or if you can just elaborate on how exactly is it modified
    Last edited by xyzo; 19th Feb 2019 at 23:33.
    Quote Quote  
  7. Last edited by sekininsha; 20th Feb 2019 at 22:25.
    責任者-MDX
    Quote Quote  
  8. I found this thread https://forum.videohelp.com/threads/390844-How-to-download-from-this-website trying tube digger doesn't work with m3u8 files. I am not sure how xlmpaler managed to work it out. I am still stuck with this, I do know the Cookie parameters values. Can that be used w/streamlink or youtube-dl to get a valid session? If anybody has a solution pls share your knowledge thanks
    Quote Quote  
  9. That's the video that Ponens managed to extract from the m3u8 in the first post. @sekininsha

    Edit: m3u8 link in the first post was expired
    updated it here it is
    Code:
    https://fable.vzaar.com/v4/uspaes/tYh0-_34aHY0/19613550.ism/.m3u8?ts=1550719717&s=Qcg3RmVh4YY9fbFW4pe0g47MPPo%3D
    Last edited by xyzo; 20th Feb 2019 at 21:32.
    Quote Quote  
  10. Member Emeritus
    Join Date
    May 2014
    Search PM
    Tubedigger should detect the video if it is played from the initial webpage where it is located.
    Quote Quote  
  11. I ran tubedigger but it hangs. it starts google fine but it hangs once I start searching for anything. Can someone think of any other alternatives or if someone is generous enough to help me convert rest of the vids (they are not much lmao
    Image Attached Thumbnails Click image for larger version

Name:	udiggerhangscreen.png
Views:	364
Size:	40.6 KB
ID:	48160  

    Last edited by xyzo; 22nd Feb 2019 at 19:30.
    Quote Quote  
  12. Originally Posted by xyzo View Post
    Can someone think of any other alternatives
    Everything is fine with my project, but you may think of running System File Checker: sfc /scannow before trying any program.
    Quote Quote  



Similar Threads

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