How to crypt the video stream to a. ts file?
Posted: 27 Apr 2012 13:27
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:
but it does not work.
how can i crypt the file?
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"
};
how can i crypt the file?