2/16/2023 0 Comments Ffmpeg h264 sps pps iframesGenerate individual NALUs from your H.264 stream. I frame, until you receive the next i frame. Video, and the P frames are just the changes that have been made to that i frames are much bigger than P frames.Ĭonceptually you can think of the i frame as an entire image of the Parameters (which may be the same as the initial parameters) and an iįrame, more P frames, etc. Several P frame NALUs (maybe a few dozen or so), then another set of Will receive with an initial set of PPS and SPS parameters followed byĪn i frame (aka IDR frame or flush frame) NALU. H.264 Stream Format: In most H.264 streams, you What the parameters mean, the decoder knows what to do with them. The 2 you need to set are Sequence Parameter Set (SPS) and Picture Parameter Set (PPS)Īnd they each have their own NALU type number. Parameters: Your decoder needs parameters so it knows how the H.264 video data is stored. (Since you only need the first 9 bits, I use YY & 0x1F to just get the relevant bits.) I list what all these types are in the method NSString * const naluTypesStrings, but you don't need to know what they all are. Tells you what type of NALU this is and therefore what type of dataįollows the header. NALUs: NALUs are simply a chunk of data of varying length that has a NALU start code header 0x00 00 00 01 YY where the first 9 bits of YY
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |