2009-04-02 у 14:36 +0100, Clive Taylor wrote: > I'm using an IDE (don't tell anyone, but it's Microsoft Visual Studio > 6) > so I can watch the qmin and qmax values as they change, and I can see > the size of the output buffer for each setting of the quality and > other > VBR values. In the case of the video file that I'm using here, I > always > get a buffer size of 11556 bytes, no matter what the global_quality, > qmin, qmax, lmin, lmax, mb_lmin and mb_lmax elements of the codec > context are set to. > > >From this, I'd guess that there's something else that needs to be > changed or set somewhere, or that the encoder has to be closed and > reopened for each quality value change and the data is not treated as > dynamic. > I think that you are right and moreover this is an expected logical behavior. I doubt that it is possible for any video codec to set different value for frame quality or, for example, width or height. Don't forget that you are using video codec. So, probably you have to open encoder with desired parameters for every picture end close it after writing picture to the file. And I bet, the you could try to do this for a hundred times while was waiting for this replay.
Regards _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
