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. |
26th November 2018, 18:02 | #21 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Thanks G2K4, me found it in ChaosKing's suppository
(but methinks me will down your compile too). EDIT: Damn, me had to refresh your Stuff Page again, FireFox shows cached page unless F5 refresh.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 26th November 2018 at 18:04. |
26th November 2018, 18:07 | #22 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
It's not my compile, just a mirror. I also added the mirror link to the Wiki.
Do you have a link for that? It's always good to have some backup suppositories.
__________________
Groucho's Avisynth Stuff |
26th November 2018, 18:33 | #23 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Backup (or should it be Back Up ) Suppositories as via Avisynth.nl HomePage, ExternalFilters, DownLoad Sites:- http://avisynth.nl/index.php/Externa...Download_sites
EDIT: I think user Librarian used to have a significant archive, but dont remember where (and he dont come here often now).
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 26th November 2018 at 18:37. |
26th November 2018, 18:38 | #24 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff |
|
26th November 2018, 18:41 | #25 | Link |
Registered User
Join Date: Jul 2002
Posts: 241
|
Tin Woodman, thanks so much!!! Believe it or not, immediately pressed your MediaFire link on first reply; was lost from amount of files, and said... hmm... one day I'll be back to this Emerald City..
Well, that took few hours, now loaded that help file, and... lo-and-behold, the stack vertical is on the first page!! so, definitely, I'll find more time in the future to look through that file as things come up Groucho: Also tried the TEST clip, I mean, the real test clip, not the spinning girl Fails to open for some reason.. the .mkv itself opens OK directly in VD2, but not through the AVS script. Fails with: Code:
--------------------------- VirtualDub Error --------------------------- Avisynth open failure: LSMASHVideoSource [Fatal]: Failed to read an input file (y:\temp\test.avs, line 3) --------------------------- OK --------------------------- LSmashVideoSource("Y:\TEMP\Gradient2K.mkv") changing it to a MOV test clip, loads fine: LSmashVideoSource("Y:\TEMP\test.mov") reading the FAQ: http://avisynth.nl/index.php/FAQ_loa...to_AviSynth.3F it says to install and use FFmpegSource, however, that thing is apparently not defined? reading more folks say to use this construct for mkv: Code:
A = FFAudioSource(X) V = FFVideoSource(X) AudioDub(V, A) Code:
FFVideoSource("Y:\TEMP\Gradient2K.mkv") almost looks like some sort of "smoothness" filter is needed.... Anyways, I'm eternally thankful to everyone for the info/support, hopefully this thread will help someone else in the future too Stormy. |
26th November 2018, 18:48 | #26 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
LWLibavVideoSource() for MKV or other containers - this requires indexing (automatic) LSMASHVideoSource() for MP4, MOV - no indexing required |
|
26th November 2018, 18:55 | #27 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
LSmashVideoSource is only for ISO container files, with these extensions (eg MOV, MP4 and some others of similar type)
Code:
Function IsISOFileName(String s) { s=RT_GetFileExtension(s) Return(s==".mov"||s==".mp4"||s==".m4v"||s==".3gp"||s==".3g2"||s==".mj2"||s==".dvb"||s==".dcf"||s==".m21") } EDIT: PDR gave name of other filter above. Quote:
Gotta get some sleep. EDIT: Quote:
Code:
REM We DO NOT LIKE SPACES IN FILE NAMES (REM == REMark ie comment) setlocal REM Where to Find ffmpeg set FFMPEG="C:\BIN\ffmpeg.exe" REM Where to get input file, No terminating Backslash, "." = current directory (ie same as dir .bat file) set INDIR="." REM Where to place output file, No terminating Backslash. "." would be same as .bat file set OUTDIR="D:" REM Below, can add extensionas as eg *.WMV (SPACE separated) FOR %%A IN (*.mp4 *.vob *.mpg *.TS) DO ( REM ****** Un-REM ONLY one of below lines *******. %FFMPEG% -i "%INDIR%\%%A" -vcodec copy -acodec copy "%OUTDIR%\%%~nxA.MKV" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec copy "%OUTDIR%\%%~nxA.MKV" REM %FFMPEG% -i "%INDIR%\%%A" -vcodec utvideo -acodec pcm_s16le "%OUTDIR%\%%~nxA.AVI" REM *********************************************. ) REM ... Above UN-REM'ed lines : REM (1) Remux, copy both video and audio (output MKV). REM (2) UtVideo lossless video, copy audio (output MKV). REM (3) UtVideo lossless video, PCM audio (output AVI). Pause
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 27th November 2018 at 11:19. |
||
27th November 2018, 10:53 | #29 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Added last edit in my prev post.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
27th November 2018, 16:36 | #30 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
G2K2[EDIT:4], (and for any other that likes editing the Wiki),
Here is DavidHorman repository:- http://www.horman.net/avisynth/
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 27th November 2018 at 17:47. |
27th November 2018, 17:09 | #31 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
__________________
Groucho's Avisynth Stuff |
|
27th November 2018, 17:25 | #32 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
stormy1777,
The idea of GradFun3 is to fix or prevent banding. If there's no banding in your source, then not seeing any difference is the ideal scenario. Based on my single frame test, flash3kyuu_deband looks pretty good. I hadn't used it before. I tested with the default settings. These screenshots are the output from the Avisynth script though, so I still have some "how does it look after it's encoded" testing to do, as well as some "how does it look after noise filtering" testing. It's not too often I'd need to fix banding like this. For me, the idea is usually to prevent it when encoding, and GradFun3 has generally been doing the job. Still there have been times when I've struggled with it a bit, so I will be trying out flash3kyuu_deband. I tested with flash3kyuu_deband 1.5.1 as the links in the opening post of the doom9 thread weren't working. I found sneaker_ger's link later though. There's newer versions there. https://forum.doom9.org/showthread.p...14#post1841014 I struggle to see the banding below on my PC monitor (I'm still using a CRT) but running full screen on my TV it's hard to miss. Original GradFun3() f3kdb() To get to the full size version after clicking on the thumbnail you need to right click on the image and select "view image". Either that or download it. Last edited by hello_hello; 28th November 2018 at 09:29. |
27th November 2018, 17:44 | #33 | Link |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
flash3kyuu_deband did well again here (banding on the wall and on the filing cabinet in front of the guy), and doesn't seem to be blurring any detail where it shouldn't.
Original Gradfun3() f3kdb() Edit: Fixed the link for screenshot 3. I'll be interested to see how this relates to compressibility when encoding. The file sizes for the screenshots in this post (I also saved them as jpg with 80% quality, just to see). When encoding, GradFun3 tends to increase compressibility a little, if anything. Original: PNG 318.4 kB, JPG 46.6 kB GradFun3: PNG 503.5 kB, JPG 45.9 kB f3kdb: PNG 851.5 kB, JPG 47.0 kB Last edited by hello_hello; 28th November 2018 at 11:46. |
27th November 2018, 22:14 | #34 | Link |
Registered User
Join Date: Jul 2002
Posts: 241
|
Hello!! second post first and 3rd url are the SAME url, but first post convinced me to try this deband, and it seems promising! have not tried it on my source (which most definitely has banding, but round ones, say if u were to video car's headlights headon in the dark
ok, so got it to work from a script, but question is it possible to somehow create a VD Filter and "import" it into VD2 ? when tried to LOAD the .dll it reported that no filter is there, probably expected: Code:
--------------------------- VirtualDub Error --------------------------- Module "C:\Program Files (x86)\AviSynth\plugins\flash3kyuu_deband.dll" does not contain VirtualDub filters. --------------------------- OK --------------------------- Thanks. Stormy. |
28th November 2018, 01:40 | #35 | Link | ||
Registered User
Join Date: Mar 2011
Posts: 4,823
|
I encoded the video I was using for my screenshots. After it's encoded, the version with flash3kyuu_deband still looked a bit better, but as I suspected, it does come at the cost of compressibility. Not that it matters too much to me. Unless the file size was totally out of control I'd rather it looked better.
The video was just under an hour and the resolution was 1280x640. I used something close to preset slower (and tune film) with CRF18 for x264. I used the defaults for both GradFun3 and flash3kyuu_deband. The GradFun3 version came in at 559 MB and 1347 kb/s. For flash3kyuu_deband it was 656MB and 1582 kb/s. Quote:
Quote:
Last edited by hello_hello; 28th November 2018 at 01:58. |
||
28th November 2018, 01:44 | #36 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
You can control the amount of grain added with the grainY / grainC parameters. Default is 64 (dither_algo > 0). I found that 32 for both is sufficient for light banding.
__________________
Groucho's Avisynth Stuff |
28th November 2018, 09:00 | #37 | Link | |
Registered User
Join Date: Mar 2011
Posts: 4,823
|
Quote:
Still, there's been times when I've had to get GradFun3 to blur more than I'd like to fix severe banding, so flash3kyuu_deband will still be something I'll try as an alternative. The same frame I posted screenshots for earlier, only this time it's the encoded versions rather than the script output. Source GradFun3() f3kdb(grainY=32,grainC=32) f3kdb() Last edited by hello_hello; 28th November 2018 at 11:43. |
|
28th November 2018, 11:52 | #38 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
There's another knob you can try - "dynamic_grain". You may also do debanding in 16 bit stacked mode:
Code:
Dither_convert_8_to_16() ...other 16 bit stacked filters... f3kdb(input_mode = 1, output_mode = 1, keep_tv_range = true, dynamic_grain = true, grainY = 32, grainC = 32) DitherPost() Code:
ConvertBits(16) ...other 16 bit filters... ConvertToStacked() f3kdb(input_mode = 1, output_mode = 1, keep_tv_range = true, dynamic_grain = true, grainY = 32, grainC = 32) ConvertFromStacked(bits = 16) ConvertBits(8, dither = 0)
__________________
Groucho's Avisynth Stuff |
28th November 2018, 13:32 | #39 | Link | |
Registered User
Join Date: Jul 2002
Posts: 241
|
Quote:
It sounds like one needs to compile some code to generate a .vdf file, i was naively thinking it is some xml/txt that points to some binary/dll |
|
28th November 2018, 13:55 | #40 | Link |
Registered User
Join Date: Jul 2002
Posts: 241
|
BTW, added a call to: f3kdb() (using a *2* line script, open and f3kdb()), it (greatly) reduced filesize, so to make things more "fair" (filesize, or kbps), reduced CRF (from 16 to 14) this should increase quality, I *think* resulting looks better, it came at same filesize/kbps compared to the non-f3kdb.. so I'll use this for a bit and see the only "annoyance" is that for each file need to write a new script, but that's fine Thanks thanks to all that helped get us thus far, I would not have believed what I'm doing now, not that I really know it all, but it feels good
|
Thread Tools | Search this Thread |
Display Modes | |
|
|