What I wrote is for xvid and x264 (x264 need slightly less than xvid)

Am 14.09.2010 20:40, schrieb Kulti:
> Thank you, Benjamin!
> 
> I was doing any similar, but used 3 bits/pixel instead 0.22. At now I try to
> 0.22 and quality is very bad. As I understand optimal bpp depends on
> compression format. For uncompressed RGB needed 24 bpp, but how to know,
> what's optimal for concreate codec?
> 
> On Tue, Sep 14, 2010 at 1:46 PM, Benjamin Gretsch <[email protected]> wrote:
> 
>> For average to good quality you should have between 0.15 and 0.22
>> bits/pixel
>> (bpp).
>> Use the formula
>>        bpp = bps / (width * height * fps)
>> <=>     bps = bpp * width * height * fps
>>
>> bps is bits/s (bitrate), fps is frames/s
>>
>>
>> Am 14.09.2010 11:26, schrieb Kulti:
>>> Hi, all.
>>>
>>> I used add_video_stream() function from output_example.c for
>>> tuning AVCodecContext. bit_rate field is set to some value, but I can't
>>> understand what value I need? How to calculate output bit-rate for my
>>> concrete format and width x hight?
>>>
>>> May be ffmpeg can automatically set optimal bit-rate? I try to set this
>>> field to 0, but it was not work.
>>> _______________________________________________
>>> libav-user mailing list
>>> [email protected]
>>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>>>
>> _______________________________________________
>> libav-user mailing list
>> [email protected]
>> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
> 
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to