Page 1 of 1

RTP Restreaming

Posted: 15 Mar 2011 06:58
by humaid_uae
I am trying to use the VLC as relay for Multicast Streams to let the VLC join a Multicast Encyripted stream and then restream it on another network and another ip address as is (without changing its structure)
I want VLC to join the RTP stream on one interface (network card) and re-stream it on the second interface without changing its structure ! but with a different ip address
I tried VLC streaming and disable the re-encoding but with no use !!
look at the digram bellow
----------------------------| |-----------------PC With VLC-------------------| |---------------------------|
RTP Stream Ip 239.1.1.1------->First Network card-------Second network card------> RTP Stream IP 239.2.2.2
----------------------------| |---------------------------------------------------| |---------------------------|

I hope there is a way to do that or this function to be included in the VLC
It will be great if VLC can choose which network card to use for opening a network stream and which network card to use for streaming !

Thanks and best regards

Re: RTP Restreaming

Posted: 15 Mar 2011 17:34
by Rémi Denis-Courmont
Using VLC to forward UDP packets is way overkill. Besides, it cannot work if VLC cannot recognize the timestamps and codec due to encryption.

Re: RTP Restreaming

Posted: 16 Mar 2011 06:46
by humaid_uae
This is the problem which I am facing, VLC is not working as it can not decyript the stream.
If VLC can work some how like a relay agent or a proxy this should work.
I think if VLC only forward the UDP packets as (without modofing the contents)it should be no problem.
I dont know if this can be impelemented, but if it can this will be a usefull feature in VLC.
Thanks and best regards

Re: RTP Restreaming

Posted: 16 Mar 2011 09:05
by Sébastien Escudier
as Rémi said, using vlc to forward udp packets is overkill, use another software.

Re: RTP Restreaming

Posted: 16 Mar 2011 12:01
by Jean-Baptiste Kempf
What about using DVBlast for that?

Re: RTP Restreaming

Posted: 16 Mar 2011 15:34
by humaid_uae
Hi Jean,
Thanks allot for this suggestion, I will try it and see how it will work with me :)
Now I have to find a server to install linux on as DVBlast is not running on windows !
Thanks and best regards
What about using DVBlast for that?

Re: RTP Restreaming

Posted: 21 Mar 2011 06:56
by humaid_uae
I have managed to install Enterprise linux however when I tried to compile the file I got many errors ,
Can anyone kindly compile it and uploaded it on one of the sharing server i.e. mediafire ?

I need it for RedHat linux 2.6.9-89-Elsmp

Best Regards
Humaid

Re: RTP Restreaming

Posted: 21 Mar 2011 07:23
by humaid_uae
Finally I managed to get someone to compile the file for me...
thanks

Re: RTP Restreaming

Posted: 21 Mar 2011 11:31
by humaid_uae
Hi,
I managed finally to get the software running however there is a small problem which I am facing
When I ran the command

dvblast -D 239.1.1.1:5500 -d 239.2.2.2:5050

I got the software working and I can connect to it and get the video (on the new IP address). however it is listening and redirecting on the same network interface card !!!
Is there any way to force it to listen / join the Multicast stream on one Network card and restream on the second Network card as per the bellow digram ?

----------------------------| |-----------------PC With VLC-------------------| |---------------------------|
RTP Stream Ip 239.1.1.1------->First Network card-------Second network card------> RTP Stream IP 239.2.2.2
----------------------------| |---------------------------------------------------| |---------------------------|
Please note that I have two network ethernet card
eth0 and eth1
I will be thankfull if someone can tell me the command to run to perform the above task
Thanks and best Regards
Humaid