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. |
15th February 2017, 22:06 | #1081 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
In simple x264 I put directly (withouth avisynth) the source and the custom parameter --input-depth 12.
With both avisynth and avisynth+ I get the same results, opening the script with VirtualDub: FFVideoSource("video.mp4") # source is x265 12 bit AssumeFPS("ntsc_film") f3kdb(0,0,0,0,0,0, keep_tv_range=true, dither_algo=2, input_mode=2, input_depth=12, output_mode=0, output_depth=8) |
15th February 2017, 22:21 | #1082 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
At least for AviSynth FFVideoSource() will already dither to 8 bit. For AviSynth+ it may output native 12 bit but then again f3kdb() does not support anything high-bitdepth natively in AviSynth+. It may depend on the exact ffms2 and AviSynth+ version but I believe your script never makes sense. You could try LWLibavvideosource() (L-Smash Works) with stacked=true and e.g. format="YUV420P16" (*) parameters, then input_mode=1 for f3kdb().
(*) format="YUV420P16" for 4:2:0 sub-sampling. Change accordingly if required. Last edited by sneaker_ger; 15th February 2017 at 22:23. |
15th February 2017, 22:49 | #1083 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
Could you please put the new script? My head is spinning.
EDIT: It works with Avisynth+: LWLibavvideosource("C21 jap.mp4" ) AssumeFPS("ntsc_film") f3kdb(0,0,0,0,0,0, keep_tv_range=true, dither_algo=2, input_mode=2, input_depth=12, output_mode=0, output_depth=8) Now, is the script correct to go from 12 bit to 8 bit? EDIT2: the outpu in Simplex264 is with garbage, lol. Last edited by GMJCZP; 15th February 2017 at 23:22. |
15th February 2017, 23:32 | #1087 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
The output with x264 presents garbage, is it not that I need to define the format with LWLibavvideosource to prevent encoding errors?
EDIT: placing LWLibavvideosource ("video.mp4", format = "YUV420P12") causes VirtualDub to display the same garbage as when encoding with Simplex264. Last edited by GMJCZP; 15th February 2017 at 23:37. |
16th February 2017, 00:04 | #1091 | Link |
Registered User
Join Date: Apr 2010
Location: I have a statue in Hakodate, Japan
Posts: 744
|
In these last tests with LWLibavvideosource coding errors have been my fault.
I added the Stab() function in the script and when removing everything was solved, thanks Sneaker_Ger and all for your patience. Now the question remains: Do DePan/Repair have any incompatibility with 12 bit? Last edited by GMJCZP; 16th February 2017 at 00:09. |
16th February 2017, 13:21 | #1092 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
29th November 2017, 02:04 | #1094 | Link |
Registered User
Join Date: Nov 2017
Posts: 3
|
Hello!! So I've recently gotten into making animated gifs using VirtualDub's gif creator and Avisynth (I don't got Photoshop monies). A major problem I'm running into is that it creates horrible banding, and I was wondering if Dither's color conversion scripts could help me out. Anyway, long story short - I keep getting this lovely message anytime I tried to call any Dither functions into my script.
"Avisynth Read Error: CAVIStreamSynth: System exception - Illegal Instruction at 0x5ab57ea0" The script will open, but I get a gray box and anytime I try to scroll through the video, I get that message. I have the latest version of Dither and the 16bit mod of MaskTools, and I'm running the latest stable avs+. This is my script - ffvideosource(source="C:\Users\The Boys\Desktop\Dance.avi") Dither_convert_yuv_to_rgb(matrix="601", interlaced=false, tv_range=false, cplace="MPEG2", lsb_in=false, chromak="spline64", mode=0, ampo=1, ampn=1, staticnoise=false, slice=false, output="rgb24", noring=true) And this does this with videos encoded with any codec. My initial test was with a video encoded with Lagarith, but then I tried one encoded in h.264 (it was a YT rip), and boop - same result. |
29th November 2017, 02:20 | #1095 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Create a report with Groucho2004 AvsMeter, just so we know what you are using (versions etc).
Run command prompt, then eg CD C:\Z (or change directory to some other known directory, I have a C:\Z folder) AvsMeter -AvsInfo -log # will create log in Z directory. # Edit with AvsMeter in Z directory, or somewhere in your PATH. Post it here. Also, if possible, use AviSource, rather than FFMpegSource, just to remove it from the problem space. also, does problem disappear if you change the arguments to Dither_convert_yuv_to_rgb ? EDIT: Latest version Dither Tools is 1.27.2:- http://avisynth.nl/index.php/Dither_tools EDIT: My log was 42KB (D9 post limit is 16KB in Usage forum), if you cut out the Internal(builtin) and External function/filter names it should be cut down some (mine went down to 15KB), so you can post in thread.
__________________
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; 29th November 2017 at 03:04. |
29th November 2017, 03:07 | #1096 | Link | ||
Registered User
Join Date: Nov 2017
Posts: 3
|
Quote:
Quote:
Last edited by felicityb; 29th November 2017 at 04:41. |
||
29th November 2017, 14:28 | #1097 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Code:
[Avisynth info] VersionString: AviSynth+ 0.1 (r1576, x86) VersionNumber: 2.60 File / Product version: 2.6.0.5 / 2.6.0.5 Interface Version: 5 Multi-threading support: No Avisynth.dll location: C:\Windows\system32\avisynth.dll Avisynth.dll time stamp: 2014-01-03, 00:14:26 (UTC) # Old ver$, Update to current Pinterf Avisynth+ r2542 (20171114) [Scripts / AVSI] C:\Program Files\AviSynth\plugins\tA7aHtYP.avsi # Dont like, looks like typical malware name. No hits on Google. What is it ? [Uncategorized / 32 Bit DLLs] C:\Program Files\AviSynth\plugins\libfftw3f-3.dll # Should be in System32 EDIT: Think for dfttest and/or others. [Uncategorized / Other] C:\Program Files\AviSynth\plugins\ffms2.lib # Maybe Delete (not intended to be here) Many updates since your version AVS+, maybe problem fixed already. EDIT: OK, Google'ed tA7aHtYP without the 'avsi' and its, DeHaloHmod 11 11 2016 http://pastebin.com/tA7aHtYP Suggest rename to something more descriptive.
__________________
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; 29th November 2017 at 14:38. |
29th November 2017, 20:21 | #1098 | Link | |
Registered User
Join Date: Nov 2017
Posts: 3
|
Quote:
Code:
AVSMeter 2.6.8 (x86) - Copyright (c) 2012-2017, Groucho2004 AviSynth+ 0.1 (r2544, MT, i386) (0.1.0.0) Exception 0xC000001D [STATUS_ILLEGAL_INSTRUCTION] Module: C:\Program Files\AviSynth\plugins\dither.dll Address: 0x60457EA0 |
|
29th November 2017, 21:57 | #1099 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
There is no such thing. AVS+ has been multi-threaded since r16xx.
__________________
Groucho's Avisynth Stuff |
|
30th November 2017, 12:11 | #1100 | Link | ||
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
Quote:
EDIT: Nah, my mistake, all are postfixed now in actual file name. EDIT: Guess that I should not skim read. EDIT: Think I'm finally gonna try avs+ (long-long time since done that), and in x64 I think.
__________________
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; 30th November 2017 at 12:31. |
||
Tags |
color banding, deblocking, noise reduction |
|
|