Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2015, 10:59   #1  |  Link
picturebuffer
Registered User
 
Join Date: Dec 2012
Posts: 8
--strict-cbr usage

I wanted to test that (experimental) swtich but can`t get it to work with current build,

with parameters set to:
--bitrate 1650 --strict-cbr
or
--bitrate 1650 --vbv-maxrate 5000 --vbv-bufsize 5000 --strict-cbr

I get:

x265 [error]: Strict-cbr cannot be applied without specifying target bitrate or vbv bufsize

CLI usage wrong or not working as of now?
picturebuffer is offline   Reply With Quote
Old 27th March 2015, 12:32   #2  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 891
./x265 -o t.hevc test.y4m --bitrate 5000 --vbv-maxrate 5000 --vbv-bufsize 5000 --strict-cbr
And no problem.

You need to set bitrate == maxrate to switch to CBR mode. Then specify bufsize should allow you to use strict-cbr.

Also please check your version number. Some legacy version could come with problems that might have been fixed.
MeteorRain is offline   Reply With Quote
Old 27th March 2015, 12:56   #3  |  Link
picturebuffer
Registered User
 
Join Date: Dec 2012
Posts: 8
That solves it. Totally fine with current build also. Thanks!
picturebuffer is offline   Reply With Quote
Old 30th March 2015, 19:01   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,981
I'm not really sure what the scenario for --strict-cbr is.

Can you share what you're planning to use it for, and how you'll be able to tell if it works?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 30th December 2020, 18:06   #5  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,586
It's what name suggests

Quote:
Enables stricter conditions to control bitrate deviance from the target bitrate in ABR mode. Bit rate adherence is prioritised over quality. Rate tolerance is reduced to 50%. Default disabled.

This option is for use-cases which require the final average bitrate to be within very strict limits of the target; preventing overshoots, while keeping the bit rate within 5% of the target setting, especially in short segment encodes. Typically, the encoder stays conservative, waiting until there is enough feedback in terms of encoded frames to control QP. strict-cbr allows the encoder to be more aggressive in hitting the target bitrate even for short segment videos.
It does work. Just encode something with and without it and look in bitrate viewer.

Last edited by kolak; 30th December 2020 at 18:09.
kolak is offline   Reply With Quote
Old 30th December 2020, 20:17   #6  |  Link
excellentswordfight
Lost my old account :(
 
Join Date: Jul 2017
Posts: 206
Quote:
Originally Posted by benwaggoner View Post
I'm not really sure what the scenario for --strict-cbr is.

Can you share what you're planning to use it for, and how you'll be able to tell if it works?
I have used it quite a bit. For broadcast scenarios with a set bandwith, without it i got warnings as i got bitrate spikes that surpased the mpeg-ts muxrate even though i had some overhead.
excellentswordfight is offline   Reply With Quote
Old 2nd January 2021, 15:33   #7  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,586
Yep, same here.
kolak is offline   Reply With Quote
Old 3rd January 2021, 20:28   #8  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,846
Quote:
Originally Posted by kolak View Post
It does work. Just encode something with and without it and look in bitrate viewer.
Since you mentioned Bitrate Viewer I think it only supports up to H.264, but no H.265. Is there an updated version for H.265? 'cause I would like that as it's been my de facto choice for looking at bitrates for years.

Quote:
Originally Posted by excellentswordfight View Post
I have used it quite a bit. For broadcast scenarios with a set bandwith, without it i got warnings as i got bitrate spikes that surpased the mpeg-ts muxrate even though i had some overhead.
True. I've been using it too to make it as "constant" as possible for quite some time now. It works fine, just like it does for x264.
FranceBB is offline   Reply With Quote
Old 3rd January 2021, 21:09   #9  |  Link
MGarret
Registered User
 
Join Date: Feb 2007
Posts: 18
Quote:
Originally Posted by FranceBB View Post
Since you mentioned Bitrate Viewer I think it only supports up to H.264, but no H.265. Is there an updated version for H.265? 'cause I would like that as it's been my de facto choice for looking at bitrates for years.
If you have a Mac, there is updated version of BitrateViewer by the same author which supports H.265.

On Windows I sometimes use CheckBitrate by Rigaya (author of NVencC app) to generate .csv which I then import into Google Sheets to create charts. It's not as convenient as a standalone program but it is what it is.

There's also PlotBitrate and PlotBitrateFaster python scripts that can do the job but I prefer CheckBitrate.
MGarret is offline   Reply With Quote
Old 4th January 2021, 07:40   #10  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,846
Quote:
Originally Posted by MGarret View Post
If you have a Mac, there is updated version of BitrateViewer by the same author which supports H.265.
It's probably the first time that I see something free more updated on OSX than it is on Windows.

Quote:
Originally Posted by MGarret View Post
On Windows I sometimes use CheckBitrate by Rigaya (author of NVencC app) to generate .csv which I then import into Google Sheets to create charts. It's not as convenient as a standalone program but it is what it is.

There's also PlotBitrate and PlotBitrateFaster python scripts that can do the job but I prefer CheckBitrate.
I'll try CheckBitrate then as I'm on Windows, thanks for the suggestion.
Too bad the author of Bitrate Viewer didn't update the program for Windows...
FranceBB is offline   Reply With Quote
Old 4th January 2021, 11:53   #11  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,586
Quote:
Originally Posted by FranceBB View Post
Since you mentioned Bitrate Viewer I think it only supports up to H.264, but no H.265. Is there an updated version for H.265? 'cause I would like that as it's been my de facto choice for looking at bitrates for years.



True. I've been using it too to make it as "constant" as possible for quite some time now. It works fine, just like it does for x264.
Bitrate viewer not BitrateViewer meaning any one
It can be easily checked with eg. DVBInspector (assuming ts file).
kolak is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.