I have an HW that encode video into h264 and send it as a h264 buffers , the buffers comes in CB function as the follow:
EncoddedVideoCB(uint8_t* buf, int bufLen, void* pipline)
// Do something with the h264 buffer.
I will like to know if there is a way to decode the buffers in gstreamer into appsink in order to get the video framers.
I tried to use the follow gstreamer pipeline:
“appsrc ! video/h264,width=your_width,height=your_height,framerate=your_fps/1 ! h264parse ! nvv4l2decoder ! nvvidconv ! video/x-raw,format=BGRx ! videoconvert ! video/x-raw,format=BGR ! queue ! appsink drop=1”
It doesn’t work for me.