hello, I I upgraded jetpach 32.2 to jetpack 4.2.2, I use tegra_multimedia_api to Composite multiplexing video, When the resolution of the multichannel video stream is the same, change NvBufferCompositeParams.dst_comp_rect is well,But when the input video stream resolution is different, such as one is 720P,another is 1080p, after change the NvBufferCompositeParams.dst_comp_rect,NvBufferComposite return failed,Print the following log:
It’s a little bit complicated,I’ll show you later,and I run the sample program “01_video_encode”, it reported the following error.
root@nvidia-desktop:/usr/src/tegra_multimedia_api/samples/01_video_encode# ./video_encode …/…/data/Video/sample_outdoor_car_1080p_10fps.h264 1920 1080 H264 out
No protocol specified
nvbuf_utils: Could not get EGL display connection
Creating Encoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
875967048
842091865
H264: Profile = 66, Level = 51
Could not read complete frame from input file
nvbuf_utils: dmabuf_fd 0 mapped entry NOT found
nvbuf_utils: Can not get HW buffer from FD… Exiting…
[ERROR] (NvV4l2ElementPlane.cpp:256) Output Plane:Error while Qing buffer: Invalid argument
Error while queueing buffer at output plane
Encoder is in error
[ERROR] (NvV4l2ElementPlane.cpp:178) Capture Plane:Error while DQing buffer: Broken pipe
[ERROR] (NvV4l2ElementPlane.cpp:178) Capture Plane:Error while DQing buffer: Broken pipe
[ERROR] (NvV4l2ElementPlane.cpp:256) Capture Plane:Error while Qing buffer: Device or resource busy
Error while Qing buffer at capture plane
App run failed