VPU Bitrate changes on the fly

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

VPU Bitrate changes on the fly

1,676件の閲覧回数
jparrish88
Contributor IV

Could someone throw out ideas on how to change the bitrate of an H264 video encoding on the fly?

I believe that, the bitrate configuration is fixed at launch for the VPU.

Does anyone have suggestions on how to work on this?

タグ(4)
2 返答(返信)

1,193件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

mx6 vpu can support it. refer to the vpu api,

bitRate is the target bit rate in kbps. If 0, there is no rate control and pictures are encoded with a quantization parameter equal to quantParam in EncParam.

for example,

+                             { 

+                                             int bitrate = 1000; 

+                                             if (frame_id==100) 

+                                                             vpu_EncGiveCommand(handle, ENC_SET_BITRATE, &bitrate); 

+                             } 

                               ret = vpu_EncStartOneFrame(handle, &enc_param);  

0 件の賞賛
返信

1,193件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

joanxie , would you please help us with this question?