I am creating an H264 byte stream by depacketizing the video fragments from an IP camera.
I am using the following syntax:
0x000001[SPS] 0x000001[PPS] 0x000001[I slice]
After decoding this byte stream, I get a half-blurred image. I am assuming this is because of the missing P-slices
How do I append the P-frames after the I-frames to get the correct video frame? Should it be like below:
0x000001[SPS] 0x000001[PPS] 0x000001[I slice] 0x000001[P] 0x000001[P]. . .
Thanks in Advance!