Limit max bitrate in 2-pass mode?
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Limit max bitrate in 2-pass mode?
Is there a way of limiting the max bitrate in 2-pass mode? Let's say I want a average 2000kbit but I never want max bitrate to go over 3000kbit.
Re: Limit max bitrate in 2-pass mode?
Via advanced encoding options:
…where maxrate and bufsize and integer values, in kbps (kilobits per second), just like the bitrate. Both options must be set else VBV won't kick in.
When in doubt, set the buffer size to 1 second (maxrate == bufsize).
Code: Select all
vbv-maxrate=maxrate:vbv-bufsize=bufsize
When in doubt, set the buffer size to 1 second (maxrate == bufsize).
Re: Limit max bitrate in 2-pass mode?
I did a quick test, average vbr = 1000, and vbv-maxrate and vbv-bufsize to 2000, but I still gets peaks at 2500kbps (using bitrate viewer for mp4-files). Anything I've forgotten?
Re: Limit max bitrate in 2-pass mode?
I doubt your bitrate viewer is VBV-compliant. So as long as you use correct VBV constraints for your use case (hardware decoder, or sometimes network characteristics), you'll be fine.