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.
ffmpeg/avconv does not support SOCKS proxies #10304
Comments
Seems ffmpeg does not support SOCKS5 at all, is it? It's a good idea. |
|
By the way, could you try to install python3-crypto and then run youtube-dl with |
|
Requested to ffmpeg at http://trac.ffmpeg.org/ticket/5776. |
|
I successfully tried |
|
I've added a warning if SOCKS is used with ffmpeg. I didn't raise an error as some SOCKS proxies may also work as HTTP proxies. |
|
Hi, for macOS users what should we do to enable |
|
I remember Homebrew doesn't provide Python packages. Try to install it with pip; e.g. |
|
just a note, pycryptodome might be faster in the decryption as it does support AES-NI(not included in the latest stable version of pycrypto). |
|
@yan12125 maybe you mean |
|
@remitamine so I guess I can use |
That depends. You can check the version from
|
|
@yan12125 looks like it uses |
|
Also it looks like when I uses pip I would just get |
|
I do have pip3 however...not sure wtf is going on with macOS these days. |
|
For me the following worked: Don't forget to source you ~/.bashrc or ~/.zshrc afterwards.. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.08.12. 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
-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 ```):Description of your issue, suggested solution and other information
If I run
youtube-dlon a host in the US to download geo-restricted content like http://www.cwtv.com/shows/penn-teller-fool-us/you-dirty-rathead/?play=0c8763f4-6dfc-42c2-86af-02e9fd078334, it works fine. If I set up a SOCKS proxy and use--proxy socks5://127.0.0.1:11111/, it fails. I assume this is becauseyoutube-dlcallsffmpeg, but does not instructffmpegto use the proxy.This is confusing. Either
youtube-dlshould pass proxy information to subcommands, or, ifyoutube-dlwas called with the--proxyoption and a subcommand does not support using a SOCKS proxy,youtube-dlshould abort with an informative error message.