![]() |
I am now switching from KVCDx3 to KDVD Full-D1 (New GOP, CQ_VBR, CQ=25, min=1000, max=4000), do I really need any filters, if so, which one (ones) suits the best (Blockbuster, Nomosmooth, Fluxsmooth)?
|
Quote:
-kwag |
New version 0.3
Here's 0.3 (and the source).
Changes: * Fixed bad bug that was messing up the algorithm. * Because of above, put defaults back to 7, 7. * Made numerous optimizations, should now be significantly faster. Like I said above, I'm very excited about this one, but I need you guys to put it through its paces. I'm especially interested in figuring out the best thresholds for various sources (clean DVD, noisy DVD, captures, anime, etc.) and perhaps adding a "preset" parameter at some point. Have fun :). Edit: Removed links to old version. |
Request for version number...
SansGrip:
Can you add to the code the version number of each .dll file? Too many updates, somtimes i don"t remember which version currently i"m using... :) |
Re: Request for version number...
Quote:
Quote:
|
Update
Just to let you all know that I've not been idle over the past week or so, but have been attempting to reimplement Flux with multimedia extensions. It was hard going for a while, but then something seemed to click and this morning I fixed the last bug in the new iSSE version of Flux-for-YUY2 (I'm going to start the YV12 version this afternoon, and it should go quicker because I won't have to monkey around with pixel order like I do in the YUY2 version).
While the code is not optimized wrt pairing and stalls and all that good stuff, it still runs at twice the speed of the old C++ version on my system :D. I'm predicting the YV12 version will see an even bigger increase because of the lack of aforementioned monkeying around. I'm hoping to finish it and release today, but I'm not promising anything. This is my first real C-to-MMX port and I'm still pretty slow at the moment. |
You guys are great!
Just yesterday I got the hang of FITCD. Blockbuster is working wonders for my video, and I can't wait to add Flux into the mix. I'm using Kwag's KDVD Half D1 template with all default settings. I'll let everyone know how the video turns out with these filters. I'm sure the results will exceed my expectations. :D
|
New version 0.4
I just released 0.4. Sorry about the delay -- darn real life ;).
The biggest change in this version is that I implemented ISSE-optimized algorithms for both the YUY2 and YV12 versions. From my quick benchmarks it seems to run about twice the speed of the C++ version. I also added chroma smoothing. As usual you can get the latest version (and the source) from the web site in my sig. (By the way, I apologise for the downtime: the web server it's on is located in North Carolina, and they had a killer storm which took power down for days. It should be back up now.) Many thanks to Doom9's trbarry, sh0dan, dividee, and everyone else who helped me figure out assembler and MMX by putting up with and patiently answering my stupid questions. Also many thanks to Kwag and all the other testers here on KVCD :). |
Thanks SansGrip,
Glad to see you're back :D -kwag |
Quote:
It was kinda disturbing looking at the Flux source code again -- even after a couple of weeks I had to go through it line by line to figure out how it works 8O. I'm hopefully going to spend some time on the Predictor next, but I'll write more about that in the appropriate thread. |
so would this be a good script?
BiLinear Blockbuster .... the noise partor it FluxSmooth for both DVD and DVD anime? Thanks |
Quote:
Bilinear FluxSmooth Blockbuster or you'll be smoothing the noise you'll apply with Blockbuster. |
Ok, I'll try it. thanks, why do you put the add noise (blockbuster) at the end of the script?. So you guys think FluxSmooth is still better than Convolution3D?
|
Quote:
|
so the added noise at the end is a good thing then? wierd. I was putting the noise before resize because of stuff like solid colour spots in video, like walls, is what the resizer is having problems with and not allocating bitrate properely hence the DCT blocks, so by adding noise at the begining then would make any varience in the 'wall' more prominant which intern gives the resizer a better 'view' of what's happening and alocates bitrate a little better. back to the drawing board :(
|
It seems that FluxSmooth chokes on some video material. I'm trying to encode a DivX5 movie to KVCD at 352x576, but FluxSmooth chokes badly. It's a helluva lot slower than it should be, I'd say the prediction with FluxSmooth takes normally less than 5 minutes and with this video it takes more than 10! I've had this problem before and but I was able to get rid of it by moving FluxSmooth after resize. This time it was already after resizing so that's no good now (I did try moving it before resize without any luck). TemporalSmoother works OK.
|
Quote:
|
Quote:
|
Quote:
|
That's YUY2 input, I use Avisynth 2.07 currently. I'll try the same clip with AVS2.5a tomorrow and see if it's still the same result.
The frame size is 320x368. I don't think this is the issue as I've done numerous clips like this and have had only once or twice the same thing. Here's the script I've tried if it's of any use: LoadPlugin("c:\windows\system\fluxsmooth.dll") LoadPlugin("c:\windows\system\convolution3d.dll") LoadPlugin("c:\windows\system\dctfilter_yuy2.dll") LoadPlugin("c:\windows\system\blockbuster.dll") LoadPlugin("e:\progra~1\gabest\vobsub\textsub.vdf" ) LoadPlugin("c:\windows\system\legalclip.dll") LoadPlugin("c:\windows\system\sampler.dll") AVISource("c:\temp\leffat\evilde~1\ed2.avi",false) Fadeout(250) Crop(2,8,-2,-6) LegalClip() TextSub("c:\temp\leffat\evilde~1\ed2.srt",25) BicubicResize(320,368) FluxSmooth() Blockbuster( method="dither", variance=0.7, seed=1 ) AddBorders(16,104,16,104) DCTFilter(1,1,1,1,1,1,0.5,0) LegalClip() Sampler(length=24) |
Quote:
I'll look through the ISSE source and see if I can find what might be causing this... |
Quote:
With Flux the sample strip (1944 frames) takes 6.49 min. W/O Flux the sample strip takes 4.05 min. A sample strip this long takes usually something like 5 minutes. I practically use the same script each time (the same filters) so I've got some experiences about that. However, it looks as if TMPGEnc gets stuck at one point somewhat longer than normally. This could be why the encoding seems slow. Luckily this happens to be a very rare issue so please don't lose your night's sleep :wink: |
Quote:
Quote:
|
New version 1.0
I just uploaded version 1.0 to my site, containing a bugfix and two minor Avisynth 2.5-related changes. I decided to bump the version number up to "stable" since this one's had a lot of testing now ;).
As usual, let me know if you find any problems. |
Quote:
|
Quote:
|
Quote:
|
Quote:
:mrgreen: |
There seems to be something wrong with the AVS2.5 version of the filter (the latest release). It gives an access violation error immediately whereas the AVS2.0x version works OK with the same clip.
I've tested with the latest AVS2.5 binary (updated today I think). |
Quote:
|
OK, here's the script:
LoadPlugin("c:\avs25\undot.dll") LoadPlugin("c:\avs25\fluxsmooth-2.5.dll") LoadPlugin("c:\avs25\blockbuster-2.5.dll") LoadPlugin("c:\avs25\dctfilter.dll") LoadPlugin("c:\avs25\sampler-2.5.dll") AVISource("c:\temp\leffat\labyrinth\labyrinth.avi" ) Trim(575,139400) SwapUV() Crop(8,4,624,280) Limiter() UnDot() BicubicResize(320,288) FluxSmooth() Blockbuster( method="noise", variance=0.7, seed=1 ) AddBorders(16,144,16,144) DCTFilter(1,1,1,1,1,1,0.5,0) Limiter() #Sampler(length=24) The AVS2.5 build is dated 9.1.2003, I believe you discussed about this release with sh0dan at the doom9 forum. The access violation occurs immediately when trying to seek in the file (using VDubMod). |
Quote:
Edit: I can't duplicate it with the latest one, either. Can you try to whittle down the script to the bare minimum required to make it crash? |
It's somehow related to FluxSmooth as I commented out all the other filters and still the access violation occurred immediately when seeking. However, when I tried AVS2.5 dated 3.1.2003, there were no problems :evil:
The AVS2.0x script (with AVS2.07+) works fine, here it is: LoadPlugin("c:\windows\system\fluxsmooth.dll") LoadPlugin("c:\windows\system\blockbuster.dll") LoadPlugin("c:\windows\system\dctfilter_yuy2.dll") LoadPlugin("c:\windows\system\sampler.dll") LoadPlugin("c:\windows\system\legalclip.dll") AVISource("c:\temp\leffat\labyrinth\labyrinth.avi" ) Trim(575,139400) Crop(8,4,624,280) LegalClip() BicubicResize(320,288) FluxSmooth() Blockbuster( method="noise", variance=0.7, seed=1 ) AddBorders(16,144,16,144) DCTFilter(1,1,1,1,1,1,0.5,0) LegalClip() Sampler(length=24) I also tried different clips but with no luck, the 2.5 version crashes but works with the AVS2.5 dated 3.1.2003. |
I did some more tests with the same clip (DivX content). I found out that this script crashes VDubMod:
Code:
LoadPlugin("c:\avs25\fluxsmooth-2.5.dll")Code:
LoadPlugin("c:\avs25\fluxsmooth-2.5.dll") |
Quote:
Where u get this TextSub.vdf file ? Every time I downloaded zip I couldn't find TextSub.* file ! So I have to use VDub to get subs in video !!! bman |
Quote:
the file was/is in the VobSub package. You'll just have to select it while installing VobSub as it's not installed by default IIRC. |
Quote:
I think we should move this over to the Doom9 thread, and hopefully sh0dan will get involved again. At least he'll know what changed between the 3rd and the 9th... Want to post a quick summary there, or shall I? :) |
Quote:
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.