[Libav-user] Constrained Encoding Mode in H264

2018-04-10 Thread Vittalprasad
Hi Team, How to set/enable Constrained in H264? i followed this way, but not effective. //av_opt_set(c_en->priv_data, "maxrate", "100", 0); //av_opt_set(c_en->priv_data, "bufsize", "200", 0); In one document i saw this statement, * Turn on Constrained (VBV )with the -maxrate and -

Re: [Libav-user] How to use rkmpp decoder?

2018-04-10 Thread Henri Zikken
I don’t see why you would want an avpacket in the first place, then. As ffmpeg won’t do the decoding, why bother with ffmpeg? Basically the packet->data is just the raw data. You can just pass this on to your mpp packet as the buffer. Packet->size gives you the size. Regards, Henri Zi