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.
youtube-dl in python does not find ffmpeg #18266
Comments
|
Good morning, everyone, |
|
ffmpeg must be in |
|
I put it in path via: os.environ["PATH"] += os.pathsep + path but it still doesn't work.I think I'm doing it wrong. |
|
a other idea? |
|
Read new issue template and provide complete output along with complete source code you are running. There are no telepathists here. |
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 |
|
I didn't understand your comment, I'm sorry. I'm new and it's quite difficult for me |
|
It must be path to folder with ffmpeg not ffmpeg itself. Alternatively use |
|
I take it you got your build from https://ffmpeg.zeranoe.com/builds/, which does match your path to FFmpeg. You should update, there have been many updates since that build. But that's not the problem here. You've designated the very complete path to the binary itself, which doesn't work. Take away the trailing |
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 |
|
^ Dunno if you need to remove the trailing |
|
actually there is not the last slash at the end when the path is given in consol, but even when I remove the last slash it still doesn't pass |
|
Not sure what you are trying to do here actually. |
|
I think I'm the one who misuses ffmpeg with python, I can't figure out how to do it. |
|
You can put the ffmpeg binaries anywhere that is in your |
|
I use a sudo cp to put it in /usr/bin but it puts me : Operation not permitted |
A few possible reasons for that. I've not made any research on these, so some could be wrong:
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.11.18. 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?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to 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 ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.