ffz37097.eanok.com
ffz37097.eanok.com

Reputation: 1

Why h264 over rtp doesn't contain NALU Start Codes

I read https://stackoverflow.com/a/24890903/12279500. , But when I looking h264 over rtp I recognize Sps,Pps,Idr .... But didn't see h264 start code before each NALU.

Why is that?

How many h264 formats there are , not include Annex B and AVCC

Upvotes: 0

Views: 1348

Answers (2)

Wang
Wang

Reputation: 155

The start codes are used to split each NALU in byte stream because the NALU header doesn't have length info. But in rtp protocol, the NALUs are in payload field of the packet so it doesn't need the start codes. You only need to split each rtp packet.

Upvotes: 0

szatmary
szatmary

Reputation: 31110

RTP has its own payload format described in RFC 6184

As for how many formats there are, assume infinite because nothing is stopping anybody from creating more.

Upvotes: 1

Related Questions