Closed madisongh closed 1 year ago
Describe the bug The encode_sample program from the Jetson Multimedia API samples generates errors, running on a Xavier NX dev kit.
encode_sample
To Reproduce Steps to reproduce the behavior:
demo-image-full
tegra-demo-distro
run-mmapi-tests encode_sample
Additional context
=== BEGIN: encode_sample === Running encode_sample NvMMLiteOpen : Block : BlockType = 4 ===== NVMEDIA: NVENC ===== NvMMLiteBlockCreate : Block : BlockType = 4 H264: Profile = 66, Level = 0 NVMEDIA: Need to set EMC bandwidth : 846000 NVMEDIA: Need to set EMC bandwidth : 846000 NvMapMemCacheMaint Bad parameter Opening in BLOCKING MODE nvbusurface: NvBufSurfaceSyncForCpu: Error(4) in sync Error while queueing buffer on output plane Got 0 size buffer in capture Encoder is in error << endl Running 00_video_decode on ut-samplevid.h264 NvMMLiteOpen : Block : BlockType = 261 NVMEDIA: Reading vendor.tegra.display-size : status: 6 NvMMLiteBlockCreate : Block : BlockType = 261 Creating decoder in blocking mode Opening in BLOCKING MODE Setting frame input mode to 1 Input file read complete Starting decoder capture loop thread [ERROR] (NvV4l2Element.cpp:114) <dec0> Error while DQing event: Invalid argument Error in dequeueing decoder event Exiting decoder capture loop thread [ERROR] (NvV4l2ElementPlane.cpp:178) <dec0> Output Plane:Error while DQing buffer: Broken pipe Error DQing buffer at output plane Decoder is in error App run failed === FAIL: encode_sample ===
I've reproduced this on a stock JetPack 5.0.2 setup and reported the problem in a dev forum post.
Describe the bug The
encode_sample
program from the Jetson Multimedia API samples generates errors, running on a Xavier NX dev kit.To Reproduce Steps to reproduce the behavior:
demo-image-full
on a branch oftegra-demo-distro
that has JetPack 5 GA integrated.run-mmapi-tests encode_sample
to execute the sample program.Additional context