VideoHelp Forum
+ Reply to Thread
Results 1 to 17 of 17
Thread
  1. Member
    Join Date
    Jul 2022
    Location
    israel
    Search PM
    Hello everyone For almost a whole month now I have been trying to download a file from a specific site


    This is the link to the video
    https://www.karaoke.co.il/api_play.php?type=clip&id=58370&autoplay=undefined&referer=karaoketv


    The M3u8 files are split into 2 parts.

    Video file
    https://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/750802ea0bc2d...2-57d9518fae69

    And an audio file
    https://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/750802ea0bc2d...2-57d9518fae69

    As far as I know there is a Key that needs to be entered in order to download the file.

    And when I run the command in ffmpeg

    I encounter many errors like:
    Unable to open key file

    Anyone who can download it.
    I would be very happy if he would write me a code that works and explain to me how to do it

    These are all the codes I have already tried
    Code:
    ffmpeg -decryption_key https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa13cde64 -i https://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/750802ea0bc2d02fac93adeaa1398ec2/video_720p.m3u8?token=R915dD-72351a7c-3dd1-4e58-b6c2-9cc813eeb183 -vcodec libx264 {output_file}
    
    
    
    ffmpeg -decryption_key {key} -i {file} -max_muxing_queue_size 9999 d.mp4
    
    
    
    
    
    
    
    ffmpeg -allowed_extensions ALL -protocol_whitelist data, file, http, https, tcp, tls, crypto -i "https://www.video-cdn.com/video/encrypt/f242d2da41d03b3955fb866efc5dbd59/f242d2da41d03b3955fb866efc5dbd59/video_720p.m3u8?token=R915dD-a1430cfc-0bda-46a0-a7e9-b15308875dc7" c copy -bsf: a aac_adtstoasc test.mp4 -decryption_key C:\ ffmpeg\enc.key
    
    
    
    hlsdl -K "1a9625fb34a4afe0d5446138e9543563" https://www.video-cdn.com/video/encrypt/f242d2da41d03b3955fb866efc5dbd59/f242d2da41d03b3955fb866efc5dbd59/video_720p.m3u8?token=R915dD-be07b7e6-08aa-441b-afbd-5c7876409878
    Quote Quote  
  2. I don't know how you got that key used with the hlsdl command but your correct key is this one
    Code:
    CCF7E3874FE0D3D10A8CF212E30DFB2A
    You can get the key with curl and getting the contents of the following link, output to whatever
    Code:
    curl https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2 --output whatever
    and open the whatever file with a hex editor. That's the key.
    Quote Quote  
  3. streamlink --hls-segment-key-uri "https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2" "hls://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/128default?token=R915dD-1045eac7-9a29-4c92-9fa9-aac7b89ba92e" best -o video.ts
    [cli][info] Found matching plugin hls for URL hls://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/128default?token=R915dD-1045eac7-9a29-4c92-9fa9-aac7b89ba92e
    [cli][info] Available streams: 480p (worst), 720p (best)
    [cli][info] Opening stream: 720p (hls-multi)
    [cli][info] Writing output to
    video.ts
    [utils.named_pipe][info] Creating pipe streamlinkpipe-7660-1-2212
    [utils.named_pipe][info] Creating pipe streamlinkpipe-7660-2-4751
    [download][b.ts] Written 7.0 MB (6s @ 1.1 MB/s) ...
    Quote Quote  
  4. great post LZAA. you are the best --
    Quote Quote  
  5. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by [ss]vegeta View Post
    I don't know how you got that key used with the hlsdl command but your correct key is this one
    Code:
    CCF7E3874FE0D3D10A8CF212E30DFB2A
    You can get the key with curl and getting the contents of the following link, output to whatever
    Code:
    curl https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2 --output whatever
    and open the whatever file with a hex editor. That's the key.
    .... Or a one liner for Linux users:-
    Code:
    curl https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2 | od -A n -t x1 |sed  's/ //g'
    Image
    [Attachment 65911 - Click to enlarge]
    Quote Quote  
  6. Originally Posted by A_n_g_e_l_a View Post
    .... Or a one liner for Linux users:-
    Splendid. We can't do this on Windows?
    Quote Quote  
  7. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by A_n_g_e_l_a View Post
    .... Or a one liner for Linux users:-
    Splendid. We can't do this on Windows?
    Unfortunately Windows doesn't have the command line richness of Linux, so no.
    Quote Quote  
  8. Hi [ss]vegeta, here are the windows commands

    OR

    Code:
    curl -k https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2 |  od -A n -t x1 | sed  "s/ //g"

    Image
    [Attachment 65915 - Click to enlarge]
    Quote Quote  
  9. Excellent, thanks a lot Jack.
    Quote Quote  
  10. Member
    Join Date
    Jul 2022
    Location
    israel
    Search PM
    Originally Posted by LZAA View Post
    streamlink --hls-segment-key-uri "https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2" "hls://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/128default?token=R915dD-1045eac7-9a29-4c92-9fa9-aac7b89ba92e" best -o video.ts
    [cli][info] Found matching plugin hls for URL hls://www.video-cdn.com/video/encrypt/750802ea0bc2d02fac93adeaa1398ec2/128default?token=R915dD-1045eac7-9a29-4c92-9fa9-aac7b89ba92e
    [cli][info] Available streams: 480p (worst), 720p (best)
    [cli][info] Opening stream: 720p (hls-multi)
    [cli][info] Writing output to
    video.ts
    [utils.named_pipe][info] Creating pipe streamlinkpipe-7660-1-2212
    [utils.named_pipe][info] Creating pipe streamlinkpipe-7660-2-4751
    [download][b.ts] Written 7.0 MB (6s @ 1.1 MB/s) ...
    Very Very Grateful
    Quote Quote  
  11. This is the .m3u8 file I have:

    https://d2s2mc5mfsrgxi.cloudfront.net/spees/w/o/607d7f740cf265c8e0215b0d/v/62e3d70c0cf...3/hls_1M_.m3u8

    URI="k/timestamp"

    I have a lot of such videos to download. Could someone here please tell me how to do so? @LZAA bro if you can tell me the method. If I am not wrong, you had converted a similar video back in 2017.
    Quote Quote  
  12. Banned
    Join Date
    Oct 2022
    Location
    hhhhhhhhhhh
    Search Comp PM
    lmao
    Quote Quote  
  13. akshaysic ==> anandgpt75 ==> unstable ==> AkshatLal

    All the same refrain
    URI="k/timestamp" ...... I have a lot of such videos to download.
    Quote Quote  
  14. Member
    Join Date
    Feb 2024
    Location
    Asia
    Search Comp PM
    Originally Posted by [ss]vegeta View Post
    I don't know how you got that key used with the hlsdl command but your correct key is this one
    Code:
    CCF7E3874FE0D3D10A8CF212E30DFB2A
    You can get the key with curl and getting the contents of the following link, output to whatever
    Code:
    curl https://www.video-cdn.com/video/key/750802ea0bc2d02fac93adeaa1398ec2 --output whatever
    and open the whatever file with a hex editor. That's the key.
    bro tried this method for my getting my key from my own link but its giving a very big key , it returning text thats longer longer than 100 letters
    Quote Quote  
  15. Member
    Join Date
    Feb 2024
    Location
    Asia
    Search Comp PM
    Originally Posted by LZAA View Post
    Url?
    Please help me find the key rest i will do on my own , just help me get the key

    this is the m3u8 file
    https://dnqe0v482iyb1.cloudfront.net/spees/w/o/60e975430cf20278db21ff30/v/647d8964e4b0...561/index.m3u8

    its info
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-0",NAME="eng",LANGUAGE="eng",DEFAULT=YES,AUTOSELEC T=YES,URI="hls_audio_.m3u8"
    #EXT-X-STREAM-INF:AUDIO="audio-0",BANDWIDTH=650000,CODECS="avc1.64001f,mp4a.40.2" ,RESOLUTION=852x480
    hls_500k_.m3u8
    #EXT-X-STREAM-INF:AUDIO="audio-0",BANDWIDTH=900000,CODECS="avc1.64001f,mp4a.40.2" ,RESOLUTION=1280x720
    hls_1M_.m3u8
    #EXT-X-STREAM-INF:AUDIO="audio-0",BANDWIDTH=1500000,CODECS="avc1.640028,mp4a.40.2 ",RESOLUTION=1920x1080
    hls_2M_.m3u8


    i want key for hls_2m_.m3u8

    hls_2m_.m3u8 file info:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:3
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29
    #EXTINF:2.000000,
    hls_2M_000.ts
    #EXTINF:2.000000,
    hls_2M_001.ts
    #EXTINF:2.000000,
    .................................. its a big file having lots of ts file

    ---------------------------------------------------------------------------------------
    so i think required info is
    #EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29
    and link for file i want to download => https://dnqe0v482iyb1.cloudfront.net/spees/w/o/60e975430cf20278db21ff30/v/647d8964e4b0...1/hls_2M_.m3u8

    Plz help , thanks in advance
    Quote Quote  
  16. Member
    Join Date
    Feb 2024
    Location
    Asia
    Search Comp PM
    Please help��
    Quote Quote  



Similar Threads

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