VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hello! We have really weak internet here, so I'm trying to download the videos instead of watching directly on the website (tried waiting for it to buffer, but sometimes it disconnected and restarts on its own), so my only option is to download them somewhere with good internet and watch them on my own terms at home. (yes university would not even help us)

    Here's the m3u8 http://5b237d5dc89e5.streamlock.net/protect/_definst_/smil:SuatGurcanCikmisSoru/2013yd.../playlist.m3u8 of playlist and this one http://5b237d5dc89e5.streamlock.net/protect/_definst_/smil:SuatGurcanCikmisSoru/2013yd...6000_slTR.m3u8 for 1080p stream.

    With youtube-dl I'm getting "Error when loading first segment" after it downloads the first ts file. yt-dlp downloads the whole file but it does not open with vlc or anything else basically, I'm assuming it's still encrypted, the key changes between sessions as far as I understand so I'm wondering why yt-dlp didn't decrypt while downloading? Also why ffmpeg gives that error? Is the TS file still encryped when presented to it?

    Also the links for m3u8 playlist etc and keys aren't protected, they can be anonymously requested just fine, so not sure why it doesn't work.

    Thanks!
    Quote Quote  
  2. Member Kakujitsu's Avatar
    Join Date
    Jun 2011
    Location
    United States
    Search Comp PM
    There is no URL data in the m3u8 file, you are not actually downloading any audio files with your method and that is why it won't play...
    Quote Quote  
  3. Originally Posted by Kakujitsu View Post
    There is no URL data in the m3u8 file, you are not actually downloading any audio files with your method and that is why it won't play...
    Incorrect.
    https://we.tl/t-VeOsM5I9Zq
    inb4 how

    @OP download the file the key url gets you, open with hex editor, copy hex (that's your key), use it with hlsdl 0.27 to download
    hlsdl -k "key" "m3u8 link"

    I haven't really investigated why these more popular tools fail to download. But this isn't their first time
    Last edited by [ss]vegeta; 20th Feb 2022 at 17:12.
    Quote Quote  
  4. Originally Posted by [ss]vegeta View Post
    Originally Posted by Kakujitsu View Post
    There is no URL data in the m3u8 file, you are not actually downloading any audio files with your method and that is why it won't play...
    Incorrect.
    https://we.tl/t-VeOsM5I9Zq
    inb4 how

    @OP download the file the key url gets you, open with hex editor, copy hex (that's your key), use it with hlsdl 0.27 to download
    hlsdl -k "key" "m3u8 link"

    I haven't really investigated why these more popular tools fail to download. But this isn't their first time
    This worked, thank you!
    Quote Quote  
  5. @[ss]vegeta wrote

    I haven't really investigated why these more popular tools fail to download
    My suspicion is error tolerance.

    yt-dlp and youtube-dl fail due to Invalid data found when processing input

    My suspicion is that hsldl just accepts it and moves on
    Quote Quote  
  6. @hehehihi


    is this a good source?

    Yes
    Quote Quote  
  7. youtube-dl --user-agent "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25" --hls-prefer-native http://5b237d5dc89e5.streamlock.net/protect/_definst_/smil:SuatGurcanCikmisSoru/2013yd.../playlist.m3u8
    [generic] playlist: Requesting header
    [generic] playlist: Downloading m3u8 information
    [hlsnative] Downloading m3u8 manifest
    [hlsnative] Total fragments: 95
    [download] Destination: playlist-playlist.mp4
    [download] 100% of 39.18MiB in 01:40
    [ffmpeg] Fixing malformed AAC bitstream in "playlist-playlist.mp4"
    Quote Quote  



Similar Threads

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