Community
cancel
Showing results for 
Search instead for 
Did you mean: 
gennadii_mog
Beginner
121 Views

How to set the h.264 'encoding level'?

Hi
we wondered how we can set the 'level' of our h.264 encoding
when we say 'level' we mean this level:http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels
thanks
Gennadii
0 Kudos
4 Replies
Chao_Y_Intel
Employee
121 Views


Gennadii,

Could you please check the level_idc parameter in the par file?

100 0 /* profile_idc (77-main, 100-high); level_idc

Thanks,
Chao
gennadii_mog
Beginner
121 Views

thanks Chao!
1. so if we want to use 5.1, we should put level_idc = 51?
2. wonder what it means -(check that num_ref_frames and frame size are in accordance with the level). how can we find the relation between these parameters?
thanks again
Genna
Emmanuel_W_
New Contributor I
121 Views

Hi Genna,

Check Annex A of the H.264 specs. It describes all the maximum parameter valueassociate with each level.

Emmanuel
Chao_Y_Intel
Employee
121 Views


Hello,

>>so if we want to use 5.1, we should put level_idc = 51?

Right, See Annex A of H.264/AVC.


Options:

10 1 (supports only QCIF format and below with 380160 samples/sec)
11 1.1 (CIF and below. 768000 samples/sec)
12 1.2 (CIF and below. 1536000 samples/sec)
13 1.3 (CIF and below. 3041280 samples/sec)
....

51 5.1 (Supports 4096x2304 format. Frame coding only. 251658240 samples/sec)
...

Thanks,
Chao

Reply