![]() Of course any other suggestion that can simplify the code is welcome provided that it works and does not require many hours of debugging. I managed to get the whole issue working as planned. The template and logfile at least work and I have a handle on them. The helper class is located at Developers\Source\MediaInfoDLL\MediaInfoDLL.cs, simply add it to your project and copy the MediaInfo.dll to your bin. I tried to register the MediaInfo dlls using regsrv32, but I got an error message. at least one of these methods should work. The MediaInfo data display includes: - Container: format, profile, commercial name of the format, duration, overall bit rate, writing application and library, title, author, director, album, track number, date. you should be able to do the same unless visual basic doesn't create dll's, i don't know since i have/use it. MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files. if you can't read mediainfo.dll directly inside ms access, then perphaps you can create a front-end dll inside visual basic, and then load that dll inside ms access. course, i was using office 2000 in those tests. what is wrong with importing the DLL inside ms access ? i've done this a few times in ms access-where i wrote several different DLL's in delphi code (math functions) and then imported into access and used those math functions in the delphi dll. When the MediaInfo property name is incompatible with. That means, just add a property to an object and the wrapper will map it to the MediaInfo library's corresponding property that has the same name. To simplify properties additions, the wrapping has been implemented using reflexion. You can Fork this project to add more properties to be retrieved from the MediaInfo library and even send back your additions so they can be added to this project. Not all available properties have been implemented yet, but only a most current set that were needed by the author. this additional DLL is available on the MediaInfo Windows download page in the CLI packages if you want to quickly find it. Windows, dont forget to put libcurl.dll (with the right arch), used by MediaInfo for HTTP/FTP/. The stream types objects are built over inheritance following this diagram: Works (same for the DLL and MediaInfo::Open()). Simply check all these objects properties to get the data from the file. use your own paths here PathToMediaInfoDLL : 'C:\Documents and Settings\Administrator\My Documents\autohotkey\MediaInfo.dll' PathToAVIFile : 'C:\Documents and Settings\Administrator\My Documents\autohotkey\6x09.avi' hModule : DllCall('LoadLibrary', 'str', PathToMediaInfoDLL) Avoids the need for subsequent DllCalls to load the library get. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |