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

Installed ffmpeg but, "You must have Ffmpeg installed in order to use this function." #25

Open
Lop-Sided opened this issue Jan 11, 2017 · 1 comment

Comments

@Lop-Sided
Copy link

Hi,

I'm having an issue using "example-audio-2.php" from the examples. I have installed 'ffmpeg' on my Linux/CentOS server.

When I type 'ffmpeg -version' in SSH it returns with the version

Also when I type 'which ffmpeg' it returns with the path "/usr/local/bin/ffmpeg/"

But for some reason I'm getting the error shown in the title when trying to use the example files.

Is there something else I must do? Is this in the correct path?

Thanks

@BOXNYC
Copy link

BOXNYC commented Apr 7, 2017

+1

I had to write the full ffmpeg path in the exec which call youtube-dl.class.php@648

private function has_ffmpeg() { $sh = 'which /usr/local/bin/ffmpeg'; return (bool) (strlen(trim($sh)) > 0); }

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