Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

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

gennadii_mog
Beginner
268 Views
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
268 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
268 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
268 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
268 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