You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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! :-(
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);
}
The text was updated successfully, but these errors were encountered:
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).
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);
The text was updated successfully, but these errors were encountered: