Git Product home page Git Product logo

Comments (4)

panton17 avatar panton17 commented on May 24, 2024

After further investigation, while giving the exception, the command 'MediaToolkit.Engine.Convert' does execute and the conversion does take place. Still the application (vb.net) crashes.

from mediatoolkit.

AydinAdn avatar AydinAdn commented on May 24, 2024

That's due to CLS compliancy... as the app is written in C#, things such as nullable integers aren't compliant with VB unfortunatly.

from mediatoolkit.

ajgarn avatar ajgarn commented on May 24, 2024

I have the same problem in a web application written in C#. When creating a thumbnail for a .webm file, the app crashes with the following exception in the event log.

Description: The process was terminated due to an unhandled exception.
Exception: System.FormatException
Stack:
   at System.Number.StringToNumber(System.String, System.Globalization.NumberStyles, NumberBuffer ByRef, System.Globalization.NumberFormatInfo, Boolean)
   at System.Number.ParseInt32(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
   at MediaToolkit.Util.RegexEngine.TestAudio(System.String, EngineParameters)
   at MediaToolkit.Engine+<>c__DisplayClass9.<FFmpegEngine>b__5(System.Object, System.Diagnostics.DataReceivedEventArgs)
   at System.Diagnostics.AsyncStreamReader.FlushMessageQueue()
   ...

from mediatoolkit.

okazakov avatar okazakov commented on May 24, 2024

Aydin, just merged my change that fixes this. Unfortunately, Neither FFmpeg nor FFprobe return audio bitrate for webm, so it will be 0 until FFmpeg is fixed and starts returning it.

from mediatoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.