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. |
22nd February 2020, 13:50 | #3601 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Please, try to make whole sentences it's getting harder and harder to guess what you want to say.
No clue what cqr is. Combining cq (= constantquantizer) with aq (adaptive quantizer) makes no sense. Combining lossless with noise reduction doesn't make sense either. Last I checked adpative quantization in aomenc requires 2pass encoding, so anything that isn't 2pass encoding can't use it. Might be that some disabling of features is wrong in the gui, but without details I'm not looking into it. Cu Selur Last edited by Selur; 22nd February 2020 at 13:53. |
22nd February 2020, 18:12 | #3602 | Link |
Registered User
Join Date: May 2014
Posts: 292
|
2-pass mod - noise reduction box is unlocked > change the mode to: abr (or) q, cq, lossless > return back to 2-pass mod - noise reduction box is blocked (The reason is to switch --auto-alt-ref=1 to --auto-alt-ref=0).
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB. Last edited by Gravitator; 22nd February 2020 at 18:15. |
22nd February 2020, 20:10 | #3603 | Link | |
Registered User
Join Date: May 2014
Posts: 292
|
Quote:
aomenc -w 1920 -h 1080 --threads=0 --passes=1 --pass=1 --cpu-used=8 --i420 --input-bit-depth=10 --bit-depth=10 --end-usage=q --cq-level=54 --auto-alt-ref=1 --aq-mode=0 --webm -o k:\aq0.webm aomenc -w 1920 -h 1080 --threads=0 --passes=1 --pass=1 --cpu-used=8 --i420 --input-bit-depth=10 --bit-depth=10 --end-usage=q --cq-level=55 --auto-alt-ref=1 --aq-mode=1 --webm -o k:\aq1.webm ------- AOM New! --tune=psnr, ssim, vmaf_with_preprocessing, vmaf_without_preprocessing, vmaf (Removed CDEF and DAALA) New! --disable-trellis-quant=<arg> Disable trellis optimization of quantized coefficients (0: false 1: true 2: true for rd search 3: true for estimate yrd serch (default))
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB. Last edited by Gravitator; 22nd February 2020 at 20:35. |
|
1st May 2020, 10:51 | #3607 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Hybrid rev 2020.05.01.1:
*fixed*
*added*
*changed*
-> downloads: http://www.selur.de/downloads Cu Selur Ps.: For Debian/Ubuntu Linux Users: I tried writing a build-vapoursynth and build-plugins script, see: https://github.com/Selur/hybrid-vapoursynth-addon Hope someone get's inspired and makes this more usable. |
8th May 2020, 16:28 | #3608 | Link |
Registered User
Join Date: Oct 2001
Posts: 454
|
Thanx a lot for the update Nice to see the Vulkan implementation of waifu2x together with the 1x upscale option - its very usefull to clean up anime stuff!!
One thing I noticed: Doing just this Waifu2x cleanup, I canīt output to fv1 anymore, which worked before. So I just Prores which is fine for the moment. Hybrid really become my favorite tool for all kinds of filtering and conversion! Thanx! |
17th May 2020, 23:21 | #3609 | Link |
Duh!
Join Date: Dec 2008
Posts: 238
|
Hi there,
Thx Selur for this wonderful piece of software. I'm reencoding an HEVC / HDR video with NVEnc (FFmpeg). Encoding video stream works fine, but patching for HDR signaling fails. My system: ubuntu 20.04, python 3.8.2 Code:
# ./nvhsp -full_range tv -colorprim bt2020 -colormatrix bt2020nc -transfer smpte-st-2084 -maxcll 1000 -maxfall 300 -chromaloc 2 -masterdisplay "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" "/tmp/sample_new.265" "/tmp/sample_new_hdr.265" Code:
Traceback (most recent call last): File "./nvhsp", line 802, in __new__ return _cache[auto] KeyError: '-full_range,tv,-colorprim,bt2020,-colormatrix,bt2020nc,-transfer,smpte-st-2084,-maxcll,1000,-maxfall,300,-chromaloc,2,-masterdisplay,G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1),/tmp/sample_new.265,/tmp/sample_new_hdr.265' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./nvhsp", line 637, in tokenparser length = int(length) ValueError: invalid literal for int() with base 10: '-full_range' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./nvhsp", line 806, in __new__ _, tokens = tokenparser(auto) File "./nvhsp", line 647, in tokenparser raise ValueError("Don't understand length '{0}' of token.".format(length)) ValueError: Don't understand length '-full_range' of token. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./nvhsp", line 4301, in <module> b = Bits(','.join(sys.argv[1:])) File "./nvhsp", line 808, in __new__ raise CreationError(*e.args) __main__.CreationError: Don't understand length '-full_range' of token. UPDATE: BTW it works fine in Windows Last edited by MadMonkey57; 21st May 2020 at 09:53. |
25th May 2020, 07:48 | #3610 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
No clue. Seems like nvshp aborts since it can't properly parse'-full_range tv', but according to the code (https://github.com/SK-Hardwired/nv_h...aster/nvhsp.py) it should work.
in line 29 range_list is defined as: Code:
range_list = ['tv','full'] Code:
full_range = range_list.index(args.full_range) My guess is that this is due to some change in Python. You best contact the nvhsp author since I can't really say anything more,... (https://github.com/SK-Hardwired/nv_hevc_hdr_patcher) Cu Selur |
21st June 2020, 14:41 | #3611 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Hybrid rev 2020.06.21.1:
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur |
11th July 2020, 15:53 | #3613 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Hybrid rev 2020.07.11.1:
*fixed*
-> downloads: http://www.selur.de/downloads Cu Selur |
12th July 2020, 14:00 | #3614 | Link |
Registered User
Join Date: May 2014
Posts: 292
|
Hybrid v2020.07.11.1
VP9 The Adaptive quantization window is blocked for 2-pass mode. AOM Max frames to lag: 25 expanded to 70. Pyramid height (max): 4 to 5. There seems to be no window for Disable trellis quant: 0, 1, 2. CPU utilization modifier: 8 to 9.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB. Last edited by Gravitator; 12th July 2020 at 14:04. |
12th July 2020, 15:13 | #3615 | Link |
Registered User
Join Date: May 2014
Posts: 292
|
x265
Refine CTU: on + Coding unit tree adaptive quantization: off - endless coding is obtained for the second pass.
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB. Last edited by Gravitator; 12th July 2020 at 15:16. |
12th July 2020, 16:07 | #3616 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Tested it here.
For the first pass I used: Code:
"I:\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | "I:\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --pass 1 --slow-firstpass --bitrate 1500 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix bt470bg --stats "E:\Temp\test_generated.stats" --analysis-save "E:\Temp\test_generated.analysis" --analysis-reuse-level 6 --no-multi-pass-opt-analysis --output "E:\Temp\test.265" Code:
y4m [info]: 640x352 fps 25/1 i420p10 sar 1:1 unknown frame count raw [info]: output file: E:\Temp\test.265 x265 [info]: HEVC encoder version 3.4+7-g38774073d x265 [info]: build info [Windows][GCC 10.1.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [warning]: analysis-load-reuse-level can be set only when analysis-load is enabled. Resetting analysis-load-reuse-level to 0. x265 [info]: Main 10 profile, Level-2.1 (Main tier) x265 [info]: Thread pool created using 16 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(6 rows) x265 [warning]: Source height < 720p; disabling lookahead-slices x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Cb/Cr QP Offset : -2 / -2 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-1500 kbps / 0.60 x265 [info]: tools: limit-modes rd=3 ssim-rd psy-rd=2.50 rdoq=2 psy-rdoq=10.00 x265 [info]: tools: rskip mode=1 signhide tmvp b-intra strong-intra-smoothing x265 [info]: tools: deblock(tC=-1:B=-1) sao stats-write x265 [info]: frame I: 3, Avg QP:16.35 kb/s: 3518.73 x265 [info]: frame P: 120, Avg QP:13.21 kb/s: 3109.91 x265 [info]: frame B: 306, Avg QP:17.58 kb/s: 770.49 x265 [info]: Weighted P-Frames: Y:0.8% UV:0.8% x265 [info]: consecutive B-frames: 3.3% 0.0% 58.5% 21.1% 17.1% encoded 429 frames in 15.97s (26.86 fps), 1444.09 kb/s, Avg QP:16.35 Code:
"I:\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -i "F:\TestClips&Co\files\test.avi" -map 0:0 -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p10le -strict -1 -vsync 0 -f yuv4mpegpipe - | "I:\Hybrid\64bit\x265.exe" --input - --output-depth 10 --y4m --profile main10 --limit-modes --no-early-skip --no-open-gop --opt-ref-list-length-pps --pass 2 --bitrate 1500 --opt-qp-pps --cbqpoffs -2 --crqpoffs -2 --limit-refs 0 --ssim-rd --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-mode 0 --deblock=-1:-1 --limit-sao --no-repeat-headers --range limited --colormatrix bt470bg --stats "E:\Temp\test_generated.stats" --analysis-load "E:\Temp\test_generated.analysis" --analysis-reuse-level 6 --no-multi-pass-opt-analysis --no-dynamic-refine --refine-ctu-distortion 1 --output "E:\Temp\2020-07-12@16_54_18_4110_03.265" Code:
y4m [info]: 640x352 fps 25/1 i420p10 sar 1:1 unknown frame count raw [info]: output file: E:\Temp\2020-07-12@16_54_18_4110_03.265 x265 [info]: HEVC encoder version 3.4+7-g38774073d x265 [info]: build info [Windows][GCC 10.1.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [warning]: analysis-save-reuse-level can be set only when analysis-save is enabled. Resetting analysis-save-reuse-level to 0. x265 [info]: Main 10 profile, Level-2.1 (Main tier) x265 [info]: Thread pool created using 16 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 4 / wpp(6 rows) x265 [warning]: Source height < 720p; disabling lookahead-slices x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Cb/Cr QP Offset : -2 / -2 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / off / off x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-1500 kbps / 0.60 x265 [info]: tools: limit-modes rd=3 ssim-rd psy-rd=2.50 rdoq=2 psy-rdoq=10.00 x265 [info]: tools: rskip mode=1 signhide tmvp b-intra strong-intra-smoothing x265 [info]: tools: deblock(tC=-1:B=-1) sao stats-read x265 is running, but seemingly not doing anything. Also tried with HEVC "encoder version 3.4+12-geff904199" same effect. My guess is that: Quote:
Cu Selur |
|
12th July 2020, 17:16 | #3618 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Quote:
No clue what you are writing about and like always you do not really share details,... :/ -> forget that I was confused since I seemingly left an abandoned checkbox in the gui Last edited by Selur; 12th July 2020 at 17:18. |
|
12th July 2020, 17:20 | #3619 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,259
|
Got it:
Code:
Invalid Recursion skip mode. Valid modes 0,1,2 Cu Selur Last edited by Selur; 12th July 2020 at 17:27. |
Thread Tools | Search this Thread |
Display Modes | |
|
|