Skip to content

Exit code -1073741515 #51

@jdcarnegie

Description

@jdcarnegie

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
john.carnegie@theenterprisemodel.com
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);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions