2 stream with one vlc instance

Discussion on the (deprecated) VideoLAN Server application as well as the miniSAPserver stream announcer. This is not about VLC!
Forum rules
Please do not post VLC related questions in this forum category. See the Forum Rules for more information.
VLCNewDev
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Mar 2010 20:47

2 stream with one vlc instance

Postby VLCNewDev » 02 May 2010 16:48

Dear all,
Is it possible to open 2 received video stream with only one vlc instance???
I hope to get an answer as soon as possible :) !!!
Thanks a lot..

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2 stream with one vlc instance

Postby Jean-Baptiste Kempf » 03 May 2010 07:12

Open, as in display ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLCNewDev
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Mar 2010 20:47

Re: 2 stream with one vlc instance

Postby VLCNewDev » 06 May 2010 06:20

Thanks j-b,
To give more information :
I added a new module in vlc (by adding new file and modifying some other files). With this module I want to request 2 streamed videos from a server and then play them with same vlc instance but in 2 windows.
I am looking for a detailed answer from some one who have an idea about vlc source code :) to explain how shall I modify my code to support such scenario!

Thanks for your support...

VLCNewDev
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Mar 2010 20:47

Re: 2 stream with one vlc instance

Postby VLCNewDev » 13 May 2010 01:23

I am trying to solve my problem alone. But, I want to know if I can use "pthread_create" or there is an equivalent function which is recommended???
thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 2 stream with one vlc instance

Postby Jean-Baptiste Kempf » 13 May 2010 01:41

You can.

I would use 2 instance of libVLC in my program, if I were you.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

VLCNewDev
Blank Cone
Blank Cone
Posts: 25
Joined: 07 Mar 2010 20:47

Re: 2 stream with one vlc instance

Postby VLCNewDev » 02 Jun 2010 00:52

Thanks j-b,
I used this tuto http://doc.qtfr.org/post/2007/02/21/Integration-de-VLC to request a second stream.


Return to “VideoLAN Server and miniSAPserver”

Who is online

Users browsing this forum: No registered users and 7 guests