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. |
![]() |
#7221 | Link |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 952
|
x265.exe 3.2+17-4a29e0c5bfaf
Download: http://www.mediafire.com/file/ieswxu...5bfaf.rar/file FWIW... Code:
In file included from D:/KOMPILES/MCW/x265/source/encoder/encoder.cpp:27: D:/KOMPILES/MCW/x265/source/encoder/encoder.cpp: In member function 'void x265::Encoder::destroy()': D:/KOMPILES/MCW/x265/source/common/common.h:222:37: warning: macro expands to multiple statements [-Wmultistatement-macros] 222 | #define X265_FREE_ZERO(ptr) x265_free(ptr); (ptr) = NULL | ^~~~~~~~~ D:/KOMPILES/MCW/x265/source/encoder/encoder.cpp:882:12: note: in expansion of macro 'X265_FREE_ZERO' 882 | X265_FREE_ZERO(m_edgePic); | ^~~~~~~~~~~~~~ D:/KOMPILES/MCW/x265/source/encoder/encoder.cpp:881:9: note: some parts of macro expansion are not guarded by this 'if' clause 881 | if(m_edgePic != NULL) | ^~ ![]() |
![]() |
![]() |
![]() |
#7222 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 5,905
|
found an issue about 2pass crashing (https://bitbucket.org/multicoreware/...ure-with-32-15)
-> scenecut-aware-qp=0 (default) fails scenecut-aware-qp=1 works hopefully they will fix this soon,.... |
![]() |
![]() |
![]() |
#7225 | Link |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 952
|
x265.exe 3.2+18-f0fe46ce379d
(64-bit, multilib, GCC 9.2.0) http://www.mediafire.com/file/bqmxz9...e379d.rar/file |
![]() |
![]() |
![]() |
#7226 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
Some new stuff there I see, has anyone made any tests? Once again there are no use cases available from the devs.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#7227 | Link |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 952
|
Pooja Venkatesan committed a4e060a
2019-09-11 Add option hme-range to modify search range for HME levels L0, L1 and L2. https://bitbucket.org/multicoreware/...49f3ba8b63ac5a Download the .EXE from: http://msystem.waw.pl/x265/ |
![]() |
![]() |
![]() |
#7228 | Link |
Registered User
Join Date: Apr 2017
Posts: 23
|
Artifacts
those are my current parameters for 1080p encoding and I'll use between CRF 18 to 22, depending on the source material
--preset slow --vbv-maxrate 20000 --deblock=-6:-6 --no-strong-intra-smoothing --amp --aq-strength 1.25 --qcomp 0.7 --no-deblock --no-sao --rskip --output-depth 10 in general I get good results but once in a while there are artifacts, particular in dark areas, looking like this: (in this case it was CRF 22) two questions: any suggestions on improving my parameters in general? Is there a parameter which would improve in particular on that (besides a lower CRF value of course)? cheers, roland |
![]() |
![]() |
![]() |
#7229 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
--aq-mode 3 is meant to battle issues with dark areas of the frame. You may want to tune the strength down though, the bitrate will most likely shoot through the roof
![]()
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#7230 | Link | |
Registered User
Join Date: May 2018
Posts: 16
|
Quote:
Additionally, I have yet to see any real detail benefit to no-strong-intra-smoothing. I'd also avoid disabling deblocking and, if grain retention is still a priority, use some light deblocking instead. I've had good results with -4: -1 and -3: -3, with the former being slightly better IMO. --selective-sao 1 also seems to work well from my testing, subjectively better than disabling it entirely IMO. Last edited by markiemarcus; 7th December 2019 at 15:41. |
|
![]() |
![]() |
![]() |
#7231 | Link | |
Registered User
Join Date: Apr 2017
Posts: 23
|
Quote:
I've gathered those parameters from many sources, and honestly have mostly no clue about the impact. Something like this? --preset slow --vbv-maxrate 20000 --deblock=-4:-1 --amp --aq-strength 0.85 --qcomp 0.7 --selective-sao 1 --rskip --output-depth 10 --Aq-mode 3 I don't care about grain. Grain is IMO just noise. And while I understand that old material just has to have grain I don't understand why there is grain in newer material. If grain can be reduced without having other negative effects on a movie, that would also be fine. I don't analyze still pics, I don't see a point there. I'm not watching still pics. would the above be a good compromise, sufficient, or is there more to fine tune? -roland |
|
![]() |
![]() |
![]() |
#7232 | Link | |
Registered User
Join Date: May 2018
Posts: 16
|
Quote:
Perhaps keep AQ strength at the default of 1.0 for the time being. You really need 2-pass and short scene tests to find the optimal value. Last edited by markiemarcus; 7th December 2019 at 17:30. |
|
![]() |
![]() |
![]() |
#7233 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
Losing grain means also losing details, but --selective-sao 1 probably helps with that. SAO used to be one option to disable (I still disable it completely myself), because it just smoothed everything. Otherwise, your settings should be a good basis. I don't know much about the inner workings of the deblocking feature, but I use --deblock -2:-2 myself.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#7234 | Link | |
Registered User
Join Date: May 2018
Posts: 16
|
Quote:
|
|
![]() |
![]() |
![]() |
#7235 | Link | |
Registered User
Join Date: Apr 2017
Posts: 23
|
Quote:
--vbv-maxrate 15000 --deblock=-2:-2 --amp --aq-strength 0.85 --selective-sao 1 --rskip --output-depth 10 --aq-mode 3 with CRF 18-22 in 1.0 steps. CRF 18 results in 5.1Mbit/s (the original has 37Mbit), but all still have the same issue. Anything else that can help? Obviously otherwise only using very high bitrate might solve this or not re-encoing at all or accepting that this might happen. |
|
![]() |
![]() |
![]() |
#7236 | Link | |
Registered User
Join Date: May 2018
Posts: 16
|
Quote:
I take it you're running the latest build? In the interest of narrowing the problem down, maybe try the "slower" preset. I'd also see if --qg-size 64 can help and there's always good old Aq-mode 1. Is the source very grainy? Last edited by markiemarcus; 8th December 2019 at 06:48. |
|
![]() |
![]() |
![]() |
#7237 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
Have you checked the original closely so that it doesn't have the same issue there? Re-encoding could easily amplify it.
It could be worth a try applying an anti-banding filter just to see if it changes the situation.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#7238 | Link | |
Registered User
Join Date: Apr 2017
Posts: 23
|
Quote:
--vbv-maxrate 15000 --deblock=-2:-2 --amp --selective-sao 1 --rskip --output-depth 10 --aq-mode 3 --qg-size 64 --preset slower --crf 20 and --vbv-maxrate 15000 --deblock=-2:-2 --amp --selective-sao 1 --rskip --output-depth 10 --aq-mode 1 --qg-size 64 --preset slower --crf 18 yes, 3.2.0.18 still shows. It may be less, but still obvious Interesting part is that it only is that obvious on that region with black/purple texture it is grainy, but there is worse. does it help uploading the original and encoded clip? Onedrive working? |
|
![]() |
![]() |
![]() |
#7239 | Link | |
Registered User
Join Date: Apr 2017
Posts: 23
|
Quote:
I have no idea how to apply such a filter ![]() |
|
![]() |
![]() |
![]() |
#7240 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Hollola, Finland
Posts: 4,636
|
A source clip can always be useful. Easier to see what's really happening.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|