Limit peak bitrate?

General questions or discussion about HandBrake, Video and/or audio transcoding, trends etc.
Post Reply
oRBIT2002
Experienced
Posts: 90
Joined: Sun Nov 01, 2009 11:22 am

Limit peak bitrate?

Post by oRBIT2002 »

I'm trying to make Plex-friendly BD-rips of my collection but it was obviously not that easy. Plex requires <20Mbps videos or it will start to transcode and I don't want that so I need to keep bitrates below 20megabits..
My problem is bitrate spikes. Assume I set avg bitrate to 12Megabit. using the extra options I set "vbv-maxrate: 17000" and "vbv-bufsize: 34000" (according to different sources online...) My thought was that I won't get spikes above 17000 (17Megabits) but I still keep getting >20Megabit spikes anyway.
I'm no expert in Handbrake so I might've mixed something up. What am I doing wrong? Hints are appreciated..
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Limit peak bitrate?

Post by mduell »

maxrate=17000 bufsize=34000 means you won't see spikes over 17Mbps if you look at a period of 2 seconds. If you look at one second periods you could still have 25Mbps in one second and 9Mbps in the next.

What time period is whatever tool you're using measuring spikes over?
oRBIT2002
Experienced
Posts: 90
Joined: Sun Nov 01, 2009 11:22 am

Re: Limit peak bitrate?

Post by oRBIT2002 »

"Bitrate viewer". I think it detects the highest spike through the entire file when it scans...
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Limit peak bitrate?

Post by mduell »

Sounds like crapware. Over what time period?
oRBIT2002
Experienced
Posts: 90
Joined: Sun Nov 01, 2009 11:22 am

Re: Limit peak bitrate?

Post by oRBIT2002 »

I have no idea.
Are there any settings to disable spikes above a certain bitrate?
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Limit peak bitrate?

Post by BradleyS »

Activity log would help.

HandBrake's official presets limit 1080p to level 4.0. This should be sufficient, but you could change the level to 3.1 like the 720p presets for vbv 14000,14000.
mduell
Veteran User
Posts: 8198
Joined: Sat Apr 21, 2007 8:54 pm

Re: Limit peak bitrate?

Post by mduell »

oRBIT2002 wrote: Sat Jul 29, 2017 5:58 amI have no idea.
Are there any settings to disable spikes above a certain bitrate?
The vbv settings you mentioned can be used to disable spikes above a certain bitrate.

It's not possible to tell you what settings you need to use if you refuse to tell us what time period (tenth of a second, one second, ten seconds, etc) you're measuring spikes over.
Post Reply