Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaInfoList Open_Buffer_* functions are not exposed in the DLL. #858

Open
galli-leo opened this issue May 21, 2018 · 5 comments
Open

MediaInfoList Open_Buffer_* functions are not exposed in the DLL. #858

galli-leo opened this issue May 21, 2018 · 5 comments

Comments

@galli-leo
Copy link

Hello there,

I would like to use MediaInfo to parse information about Bluray and DVD disks. Searching through various forums, leads me to believe the best solution for that, is using the MediaInfoList class. Unfortunately, the DLL does not expose the Open_Buffer_* functions (such as Open_Buffer_Init) at the moment, although they are defined in the source code.

If I understand the source code correctly, one would just have to export the symbols in MediaInfoDLL_Static.h. Is that correct?

@JeromeMartinez
Copy link
Member

I guess I was too lazy and I missed them, I think it should be enough (but not tested).

@galli-leo
Copy link
Author

Hmm after skimming through the code for MediaInfoList, there doesn't seem to be anything special, that couldn't be achieved by just using multiple MediaInfo objects, correct?

@JeromeMartinez
Copy link
Member

It is mostly removing files when e.g. a DVD folder is tested, only the first .vob of a sequence is kept (others are discarded). In the future, it is planned to have some embedded multi-thread support for speedup.
But as a summary, MediaInfoList is "just using multiple MediaInfo objects", this is its main purpose.

@galli-leo
Copy link
Author

Ah ok, in that case I can just do that myself (So I don't have to manually export those symbols). Thank you for your help. Do you have any resources or tricks for finding the main file in a BDMV or VIDEO_TS folder?

@JeromeMartinez
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants