Page 1 of 1
How to encrypte TS stream with AES algorithm
Posted: 25 Jun 2010 11:08
by jeffreymu
How to encrypte TS stream with AES algorithm, i have test with CSA to encrypte stream and VLC player can play it.
Any help is greatly appreciated.
thanks a lot!
Re: How to encrypte TS stream with AES algorithm
Posted: 25 Jun 2010 14:18
by Jean-Baptiste Kempf
I don't think you can with VLC.
Re: How to encrypte TS stream with AES algorithm
Posted: 26 Jun 2010 01:51
by Rémi Denis-Courmont
You can't do that, unless you're streaming with Secure RTP, or HTTP/TLS.
Re: How to encrypte TS stream with AES algorithm
Posted: 28 Jun 2010 03:35
by jeffreymu
Thank you very much for your information, but how i can stream by SRTP?
Re: How to encrypte TS stream with AES algorithm
Posted: 28 Jun 2010 16:06
by jeffreymu
for CAS: i can stream using command
vlc -vvv t.ts :sout=#duplicate{dst=rtp{dst=239.255.1.1,mux=ts{csa-ck=ABBBBBBBBBBBBBBB},port=5004}}
however, i want to know how to stream by SRTP using 'srtp-key'? anybody would like help me, thx!
Re: How to encrypte TS stream with AES algorithm
Posted: 28 Jun 2010 16:28
by Rémi Denis-Courmont
IIRC, you just need to set the srtp key and salt with the corresponding options.
Re: How to encrypte TS stream with AES algorithm
Posted: 29 Jun 2010 08:39
by jeffreymu
send stream:
vlc -vvv d:/t.ts :sout=#duplicate{dst=rtp{dst=239.255.1.1,mux=ts,port=5004,srtp-key=123456789ABCEF0123456789ABCEF0123456789ABCEF0123456789ABCEF0}} --loop
receive stream:
vlc -vv rtp://@239.255.1.1:5004 --sout-rtp-key "123456789ABCEF0123456789ABCEF0123456789ABCEF0123456789ABCEF0"
is it right above? but i can receive stream using command "vlc -vv rtp://@239.255.1.1:5004", so the secure RTP doesn't right? how to set the srtp key? thx!
Re: How to encrypte TS stream with AES algorithm
Posted: 10 Dec 2010 22:34
by sellabianchi
Hello,
Could someone please provide a detailed description of how the server and the client need to be setup in Linux in order to stream encrypted webcam video using SRTP/AES? I cannot find a clear answer. Command line details are preferable.
Thanks a lot in advance,
SB
Re: How to encrypte TS stream with AES algorithm
Posted: 11 Dec 2010 02:20
by Rémi Denis-Courmont
'vlc --sout-rtp-key HEXA_KEY --sout-rtp-salt HEXA_SALT' on the server.
'vlc --srtp-key HEXA_KEY --srtp-salt HEXA_SALT' on the client.
Then, it's just like normal RTP streaming.
Re: How to encrypte TS stream with AES algorithm
Posted: 11 Dec 2010 17:36
by sellabianchi
Hello Remi,
Thanks a lot. Could you please kindly post a full command line example for the server and the client? (I am using VLC 1.1.4 (Ubuntu) and I want to stream my webcam (v4l2).
I think that such complete information would tremendously help people with the same request.
Thanks a lot once again for your help.
Cheers,
SB