Log in

View Full Version : [Neo] f3kdb


Pages : 1 2 3 4 [5]

kedautinh12
25th May 2021, 13:47
New commits, can anyone compile it??
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb

l00t
25th May 2021, 18:53
New commits, can anyone compile it??
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb

You can get it from Asd-g's plugin pack: https://gitlab.com/uvz/AviSynthPlus-Plugins-Scripts

kedautinh12
26th May 2021, 00:06
Thanks

GMJCZP
26th May 2021, 00:16
Thanks

But is there the r7 version?

kedautinh12
26th May 2021, 00:37
No, it's new compile 20 hours ago. It's still r6 but added new commits by asd-g

StvG
26th May 2021, 01:11
It's r7.

https://images2.imgbox.com/9c/1d/hfGdnnnT_o.png

kedautinh12
26th May 2021, 02:18
Oh, my mistake, sr

kedautinh12
4th June 2021, 23:40
New ver neo-f3kdb
https://gitlab.com/uvz/AviSynthPlus-Plugins-Scripts

GMJCZP
5th June 2021, 02:48
New ver neo-f3kdb
https://gitlab.com/uvz/AviSynthPlus-Plugins-Scripts

Thanks. Although it says that it is also an r7 version, the size is larger than the previous r7 version (282 kb against 224 kb).

real.finder
5th June 2021, 09:27
Thanks. Although it says that it is also an r7 version, the size is larger than the previous r7 version (282 kb against 224 kb).

if you use avs then you don't need to update anyway, the update is for vs only (there was bug in vs case)

almosely
14th November 2021, 11:24
Hideho,

me, again ;-)

Recently I installed Release 7 and used it with mt=true for a few encodings without problems.

But my latest encoding crashed at around 30% with mt=true and at around 60% with mt=false. Now I re-installed Release 6 and the encoding finished without problems.

My hardware:

- Intel Core i7-3770

- ASUS GTX660 TI

- 16 GB DDR3 SDRAM

My software:

- Windows 10 Pro 20H2 64-Bit

- Simple x264/x265 Launcher 64-Bit (2021-05-29)

- AviSynth+ 3.7.0 64-Bit

- L-SMASH-Works (2021-04-23) 64-Bit

- TIVTC 1.0.26 (22-02-2021) 64-Bit

- neo_f3kdb r6 (30-05-2020) 64-Bit (working)

- neo_f3kdb r7 (05-07-2021) 64-Bit (not working)

My AVS-script (used that script for about one year without problems):

SetCacheMode(1)

LWLibavVideoSource("Movie.mkv", format="YUV420P8", prefer_hw=1)

RequestLinear(rlim=200, clim=200, elim=100)

Crop(0, 138, -0, -138)

Spline64Resize(1280, 536)

Prefetch(4,8)

sharpen(0.128)

Prefetch(4,8)

neo_f3kdb(range=15, y=48, cb=48, cr=48, grainy=0, grainc=0, dither_algo=2)

Prefetch(4,8)

return last

My x265-parameters within Simple Launcher for nearly all 720p-encodings for about a year:

Encoder: x265 (HEVC)
Architecture: 64-Bit (x64)
Variant: 8-Bit
Rate Control: CRF
Quantizer/CRF: 17,0
Preset: medium
Tune: <None>
Profile: <Unrestricted>

Custom Encoder Parameters:

--no-open-gop --selective-sao 1 --lookahead-slices 1 --ref 5 --bframes 4 --weightb --rc-lookahead 40 --me 3 --subme 4 --max-merge 4 --hevc-aq --rd 4 --rdoq-level 2 --psy-rd 4.5 --psy-rdoq 8.0 --ctu 32 --merange 26 --keyint 240 --sar 1:1 --pools 8

I tested and refined these encoding (and AVS-script) settings a few weaks and tried nearly every x264 and x265 parameter (and resize and sharpening method for 1080p to 720p), checked with my eyes and FFMetrics, tuned for quality, speed and compatibility. These settings replaced my old x264 crf 17 settings as followed:

Quantizer/CRF: 17,0
Preset: slower

--rc-lookahead 40 --threads 13 --me umh --subme 10 --merange 24 --deblock -1:-1 --psy-rd 1.0:0.15 --aq-strength 1.0 --bframes 5 --ref 5 --keyint 240 --aq-mode 3 --sar 1:1

and:

Quantizer/CRF: 18,5
Preset: slower

--rc-lookahead 80 --threads 18 --me umh --subme 10 --merange 32 --deblock -1:-1 --psy-rd 1.0:0.15 --aq-strength 1.0 --bframes 5 --ref 9 --keyint 240 --aq-mode 3 --sar 1:1 --non-deterministic

(both with BlackmanResize within AVS, without sharpening).

So, for me, r7 is not working.

