Embedded VLC into a C/C++ program

*nix specific usage questions
5kinman
Blank Cone
Blank Cone
Posts: 29
Joined: 14 Nov 2008 10:18
Location: Hong Kong

Embedded VLC into a C/C++ program

Postby 5kinman » 06 Oct 2009 05:07

Hi All,

I am trying to write a IPTV client running in Linux.
Can I embed the VLC into the program (Just like using VLC ActiveX plugin in Window) so that the client will not start a new instance of VLC?

Thx

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Embedded VLC into a C/C++ program

Postby xtophe » 06 Oct 2009 12:11

Yes using libvlc.
Xtophe

5kinman
Blank Cone
Blank Cone
Posts: 29
Joined: 14 Nov 2008 10:18
Location: Hong Kong

Re: Embedded VLC into a C/C++ program

Postby 5kinman » 07 Oct 2009 03:20

Thx for the reply.

Do you mean that I should add the libvlc to my project and just call the functions in the libvlc?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Embedded VLC into a C/C++ program

Postby Rémi Denis-Courmont » 07 Oct 2009 17:42

Yes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

5kinman
Blank Cone
Blank Cone
Posts: 29
Joined: 14 Nov 2008 10:18
Location: Hong Kong

Re: Embedded VLC into a C/C++ program

Postby 5kinman » 29 Oct 2009 04:22

I have installed the VLC 1.0.2 Goldeneye version at Ubuntu 9.10 beta.

But I can only find the libvlc file with extension .so , .so.2, .so.2.2.1 and etc..

Where can I find the appropriate library file for the software development?

BTW, is there any suggestion for the application development software? I am a new programmer in linux. Thx

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Embedded VLC into a C/C++ program

Postby Rémi Denis-Courmont » 29 Oct 2009 08:20

The development files are obviously in the libvlc-dev package.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests