How the workflow should be for video playback application using NVDEC?

Hi,
You may try ffplay in ffmpeg. For downloading the source code, please refer to
【jetpack 5.1.2】Error while loading shared libraries: libnvbuf_utils.so.1.0.0 - #10 by DaneLLL
The sample is in

ffmpeg-4.2.7/fftools/ffplay.c

Somehow we are not able to build the sample. Please explore on this and would be great if you can figure it out and share us the steps.

For gstreamer-based samples, you can go to gstreamer website to download source code of gst-play-1.0, or download nvgstplayer-1.0 from
https://developer.nvidia.com/embedded/jetson-linux-r3541

Driver Package (BSP) Sources