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. |
2nd January 2023, 20:38 | #8901 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
3rd January 2023, 19:41 | #8902 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
For those comparing --ctu 32 versus 64, have you tried using --ctu 64 with --rdpenalty 1? That raises the cost of a 32x32 TU by 4x, theoretically meaning they'll be selected a lot less often, and only when benefits are unambiguous.
However, it's a really old parameter from x265 circa 2014, and I don't know that anyone has tested with it in ages. Quote:
|
|
3rd January 2023, 21:44 | #8903 | Link | |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Quote:
I'll give it a try and see how this may affect speed and file size. Still, it would be great to find an explanation to those differences in size between 32 and 64. Like Boulder said, there must be more to it. |
|
3rd January 2023, 22:34 | #8904 | Link | |
Registered User
Join Date: Jul 2007
Posts: 63
|
Quote:
|
|
3rd January 2023, 23:35 | #8905 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
That makes sense. But why those differences then? Shouldn't those results between --ctu 32 and --ctu 64 setting be much closer if x265 wouldn't use 64x64 at those resolutions anyway? Or does the --ctu 64 setting actually force x265 to use 64x64 where it wouldn't normally do? I thought this is more like a 'maximum allowed size' setting, or am I wrong?
Last edited by LeXXuz; 3rd January 2023 at 23:39. |
3rd January 2023, 23:58 | #8906 | Link | |
Registered User
Join Date: Jul 2007
Posts: 63
|
Quote:
|
|
8th January 2023, 05:56 | #8907 | Link |
Registered User
Join Date: Dec 2002
Location: Los Angeles
Posts: 92
|
I compiled the x265 binary yesterday and noticed today that it gave me a strange error ("unknown option -- no-temporal-layers") when I was trying to rerender something, so I had a look at the latest commits and it looks like this option has been retired and the way the temporal layers are configured also changed.
So I just wanted to give everyone a heads-up and hopefully save some time. Here's the new syntax: Code:
option: --temporal-layers <integer> Enable specified number of temporal sub layers. For any frame in layer N, all referenced frames are in the layer N or N-1.A decoder may choose to drop the enhancement layer and only decode and display the base layer slices.Allowed number of temporal sub-layers are 2 to 5.(2 and 5 inclusive) When enabled,temporal layers 3 through 5 configures a fixed miniGOP with the number of bframes as shown below unless miniGOP size is modified due to lookahead decisions.Temporal layer 2 is a special case that has all reference frames in base layer and non-reference frames in enhancement layer without any constraint on the number of bframes.Default disabled. +----------------+--------+ | temporal layer | bframes| +================+========+ | 3 | 3 | +----------------+--------+ | 4 | 7 | +----------------+--------+ | 5 | 15 | +----------------+--------+ |
8th January 2023, 16:18 | #8908 | Link | ||
Registered User
Join Date: Aug 2018
Location: Germany
Posts: 119
|
I've tried the most recent x265 with the new sbrc patch applied. I got
Quote:
For my test it did set it to Quote:
Last edited by ShortKatz; 8th January 2023 at 16:22. |
||
9th January 2023, 07:14 | #8909 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
To me it looks like they are looking at it in a very different way this time. The functionality name itself was a bit strange considering that it was actually an auto AQ function. Now it really looks like what it says -- and I don't think it's a good idea to make things fixed like this. It would be much better to allow the old functionality as well and set those fixed values only in case of VBV being enabled.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
9th January 2023, 18:17 | #8910 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
That's certainly the behavior I'd imagine for a "Segment Based Rate Control" - it's based on each segment/fragment, not on VBV. |
|
9th January 2023, 18:40 | #8911 | Link | |
Registered User
Join Date: Jul 2007
Posts: 63
|
Quote:
|
|
9th January 2023, 18:41 | #8912 | Link | |
Registered User
Join Date: Jul 2007
Posts: 63
|
Quote:
|
|
9th January 2023, 18:52 | #8913 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
(https://mailman.videolan.org/piperma...ry/012882.html)
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 9th January 2023 at 18:55. |
|
9th January 2023, 18:54 | #8914 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
9th January 2023, 22:16 | #8915 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
VBV-based encoding makes sense for Video on Demand, as bits saved in one fragment mean the next fragment can be downloaded sooner to increase client-side fragment buffer duration. But with adaptive streaming where encoder latency~segment duration, there's not any way to "save" bits for the encoder to use on a fragment that hasn't happened yet. Rebuffer chance is proportional to the maximum fragment size of the lowest bitrate rendition. That's hard and limiting to control through VBV itself, and SBC does a better job of maximizing quality for a given max fragment size. |
|
9th January 2023, 23:09 | #8916 | Link | ||
Registered User
Join Date: Aug 2018
Location: Germany
Posts: 119
|
Quote:
Quote:
|
||
12th January 2023, 09:06 | #8917 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Looks like the final version was now pushed to master.
Here's hoping that jpsdr can include the old auto-aq feature (+ the hysteresis part) in his mod since SBRC is now something very different from what it was..
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
12th January 2023, 10:17 | #8918 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 483
|
x265 v3.5+85
Built on January 12, 2023, GCC 12.2.0 https://bitbucket.org/multicoreware/.../branch/master DL : https://www.mediafire.com/file/9qs4smpj0m6tjzy/ |
13th January 2023, 19:04 | #8919 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
Yeah, Auto AQ and SBRC are orthogonal and additive features. |
|
13th January 2023, 22:06 | #8920 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
I'll try to put it back and replace the name of all the commands :
--srbc => --aq-auto --srbc-hyst => --aq-auto-hyst --srbc-aq5 => --aq-auto-aq5 --srbc-hdr => --aq-auto-hdr
__________________
My github. |
|
|