如何获取/设置H264相机的速率控制模式? [英] How to get/set the rate control mode of the H264 camera?

查看:66
本文介绍了如何获取/设置H264相机的速率控制模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

有一台摄像机可以提供由硬件编码的H264视频。我想获得/设置速率控制模式,平均比特率控制 和QP控制参数。

There is a camera which provies the H264 video encoded by hardware. I want to get/set the rate control mode, average bitrate control  and QP control param.

1。使用媒体源获取ICodecAPI接口;

1. Use media source get the ICodecAPI interface;

2。使用ICodecAPI和CODECAPI_AVEncCommonRateControlMode获取/设置   率控制模式  param,失败;

2. Use ICodecAPI and the CODECAPI_AVEncCommonRateControlMode to get/set the  rate control mode  param, failed;

3。使用ICodecAPI和CODECAPI_AVEncCommonMeanBitRate获取/设置平均比特率控制  param,success;

3. Use ICodecAPI and the CODECAPI_AVEncCommonMeanBitRate to get/set the  average bitrate control  param, succeed;

4。使用ICodecAPI和CODECAPI_AVEncVideoEncodeQP获取/设置   QP控件  param,success;

4. Use ICodecAPI and the CODECAPI_AVEncVideoEncodeQP to get/set the  QP control  param, succeed;

但是所有这个GUID都无法获得最大/最小值。有没有人有获得最小/最大值的方法?

But all this GUID can not get the max/min value. Does anyone have the method to get the min/max value?

重要的是,谁可以告诉我如何设置/获得速率控制模式  PARAM?我得到ICodecAPI接口的方法是对吗?

And important, Who can tell me how to succeed to set/get the rate control mode  param? Is the method I get the ICodecAPI interface right?

推荐答案

我也想知道。如果你解决了问题请让我。
I am also wanted to know that.If you solved the problem please let me .


这篇关于如何获取/设置H264相机的速率控制模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