Other Parts Discussed in Thread: AM62P
Tool/software:
I want to verify the encoded CPU load of 4 channels of 1920*1536@25 video stream.But right now I only have a 640*480@30 usb camera,so I started with a camera.Here are my pipe orders:
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=4 ! videoconvert ! video/x-raw, format=NV12,framerate=30/1 ! v4l2h265enc extra-controls="enc,prepend_sps_and_pps_to_idr=1,video_gop_size=5" ! rtph265pay ! udpsink host=127.0.0.1 port=5000top results are as follows:
Here is the flame digram.As you can see, videoconvert accounts for 87.12%.
Is a 640*480@30 stream that takes up 36.5% of the CPU of a single core after color conversion and coding within the normal range? Can I reduce the CPU usage?
The second question, after i added glupload and gldownload,why did the screen go black? Are there other ways to use GPU?
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=4 ! glupload ! gldownload ! videoconvert ! video/x-raw, format=NV12,framerate=30/1 ! v4l2h265enc extra-controls="enc,prepend_sps_and_pps_to_idr=1,video_gop_size=5" ! rtph265pay ! udpsink host=127.0.0.1 port=5000
Thank you !