I use sample_multi_transcode to transcode a HEVC rtsp stream to h264 rtsp stream using hevc plugin. I want to test the concurrency performance parameter.So i write a shell script using for loop to simulate concurrency execution.But error happens when i execute the program twice or more.The sample_multi_transcode are killed .I notice that the cpu/gpu overload is too large.
If i don't use the hevc transcode function ,for example ,just transcode a h264 stream to a different resolution rate h264 stream. I use the similiar shell script which is commenting out "echo set -i::h265 15dd936825ad475ea34e35f3f54217a6 .The error won't happen.
I trace the problem . And i can get the information as belows: