I can get raw h.264 frames from a camera. (it does NOT contain any network headers, for example rtsp, http). They are h.264 raw data. And I push these data to a queue frame by frame. I googled many ffmpeg example which uses avformat_open_input() with either local file path or network path. And I can see the video while I save the frames to a file and using avformat_open_input().
My problem is that I want to decode the frames realtime, not after it is saved as a file. Does anyone have any idea on this?
Thanks!