2012-12-13, 01:15 AM
MediaInfo.dll is stored in common
2012-12-13, 01:15 AM
MediaInfo.dll is stored in common
2012-12-13, 11:07 AM
mvallevand Wrote:Iain, have you already got a Mediainfo class ? I want to write info to an NFO file as follows and I'm being lazy I haven't got a class per se, but I can tweak the existing stuff I have so you can see how to use it (it's really easy). I'll post something later if I can... Iain
2012-12-13, 06:53 PM
Martin,
This should be enough to get you started. It's in the NPVR plugin architecture rather than anything standalone, but there's so little code to it anyway. I've also included the .txt file from MediaInfo itself that lists all the types of things you can query on. It's probably worth grabbing the proper MediaInfo developer download too as there's load more information in that too, especially with regards to querying different streams in the same file. Doing this has also made me think maybe I should just finish off what I started on a MediaInfo popup plugin ages ago (feelings of guilt about not releasing my videos/movie plugin aside ). I'd really like it to work by being able to intercept the Info (eg Alt+B) popup that normally appears rather than anything separate. One press for the normal popup, press it again (while it's still visible) and the MediaInfo-detected stuff could then appear. But I have a feeling that might not be possible; there's some timeline toggling going on at the very least. Iain
2012-12-13, 10:46 PM
Thanks Iain, I'll give it a try tonight. It does look easy but sometimes when you get into the implementation things change.
Martin
2012-12-14, 04:05 AM
(This post was last modified: 2012-12-14, 04:10 AM by mvallevand.)
Thanks again, your code saved me a lot of time
Code: <fileinfo> The harder part was figuring how xsd seralises it Code: movieFileinfo fi = new movieFileinfo(); Martin |
|