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

ERROR: ffmpeg or avconv not found. Please install one. #3631

Closed
khinelay opened this issue Aug 30, 2014 · 5 comments
Closed

ERROR: ffmpeg or avconv not found. Please install one. #3631

khinelay opened this issue Aug 30, 2014 · 5 comments

Comments

@khinelay
Copy link

@khinelay khinelay commented Aug 30, 2014

I am using Mac OS X 10.9.
youtube-dl --write-sub --embed-subs --sub-lang "my" -o "%(title)s.%(ext)s" https://www.youtube.com/watch?v=5ctsUsvIp8w

then I've got this message
[youtube] Setting language
[youtube] 5ctsUsvIp8w: Downloading webpage
[youtube] 5ctsUsvIp8w: Downloading video info webpage
[youtube] 5ctsUsvIp8w: Extracting video information
[info] Writing video subtitles to: Plot ordered pairs.my.srt
[download] Destination: Plot ordered pairs.mp4
[download] 100% of 6.27MiB in 00:02
[ffmpeg] Embedding subtitles in 'Plot ordered pairs.mp4'
ERROR: ffmpeg or avconv not found. Please install one.

@phihag
Copy link
Contributor

@phihag phihag commented Aug 31, 2014

Can you explain what you don't understand about the message, and how we can improve it?

youtube-dl focuses on the information extraction and downloading part. For --embed-subs (and almost all other post-processing options), we call ffmpeg (or avconv), which is a video editing toolkit. Simply install ffmpeg and it should work.

@phihag phihag closed this Aug 31, 2014
@khinelay
Copy link
Author

@khinelay khinelay commented Aug 31, 2014

Thank you. I'm sorry. I asked the question without googling the solution first. What I don't understand is how to install ffmpeg. Now I got it from your answer.
how we can improve it? Yes. if it is possible. add the solution like this "we call ffmpeg (or avconv), which is a video editing toolkit. Simply install ffmpeg and it should work.".

Thanks

@Reino17
Copy link

@Reino17 Reino17 commented Aug 31, 2014

Instead of ERROR: ffmpeg or avconv not found. Please install one., I'd suggest ERROR: ffmpeg or avconv not found. Please put ffmpeg.exe or avconv.exe in the same directory as youtube-dl.exe..
I don't know about Max OS X, but here on WinXP,7,8.1 you don't have to 'install' ffmpeg. As long as the exe-file is in the same directory as youtube-dl.exe, it can use it.

@phihag
Copy link
Contributor

@phihag phihag commented Aug 31, 2014

Using in the same directory works only on Windows, and only because Windows is quite insecure in that regard. Instead, ffmpeg should be in any directory in your PATH.

@naarkhoo
Copy link

@naarkhoo naarkhoo commented Oct 10, 2019

I believe I do have the ffmpeg inside the path - MacOS Mojve - but still is not found by youtube-dl

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
4 participants
You can’t perform that action at this time.