Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Viet_Hung_N_
Beginner
101 Views

How to set maximum size of NALU

Dear all,

I am developing a video conferencing application using H.264. When my application works with RMX-2000, I faces a problem that is RMX-2000 only accepts single NAL unit mode in RTP. So how can I set Intel H.264 encoder to create multiple slices per frame with size was set before?

I am using Intel Media SDK 2013 R2, and use hardware encoder implementation.

Thanks!

0 Kudos
8 Replies
Jack_Chimasera
Beginner
101 Views

I'm afraid this option is still missing. I have asked for it back in the Media SDK 2.0 days, and it hasn't been added yet.

Viet_Hung_N_
Beginner
101 Views

Thank you for your answer.

Does Intel have a plan for this feature?

Jack_Chimasera
Beginner
101 Views

I wouldn't know, I'm not with Intel, but I'd be glad to find out myself.

Viet_Hung_N_
Beginner
101 Views

Did you resolve this problem?

Petter_L_Intel
Employee
101 Views

Hi all,

Unfortunately there is no way of controlling the max size of the NAL in current release or Media SDK and Intel hardware. The reason for this is a dependency on fixed function HW encode component which sadly was not designed with such capability in mind.  This feature is being explored for future generations of Intel hardware.

Regards,
Petter 

celli4
New Contributor I
101 Views

Viet,

Is there a public copy of the spec on how the NALs must be formed for the RMX-2000 ?

I do not understand exactly from your message what the constraints are, or rules of composition that must be applied, and I'm curious.

Cameron

Viet_Hung_N_
Beginner
101 Views

There is no public spec of RMX-2000 telling about this, but in real world with my application, although I have signaled that I use FA-U, but RMX can not decode my stream. So I tried to setting to create multiple NALUs per frame (by setting fixed number slices per frame) and RMX-2000 can decode my stream.

With this setting, I can make my application working with RMX but the quality of frame is un-acceptable

celli4
New Contributor I
101 Views

Just a note, it would be great if this is fixed in future versions of hardware, I am running up against an issue where I need to be able to set the maximum size of a NAL unit myself, and it is unfortunate that this is not supported.

Even without hardware support, it would be nice if the software encoder had support for this, too.

Without maximum NAL length control, it means the IMSDK is constrained in which environments it can be used in with regards to RTP.

[The IMSDK cannot be used in places where only a baseline RTP decoder is implemented, unless the transport layer handles NALS of arbitrary length, something untrue for the typical RTP/UDP scenario. [yes fragmented UDP is available, but has problems in its own right]

This is the problem with the RMX 2000, I believe. 

Cameron

 

Reply