H264 decode strange issue!

HI!, I try decode h264 bitstream from Hikvision IPcam with multimedia api on jetson TX2. And found strange issue. Result frame produced with video_decode sample contain image only on left part of frame, right part contain green color.

tegra_multimedia_api/samples/00_video_decode# ./video_decode H264 -f 2 --dbg-level 3 --input-nalu --disable-rendering --max-perf -o 44.yuv ./44.h264

Used jetpack 4.3.

You may try direct rendering:

00_video_decode$ export DISPLAY=:1
00_video_decode$ ./video_decode H264 ./44.h264

Same Result!

It looks specific to the h264 stream. Please share 44.h264 so that we can reproduce the issue and check further.

file 44.h264

We don’t observe the issue. Probably you don’t run the sample in


Now the samples are installed through SDKManager. Please go to the path and try.

I used /usr/src/tegra_multimedia_api/samples/00_video_decode from jetpack 4.3 and observe issue

I can see correct video output in running:

00_video_decode$ export DISPLAY=:1
00_video_decode$ ./video_decode H264 /home/nvidia/44.h264
Set governor to performance before enabling profiler
Creating decoder 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: 1280x720
[INFO] (NvEglRenderer.cpp:110) <renderer0> Setting Screen width 1280 height 720
Decoder colorspace ITU-R BT.709 with extended range luma (0-255)
Query and set capture successful
Input file read complete
Exiting decoder capture loop thread
App run was successful