HI, I realize encoder reference linux-codec-release-V1.2(https://github.com/juanfont/cedar-encoder),The encoder operation interface VENC_CMD_SET_FROFILE_LEVEL, VENC_CMD_SET_BITRATE,VENC_CMD_SET_QP_RANGE not be used, after setting the encoder does not support this command is given, According to the documentation 'AWCodec Development Reference Manual V1.2' know encoder modes are CBR (constant bit stream) / VBR (dynamic streams) mode, but we can not use VBR mode,I try to change the bitrate when encoder running through an interface VENC_CMD_BASE_CONFIG, there is no effect, A20 platform is not provide VBR stream dynamic regulation mode ,and the default is now the encoder base profile mode, I want to set for the High profile can not.
在 2015年4月29日星期三 UTC+8上午10:37:37,kevin.z.m.zh写道: > > Hi, > > The encoder allows you to set the MaxQp(0~51), MinQp(0~51), and MaxBitrate > > parameters. MaxQp and MinQp are used to controlpicture quality and > MaxBitrate > > is used to clamp the maximum encoding bit rate within the bitrate > statistical > > time; > > The default configuration is MinQp = 10; MaxQp = 40. If you could not get > > it to work for lower bitrates , please try to change MaxQp to a bigger > value, > > then maybe reduce the qulity of the picture. > > ------------------------------ > kevin....@gmail.com <javascript:> > > > *From:* jons...@gmail.com <javascript:> > *Date:* 2015-04-27 21:22 > *To:* achun liu <javascript:> > *CC:* linux-sunxi <javascript:> > *Subject:* Re: [linux-sunxi] How to adjust bitrate of allwinner's encoder > dynamically > On Mon, Apr 27, 2015 at 2:45 AM, <lyc....@gmail.com <javascript:>> wrote: > > hi,all, > > > > How to adjust bitrate of allwinner's encoder dynamically,I tried to > change, > > but did not seem to effect. > > I could not get it to work for lower bitrates. After about 1.5Mb/s it > stopped doing anything. I needed 500Kb/s for my application and was > unable to get that. > > > > > > BR, > > > > -- > > You received this message because you are subscribed to the Google Groups > > "linux-sunxi" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to linux-sunxi...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Jon Smirl > jons...@gmail.com <javascript:> > > -- > You received this message because you are subscribed to the Google Groups > "linux-sunxi" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to linux-sunxi...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.