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.
`--hls-prefer-native` on a live twitch.tv stream uses ffmpeg anyway, bypasses proxy #15823
Comments
|
hls native does not support live streams. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.10. 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?
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 the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Because the
--hls-prefer-ffmpegdownloader doesn't support a SOCKS proxy (#10304), I tried using--hls-prefer-native. But youtube-dl used ffmpeg anyway, and even emitted a warning telling me to use an option I was already using:Although the stream starts to download, it's clear that it's ffmpeg doing the downloading, and I verified with tcpdump that the download was not obeying my
--proxyoption.In order to reproduce the problem, you'll need to find a stream that's currently online, otherwise you'll just get the error
ERROR: <user> is offline. Sorry I don't know of any streams that are always available, but you can just choose one from the front page of https://twitch.tv/.I tried without the
--proxyoption too: it still uses ffmpeg, though without the warning about not supporting a SOCKS proxy.I tried uninstalling ffmpeg and repeating the command. When I do this, I get an error about an m3u8 download requiring ffmpeg or avconv. Here is the output log when ffmpeg is uninstalled: