I have found some h264 files can not be decode by nv gst plugin normally on TX2.
When I try to decode the h264 file ,I will get some almost black pictures.
However the h264 file can be decoded well by using ffmpeg or gstreamer on x86 ubuntu16.04.
The problem can be reproduced on both R32.2.1 and R28.2.1
The gstreamer pipeline is :
gst-launch-1.0 filesrc location=1.h264 ! h264parse ! omxh264dec ! nvjpegenc ! multifilesink location=%04d.jpg
On x86 ubuntu, the ffmpeg and gstreamer pipeline are:
ffmpeg -i 1.h264 %04d.jpg
gst-launch-1.0 filesrc location=1.h264 ! h264parse ! adec_h264 ! jpegenc ! multifilesink location=%04d.jpg
The h264 file link