Using CSA with VOD in VLM
Posted: 10 Feb 2008 19:49
Hello,
I'm trying to work out a way to get the VLM scramble the video/audio streams that it sends out via it's VOD facility. I can successfully stream a CSA-encrypted transport stream using the broadcast facility with the following configuration:
I realize that it's not using RTP at all, but it's a proof of concept that CSA works with VLM, the log states:
Now I'm trying to achieve the same thing with true Video On Demand. I can't really specify any output/muxer options as I can't set an output parameter. I tried to do the following with no success:
and
and
None of these option gave me CSA encryption. Any ideas on how to get that?
I'm trying to work out a way to get the VLM scramble the video/audio streams that it sends out via it's VOD facility. I can successfully stream a CSA-encrypted transport stream using the broadcast facility with the following configuration:
Code: Select all
> new somestream broadcast enabled
> setup somestream input /path/to/videofile
> setup somestream output #std{access=http,dst=:8080,mux=ts{crypt-video,crypt-audio,csa-ck=0123456789101112}}
> control somestream play
Code: Select all
[00000260] [Media: somestream] mux_ts private debug: using CSA scrambling with ck=1:23:45:67:89:10:11:12
[00000260] [Media: somestream] mux_ts private debug: encrypting 188 bytes of packet
Code: Select all
> new somestream vod enabled
> setup somestream input /path/to/videofile
> setup somestream mux mp2t
> setup somestream option sout-ts-csa-ck=012345678910112
> setup somestream option sout-ts-crypt-video
> setup somestream option sout-ts-crypt-audio
Code: Select all
> new somestream vod enabled
> setup somestream input /path/to/videofile
> setup somestream mux mp2t
> setup somestream option :sout-ts-csa-ck=012345678910112
> setup somestream option :sout-ts-crypt-video
> setup somestream option :sout-ts-crypt-audio
Code: Select all
> new somestream vod enabled
> setup somestream input /path/to/videofile
> setup somestream mux ts{crypt-video,crypt-audio,csa-ck=012345678910112}