VideoHelp Forum


Try StreamFab All-in-One and rip streaming video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 50 of 50
Thread
  1. Member Emeritus
    Join Date
    May 2014
    Search PM
    Originally Posted by damnson View Post
    I should be able to play and watch the video through this link and using User Agent Switcher?
    No, it won't actually play on a non-mobile device. But it gives you the m3u8 url which you can use to download the video.

    Originally Posted by damnson View Post
    Anyway I can find a m3u8 link located in "scr=".
    Inside the file there is this code (up to 130.ts)
    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:13
    #EXT-X-MEDIA-SEQUENCE:0
    #EXT-X-KEY:METHOD=AES-128,URI="/keystore/byXTGsjCGojqb",IV=0x33e624acf348548f77e44b18199b8f6c
    #EXTINF:9.650000,
    _0.ts
    #EXTINF:12.500000,
    _1.ts
    #EXTINF:12.500000,
    _2.ts
    #EXTINF:12.000000,
    Creating this link it download a file with a single encrypted line
    Code:
    M tӁd,zX
    That is the key to decrypt the video.

    If you download the m3u8 file, the key, and all of the ts segments, and then do a minor edit to the m3u8 file, you can then use ffmpeg to decrypt and assemble it all into a playable video.

    Or, through some (somewhat complex) operations with curl (that sets the cloudfront keys externally from your browser) you could use the m3u8 url directly with ffmpeg.

    I assumed that you were already familiar with hls downloading.

    Anyway, you've done the hard part. You have all the elements you need to produce the video. You just need to learn how this special case of hls downloading works.
    Quote Quote  
  2. Originally Posted by ponens View Post
    That is the key to decrypt the video.

    If you download the m3u8 file, the key, and all of the ts segments, and then do a minor edit to the m3u8 file, you can then use ffmpeg to decrypt and assemble it all into a playable video.

    Or, through some (somewhat complex) operations with curl (that sets the cloudfront keys externally from your browser) you could use the m3u8 url directly with ffmpeg.

    I assumed that you were already familiar with hls downloading.

    Anyway, you've done the hard part. You have all the elements you need to produce the video. You just need to learn how this special case of hls downloading works.
    Can't believe I'm getting close to solve this puzzle hahahahaha
    I think I'm not familiar with hls neither ffmpeg but I'll the tutorials in this website and hopefully being able to download the video
    Quote Quote  
  3. Don't know how to download the ts files (well, I can, manually one by one)...

    Code:
    ffmpeg https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 7.3.1 (GCC) 20180722
      configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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
      libavutil      56. 14.100 / 56. 14.100
      libavcodec     58. 18.100 / 58. 18.100
      libavformat    58. 12.100 / 58. 12.100
      libavdevice    58.  3.100 / 58.  3.100
      libavfilter     7. 16.100 /  7. 16.100
      libswscale      5.  1.100 /  5.  1.100
      libswresample   3.  1.100 /  3.  1.100
      libpostproc    55.  1.100 / 55.  1.100
    Output #0, hls, to 'https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8':
    Output file #0 does not contain any stream
    Code:
    ffmpeg -i https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8
    ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developers
      built with gcc 7.3.1 (GCC) 20180722
      configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --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
      libavutil      56. 14.100 / 56. 14.100
      libavcodec     58. 18.100 / 58. 18.100
      libavformat    58. 12.100 / 58. 12.100
      libavdevice    58.  3.100 / 58.  3.100
      libavfilter     7. 16.100 /  7. 16.100
      libswscale      5.  1.100 /  5.  1.100
      libswresample   3.  1.100 /  3.  1.100
      libpostproc    55.  1.100 / 55.  1.100
    [https @ 000002092f65a600] HTTP error 403 Forbidden
    https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8: Server returned 403 Forbidden (access denied)
    Code:
    streamlink https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8
    [cli][info] Found matching plugin hls for URL https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8
    error: Unable to open URL: https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8 (403 Client Error: Forbidden for url: https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8)
    Code:
    youtube-dl https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8
    [generic] _: Requesting header
    WARNING: Could not send HEAD request to https://dmf9cnjua2s32.cloudfront.net/data/byXTGsjCGojqb/hls/449/_.m3u8: HTTP Error 403: Forbidden
    [generic] _: Downloading webpage
    ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
    Quote Quote  
  4. Member Emeritus
    Join Date
    May 2014
    Search PM
    The m3u8 url can't be used directly with those programs because of the cloudfront keys.

    Ordinarily, the keys could be specified to those programs, but in this case there are two different groups of cloudfront keys that are required and there is no way to specify both groups of keys to these programs simultaneously because each group uses the same name for the keys.

    The workaround is to edit the m3u8 to include the cloudfront keys within.

    If you haven't figured it out yet, post another otp code and I'll make an example edited m3u8 file and a list of steps to serve as an example.
    Quote Quote  
  5. Originally Posted by ponens View Post
    The m3u8 url can't be used directly with those programs because of the cloudfront keys.

    Ordinarily, the keys could be specified to those programs, but in this case there are two different groups of cloudfront keys that are required and there is no way to specify both groups of keys to these programs simultaneously because each group uses the same name for the keys.

    The workaround is to edit the m3u8 to include the cloudfront keys within.
    Yeah I'm having trouble with it... Was trying to use this following code that jagabo posted in this thread. Having the same error as mine, but being able to download with his code. But I cannot figure out the referer code on my case. Probably because there isn't one.

    Code:
    ffmpeg.exe -headers "Referer: http://reshet.tv/live/" -i "https://besttv1.aoslive.it.best-tv.com/reshet/studio/index_4.m3u8" -c copy output.mp4
    If you haven't figured it out yet, post another otp code and I'll make an example edited m3u8 file and a list of steps to serve as an example.
    otp=20160313versUSE323ba4b208dd8ec77b35e5b1f5e310193f9 1b5f9684239b0d
    Quote Quote  
  6. Member Emeritus
    Join Date
    May 2014
    Search PM
    The issue in this case isn't the Referer, it is the cloudfront keys.
    Last edited by ponens; 12th Sep 2018 at 21:15.
    Quote Quote  
  7. Originally Posted by ponens View Post
    The m3u8 url can't be used directly with those programs because of the cloudfront keys.

    Ordinarily, the keys could be specified to those programs, but in this case there are two different groups of cloudfront keys that are required and there is no way to specify both groups of keys to these programs simultaneously because each group uses the same name for the keys.

    The workaround is to edit the m3u8 to include the cloudfront keys within.

    If you haven't figured it out yet, post another otp code and I'll make an example edited m3u8 file and a list of steps to serve as an example.
    Please do. I have been able to download the m3u8 file but as before, ffmpeg throws a 403 error. How to proceed? Same case of vdocipher widevine, tried iOS and Android UA
    Quote Quote  
  8. Member
    Join Date
    Dec 2018
    Location
    Calgary
    Search PM
    hey guys I got a bit lost in one discussion around the m3u8 file through user agent switcher.
    I was able to acomplish few things. found the URL:
    Code:
    https://cdn-gce.vdocipher.com/playerAssets/1.6.6/vdo/embed/index.html#otp=20160313versASE323KzwVQQJnr3vFgSKvf5OZiGC6W9HTUjYVGZKCmrP8ZjiwYU&playbackInfo=eyJ2aWRlb0lkIjoiNGNjYTMzMDQ4NzBjNDllNzgzZjQzZTZjMDUzYThkMjQifQ==
    and downloaded all the xhr parts from requests (around 570 parts). I have ffmpeg as well, but how do I decrypt the video, cant get to the point of getting the playlist file. Can anybody point me to next step ?
    Quote Quote  
  9. Member
    Join Date
    Jan 2021
    Location
    new york
    Search Comp PM
    Hi guys,

    If thw video is Widevine protected, you can use widevine-l3-decryptor(chrome extension) to get the decryption keys for the audio and video.
    So, with the keys, you can download the cyphered audio/video and use it to decrypt using ffmpeg
    I try it and get sucessful.
    Quote Quote  
  10. Member
    Join Date
    Feb 2006
    Location
    United States
    Search Comp PM
    Originally Posted by ybxa View Post
    Hi guys,

    If thw video is Widevine protected, you can use widevine-l3-decryptor(chrome extension) to get the decryption keys for the audio and video.
    So, with the keys, you can download the cyphered audio/video and use it to decrypt using ffmpeg
    I try it and get sucessful.
    that chrome extension has since been taken down - https://github.com/tomer8007/widevine-l3-decryptor
    Quote Quote  
  11. Member
    Join Date
    Jan 2021
    Location
    new york
    Search Comp PM
    Originally Posted by october262 View Post

    that chrome extension has since been taken down - https://github.com/tomer8007/widevine-l3-decryptor
    If you search right you will find it.
    Quote Quote  
  12. I am encountering the same problem with downloading the same type of file. The extent of my knowledge is videodownloadhelper in Firefox - this hasn't helped me as the file downloads but it plays nothing.

    Can someone provide an easy set of stepsI need to go through (which programs/apps/extensions etc I might need) to decrypt these type of files?

    Thanks
    Quote Quote  
  13. When looking at the source I can find this link:

    dmf9cnjua2s32.cloudfront.net/b9ef11c0-466a-4353-b7d7-14bcb88f4705

    I removed the http stuff at the beginning as I tried to post this yesterday but it didn't appear.
    Quote Quote  
  14. Thank you very much for the information in this thread. I wanted to download a video protected by vdoCipher and you guys helped me out. So I will return the favor and give the step by step for how I did it:

    1. Open the webpage in Chrome. Let it load fully. Then press F12 to open the Developer Tools. Click on the Network tab. Then click on All. Then click play on the video. You should see the Network tab fill up with some video and audio files. Right click the video file, Open in New Tab, then in the new tab, right click on the video and Save As. Then go do the same for the audio file. You will now have the encrypted mp4 files

    2. Download the widevine decryptor mentioned above. This link works for me (https://github.com/cryptonek/widevine-l3-decryptor). Download the zip of all the code. Go to Chrome Extensions, turn on Developer Mode, then Load Unpacked extension, and choose the unzipped folder. But Chrome has updated since that extension was developed, so you need to restore the old dll files. This link explains it (https://github.com/cryptonek/widevine-l3-decryptor/issues/2) but incase that link goes down, you can download the old dlls here (https://gofile.io/d/jefSAt). Close Chrome, and then replace the dll and dll.sig in the folder

    C:\Program Files (x86)\Google\Chrome\Application\89.0.4389.114\Wide vineCdm\_platform_specific\win_x64\

    Restart Chrome, go back to the web page with the video, press F12, click the Console tab, and now you will see some decryption keys. For me, there were 4 keys found

    3. Download ffmpeg, put the encrypted video and audio file in the same folder as the ffmpeg exectuable. Hold SHIFT+Right click inside the folder, open up Powershell prompt, and type in this command:

    Code:
    ffmpeg -decryption_key 100b6c20940f779a4589152b57d2dacb -i encrypted_video.mp4 -codec copy decrypted_video.mp4
    Replace the key in that command with 1 of the keys found in the chrome console. Check the decrypted_video file and see if it plays. If not, try again with another key from the console

    4. Do the same for the audio file. Try all the keys until you decrypt that successfully

    5. Now you should have a decrypted video and audio file. We just need to combine them into one file with this command:

    Code:
    ffmpeg -i video.mp4 -i audio.wav -c copy output.mkv
    Quote Quote  
  15. Thanks for these helpful steps. I managed to follow these and was able to decrypt some videos, however, I have since attempted to try some more and now the Widevine extension has thrown up an error and the keys are no longer showing up within the developer tools. The error in the Widevine extension says:

    eme_interception.js:348 (anonymous function)

    var result = originalFn.apply(element, arguments);

    Under sources on the webpage, I see the following:

    Can't verify license request signature; either the platform is wrong or content key decryption.js:70 the key has changed!
    Quote Quote  
  16. Widevine decrypter doesn't work anymore because as of June 1 it is revoked! Decrypting vdocipher videos were possible with the decryptor extension but now that hope is lost!

    But did you know some vdocipher videos have a NON-DRM backup stream !

    Download 1dm app browser from playstore first. Link :- https://play.google.com/store/apps/details?id=idm.internet.download.manager

    Go to your video from clicking the browser icon which is seen at the top right corner in the app! If your videos are in a site go to it and play it.

    If the video is DRM protected a drm playback request will appear before playing the video. Click "Block" for it.

    Then if you are lucky (If the video have a NON-DRM playback m3u8 stream) browser will automatically detect a m3u8 video and a download icon will be appeared!

    Click it, click on the link, press start. The browser will download the video and decrypt it for you. Also 1dm app can download many more video formats! ( All most all non-encrypted videos and some encrypted videos too) Give it a try!
    Quote Quote  
  17. Can anyone explain what the actual **** is happening in these 2 links?
    They seem to be the same BUT
    https://play.google.com/store/apps/details?id=idm.internet.download.manager
    https://play.google.com/store/apps/details?id=idm.internet.download.manager&hl=en&gl=US
    one of them shows 12 ratings, the other one shows 5853 ratings.
    One says mature 17+
    other one says PEGI 3
    Quote Quote  
  18. Originally Posted by [ss]vegeta View Post
    Can anyone explain what the actual **** is happening in these 2 links?
    They seem to be the same BUT
    https://play.google.com/store/apps/details?id=idm.internet.download.manager
    https://play.google.com/store/apps/details?id=idm.internet.download.manager&hl=en&gl=US
    one of them shows 12 ratings, the other one shows 5853 ratings.
    One says mature 17+
    other one says PEGI 3
    both of those links look the same to me... but its suspect when someone joins to make the first post linking an external tool
    Quote Quote  
  19. Originally Posted by no_neck View Post
    Originally Posted by [ss]vegeta View Post
    Can anyone explain what the actual **** is happening in these 2 links?
    They seem to be the same BUT
    https://play.google.com/store/apps/details?id=idm.internet.download.manager
    https://play.google.com/store/apps/details?id=idm.internet.download.manager&hl=en&gl=US
    one of them shows 12 ratings, the other one shows 5853 ratings.
    One says mature 17+
    other one says PEGI 3
    both of those links look the same to me... but its suspect when someone joins to make the first post linking an external tool
    A year ago when I was trying download videos and when I searched google this is the thread that I read first. Ever since I was coming here oftenly to see if there is any new updates. Yes you are right I made the account newly because for reading a thread having an account is not essential and back then I didn't have anything to comment too! But I found the method I mentioned above and it is working for me and I thought this would maybe help others even a little bit...I just wanted to help and that's why I made the account to write the method! Beside it is a play store app with more than 10 million downloads so I can't understand what is suspicious about that. 😂 You can go to there official telegram group from the below link and ask anything if you have any doubts. 😅

    Link :- https://t.me/android_1dm
    Quote Quote  



Similar Threads