Page 1 of 1

VLC API

Posted: 21 Nov 2006 08:35
by pcheng
Dear all,

I was wondering if anyone knew of a good tutorial of how to use the VLC API in a program that I am writing to play a video file and stop it.

I used the system command to run VLC until now but that does not allow me some more refined actions.

Thanks

Posted: 24 Nov 2006 04:18
by tsr
first of all, sorry... i dont know any good tutorial on this topic. :/

but what exactly are you trying to do ? do you need support for a broad variety of codecs in your player, or do you supply those video files yourself (i.e. can you choose the codecs that need to be played back, yourself?) ?
if you only need support for a smaller range of codecs, i suggest using ffmpeg rather than VLC, because it is more simplistic and thus easier to embed. and last but not least, it has been embedded in many applications already, so i am sure you can find lots of info about it.
hope this helps.