471,349 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,349 software developers and data experts.

How to use MediaInfo library?

1
Hello,

I'm trying to use MediaInfo library in python via ctypes. I tried this code:

Expand|Select|Wrap|Line Numbers
  1. import ctypes
  2. milib = ctypes.cdll.LoadLibrary("mediainfo.dll")
  3. handle = milib.MediaInfo_New()
  4. milib.MediaInfo_Open(handle, "D:\temp\video.avi") 
  5.  
Unfortunately the last line complaints that there are not enough parameters for that function. I based this on a sample Delphi code, which is shipped with the library. There are also samples in many other languages. Unfortunately I don't know anything else then Pascal and PHP. And now I'm trying to learn Python.

I would greatly appreciate if anyone could help me with this.
Nov 29 '07 #1
0 3435

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by pieter.breed | last post: by
4 posts views Thread by womanontheinside | last post: by
19 posts views Thread by Deniz Bahar | last post: by
3 posts views Thread by Manny Silva | last post: by
10 posts views Thread by mwt | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.