Coder Social home page Coder Social logo

mediainfodotnet's People

Contributors

cschlote avatar nicholi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mediainfodotnet's Issues

duration of .ts file shows 0

I am using version .7.67.2
Other files duration is fine.
duration of .ts file shows 0

I am using it as below
Dim mediainfofile2 As MediaInfoDotNet.MediaFile = New MediaInfoDotNet.MediaFile("c:/casparcg/_media/123.ts")
Label2.Text = (mediainfofile2.duration).ToString

throws exception while not in debug mode !

fix this line of file MediaInfoDotNet/MediaInfoDotNet/Models/Media.cs

if (!String.IsNullOrEmpty(miResult) && !rc && System.Diagnostics.Debugger.IsAttached) {
System.Diagnostics.Debug.WriteLine("MediaInfo.dll returned NAN for parameter {0}", parameter);ย  System.Diagnostics.Debugger.Break();
}

Mono/Linux doesn't return sane values when using Get method, just ""

When running my code on 64-bit Windows against a folder of videos, the fields are appropriately parsed and returned using the mi.Get(StreamKind.Video, 0, "Width") type calls. When running on 64-bit Linux with the correct libMediaInfo.so.0 file, the project compiles and runs fine, until trying to access the data inside of MediaInfo objects (same files as Windows tests). Debugging shows that every value is returned as an empty string.
I have a feeling this involves the ANSI conditional in the MediaInfo library source code.
I'll do some poking around to figure out if this can be resolved within the MediaInfoDotNet solution, unless there is a known fix.

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.