Page 1 of 1

How to crypt the video stream to a. ts file?

Posted: 27 Apr 2012 13:27
by freesunshine
i encode the camera video stream to a .ts file with libvlc and it works well.
and now i want to crypt the file with code below:

Code: Select all

const char * const vlc_args[] = { "-I", "dumy", // No special interface "--ignore-config", // Don't use VLC's config "--plugin-path=./plugins", "--live-caching=100", "--sout-ts-crypt-video", "--sout-ts-csa-ck=12345678", "--sout-ts-csa2-ck=12345678" };
but it does not work.

how can i crypt the file?