<div dir="ltr">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. <div><br></div><div><div>My camera is sending data like this:</div><div><br></div><div><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">(<span class="">SPS</span>)(PPS)(I-Slice)(<span class="">SPS</span>)(P-Slice)(<span class="">SPS</span>)(P-Slice) ... (<span class="">SPS</span>)(PPS)(I-Slice)</span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"> </span></p><p class="MsoNormal" style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">According to our reading of the H.264 spec, this is incorrect and the stream should either look like this:<u></u></span></p><p class="MsoNormal" style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">(<span class="">SPS</span>)(PPS)(I-Slice) (<span class="">SPS</span>)(PPS)(P-Slice) (<span class="">SPS</span>)(PPS)(P-Slice) ... (<span class="">SPS</span>)(PPS)(I-Slice)<u></u><u></u></span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal" style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Or this (Annex B):<u></u><u></u></span></p><p class="MsoNormal" style="font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">(<span class="">SPS</span>)(PPS)(I-Slice)( PPS)(P-Slice)( PPS)(P-Slice) ... (<span class="">SPS</span>)(PPS)(I-Slice)</span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p></div></div><div><br></div><div>Specifically, there should be PPS frames before the P-Slice frames in my custom camera.</div><div><br></div><div>Can anyone comment? Thanks in advance!</div><div><br></div><div><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p><p class="MsoNormal" style="margin-left:0.5in;font-size:12.8px"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></p></div></div>