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. |
2nd April 2022, 11:43 | #861 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Ah, I remember scharfis excellent guide. Thanks for posting this.
I give Telecide() another try then which should do exactly what I'm looking for. But I think I messed up a parameter. That is, of course, not my intention. |
2nd April 2022, 13:13 | #862 | Link |
Registered User
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
|
If I don't look at a sample, I can only speculate without empirical proof. And is quite pointless. But let's speculate.
Try: Code:
CTelecine() #field matching CPostProcessing() #Deinterlace leftover combed |
4th April 2022, 21:07 | #863 | Link | |
Registered User
Join Date: Jan 2017
Posts: 48
|
Quote:
Follow up (basic AviSynth usage) question, but I can't seem to insert AdaptiveGrain in the middle of a script with line breaks, I can only call it without line breaks (or at the end). I'm not sure of what script magic to fix it, it's a new error to me. Eg Works: Code:
MPEG2Source("D:\Edit\DVD\ntscDVD.d2v") TFM() TDecimate() neo_f3kdb(y=64, cb=64, cr=64, grainy=0, grainc=0) z_Spline36Resize(1440,1080) AdaptiveGrain(grain=GrainFactory3(g1str=1, g2str=2, g3str=3)) z_Spline36Resize(640,480) Code:
MPEG2Source("D:\Edit\DVD\ntscDVD.d2v").\ TFM().\ TDecimate().\ neo_f3kdb(y=64, cb=64, cr=64, grainy=0, grainc=0).\ z_Spline36Resize(1440,1080).\ AdaptiveGrain(grain=GrainFactory3(g1str=1, g2str=2, g3str=3)).\ z_Spline36Resize(640,480) Code:
MPEG2Source("D:\Edit\DVD\ntscDVD.d2v").\ TFM().\ TDecimate().\ neo_f3kdb(y=64, cb=64, cr=64, grainy=0, grainc=0).\ z_Spline36Resize(1440,1080).\ GrainFactory3(g1str=1, g2str=2, g3str=3).\ z_Spline36Resize(640,480) |
|
5th April 2022, 07:40 | #864 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
I don't see the advantage of explicitly chaining all the function calls instead of implicitly chaining them via the omittable "last" clip (which will fail if there is any assignment to variables in this sequence, not all function calls only) ... nevertheless, an interesting find. A fix will require some insight in the parser.
To provide different filter sequences for scenes, I would recommend declaring user functions. Their declaration may contain sequences without explicit chains. But I don't get your intent completely yet. You will know if that idea is feasible. Last edited by LigH; 5th April 2022 at 07:43. |
5th April 2022, 09:48 | #867 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
LigH
Downloaded latest package, but I can't get it to work. MeGUI crashes instantly (and sadly without an error message) upon loading this script: Code:
# LoadPlugin("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\CTools v1.2.2 (x86_x64)\x64\CTools.dll") Import("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\CTools v1.2.2 (x86_x64)\CTools.avsi") Import("C:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\QTGMC.avsi") #v3.33 # LoadPlugin("C:\Video Editing\MeGUI (x64)\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("G:\WORK\dvdsource.mkv") # CTelecine() #field matching CPostProcessing() #Deinterlace leftover combed |
5th April 2022, 11:03 | #868 | Link | |
Registered User
Join Date: Jan 2017
Posts: 48
|
Quote:
Code:
BLU=LWLibavVideoSource("C:\Edit\Any\title01.mkv").\ bbmod(1,0,1,0) MOVIE=BLU.\ z_Spline36Resize(1280,720).\ neo_f3kdb(y=64, cb=64, cr=64, grainy=0, grainc=0).\ z_Spline36Resize(1920,1080).\ GrainFactory3(g1str=8, g2str=12, g3str=18, g1size=1.8, g2size=1.6, g3size=1.4).\ z_Spline36Resize(1280,720) CREDITS=BLU.\ z_Spline36Resize(1280,720).\ neo_f3kdb(y=64, cb=64, cr=64, grainy=0, grainc=0) OUTPUT=\ BlankClip(length=24,width=1280,height=720,fps=24000,fps_denominator=1001,pixel_type="YV12").KillAudio+\ MOVIE.Trim(0,127475)+\ CREDITS.Trim(127476,0)+\ BlankClip(length=48,width=1280,height=720,fps=24000,fps_denominator=1001,pixel_type="YV12").KillAudio OUTPUT Pay no attention to my many resizes. I find even GrainFactory3's softest grain is too sharp in certain instances, so I always apply it at a higher resolution than my output (and I resize it first because that deblocks better than QED Deblock_QED, a cleaner source I wouldn't resize first). The rest of the trims are 1) because I don't want to grain the credits 2.) I was making one of my Blu-rays frame accurate with my DVD that had 5.1 and needed blank frames When GrainFactory3 is left to its own devices, it ends up applying grain to fade-in and fade-outs, which ends up eating a lot of bitrate in x264/x265 CRF mode. But with AdaptiveGrain, it detects black areas and won't apply grain to them, so fade outs will cost next to nothing It can also affect really dark movies (like the movie in my script example). If a scene takes place at night, and a lot of the image is dark and wouldn't normally have grain, AdaptiveGrain seems to help not apply it there, letting you use the bitrate for other areas of the image My intent is to fix my script so it loads and I can make my encode smaller |
|
5th April 2022, 12:14 | #869 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Quote:
|
|
5th April 2022, 12:59 | #870 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
That's what happens when you remove too much for visibility.
They are present in the original script. Still crashes instantly with this script though: Code:
# LoadPlugin("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\CTools v1.2.2 (x86_x64)\x64\CTools.dll") LoadPlugin("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\masktools2-v2.2.26\x64_clang\masktools2.dll") LoadPlugin("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\mvtools-2.7.44\x64\mvtools2.dll") LoadPlugin("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\RgTools-v1.1\x64_LLVM_build\RgTools.dll") Import("c:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\CTools v1.2.2 (x86_x64)\CTools.avsi") Import("C:\Video Editing\MeGUI (x64)\tools\avisynth_plugin\QTGMC.avsi") #v3.33 # LoadPlugin("C:\Video Editing\MeGUI (x64)\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("G:\WORK\source.mkv") # CTelecine() #field matching CPostProcessing() #Deinterlace leftover combed |
5th April 2022, 16:06 | #871 | Link | |
Registered User
Join Date: Feb 2016
Location: Nonsense land
Posts: 339
|
Quote:
@LeXXuz You lack vinverse.dll, https://github.com/Asd-g/vinverse/releases Also, be sure to have all QTGMC stuff. (It should give you an error saying that vinverse.dll was not found tho...) EDIT: Also, you should remove the filters one by one to understand which one makes you script crash, also see if it loads with AvspMod. Last edited by Ceppo; 5th April 2022 at 16:15. |
|
5th April 2022, 16:34 | #872 | Link | |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Quote:
Sadly most of the time MeGUI prefers to crash instead of giving a useful error message... |
|
6th April 2022, 07:50 | #875 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
@Ceppo: Edit your signature to something like:
Code:
[url=https://forum.doom9.org/showthread.php?t=183823]CQTGMC thread[/url] / [url=https://github.com/CeppoTools/CTools]CeppoTools on github[/url] Last edited by LigH; 6th April 2022 at 07:52. |
3rd May 2022, 18:49 | #877 | Link | |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
Quote:
Is there a 'new' one? |
|
3rd June 2022, 22:01 | #880 | Link |
Registered User
Join Date: Oct 2011
Location: Dans le nord
Posts: 65
|
Hi, thank you for your work.
I don't know if this have been discussed before, but do you think you could add an ID for feedback in Stab3, like the avs filename (RT_FilenameSplit(string filename,int "get"=4) I think*) So if multiple script are in the same folder they can be run simultan... at the same time, without trouble. I've just checked and since ID in feedback only use integer, maybe the time the script is started? I really don't have much suggestion, but I think it would be neat. Maybe there's a function to convert string to binary. So when you run the same script it overwrite the file (like it's doing rigth now) and doesn't make more and more files. |
Tags |
avisynth, avs script, avs+, banding, generator, hbd, mod |
Thread Tools | Search this Thread |
Display Modes | |
|
|