Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Set Progressive flag to 1

Celio_A_
Beginner
223 Views

Hi,  need to know how to set in sample_multi_transcode and sample_encode general_progressive_source_flag to 1, can someone help me out?

Regards

 

0 Kudos
6 Replies
Mark_L_Intel1
Moderator
223 Views

Hi Celio,

Could you explain more about "general_progressive_source_flag", this seems not the argument of our sample code.

Mark

Celio_A_
Beginner
223 Views

OK its for Hevc , it needs the flag general_progressive_source_flag to = 1 i think its in sei nal i need to check

Mark_L_Intel1
Moderator
223 Views

Hi Celio,

I can see this code, it looks like related to the header of stream.

https://github.com/Intel-Media-SDK/MediaSDK/blob/0e50c533fc57f06af703ed41614d170972ed10a5/_studio/hevce_hw/h265/src/mfx_h265_encode_hw_utils.cpp#L1403

I believe if you set mfxEncParams.mfx.FrameInfo.PicStruct to MFX_PICSTRUCT_PROGRESSIVE, you will set this flag to 1.

Mark Liu

Celio_A_
Beginner
223 Views

Hi Mark i did what u sayd and still don't are flagged = 1, can u look this to me?

general_progressive_source_flag:      No it need to be Yes

Mark_L_Intel1
Moderator
223 Views

Hi Celio,

Not quite understand your question, you want general_progressive_source_flag set to 1, in our code it is defined as general.progressive_source_flag, I was saying if you set the field PicStructure to MFX_PICSTURE_PROGRESSIVE in the input video parameter structure, you set general.progressive_source_flag to true or "yes" whatever you expected.

If you have an issue, could you let me know how to reproduce it?

Mark

Celio_A_
Beginner
223 Views

Mark i tryed both types 

mfxEncParams.mfx.FrameInfo.PicStruct = MFX_PICSTRUCT_PROGRESSIVE; 

and _mfxEncParams.mfx.ExtendedPicStruct = MFX_PICSTRUCT_PROGRESSIVE;

I don't know what to try now, simple this parameters don't enable general_progressive_source_flag = 1, the first parameter enable high tier to 1

Regards

Reply