Boulder
14th November 2021, 14:01
Remove all those extra Prefetch lines and leave just one there as the last item of your script. You also do not need "return last" at all.

almosely
14th November 2021, 15:22
I tested and refined these encoding (and AVS-script) settings a few weaks and tried nearly every x264 and x265 parameter (and resize and sharpening method for 1080p to 720p), checked with my eyes and FFMetrics, tuned for quality, speed and compatibility.

I used to set only one "Prefetch(x)" at the end of my scripts before AviSynth got the update to handle multithreading differently ("Prefetch(x,y)").

Setting "return last" seems to be a question of faith, hm?

kedautinh12
12th September 2022, 17:51
Updated r8:
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/releases

PoeBear
19th September 2022, 22:28
Updated r8:
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/releases

What are the use cases of the new parameters: Y2, Cb2, Cr2?

ChaosKing
19th September 2022, 22:58
Source code says: `Y`, `Cb`, `Cr` are internally left shifted by `2` while `Y2`, `Cb2`, `Cr2` - by `5`.

Julek
19th September 2022, 23:56
What are the use cases of the new parameters: Y2, Cb2, Cr2?

https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/discussions/16#discussioncomment-3592269

PoeBear
23rd September 2022, 00:43
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/discussions/16#discussioncomment-3592269

What are the use cases though? Ie, what types of sources would we want to use the new parameters vs the old parameters? Were there issues/limitations with the old parameters, is it an 8 vs 16-bit thing, should we always use the new ones going forward, etc?

Greenhorn
23rd September 2022, 12:10
What are the use cases though? Ie, what types of sources would we want to use the new parameters vs the old parameters? Were there issues/limitations with the old parameters, is it an 8 vs 16-bit thing, should we always use the new ones going forward, etc?

Stronger debanding, I guess. y/cb/cr are limited (and normalized, so they're ~the same regardless of bitdepth) to the range of 0-511, and this appears to allow circumventing that limitation without rewriting whatever code causes it-- "y=0,y2=64" produces seemingly the exact same output as "y=511,y2=-1", and debanding strength continues to get stronger as you increase y2 past 64.

I'm not sure how practical this actually is, but I guess this is meant to make f3kdb more competitive with other inherently stronger filters for really really messed up videos.

kedautinh12
23rd September 2022, 12:20
Stronger debanding, I guess. y/cb/cr are limited (and normalized, so they're ~the same regardless of bitdepth) to the range of 0-511, and this appears to allow circumventing that limitation without rewriting whatever code causes it-- "y=0,y2=64" produces seemingly the exact same output as "y=511,y2=-1", and debanding strength continues to get stronger as you increase y2 past 64.

I'm not sure how practical this actually is, but I guess this is meant to make f3kdb more competitive with other inherently stronger filters for really really messed up videos.

Y2, Cb2, Cr2 (> r7)

When specified respectively Y, Cb, Cr do not have effect

kedautinh12
16th December 2022, 07:19
neo_f3kdb r9
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/releases

kedautinh12
23rd June 2025, 04:12
neo_f3kdb r10
https://github.com/HomeOfAviSynthPlusEvolution/neo_f3kdb/releases

Added Arm Neon support. (@yuygfgg)
Added sample_mode=6. (#13)
Added sample_mode=7. (#13)
Changed cache size to use only the required size.
sample_mode=5: made the output of scalar and SSE code identical.
Fixed CPU instructions detection when MSVC is used.
Added AVX2 and AVX512 code for sample_mode=5.
Changed range limit

FranceBB
23rd June 2025, 21:41
Well, it seems to be working on Windows 10 Professional x64 and especially on my AVX512 capable Intel Xeon running Windows Server 2019 Standard x64. So far so good. :)

tormento
24th June 2025, 12:19
Well, it seems to be working on Windows 10 Professional x64 and especially on my AVX512 capable Intel Xeon running Windows Server 2019 Standard x64. So far so good. :)
If you can, please update wiki with the new sample modes. ;)

FranceBB
24th June 2025, 20:33
I will, but in the meantime, for those wondering, the build is not compatible with Windows XP / Windows Server 2003.

https://i.imgur.com/wOkqRGB.png

Even after getting rid of all the AVX512 and AVX2 references, remapping the SRW to the non SRW equivalents and the EX to the non EX equivalent, compiling with v141_xp and setting /Zc:threadSafeInit- it still won't work as it's using the new threading mechanism introduced in Windows Vista / Windows Server 2008 onward.

https://i.imgur.com/izmWK9Y.png

Looks like it's the end of the road. Those who want to use f3kdb on XP / Server 2003 can still do it, but as far as neo f3kdb goes I suggest sticking to version 5 which is the last still supported stable release that is still fully compatible without modifications / workarounds.