Nano jetpak4.2.2 , in tegra_multimedia_api, 00_video_decode, NvDdkVicConfigure Failed

Nano jetpak4.2.2 , in tegra_multimedia_api, 00_video_decode, NvDdkVicConfigure Failed.

root@jp422:/home/nano/tegra_multimedia_api-bak/samples/00_video_decode# ./video_decode H264 -ww 1920 -wh 1088 --input-chunks --disable-rendering -o 1.yuv rtsp.264
No protocol specified
nvbuf_utils: Could not get EGL display connection
Set governor to performance before enabling profiler
Creating decoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Setting frame input mode to 1
Starting decoder capture loop thread
Input file read complete
Video Resolution: 704x576
Decoder colorspace ITU-R BT.709 with extended range luma (0-255)
libv4l2_nvvidconv (0):(802) (INFO) : Allocating (11) OUTPUT PLANE BUFFERS Layout=1
libv4l2_nvvidconv (0):(818) (INFO) : Allocating (11) CAPTURE PLANE BUFFERS Layout=0
Query and set capture successful

liuwen <<<<<func[dec_capture_loop_fcn] LINE[933]
libv4l2_nvvidconv (0):(1688) (ERROR) : NvDdkVicConfigure Failed
libv4l2_nvvidconv (0):(1710) (ERROR) : NVVIDCONV ERROR 2

liuwen <<<<<func[dec_capture_loop_fcn] LINE[933]
Segmentation fault (core dumped)

which jetpak version is reliable ???

rtsp.264.log (1.3 MB)
rename rtsp.264.log to rtsp.264

Duplicate of

Please install system image and all SDK components through SDKManager.

i have install jetpak4.2.2 from sdk manager

Hi,
The samples are in
/usr/src/jetson_multimedia_api/samples/00_video_decode/
Please try

root@jp422:/home/nano/tegra_multimedia_api-bak/samples/00_video_decode# ./video_decode H264 --disable-rendering …/…/data/Video/sample_outdoor_car_1080p_10fps.h264
No protocol specified
nvbuf_utils: Could not get EGL display connection
Set governor to performance before enabling profiler
Creating decoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Setting frame input mode to 1
Starting decoder capture loop thread
Video Resolution: 1920x1080
Decoder colorspace ITU-R BT.601 with standard range luma (16-235)
Query and set capture successful
Input file read complete
Exiting decoder capture loop thread
App run was successful
root@jp422:/home/nano/tegra_multimedia_api-bak/samples/00_video_decode# ./video_decode H264 -ww 1920 -wh 1088 --input-chunks --disable-rendering -o 1.yuv rtsp.264
No protocol specified
nvbuf_utils: Could not get EGL display connection
Set governor to performance before enabling profiler
Creating decoder in blocking mode
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Setting frame input mode to 1
Starting decoder capture loop thread
Input file read complete
Video Resolution: 704x576
Decoder colorspace ITU-R BT.709 with extended range luma (0-255)
libv4l2_nvvidconv (0):(802) (INFO) : Allocating (11) OUTPUT PLANE BUFFERS Layout=1
libv4l2_nvvidconv (0):(818) (INFO) : Allocating (11) CAPTURE PLANE BUFFERS Layout=0
Query and set capture successful

liuwen <<<<<func[dec_capture_loop_fcn] LINE[933]
libv4l2_nvvidconv (0):(1688) (ERROR) : NvDdkVicConfigure Failed
libv4l2_nvvidconv (0):(1710) (ERROR) : NVVIDCONV ERROR 2

liuwen <<<<<func[dec_capture_loop_fcn] LINE[933]
Segmentation fault (core dumped)

the video file from official is ok, but my h264 video file is failed,

Hi,
Please check if you flash correct image to your Jetson Nano. We have developer Kit version and production module. Although it runs successfully in decoding sample_outdoor_car_1080p_10fps.h264, the error is not expected.
nvbuf_utils: Could not get EGL display connection

If you have confirmed the image is correct, it is more like an issue in hardware. Probably the board is broken.

the board: nano + tf card. system install and run in tf card.
you doubt something is wrong with the board? but the nano board just run 2 days.

excuse me, how to solve it ?
it works ok in USE_NVBUF_TRANSFORM_API mode
but if do not use this mode, then error.

Hi,
We are not able to reproduce the error. By default we use NvBuffer APIs and it is defined in video_decode.h:

#define USE_NVBUF_TRANSFORM_API

Suggest you use NvBuffer APIs.