Customizing V4L2_CID_MPEG_VIDEO_GOP_SIZE in Chromium

38 views
Skip to first unread message

Yaron Cohen

unread,
Jul 23, 2017, 11:56:11 AM7/23/17
to discuss-webrtc
Hi,

I googled a bit and found that the ‘ExynosVideoEncodeAccelerator::InitMfcControls()’ (exynos_video_encode_accelerator.cc) initialize V4L2_CID_MPEG_VIDEO_GOP_SIZE.

I also found few discussions around bug fixes in this domain (e.g. https://codereview.chromium.org/24667002/#ps8001https://bugs.chromium.org/p/webrtc/issues/detail?id=3339).

The latest code “disable periodic key frame” by default, but our internal testing shows that the GOP is 3000, it means that something else is changing the default.


// Disable periodic key frames. ctrls[8].id = V4L2_CID_MPEG_VIDEO_GOP_SIZE; ctrls[8].value = 0;


Is there any chromium API / configuration for adjusting GOP_SIZE?

 

Thanks

Yaron





Reply all
Reply to author
Forward
0 new messages