VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date
    Dec 2019
    Location
    In the Library.
    Search PM
    Hello there

    First of all, I am a med student and I only do some informatic projects on my spare time.
    Recently I came across a very well known website, so I wanted to know what was behind this web page, and here comes the problem :

    https://www.osmosis.org/learn/Gluconeogenesis

    When I wanted to download the video on this webpage, I noticed some points :

    - the m3u8 playlist file seems to be hidden and not accessible by the browser.
    - the inspection of the browser trafic shows that the video is sent by hundreds of small mp2t packages that are possilbe to download one by one as .ts files.

    My question is :
    Is there a way to either find the .m3u8 playlist file and easily download the video (with VLC for exemple),
    or could we transfer all the .ts packages into one file and compile them to recreate the full video (even if I think that this method might corrupt the final video quality).

    I obviously aleready tried with Download Helper but it doesn't detects the video.


    I know that I should be studying for my pathology semi-final, but I can't take this problem out of my head, and at some point it became like a challenge for me.
    I really hope that I will be able to find a way to download a video from this website
    Quote Quote  
  2. Member
    Join Date
    Dec 2019
    Location
    In the Library.
    Search PM
    Whoaaaa !!!

    Thank you for your work on this problem.
    I'm actualy really impressed that you could find a way so quickly !

    Can you explain how you manage to get the full .ts file and not all of the chunks, please ? (or maybe just give me some hints ;p )

    I have been trying to find a solution to this problem for the past 3 days, and I'm really wondering if I missed an obvious solution
    Quote Quote  
  3. Would you be willing to trade for a free brain surgery when you get out of doctors' college (and into debtors' prison)?

    The m3u8 is obfuscated. It is within the following url;
    Code:
    https://www.osmosis.org/videoPlaylist?hash=mWu1bTgOSl6LiXNCcm3y0yJPQiimRiGt
    But it is trivially obfuscated. The text is reversed, both within each line, and also with respect to each line (the lines are in reverse order).

    Also required is the aes key, within the following url;
    Code:
    https://www.osmosis.org/enc.key?hash=mWu1bTgOSl6LiXNCcm3y0yJPQiimRiGt
    So, a way to do all of this manually would be to download the mirrored m3u8 playlist, then unmirror (both within the lines and relative to the lines) and then save the fixed m3u8. Plugins for notepad++ like TextFX and NPP-Reverse-Text can do this. There are also online converters like "flipyourtext" and many others.

    Then manually edit the unmirrored m3u8 to refer to a local copy of the key, and use the final edited m3u8 as input to ffmpeg or streamlink.

    You can't manually assemble the .ts pieces (without the playlist/aes key) because they are encrypted.

    I didn't check tubedigger or other utilities, maybe they work. Perhaps the chrome plugin (https://www.hlsloader.com/).
    Last edited by ponens; 28th Dec 2019 at 22:37.
    Quote Quote  
  4. Member
    Join Date
    Dec 2019
    Location
    In the Library.
    Search PM
    Well for the free brain surgery, it seems complicated due to my future specialisation in proctology, but I'm sure we can find a way...


    Thank you so much for the explainations,

    I am still having dificulties with the functioning of ffmpeg & streamlink, because I don't really know what to type in (yeah ok I will RTFM ),
    I will try to understand how it works, and maybe I will come back on the forum if I really don't understand.

    "You can't manually assemble the .ts pieces (without the playlist/aes key) because they are encrypted."
    Ok it explains a few things.


    Also, I downloaded the demo version of Tubedigger, and it's super usefull but the free version is pretty limited,
    Could someone here share an activation key for this software ?


    Again, thank you for taking the time to answer my questions
    Quote Quote  
  5. Originally Posted by ponens View Post
    The text is mirrored, both horizontally (within each line) and also with respect to each line (the lines are in reverse order even after the mirroring within each line is reversed).

    So, a way to do all of this manually would be to download the mirrored m3u8 playlist, then unmirror (both within the lines and relative to the lines)
    Just reverse the byte order of the entire file. That does both operations at once.
    Quote Quote  
  6. Originally Posted by Ad Fontes View Post
    I am still having difficulties with the functioning of ffmpeg ... , because I don't really know what to type in (yeah ok I will RTFM )
    Reading isn't really required. Once the m3u8 file is edited, a command line like the following should work;
    Code:
    ffmpeg.exe -allowed_extensions ALL -protocol_whitelist "file,http,https,tcp,tls,crypto" -i "edited.m3u8" -c copy output.ts
    where "edited.m3u8" is the name of the fixed/edited m3u8 file.

    Originally Posted by jagabo View Post
    Just reverse the byte order of the entire file. That does both operations at once.
    Which method/utility do you recommend to young Dr. Fontes in order to do this?
    Quote Quote  



Similar Threads