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

Specify ffmpeg & ffprobe path using flag #4114

Closed
satbirkira opened this issue Nov 5, 2014 · 2 comments
Closed

Specify ffmpeg & ffprobe path using flag #4114

satbirkira opened this issue Nov 5, 2014 · 2 comments

Comments

@satbirkira
Copy link

@satbirkira satbirkira commented Nov 5, 2014

I'm making a GUI for this and I don't want the user to have to install the whole ffmpeg package and have to add it to path. Is it possible to get the flag --ffprobe-path PATH --ffmpeg-path PATH? Both paths would lead to ffprobe.exe and ffmpeg.exe respectively.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 5, 2014

Duplicate of #2115.
I think that you can set the PATH environment variable (%PATH% in windows) from your app, and youtube-dl should be able to find ffmpeg and ffprobe.

@jaimeMF jaimeMF closed this Nov 5, 2014
@satbirkira
Copy link
Author

@satbirkira satbirkira commented Nov 5, 2014

Thanks, I used os.environ["PATH"] = os.getcwd() and put both executables in the folder.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.