I'm trying to convert my 8mm anlog home movies to DVD. I've captured them to 352x480 AVI with Mjpeg of 19 using IuVCR.
When I convert them to MPG2 with CQ, 2 Pass VBR and KDVD they look fine. The VBR gives the same file size as the KDVD. These all look fine, just a little jaggy on the edges and so forth. The original footage appears to have it too.
I try to filter them and frameserve from VD. Every time I use VD with ANY filter I tried, the footage looks smoother, but any movement is ghosty or jerky. I tried creating a new AVI file from VD to bypass frameserving and it did the same thing.
I tried TMPGEnc and MainConcept 1.4.2 both with the same results.
I don't want to try AVSynth at all. Non GUI is a pain in the #$%@# and have no desire to try it.
Any suggestions? I'm using VirtualDubMOD. Is there another version of VD I can try?
I can use the MPG's as they are but the smoothing filters make them look so much better.
LS
+ Reply to Thread
Results 1 to 30 of 34
-
-
Is the jaggy on the very outside edges? If it is, then you can cut it off in virtualdub, by using null transform and crop the edges. If jaggy means something else, then forget what I just typed
I think the jerkiness is a result of 1 or 2 things:
1) Too much filtering in virtualdub. To high a setting in your smoothers and or sharpeners.
or
2) Field order problem. iUVCR I belive capture bottom field first (check to make sure). If you crop your video in vitualdub, buy cutting an odd number on the left or right, you have changed your field order. If cropping, use even numbers on right and left, thereby maintaining field order as the original capture. Also, make sure the correct field order is checked in your MPEG encoder.
To use proper filtering levels in virtualdub, see this: https://www.videohelp.com/forum/viewtopic.php?t=211619&highlight=vhs+tape
OR this: https://www.videohelp.com/forum/viewtopic.php?t=211936&highlight=vhs+tape
Hope that helps. -
Originally Posted by DVWannaB
I have the correct field order. The file plays perfect without filtering. Once anything is done via VD it is jerky. I even frameserved with no filters at all and it was jerky.
Teh jaggy stuff is on the edges of object in the picture not the edge. The edges are clean.
LS -
AviSynth is very easy ... I have a simple pre-made script you could use. This script uses the Convolution3D filter which is probably the single most amazing "video noise" filter ever!
All you need to do is download AviSynth 2.5x and the YUY2 version of Convolution3D for AviSynth 2.5x and use my pre-made script.
Not much too it and encoding will be faster than trying to frameserve through VirtualDubMod.
But I won't post all the details and waste my time unless you are willing to try it.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
Thanks!!!
LS -
Originally Posted by FulciLives
could you post it for me? Thanks. -
AVISYNTH MADNESS !!!
You will need:
1.) VirtualDubMod (newest version always of course)
2.) AviSynth 2.5x (I think 2.54 is the current newest version)
3.) Convolution3D for AviSynth 2.5x (the YUY2 version not the YV12 version)
Download and install AviSynth 2.5x ... the newest version is 2.54 I think. You can get it in the TOOLS section. Very easy to install nothing fancy there.
Now go to this website:
http://www.avisynth.org/warpenterprises/
Download Convolution3D for AviSynth 2.5x ... notice that there are 2 downloads listed under AviSynth 2.5x ... you want the first one. This works with YUY2 video sources such as DV AVI and PICVideo MJPEG etc. The other second version only works with YV12 sources.
The Convolution3D download is a ZIP file that contains only 2 files. One is a TXT file explaining how to use Convolution3D and the other is the actual filter file which is called Convolution3D.dll
Now copy the Convolution3D.dll file to your WINDOWS/SYSTEM32 folder (please note it may be the SYSTEM folder instead of the SYSTEM32 folder ... I think I put the files in both folders to "be safe"). This way when you "call" on it from your AviSynth script you don't need to input a path location. Alternatively you could put it elsewhere but then you will need a dir path info in your script.
Open up notepad and copy and paste this into it:
Code:LoadPlugin("Convolution3d.dll") avisource("D:\CAPTURE\capture.avi") crop(8,4,-8,-4) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() AddBorders(8,4,8,4) LanczosResize(352,480) ConvertToRGB(interlaced=true)
Now let's break this down one line at a time so you understand what's going on:
*LoadPlugin("Convolution3d.dll")
This loads your Convolution3d.dll file. This is all you need if you put it in the WINDOWS/SYSTEM32 folder. If you put it in another folder then you will have to point towards it. For example if you put it on your C drive in a folder called FILTERS then you would change it to look like this:
LoadPlugin("C:\FILTERS\Convolution3d.dll")
*avisource("D:\CAPTURE\capture.avi")
This loads your captured file. Of course you will change the DIR PATH and FILENAME to match your own.
*crop(8,4,-8,-4)
This is where you crop your file. If you don't want to do any cropping then delete this line. In my example I have cropped 8 from the left and right and 4 from the top and bottom. The "syntax" for this command is: crop(right, top, left, bottom) and left/bottom must be a negative value.
*SeparateFields()
*odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
*evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
*Interleave(evn,odd)
*Weave()
*DoubleWeave.SelectOdd()
This is a little bit of "magic" needed to properly apply a video filter to interlaced video. It looks confusing I know but basically interlaced video has frames and each frame is made up of 2 fields. We need to separate the frames into fields ... apply the filter to each field individually ... then combine the fields back into frames. This is what does all that. Also this is optimized for video that is bottom field first as is DV AVI format. If you have video that is top field first (such as a PICVideo MJPEG capture or HuffyUV capture) then delete the last line here (the DoubleWeave.SelectOdd() line).
Now there are 6 Convolution3D settings and in my example I've used the settings known as "movieLQ".
You can change to any of the other settings based on your source.
For instance:
Movie Hi Quality (good DVD source) then use:
Convolution3D (0, 3, 4, 3, 4, 2.8, 0)
Movie Low Quality (noisy DVD source or most captures) then use:
Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
VHS capture Bad Quality (some captures) then use:
Convolution3D (0, 32, 128, 16, 64, 10, 0)
These settings and more are explained in the Convolution3D text document you get when you download the Convolution ZIP file.
*AddBorders(8,4,8,4)
Remember that in this example I cropped 8 from the left and right and 4 from the top and bottom. This adds a "black" border (or space) to "fill up" when I cropped or cut off so that the original size of the capture is retained. The "syntax" for this command is: AddBorders(right, top, left, bottom) and all values should be positive.
*LanczosResize(352,480)
This resizes the video to Half D1 resolution. If you don't want to do that then delete this line.
*ConvertToRGB(interlaced=true)
This last line is for the benefit of TMPGEnc. You might find that you don't need this but I suggest trying it. This will convert your YUY2 colorspace to RGB which is what TMPGEnc uses. Since we have interlaced video we add that inside the () otherwsie you would just have () with nothing inside of them. Please note that if you use CCE (as I do) then this line should change to: ConvertToYUY2(interlaced=true)
Now ... once you have your script with your capture file name in it and your preferred setting for Convolution3D ... we want to open it with VirtualDubMod.
So open your filename.avs script and your video will load.
Now do your editing.
When you are done do this (you will LOVE this part it's so kewl).
On the top of VirtualDubMod go to TOOLS and under that go to SCRIPT EDITOR
The VirtualDubMod script editor window pops up and you will see your script!
Now go to the line just after the one that load your avi file and hit enter so you have a space there.
So it looks like this:
Code:LoadPlugin("Convolution3d.dll") avisource("D:\CAPTURE\capture.avi") crop(8,4,-8,-4) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() AddBorders(8,4,8,4) LanczosResize(352,576) ConvertToRGB(interlaced=true)
This will now insert your edits into your script. No need to break your file down into a bunch of small files using DIRECT STREAM COPY. In fact if you have one giant capture of several episodes you can copy and paste your script calling it episode1.avs episode2.avs episode3.avs etc. with each AviSynth avs script having the trim values that isolate THAT particular episode.
Talk about saving time!
Now be sure to save your script.
It will now look something like this:
Code:LoadPlugin("Convolution3d.dll") avisource("D:\CAPTURE\capture.avi") Trim(195,42620) crop(8,0,-8,-0) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() AddBorders(8,4,8,4) LanczosResize(352,576) ConvertToRGB(interlaced=true)
Trim(344,22665) ++ Trim(32677,47725) ++ Trim(51051,77018) ++ Trim(85055,101699) ++ Trim(107309,154994)
Anyways at this point you simply load your AviSynth AVS script into TMPGEnc (or CCE) just as if you were loading the original AVI file and go ahead and do your encoding.
THE END
Let me know if you need me to clarify anything
- John "FulciLives" Coleman
P.S.
At the time that I am posting this the AviSynth website is "down" including the page where you download the Convolution3D filter ZIP file. I assume it will be up soon ... perhaps the next day?"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
I am using Adaptec Video-Oh and Sonic MyDVD v. 4 for the capture and the output file is in mpeg form. Is this a bottom field first or a top field first video? In other words, should I keep the "Doubleweave" line in the script or delet it? Thanks for the help.
-
Originally Posted by FulciLives
No real answer there.
I appreciate the detailed post. I will try it out this weekend soemtime.
LS -
Originally Posted by LSchafroth
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
@LSchafroth
Copy and paste your AviSynth AVS script here so I can see it please.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
avisource("D:\Media\Videos\Captures\8mm.avi")
crop(8,4,-8,-4)
SeparateFields()
odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()
AddBorders(8,4,8,4)
ConvertToRGB(interlaced=true) -
Originally Posted by LSchafroth
Try loading this script into VirtualDubMod and see what happens. If there is an error somewhere it will tell you ... report the error here.
I'm thinking you might have the wrong version of Convolution3D for the colorspace of your file.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
I'm using 8mm analog captured with IuVCR with PicVideo setting of 19. When using VD to do anything to the file it creates a jerky ghosty file.
It is not a field order problem. I even took the same file into VD and did a SAVE AS without filtering anything and the resulting encoded file is ghosty and jerky. Does this with MC 1.4.2 and TMPGEnc Plus.
LS
PS Tried AVIsynth as a replacement for VDMod but it does not work. -
OK if your source is PICVideo MJPEG then you need to change the script just a bit:
Code:LoadPlugin("convolution3d.dll") avisource("D:\Media\Videos\Captures\8mm.avi") crop(8,4,-8,-4) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() DoubleWeave.SelectOdd() AddBorders(8,4,8,4) ConvertToRGB(interlaced=true)
DoubleWeave.SelectOdd()
Now your script should look like this:
Code:LoadPlugin("convolution3d.dll") avisource("D:\Media\Videos\Captures\8mm.avi") crop(8,4,-8,-4) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() AddBorders(8,4,8,4) ConvertToRGB(interlaced=true)
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
I captured at 352x480. I tried 720x480 then resized, but the results were no different then straight capture of 352.
Will removing that from the script fix my blank video in TMPGEnc?
LS -
I am not sure (was long ago) but I think your last line should read
ConvertToRGB24(interlaced=true) -
Originally Posted by LSchafroth
I'm starting to think that perhaps something is wrong with that capture because you really shouldn't be getting the VirtualDub error that you are getting nor the AviSynth in TMPGEnc error that you are getting.
You could try playing around with the ENVIRONMENTAL SETTINGS in TMPGEnc.
At the top of TMPGEnc go to OPTIONS and under that ENVIRONMENTAL SETTINGS. A window pops up called ENVIRONMENTAL SETTING with various TABS on the top. Go the the TAB called "VFAPI plug-in" and look for a setting there called "Avisynth/VirtualDub script reader" and try increasing the PRIORITY number. That might be the problem here although as I said I am becomming suspect of your capture file being "bad".
- John "FulciLives" Coleman
P.S.
Since you captured at 352x480 I would not cut 8 off of the sides but instead cut NOTHING from the sides.
So the CROP and AddBorders commands need to be changed to reflect that.
crop(0,4,-0,-4)
AddBorders(0,4,0,4)
Also if you have any visible "video noise" along the bottom (which can happen with VHS analog captures not sure about 8mm analog captures) then you might need to cut and then fill as much as 8 to 12 along the bottom to completely remove it.
I find with most VHS captures I need to cut 12 from the bottom to completely remove the "video noise". As a resort I also cut 4 from the top then use the AddBorders command to fill 8 on the top and 8 on the bottom. This ends up shifting the picture down 4 pixels but it is not noticeable and you evenly distribute the black that way.
So the script would change like this:
crop(0,4,-0,-12)
AddBorders(0,8,0,8)"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
I will try another capture and see if I can get Top Field to work.
LS
PS About ready to scrap the whole damn thing and put them all on VHS and be done. -
OK, I got TMPGEnc to load the AS file when I used the YV12 Convolution file.
Here is my script:
LoadPlugin("convolution3d.dll")
avisource("D:\Media\Videos\Captures\8mm.avi")
crop(8,4,-8,-4)
SeparateFields()
odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0)
Interleave(evn,odd)
Weave()
DoubleWeave.SelectOdd()
ConvertToRGB(interlaced=true)
I am using PicVideo capture and your advice says it should be top field first, but I have to do bottom first in order to get a good encode. If I choose top filed I get jerky video.
I get teh following screen in TMPGEnc using this script.
LS -
PICVideo MJPEG is a YUY2 codec although it might be possible to pick RGB but I don't think so I think PICVideo MJPEG is always YUY2 so you really should be using the YUY2 version of Convolution3D
Try this script:
Code:LoadPlugin("convolution3d.dll") avisource("D:\Media\Videos\Captures\8mm.avi") ConvertToYUY2(interlaced=true) crop(0,4,-0,-4) SeparateFields() odd=SelectOdd.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) evn=SelectEven.Convolution3D (0, 6, 10, 6, 8, 2.8, 0) Interleave(evn,odd) Weave() AddBorders(0,4,0,4) ConvertToRGB(interlaced=true)
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
Thanks for everyone's help!! I'm new to this and you all put up with my rants!
LS -
Originally Posted by LSchafroth
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
Originally Posted by FulciLives
The final product is ghosty on fast oving objects. Exactly the same as VDMod.
Do I need to deinterlace this stuff and try that? I cannot for the life of me figure out why it does that.
http://www.adlsolutions.com/filters
Go to my server and see what I mean. It's only 256K upload so be patient. When I play it on the PC it looks normal. Only when I play it on my desktop DVD player(panasonic RV27) does it ghost. Not sure why teh avisynth file's proportions were stretched.
LS -
Originally Posted by LSchafroth
I'm guessing the file called 8mm-avisynth-convoludion3d.m2v
I've got a TON of discs to burn for a big project ... I'll be burning through tomorrow so I really don't want to slow the computer down with a large download.
I'll download it when I can (tomorrow night I'm guessing).
If you can cut a small sample of the source for me to look at that would probably be helpfull.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
I took someone's advice I saw here in another post. They found that if you start recording then hit play on the source, the field order can be messed up.
I turned the camera on and hit play THEN started recording and guess what? Top Field first.
Ran it through VDMod with filters and AVIsynth with convolution3d and bam!! Great pictures from both.
I also discovered my PicVideo was set to do "2 fields if mor then 240 lines". I disabled that and the quality was perfect!! I'm pumped now!
Thanks to everyone who kept trying suggestions after suggestions.
Thanks!
LS -
Originally Posted by LSchafroth
This is for NTSC of course.
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
Similar Threads
-
VirtualDubMod FILTERS
By gartzo in forum Video ConversionReplies: 0Last Post: 28th Jun 2011, 14:06 -
virtualdubmod filters
By thecrock in forum Newbie / General discussionsReplies: 6Last Post: 2nd Dec 2008, 16:57 -
Besweet causing problems?
By hardcorejason in forum Video ConversionReplies: 1Last Post: 27th Apr 2008, 13:59 -
Virtualdubmod filters?
By GoChiefs in forum EditingReplies: 3Last Post: 15th Feb 2008, 15:47 -
Vdub audio filters causing problem on video track
By SearchQuality in forum AudioReplies: 4Last Post: 10th Feb 2008, 11:42