I use the simplest ffmpeg action - transferring an RTSP stream from a webcam to an RTSP server.
The processor will load from 50% to 400% depending on the video resolution (320x240 … 1280x720).
@Electr1
I tried it. Indeed, with gstreamer + amlvenc, the CPU load has become 50% with RTSP streaming, and in the console you can see the following log:
[amvenc_multi_load_Module:40] amvenc_ports multi loadModule!, load_count:0
It’s like normal.
But if I kill the process (press CTRL + C) and start the process again, the load becomes 100%, and in the output you can see the following log:
[amvenc_multi_load_Module:40] amvenc_ports multi loadModule!, load_count:1
Was load_count = 0 and became load_count = 1
If I reboot the VIM4 and start the process, then the load CPU is 50% again.
I don’t really understand how everything works at a low level, but is it possible to somehow reset this load_count to zero?
If you need information on how to reproduce my problem, I am ready to provide it.
I achieved an RTSP stream with a CPU load of 15% through Gstreamer , but there remains a problem with restarting the process (when the load_count becomes = 1).