Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Support for #EXT-X-BYTERANGE in native hls extractor #10955
Comments
|
That's already supported. Install python-crypto and run again. |
|
hi thanks for replying, but it still corrupt the video and in other site that use similar technique youtube-dl say "WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg" even after installing python-crypto in windows and add them to PATH did i do something wrong or youtube-dl is also needed to be added to PATH? other site m3u8 youtube-dl --hls-prefer-native http:// result only the unencrypted video being downloaded while the encrypted video are not downloaded |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.16. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):m3u8 enc https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/encryption/bad/bad.m3u8
unencrypted video : https://s3.amazonaws.com/1d4326f61a9a4ed596de9e1a41d48413/input.ts
Description of your issue, suggested solution and other information
Can you add support for encrypted single file hls (m3u8) in the native hls extractor, since ffmpeg seem have bug reading the byte range resulted in corrupted / skipped video
https://tools.ietf.org/html/draft-pantos-http-live-streaming-20#section-4.3.2.2
https://developer.apple.com/library/content/technotes/tn2288/_index.html#//apple_ref/doc/uid/DTS40012238-CH1-BYTE_RANGE_
https://trac.ffmpeg.org/ticket/5858
also please add support for local m3u8 like youtube-dl.exe "C:\file.m3u8"
since sometime it's much faster downloading the encrypted file locally first (to avoid dropped frames)
thanks