- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi there,
Could you please tell me how to reset the value of nal_reference_idc?
I've noticed that the value of nal_reference_idc was 1 in IDR frame after the operation of sample_encode H264,
but how can I make it as 3 instead of 1.
Kind regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you specify on what you are trying to change exactly? i tried to look at the demo and not sure i understood.
did you mean max_num_ref_frames?
If so, it can be controlled by mfxVideoParam-> mfxInfoMFX-> NumRefFrame
Regards,
Stav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
The nal_ref_idc is the priority of a NAL unit.For example the data like "......00 00 00 01 27......"means a start of a SPS NAL.
The data 0x27 means the priorfy of the NAL is 1(the second and the third bit of 0010 0111b is 01b). What i want to do is to change this value to 3(11b).
Regards,
Xu w.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
OK, i understand.
I am afraid you can not change to value of nal_ref_idc via MSDK API.
Regards,
Stav
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page