Hi,
Please find thw Queries regarding H.264 Encoder
1. We want to use h264 encoding with following settings:
-- intra refresh period = 5 -- we are using V4L2_CID_MPEG_VIDEO_H264_I_PERIOD, but is it valid? Isn't it IDR period?
-- GOP = 30 -- we use V4L2_CID_MPEG_VIDEO_GOP_SIZE for that, is it correct? In V4L2 driver it maps to "idr_period". On another platform we have separate GOP and IDR period.
-- IDR period = 30 -- we don't see which control to use for that?
-- constant bitrate setting
-- base profile
Right now we see that instead of stream with IDR of 30 and intra-refreshing partially frames every 5th frame (5 period) we got every 5-th frame fully I. This is not what we expect and need help.
2. In Topaz API header there is field:
unsigned short intra_refresh;
We suspect it is intra refresh period but it doesn't map anywhere.
3. In driver I see that NO_CR Topaz fw is used. Can we use CBR for constant bitrate? What should we do for that?
ret = topaz_upload_firmware(ctx, IMG_CODEC_H264_NO_RC);