You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am always getting picType equal either 0 or 2. I tried different low latency and high quality modes but same happens.
I am encoding in CBR mode and setting IDR period to be the same as the frame rate:
Result = m_AmfEncoder->SetProperty(AMF_VIDEO_ENCODER_IDR_PERIOD, IdrPeriod);
where idrPeriod = fps (30).
Also, I am forcing SPS/PPS onto the first frame,but it always reports frame type 'NONE' for the first frame.
I expect the sequence in GOP to look smth like this: IDR,PPPPPPPPPPPPPP... IDR. Frame sizes vary, and the output video stream is playable, so it is clearly has to do with my settings or encoder reporting wrong info.
The text was updated successfully, but these errors were encountered:
Hi.
Immediately after querying the output I am trying to read the frame type with this code:
I am always getting picType equal either 0 or 2. I tried different low latency and high quality modes but same happens.
I am encoding in CBR mode and setting IDR period to be the same as the frame rate:
Result = m_AmfEncoder->SetProperty(AMF_VIDEO_ENCODER_IDR_PERIOD, IdrPeriod);
where idrPeriod = fps (30).
Also, I am forcing SPS/PPS onto the first frame,but it always reports frame type 'NONE' for the first frame.
I expect the sequence in GOP to look smth like this: IDR,PPPPPPPPPPPPPP... IDR. Frame sizes vary, and the output video stream is playable, so it is clearly has to do with my settings or encoder reporting wrong info.
The text was updated successfully, but these errors were encountered: