I'm planning on converting some DV-avi files to H264. I've been successful in using Avisynth+ to deinterlace with QTGMC and resize at a frame rate 60fps and converting to H264 with Virtualdub2. However, when I added a denoise filter to the Avisynth+ script, the file fails to open/preview or play correctly in Virtualdub2. The video either fails to open, or skips/jumps during play back/encoding, or I get an error, something like out of memory. I'm just learning Avisynth+ so I don't know if I'm doing something wrong, or if it's not possible with Virtualdub2. I also tried the same script with FFMPEG, and was able to convert it. I'm currently using the defaults on Virtualdub2. See the avs script below. Any suggestions?
FFMPEGSource2("C:\Users\Documents\DV import videos\scene1.avi", atrack=1)
ConvertToYV12()
AssumeBFF()
QTGMC(Preset="Slower", edithreads=1)
TemporalDegrain2()
BilinearResize(720,540)
Prefetch(6)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 8 of 8
Thread
-
-
First, make sure it is simply compatible.
Make a plain script that just says:
Code:Version()
If not, it isn't compatible in its current setup.
If it works, start adding merely a source, and make sure the syntax is set to output its source.
Check it again.
Add from there.
Scott -
Using two motion compensated filters like that will probably be too slow to get a smooth, full speed playback when previewing the script in VirtualDub. As for encoding:
ffmpeg2source may be screwing up when frames are requested out of order. Remove the prefetch. Does that help? Set seekmode to zero. Any better? If the video is variable frame rate use the fpsnum and fpsden options to force the output to constant frame rate. Try using AviSource() or LWlibavVideoSource() instead of ffmpegsource2(). -
I tried a few suggested changes, but still having problems with preview and encoding. Would any changes to Virtualdub2 defaults help?
-
The source video is NTSC DV (720x480, 29.97fps). I have both 32 bit and 64 bit AviSynth+ installed (3.7.0). I opened Version() with both 32 bit and 64 bit versions of Virtualdub2 and it opens the correct version of AviSynth+. I'll double check the filter setup and avs script and make sure the plugins are installed. Also, I don't know if needed, but it looks like I'm missing SetFilterMTMode ("QTGMC", 2) in the script.
Update: I check the filters and plugins. I tried 32 bit and 64 bit Virtualdub2. I'm having issues with mutli-thread script in 32bit, but can get output with MT mode in 64bit with this script (see below). I was missing the SetFilterMTmode in the original script, but had prefetch command. Does MT mode work with 32 bit?
SetFilterMTMode("QTGMC",2)
FFMPEGSource2("C:\Users\Documents\DV import videos\scene1.avi", atrack=1)
ConvertToYV12()
AssumeBFF()
QTGMC(Preset="Slower", edithreads=1)
TemporalDegrain2()
BilinearResize(720,540)
Prefetch(6)Last edited by stymie; 5th Feb 2021 at 16:26.
-
Try downloading the AVSI file from here:
https://publishwith.me/ep/pad/view/ro.rDkwcdWn4k9/latest
and putting it in your plugins folders. -
Yep. I just saw that and gave it a try. I think there may just be a limitation with MTmode on 32 bit Virtualdub2. Since 64 bit seems to be working, I'll stick with it.
Similar Threads
-
Virtualdub2 and FFmpeg: How do I convert this code to Virtualdub2?
By Guernsey in forum Newbie / General discussionsReplies: 0Last Post: 8th Sep 2020, 05:25 -
Avisynth/VirtualDub2 open failure Script error
By Pixl_talian in forum Newbie / General discussionsReplies: 29Last Post: 2nd Aug 2020, 17:10 -
How to install the nnedi3 plugin into Virtualdub2 and Avisynth?
By Guernsey in forum Newbie / General discussionsReplies: 7Last Post: 25th Apr 2020, 05:27 -
Avisynth+ not refreshing in VirtualDub2
By Chief Mouse in forum Video ConversionReplies: 2Last Post: 6th Sep 2019, 17:18 -
Can't open an AviSynth script in VirtualDub2
By Bruce Banner in forum EditingReplies: 4Last Post: 7th Jul 2019, 20:43