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

VideoInfo (The system cannot find the file specified) #54

Closed
irajeevks opened this issue May 3, 2020 · 2 comments
Closed

VideoInfo (The system cannot find the file specified) #54

irajeevks opened this issue May 3, 2020 · 2 comments

Comments

@irajeevks
Copy link

var videoInfo = VideoInfo.FromFileInfo(new FileInfo(Path.Combine(basePath, fileName)));

I am using above line of code. The path of my video file is perfect. But this line throws an exception "The system cannot find the file specified"

I am using .netCore 3.0 web app

@WeihanLi
Copy link
Contributor

WeihanLi commented May 3, 2020

you may need to set the ffmpeg dir

FFMpegOptions.Configure(new FFMpegOptions { RootDirectory = "dir of ffmpeg" });

@BartBr
Copy link

BartBr commented May 7, 2020

the error message is unclear though. "The system cannot find the file specified"
it would be an improvement to replace this with: "FFMpeg binaries not found in RootDirectory: {RootDirectory}"

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

4 participants