Encoder input singal

Hello,

How can I use the screen signal as input to encoder in this link example:
https://docs.nvidia.com/jetson/l4t-multimedia/l4t_mm_video_cuda_enc_group.html
instead of a physical camera.

Best regards!

Hi,
Please check
https://devtalk.nvidia.com/default/topic/1050704/jetson-nano/to-perform-a-capture-operation-call-the-nvscrncaptcapture-function-/post/5332828/#5332828