Hello:
I rewrote “08_video_dec_drm” to tested the results of the demo running the second time, using Nvbufferapi’s new NvBufferTransform() function instead of using Conv.
Print as follows:
nvbuf_utils: nvbuffer Payload Type not supported
NvBufferGetParams failed for src_dmabuf_fd
nvbuffer_transform Failed
Transform failed
So I also added a NvBufferGetParams() function to see if I could get the decoder capture_plane’s DMA_BUF parameters.
and NvBufferGetParams() returned -1, unable to get parameters.
My code is in the attachment, and the Run command is:
./video_dec_drm …/…/data/Video/sample_outdoor_car_1080p_10fps.h264 H264 --disable-ui -s 4
08_video_dec_drm.rar (14.2 KB)