mediainfodotnet's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.