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)
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th December 2017, 18:12   #41  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by excellentswordfight View Post
CRF with maxrate and bufsize constrains would imo only make sense for big streaming services, the use of CRF there would not be to increase quality but to lower filesize (i.e. storage cost) without much of an quality loss for low complexity material.
maxrate and bufsize are important to anyone who is trying to limit worst-case bitrate or decoder complexity. x265 sets them by default for the specified or assigned Profile @ Level. But reducing them further can yield a smoother bitrate and also make things easier for software decoders. Also, some applications like UHD Blu-ray will require lower values than Profile @ Level define.

Quote:
And agree, I dont see a good reason for 2pass CRF even if it's possible.
I could see a 2-pass with CRF useful if there is a max file size target that also needs to be hit. A first pass would be enough if the file size was small enough. If it's too big, do a second pass with --bitrate set.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 15th December 2017, 18:16   #42  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by Nico8583 View Post
I let it to auto and x265 detects 4, 8 or 16 threads.
I read more threads can hurt quality with x264 but I didn't know with x265, so it's the same, thank you. Do you know a document about that ( threads number vs quality) ?
It can be complicated, and isn't nearly as big an issue as originally. Quality hit mainly comes from increased --frame-threads, which used to sometimes cause some rate control issues. It's at least a lot improved now.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 15th December 2017, 18:27   #43  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Thanks for the advices benwaggoner
About maxrate and bufsize, how can we determine the values to use ?
About 2pass CRF, is it possible to do a second pass without "prepare" it (so without using stats or other parameter) ?
Thank you !
Nico8583 is offline   Reply With Quote
Old 1st January 2018, 23:05   #44  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Any suggestion about maxrate and bufsize ?
Nico8583 is offline   Reply With Quote
Old 2nd January 2018, 05:45   #45  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
Quote:
Originally Posted by Nico8583 View Post
Any suggestion about maxrate and bufsize ?
Setting bufsize to maxrate * max GOP duration isn't a bad starting point, as long as the result is less than the max allowed for profile@level. That would be for file-based playback.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply


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 22:16.


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