[x264-devel] How to set level programmatically

Sergio Garcia Murillo sergio.garcia.murillo at gmail.com
Fri May 24 12:38:51 CEST 2013


El 24/05/2013 12:32, Jason Garrett-Glaser escribió:
> On Fri, May 24, 2013 at 1:47 AM, Sergio Garcia Murillo
> <sergio.garcia.murillo at gmail.com> wrote:
>> +1
>>
>> Some conferencing equipment matches the level in the SPS with the
>> profile-level-id negotiated via SDP and reject it if they don't match (even
>> if the h264 stream comply with the level constrains). So currently I have to
>> check all output nals for SPS ones and rewrite the value.
> Wouldn't it be vastly easier to just set i_level_idc? This seems like
> orders of magnitude more effort than is necessary...
>
Would love it, but in my tests, the i_level_idc is only used to apply 
the constrains to the encoding, but the profile-level-id set in the SPS 
is calculated internally and may not match the i_level_idc.

Best regards
Sergio


More information about the x264-devel mailing list