How to decode a RTP H.264 encoded Video Stream #60
Unanswered
Harold-M-Suquillo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm working with an IMX8MP with Libimxvpuapi 2.2.1 and I'm trying to decode a H.264 Video Stream over RTP with the VPU Library. What data should be in an ImxVpuApiEncodedFrame , more specifically the data field and what it should be initialized to. Should the data field be set to the Video data (NALU) from the RTP payload excluding the 12 Bytes of RTP Fixed Header Fields. Or should I be un-packetizing The NALUs to reconstruct whole video frames as done here. I'm also unsure how the decoder is going to receive h.264 SPS and PPS NALUs which are needed by the decoder. I can see a reference in the decode-example.c about h.264 SPS NALUs, but no info is given to how the vpu lib is getting that info. Finally since I'm working with a video stream, I would need to decode a video stream over a long period of time, looking over the decode-example and over the api I don't see anything that might prevent long running decoding sessions, but would there be any issues with trying to decode with the vpu over longer periods of time. Thank you
Beta Was this translation helpful? Give feedback.
All reactions