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.
Prefer ffmpeg HLS decoder for v.redd.it #14748
Comments
|
Just a note for anyone wonder how to use the ffmpeg HLS downloader, add the So using OP's sample URL, to get rid of the video corruption / artifacts, you'd run
|
|
--hls-prefer-ffmpeg give a worse result in my case, which I had glitches. |
|
For me, the native downloader yields playable results (generally and for the example linked by @alext69), while videos downloaded with the ffmpeg downloader have video glitches, desynced audio and usually only play video for a few seconds after which only audio can be heard. Specifically, I can get the downloaded video to play in mpv but not the URL directly.
youtube-dl 2020.01.15 |
|
@alext69 @FichteFoll I can also confirm that Seems you have to choose between video artifacts every 6 seconds or broken video + desynced audio. |
…a segments with EXT-X-BYTERANGE (#24512) (closes #14748) The end of the byte range is the first byte that is NOT part of the to be downloaded range. So don't include it into the requested HTTP download range, as this additional byte leads to a broken TS packet and subsequently to e.g. visible video corruption. Fixes #14748.
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.11.15. 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?
Description of your issue, suggested solution and other information
Site v.reddit.com should prefer ffmpeg HLS downloader instead of native. Using the native downloader results in some video corruption and artifacting, e.g. visible within the first few seconds of this source:
youtube-dl https://v.redd.it/poqkxthgcpxz