[x264-devel] Any control over NAL sizes?

Dennis Munsie dmunsie at gmail.com
Thu Feb 10 18:29:45 CET 2011


Exactly what I was looking for -- thanks!

dennis

On Feb 10, 2011, at 12:17 PM, Patrick White wrote:

> 
> Hi Dennis,
> 
> There is indeed a parameter to change, in the x264_param_t struct, the "i_slice_max_size" variable.
> 
> There are also related options for macro-blocks and slices.
> 
> Cheers,
> Patrick
> 
> On 2011-02-10, at 12:13 PM, Dennis Munsie wrote:
> 
>> I didn't see anything pop out at me in the x264.h file, but is there any control over NAL sizes exposed in the library? Something like setting a target NAL size based on the available payload in a UDP packet, for example.  So instead of having to take one NAL and split it over N packets, the NALs would have an upper limit and the encoder would output variable sized slices to hit that limit and each NAL would fit in a packet.
>> 
>> In this case, I'm only talking about slice (type 1) and IDR slice (type 5) NALs -- I'm not concerned about any of the others.
>> 
>> thanks!
>> dennis
>> _______________________________________________
>> x264-devel mailing list
>> x264-devel at videolan.org
>> http://mailman.videolan.org/listinfo/x264-devel
> 
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list