tag:blogger.com,1999:blog-2735604063674215755.post3467296677995663044..comments2024-03-07T03:34:01.669-07:00Comments on Andrew's Tutorial Blog: Deinterlacing with AVISynth and QTGMC - Updated occasionallyAndrew Swanhttp://www.blogger.com/profile/06051624334634516788noreply@blogger.comBlogger102125tag:blogger.com,1999:blog-2735604063674215755.post-6324461746745912172023-04-26T12:52:38.581-06:002023-04-26T12:52:38.581-06:00I figured out that I have to save the pre-process ...I figured out that I have to save the pre-process video in YV12 and then it will work without crashing!sebsgshttps://www.blogger.com/profile/05252409837750315347noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-34586901529323225732023-04-12T01:50:47.765-06:002023-04-12T01:50:47.765-06:00I had had 64bit versions in both folders... OOPS!
...I had had 64bit versions in both folders... OOPS!<br /><br />Unfortunately this didn't end up fixing the issue. I ended up redoing the entire thing from scratch, but this time with AVX2 DLL's (only seemed to be a thing with the needi3 one though) once I realized my CPU allows those. It all works fine in VirtualDub and using FFMPEG command, but still does all of the same behavior if I daresebsgshttps://www.blogger.com/profile/05252409837750315347noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-70728039011982136762023-04-11T15:55:53.183-06:002023-04-11T15:55:53.183-06:00For FFTW3, you want the 32-bit versions in your Sy...For FFTW3, you want the 32-bit versions in your SysWOW64 and the 64-bit in System32. If they’re swapped, that could cause an issue.<br /><br />You might also consider redoing your setup from scratch, following the directions one step at a time, and see if that helps.Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-11855090079740008262023-04-11T14:26:13.598-06:002023-04-11T14:26:13.598-06:00I've now tried substituting AVISource and LWLi...I've now tried substituting AVISource and LWLibavVideoSource/LWLibavAudioSource for the input. AviSource just crashes the same way as before, and LWLibavVideoSource returns a divide by zero crash. I'm worried that the actual issue is my setup of the necessary DLL files in the necessary locations. I've installed the FFTW3 DLL's in both my SysWOW64 and System32 folders as directed sebsgshttps://www.blogger.com/profile/05252409837750315347noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-3748005086449474922023-04-10T18:44:04.014-06:002023-04-10T18:44:04.014-06:00How much system memory do you have?
Again, you mi...How much system memory do you have?<br /><br />Again, you might try another Source filter and see if that changes anything.Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-21463747085558674902023-04-10T18:17:43.510-06:002023-04-10T18:17:43.510-06:00Everything is above board as far as I'm aware,...Everything is above board as far as I'm aware, and the entire script runs just fine as-is if I only change the preset to "Slower". Those two settings which require the extra plugins in the System32 folder are the only ones that don't work, and the "Very Slow" even DID work for approximately 3 minutes before the first crash. Crashing doesn't present an error, it sebsgshttps://www.blogger.com/profile/05252409837750315347noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-12573322188314512642023-04-10T16:54:49.374-06:002023-04-10T16:54:49.374-06:00@sebsgs:
- Are you using 64-bit programs and plug...@sebsgs:<br /><br />- Are you using 64-bit programs and plugin versions for everything?<br /><br />- Is your PreFetch set correctly for your processor?<br /><br />- Does the script process just fine without the QTGMC command?<br /><br />If none of those help, try using AVISource or LWLibavVideoSource/LWLibavAudioSource/AudioDub to load your video.Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-82833130146135926722023-04-10T16:49:16.129-06:002023-04-10T16:49:16.129-06:00I have everything installed properly to be able to...I have everything installed properly to be able to use "Very Slow" or "Placebo" yet this still crashes VirtualDub. I got one tiny taste of ambrosia when "Very Slow" worked briefly, and I saw very good picture quality. Before I had a chance to begin any transcode, it crashed. Now any attempts to reload the script is met with an immediate crash. I have tried deleting sebsgshttps://www.blogger.com/profile/05252409837750315347noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-81789632692529723642023-01-28T16:46:25.349-07:002023-01-28T16:46:25.349-07:00@OfficeSpace:
First of all, you're very welco...@OfficeSpace:<br /><br />First of all, you're very welcome.<br /><br />As to creating an installer, it's a nice thought, but I think it actually comes with some downsides in this case. Given how often these plugins are updated, and how they can change prerequisites and/or URLs without warning, I think putting something together that stays up to date would be nontrivial. Also, if people Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-17864460963251115782023-01-28T14:23:23.406-07:002023-01-28T14:23:23.406-07:00Thanks for your work, much appreciated. If I knew...Thanks for your work, much appreciated. If I knew more about programming and creating setup files I would make a simple, one-click install for all these packages including the recommended script.OfficeSpacehttps://www.blogger.com/profile/12789075048196291434noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-18413687321021637962022-11-23T09:02:24.815-07:002022-11-23T09:02:24.815-07:00Thanks a lot.. This regular version worked.Thanks a lot.. This regular version worked.komalhttps://www.blogger.com/profile/17071746333662637651noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-86583437002642674312022-11-23T08:58:53.805-07:002022-11-23T08:58:53.805-07:00@komal:
Try using the regular "Release_W7&qu...@komal:<br /><br />Try using the regular "Release_W7" version of NNEDI3, as it looks like your (virtual) processor doesn't support AVX or AVX2 instructions. And obvious, make sure it's the 64-bit version of that.Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-6313520067442306182022-11-23T08:49:24.558-07:002022-11-23T08:49:24.558-07:00followed your guide. I am installing this on Virtu... followed your guide. I am installing this on Virtual Machine Windows 11 ARM on Macbook m1 processor. I am getting error in Avisynth info tool Avisynth 64bit tab "C:/......./nnedi3.dll can not be used as avisynth plugin".<br />Error<br />"[OS/Hardware info]<br />Operating system: Windows 10 (x64) (Build 22621)<br /><br />CPU: Virtual CPU @ 3.20GHz /komalhttps://www.blogger.com/profile/17071746333662637651noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-89107312471601888622022-06-01T21:21:56.133-06:002022-06-01T21:21:56.133-06:00@larkalarhki:
At this point, I would test a few t...@larkalarhki:<br /><br />At this point, I would test a few things. First, try this modified version of your script:<br /><br />FFMPEGSource2("video.mp4", atrack=1)<br />Spline64Resize(1280,720)<br />Prefetch(10)<br /><br />If you get "combing" in the image (edges that look like zipper teeth), then your video is interlaced and you can put the QTGMC commands back in. If not, Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-91239887993830258152022-06-01T09:10:23.541-06:002022-06-01T09:10:23.541-06:00Hi Andrew, Thank you for replying back soon.
Foll...Hi Andrew, Thank you for replying back soon.<br /><br />Following settings are apply after ready your blog and others to get best quality for all of the videos I have <br /><br />1) Most of my videos are MP4 or AVI files. <br />Can you please provide an script for different format<br />2) the video i'm testing is 720x400<br />3) I read it on another blog to add this to give it more colours -larkalarhkihttps://www.blogger.com/profile/05944880508260507704noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-84234749804934874832022-06-01T08:24:12.855-06:002022-06-01T08:24:12.855-06:00@larkalarhki:
A couple of questions:
1) I notice...@larkalarhki:<br /><br />A couple of questions:<br /><br />1) I noticed you're using an .mp4 file in the input line. Are you 100% sure it's actually interlaced? While the .mp4 container <i>can</i> support interlacing, it's really uncommon. If the video is not interlaced, then you don't need QTGMC.<br /><br />2) 720x480 is the standard resolution for SD, not 720x400. Was that a Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-36655174185288219892022-06-01T07:50:17.569-06:002022-06-01T07:50:17.569-06:00Hi, I'm trying to convert 720x400 to HD, can y...Hi, I'm trying to convert 720x400 to HD, can you please let me know which plugin and setting I need to make the SD video to HD<br /><br />I have following script at the moment<br /><br />SetFilterMTMode ("QTGMC", 2)<br />FFMPEGSource2("video.mp4", atrack=1)<br />ConvertToYV12()<br />AssumeBFF()<br />QTGMC(preset="Slower", FPSDivisor=2)<br />#BilinearResize(larkalarhkihttps://www.blogger.com/profile/05944880508260507704noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-20304328684940299922022-04-01T18:23:53.150-06:002022-04-01T18:23:53.150-06:00Thanks. Moving the AssumeTFF() to the top of TFM()...Thanks. Moving the AssumeTFF() to the top of TFM() and removing excess resizing has helped! FYI I use AssumeFPS to make all of my videos exactly 48fps, including NTSC and PAL. If I didn't, it would be either 47.96fps or 50fps. (I don't decimate PAL video).Cameron Kiesserhttps://www.blogger.com/profile/08937121268083828111noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-87756276799953212852022-04-01T10:56:25.284-06:002022-04-01T10:56:25.284-06:00First of all, folks, sorry for the massive delay. ...First of all, folks, sorry for the massive delay. I've been insanely busy and haven't had time to check the blog for a while.<br /><br />@ sean,<br /><br />That could be from a variety of issues. Make sure you're using the same bit version of FFMPEG2Source (32 or 64 bit) as your version of AVISynth+, FFMPEG or Vdub2, etc. Also, check and make sure you have all the currently needed Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-24851094135439984272022-03-31T23:39:38.603-06:002022-03-31T23:39:38.603-06:00I still get these weird interlacing artifacts. I k...I still get these weird interlacing artifacts. I keep on learning so I keep on realizing I'm doing things wrong but here's my current script:<br /><br />SetFilterMTMode ("QTGMC", 2)<br />a=LWLibavAudioSource(source="title_t05.mkv", stream_index=-1, cache=true, av_sync=true, rate=0, decoder="")<br />v=LWLibavVideoSource("title_t05.mkv")<br />Cameron Kiesserhttps://www.blogger.com/profile/08937121268083828111noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-63761544464300010382022-01-26T03:03:53.469-07:002022-01-26T03:03:53.469-07:00further to my previous comment, when I tried Bilin...further to my previous comment, when I tried BilinearResize(764,573) I got: "SeparateFields: height must be even"<br />I want to avoid resizing height for just a couple pixels as I think that it may hurt quality, so I guess the optimal height may be 570 pixels for me. And I can actually crop a bit more. So I'll capture 720x570 and then do BilinearResize(760,570)Markoshttps://www.blogger.com/profile/00235830172089111112noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-1681110175297330392022-01-26T01:49:30.508-07:002022-01-26T01:49:30.508-07:00Thanks, you are right, the file I was testing on w...Thanks, you are right, the file I was testing on was RGB. Adding ConvertToYV24 didn't help it gave this error:<br />"ConvertToYV24: only 8 bit sources allowed"<br />But then I went back to virtualdub and got a fresh capture and I can see a preview this time. So it must have been that my previous file had already some processing that prevented avisynth from working on it. <br /><br /Markoshttps://www.blogger.com/profile/00235830172089111112noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-87077789731896852742022-01-25T19:00:46.494-07:002022-01-25T19:00:46.494-07:00Thanks! I didn't run into that error again (ye...Thanks! I didn't run into that error again (yet, at least!) -- though now I'm seeing "There is no function named 'FFMPEGSource2'". Familiar with this one? <br /><br />Thanks!seanhttps://www.blogger.com/profile/08479593905857832459noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-40656498678027193802022-01-25T14:55:55.921-07:002022-01-25T14:55:55.921-07:00@Unknown,
Sounds like your source file is in an R...@Unknown,<br /><br />Sounds like your source file is in an RGB colorspace (probably captured to an uncompressed RGB avi?). Try adding a ConvertToYV24() command right after loading the file in your script and see if that helps.<br /><br />As to resizing, PAL SD digital video has a native resolution of 720x576, so you might have done a resize during capture already. Some capture devices will also Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.comtag:blogger.com,1999:blog-2735604063674215755.post-27755564467531634502022-01-25T14:43:12.788-07:002022-01-25T14:43:12.788-07:00@sean,
That looks pretty standard. I'd empty ...@sean,<br /><br />That looks pretty standard. I'd empty your plugins folder and re-add them from scratch one at a time, then test and see when the error appears.Andrew Swanhttps://www.blogger.com/profile/06051624334634516788noreply@blogger.com