问题描述
我必须在'WMVideo9编码器MFT'编码器上设置GOP大小,但我不知道如何。我没有通过IMFAttributes找到这样的属性。另外,我必须告诉编码器使用封闭的GOP。输出格式应为MFVideoFormat_WVC1。
关于GOP大小,我得到的最接近的是MF_MT_MAX_KEYFRAME_SPACING。但是,看起来它不会设置GOP大小。
有人可以对此发表评论吗?
我应该调用QueryInterface()吗? IMFTransform是为了获得一些设置GOP大小的界面吗?
谢谢!
I have to set the GOP size on 'WMVideo9 Encoder MFT' encoder, but I don't know how. I didn't find such attribute through the IMFAttributes. Also, I would have to tell encoder to use closed GOP. The output format should be MFVideoFormat_WVC1.
Regarding GOP size, the closest I got is MF_MT_MAX_KEYFRAME_SPACING. But, it doesn't look like it will set the GOP size.
Can somebody please comment this?
Should I call QueryInterface() on the IMFTransform in order to get some interface that provides a way for setting the GOP size?
Thank you!
这篇关于在'WMVideo9编码器MFT'编码器上设置GOP大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!