Page 1 of 1

How to use VLC API

Posted: 27 Feb 2007 04:29
by ChrisCCF
Dear all,

I know this is kind of entry level question. But I can't find out the answer by my own...

According to doc: http://wiki.videolan.org/index.php/ExternalAPI, it seems that we can use vlc API by just include vlc/vlc.h in our program and then compile with src/libvlc.c

But this method turns out tons of err and most of them can't find something or something not defined.

I just want to first try a simple program which can use the VLC_Create, VLC_Init, VLC_Play, VLC_Stop...etc.

In fact how many .h I needed to include and how many .c, .cpp... needed to compile with? I even try to link libvlc.a and this does not help.

Does my method go wrong?

Regards,

Chris

Posted: 27 Feb 2007 09:19
by Jean-Baptiste Kempf
Nooo! you should use the Doxygen doc on developers.videolan.org.

INspire yourself from Qt4 module. Do you know if qtopia is near qt4 ?

Posted: 27 Feb 2007 11:27
by ChrisCCF
I know qtopia already issued qtopia4 last year in Dec...