Page 1 of 1

I beg you help me!!!!! :)

Posted: 12 Nov 2010 22:45
by riadoufr
Hi
First forgive me for my bad English

I am trying to make a simple program with libvlc to boardcast a Tv channel from different media sources (camera video).

Program desciption
When you open this program you can see two different videos (which are being played) one of them is being streaming out (I will call it A and the other one B) to rtp address ADR and when you click on B, you stop streaming out A and you start streaming out B to the same rtp address ADR. And then when you click on A you stop streaming B and you start streaming out B to rtp ADR(I think that you understand the idea).

Algo
To do this I start by stopping playing A and B, I make two new libvlc_media_t and I use libvlc_media_add_option to add stream command to the video that i want to stream out.
This works but it take long time.(when I watched it)

Is there a different way to do it?
And thinks a lot

Re: I beg you help me!!!!! :)

Posted: 15 Nov 2010 16:32
by JoeBlah
You havent told us what operating system you are using which can make a difference.

More details would help.

Re: I beg you help me!!!!! :)

Posted: 16 Nov 2010 22:44
by riadoufr
I use windows xp .
I think that you didn't understand my problem(because of my good English :) )
I manage to use libvlc to display and stream out a video in the same time.
But how can I stop streaming without stop playing the video?

First,I try save the position of the movie .
Second stop playing and streaming the media
Then I make a new media(without streaming option) and finally I move to the saved position.
It works but it took much time(to reload the movie)that ,s why I need to stop streaming without stopping playing.
Please help me!!

Re: I beg you help me!!!!! :)

Posted: 17 Nov 2010 22:06
by rogerdpack
web interface might help
--sout-keep might help