[x264-devel] Re2: Idea for rate control.

Николай Рыжков namezys.work at gmail.com
Wed Dec 3 12:11:43 CET 2014


>> Hello.
>> 
>> My idea is using for encode video for streaming.
>> When I prepare video for streaming I have bandwidth limition. Its limit is
>> strong and average bitrate can?t be more than it.
>> In other hand I want to prepare video with same quality.
>> If I use bitrate control I get video with different quality. Usual the
>> quality if whole video is quality of worst part of it. And if we have bad
>> quality part spend all available bitrate for other part of video isn?t
>> necessary.
>> My idea is use CRF for reduce bitrate with general bitrate control. While
>> encoding with average bitrate we can calculate CRF and decrease bitrate and
>> quality is CRF became less than given.
>> For example, then I prepare HD video CRF=20..22 is enough for me. But I
>> encode with bitrate 5Mb. I understand that sometime 5Mb is more than
>> necessary and bitrate may be reduced. But I can?t of it for different part
>> of video.
>> 
>> In addition we can calculate CRF while 1 pass and use value nearly max CRF
>> for limit bitrate at 2nd pass.
>> 
>> What are thinking about this idea?
>> 
>> Nikolai Ryzhkov, iviru
>> 
>> _______________________________________________
>> x264-devel mailing list
>> x264-devel at videolan.org
>> https://mailman.videolan.org/listinfo/x264-devel
>> 
> 
> Have you tried CRF with VBV?

Yes. But my idea is slightly different.
At first in my algorithm current CRF is greater than MIN-CRF. At this part using VBR is more optimal than try limit bitrate to max-rate.
In other case if I calculate CRF during encoding 1-pass I can determinate MIN-CRF more accurately at 2-pass 

Nikolai Ryzhkov



More information about the x264-devel mailing list