Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --proxy option to yt-dlp #5

Closed
r4nd0mwOrK933 opened this issue Sep 8, 2023 · 2 comments
Closed

Add --proxy option to yt-dlp #5

r4nd0mwOrK933 opened this issue Sep 8, 2023 · 2 comments

Comments

@r4nd0mwOrK933
Copy link

Thanks for your lifesaver.👍

When downloading video segments, ffmpeg cannot automatically use the system proxy and return error with Error number -138 occurred . Adding --proxy to yt-dlp can solve this issue.

@jim60105
Copy link
Owner

jim60105 commented Sep 8, 2023

Error number -138 occurred indicates that you are unable to connect to the target. This simply points out an error with your network, not specifically a proxy error.

From the source code, it can be seen that both yt-dlp and ffmpeg use the system proxy. Please confirm your environment.

Or, in those upstream project, raise an issue if they really cannot use the system proxy.

@jim60105 jim60105 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 8, 2023
@r4nd0mwOrK933
Copy link
Author

I've confirmed my environment and tested the process. FFmpeg uses the system proxy in tls.c, but doesn't use it in tcp.c, where the error occurred. I don't know if it's a feature or a bug.
ScreenShot 1
ScreenShot 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants