Need help writing a simple program that would use vlclib

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lamborman
New Cone
New Cone
Posts: 2
Joined: 17 Dec 2010 21:54

Need help writing a simple program that would use vlclib

Postby lamborman » 17 Dec 2010 22:09

Hey guys,
I've been reading through VLC documentation to understand this, but there is a lot of stuff I need to filter through, and in order to filter through that stuff I need to understand it at list a little bit first, basically I am impatient and want answers straight away so if anyone is kind enough to help me I would greatly appreciate it.

I want to make a simple program that would look like the following pseudo code

create core VLC object.

start playing a given file full screen.

after a certain amount of time start playing a different file

close the file video output on a press of a key.


Basically I need to use the core VLC components like outputing the video file onto the screen, pausing it, or changing the input file for the VLC.

As far as I understand I need to use the libvlc for this. Is it as simple as importing the library into your code and then clalling the needed methods? like libvlc.playfile(thefile.avi);
If yes, then I can go from there, I think, unless you know the names of the basic methods, or where to find them in the documentation and want to help me out :D.

If the process of using VLC video playing power in my own custom program is more difficult then that, then could you point me in the right direction of where to start learning to use it?(i.e. how to include it in my code and how to use the provided methods)

As you can tell I am very new to programming. :D

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: MSN [Bot] and 35 guests