HW decoding in ffmpeg does not work well

Hi,
Please refer to developer guide and related topics:
Jetson TX2 and FFmpeg - Can't initialize nvrm channel - #5 by DaneLLL
Hardware accelerated video playback with L4T ffmpeg - #7 by DaneLLL