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

some media can't convert , but no return value #120

Open
paniclp opened this issue Jul 7, 2021 · 0 comments
Open

some media can't convert , but no return value #120

paniclp opened this issue Jul 7, 2021 · 0 comments

Comments

@paniclp
Copy link

paniclp commented Jul 7, 2021

I find a media, call convert,but no any effect.
engine.Convert this function no return value.
so you couldn't know whether this convert is invalid or valid.
my code is:
var inputFile = new MediaFile { Filename = input };
string output = GetNewPathName(input);
var outputFile = new MediaFile { Filename = output };
try
{

            using (var engine = new Engine())
            {
                engine.ConvertProgressEvent += ConvertProgressEvent;
                engine.ConversionCompleteEvent += engine_ConversionCompleteEvent;
                
                engine.Convert(inputFile, outputFile);
            }
        }
        catch(Exception ex)
        {
        }

my file is:
https://user-images.githubusercontent.com/56712440/124778078-46fab280-df73-11eb-9ace-251be8653a1c.mp4
my email is 64924930@qq.com

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

1 participant