Jump to content

Properties of Video Files


Recommended Posts

hi,

i want to use the Mediainfo DLL ( http://mediainfo.sourceforge.net/en / http://mediainfo.sourceforge.net/en/Support/SDK/Quick_Start ) to get some infos from video files (duration, resolution, codec etc). i know that i have to use the knot for external libraries, but i dont know how to start, cause i never worked before with external calls.

has anybody got a hint or example for me?

Link to comment

QUOTE(0815Jack @ Nov 29 2007, 05:41 AM)

hi,

i want to use the Mediainfo DLL ( http://mediainfo.sourceforge.net/en / http://mediainfo.sourceforge.net/en/Support/SDK/Quick_Start ) to get some infos from video files (duration, resolution, codec etc). i know that i have to use the knot for external libraries, but i dont know how to start, cause i never worked before with external calls.

has anybody got a hint or example for me?

Do you know anything about C programming? If so you should be set fairly well and reading a bit in the External Code Reference Manual in the LabVIEW online help should get you enough to get started. Without at least some basic C programming knowledge you will be in for a good and most possibly steep learning experience before it does not crash anymore.

And I just see that they export a C++ API. The Call Library Node can not call that directly. It can only access standard C exported functions, no C++ object interfaces. So you will have to create a wrapper DLL, wrapping the C++ method calls into standard C exported functions. All in all it does not seem to me to be a good project to start into the depths of the Call Library Node and C programming.

Possibly the ActiveX wrapper or maybe the Visual Basic 5 and 6 example could help a bit. The ActiveX wrapper would allow you to access the Media Library through LabVIEWs ActiveX interface which would mean you do not have to directly deal with C datatypes, memory allocation issues and all such difficulties.

Rolf Kalbermatter

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.