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

Exit code -1073741515 #51

Open
jdcarnegie opened this issue Jun 17, 2021 · 1 comment
Open

Exit code -1073741515 #51

jdcarnegie opened this issue Jun 17, 2021 · 1 comment

Comments

@jdcarnegie
Copy link

I'm getting the following exit code: -1073741515. I downloaded ffmpeg from the link on https://ffmpeg.org/download.html and extracted ffmpeg.exe from the bin directory to a local directory. My thoughts are that windows security gets in the way of write permissions for the app, but that's just a guess. Any insights you might have on this would be greatly appreciated. Generating .mp4 thumbnails by hand sucks! :-(

Best regards,

John Carnegie
[email protected]
mobil: 972 567 1422

Code:
public async Task HowToAsync(string file, string thumb)
{
var inputFile = new MediaFile(file);
var outputFile = new MediaFile(thumb);

        var ffmpeg = new Engine(@"C:<path>\64bit\ffmpeg.exe");	//path excluded
        ffmpeg.Error += OnError;
        // Saves the frame located on the 5th second of the video.
        var options = new ConversionOptions { Seek = TimeSpan.FromSeconds(5) };
        var result = await ffmpeg.GetThumbnailAsync(inputFile, outputFile, options); 
        return thumb;			// code incomplete
    }

    private void OnError(object sender, ConversionErrorEventArgs e)
    {
        Console.WriteLine("[{0} => {1}]: Error: {2}\n{3}", e.Input.FileInfo.Name, e.Output.FileInfo.Name, e.Exception.ExitCode, e.Exception.InnerException);
    }
@TobiasFaller
Copy link

Hey John,

if you look up the error code that you have mentioned -1073741515 (0xC0000135 if you transform it via the calculator),
then you will find out that it means that a necessary runtime dependency has not been found.
Make sure that you have the required .net Runtime library installed on your computer (https://dotnet.microsoft.com/en-us/download).

This is the help article referencing the error code:
https://answers.microsoft.com/en-us/windows/forum/all/0xc0000135-error-when-opening-most-applications/7db10be2-66fb-4e5d-b553-8fa524bb2124

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