[FFmpeg-user] how to protect my stream using ffmpeg with protocol rtsp

carlo sgambato carlosgambato19 at gmail.com
Wed Jun 17 19:20:10 EEST 2020


I generated my stream using ffmpeg with protocol rtsp (i love ffmpeg)
i generated a key with openssl with this command

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout
/home/pi/SSL/httpd-selfsigned.key -out /home/pi/SSL/httpd-selfsigned.crt

the software generated two files: a key and a certificate.

How can i insert this files in the encoder (ffmpeg)?

The stream command is this:

./ffmpeg -re -i prova.mp4 -c:v h264_nvmpi -b:v 4000k -r 30 -ac 1 -ar 44100
-f rtsp -rtsp_transport tcp rtsp://94.177.197.109:443/live/a


thank you for your attention


More information about the ffmpeg-user mailing list