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

How to SetExecutablesPath for LINUX #434

Open
curlyfro opened this issue Dec 6, 2022 · 1 comment
Open

How to SetExecutablesPath for LINUX #434

curlyfro opened this issue Dec 6, 2022 · 1 comment

Comments

@curlyfro
Copy link

curlyfro commented Dec 6, 2022

i'm running dotnet core 6 on linux.

i'm getting:
Xabe.FFmpeg.Exceptions.FFmpegNotFoundException: Cannot find FFmpeg in /opt/ffmpeglib/ or PATH. This package needs installed FFmpeg. Please add it to your PATH variable or specify path to DIRECTORY with FFmpeg executables in FFmpeg.ExecutablesPath

i've set my environment PATH variable to include /opt/ffmpeglib which is where executables for ffmpeg and ffprobe are located. i tried running with and without setting the below setting. i'm getting the same error. what am I doing wrong?
FFmpeg.SetExecutablesPath(@"/opt/ffmpeglib/", "ffmpeg", "ffprobe");

@tomaszzmuda
Copy link
Owner

Hello @curlyfro
Can you show me output from "ls /opt/ffmpeglib"?
Everything looks fine. If I need to guess there is a problem with executables names or permissions.

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