Hi My Question is, why the behaviour of libavcodec is very different then the rc_minrate are 0 as the value of rc_maxrate. My program produces a mpeg2-video of still pictures (dia-show), but with a framerate of 25fps, so that it can be decode by every STB. My Problem is the quality, because if the rc_minrate are 0, the Output is good and for example the bitrate is 350kbit/s. But for this bitrate i've to use a value of 1500kbit/s for rc_maxrate(and bitrate) and the output bitrate depends on the content of the picture. And if I use 350kbit/s for rc_minrate and rc_maxrate, the output is very bad, although this is the same bitrate with rc_minrate=0. Is there any way to have the good quality and the strictly obedience of the bitrate. One behaviour I've seen is, that the P-Frames of the video are still very large then rc_maxrate = rc_minrate , although there isn't any change in the content. Then rc_minrate = 0 the P-frames are empty. Is there a solution to manipulate the rate control of libav through the api? By looking into the source of libavcodec, I've seen that the quantize variables are calculated bei using the timebase of AVCodecontext , but this also affects the fps of the video so I can't change it.
Thank you Steffen _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
