SPS and PPS in h264parse

Robert Armstrong orangerobot at gmail.com
Fri Jan 29 11:01:45 PST 2016


I have a custom H.264 camera that required some modification for h264parse
to work. I'm speaking with the manufacturer of the image processor to see
if it's an issue with their H.264 implementation (profile is Main 4.1) but
I just wanted to see if anyone here can also confirm our assumptions.

My camera is sending data like this:

(SPS)(PPS)(I-Slice)(SPS)(P-Slice)(SPS)(P-Slice) ... (SPS)(PPS)(I-Slice)



According to our reading of the H.264 spec, this is incorrect and the
stream should either look like this:


(SPS)(PPS)(I-Slice) (SPS)(PPS)(P-Slice) (SPS)(PPS)(P-Slice) ... (SPS
)(PPS)(I-Slice)



Or this (Annex B):


(SPS)(PPS)(I-Slice)( PPS)(P-Slice)( PPS)(P-Slice) ... (SPS)(PPS)(I-Slice)



Specifically, there should be PPS frames before the P-Slice frames in my
custom camera.

Can anyone comment? Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160129/3d3e3b07/attachment.html>


More information about the gstreamer-devel mailing list