how can i decode rtsp stream(h.264) with t4

i don’t want file input and file output only stream input stream output

my stream data type is uint8 array

please help me if someone has example code