Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

H.264 encoder multiple NAL frames

jburford1
Beginner
630 Views
Hello.

I have an H.264 file in which most video frames are composed of multiple NALs (IDR and non-IDR frames). The H.264 decoder handles this and combines the NALs and simple_player plays the file just fine. I would like to produce frames from the encoder which have a maximum NAL unit size and therefore segment bigger video frames accross multiple NALs. I looked and did not find any switch like "max NAL size" or similar in the encoder. I am using IPP 5.1. Is this feature supported in the encoder? I want to stream H.264 via RTP and when the image sizes are greater than the network MTU, I must fragment the frame into multiple NALs.

Regards
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
630 Views

Hello,

there is comment from our experts:

you can do the same on RTP packetization stage. There are several possible RTP payload formats for H.264 according to RFC3984. One of them assumes dividing of the large NAL into smaller RTP packets.

Regards,
Vladimir

0 Kudos
Reply