
Virtual Dub Mod Not Saving My Videos
- Enigma
- That jolly ol' bastid
- Joined: Sat Mar 07, 2009 3:55 pm
- Status: Free
- Location: California
Virtual Dub Mod Not Saving My Videos
Well i was trying to save a video in Mod and it wouldn't save,I just crashed
.

- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Virtual Dub Mod Not Saving My Videos
Were you saving from an AVISynth script? If so, post it.
What was your compression mode (direct stream copy/fast recompress/normal recompress/full recompress), what colorspace was your video in, and what codec were you trying to encode it with?
What was your compression mode (direct stream copy/fast recompress/normal recompress/full recompress), what colorspace was your video in, and what codec were you trying to encode it with?
- Enigma
- That jolly ol' bastid
- Joined: Sat Mar 07, 2009 3:55 pm
- Status: Free
- Location: California
Re: Virtual Dub Mod Not Saving My Videos
1.Full RecompressScintilla wrote:Were you saving from an AVISynth script? If so, post it.
What was your compression mode (direct stream copy/fast recompress/normal recompress/full recompress), what colorspace was your video in, and what codec were you trying to encode it with?
2.It was a AVISynth
Code: Select all
#ASYNTHER AVISource
AVISource("C:\Users\USER\Desktop\testuncom.avi")
converttoyv12()
deen("w2d",3,4,6)
tweak(sat=1.1)
fastlinedarken()
mftoon(strength=15)
SSXSharpen()
LanczosResize(640,480)

4.XviD MPEG 4 Codec.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: Virtual Dub Mod Not Saving My Videos
1) Choose fast recompress, you'll want to avoid colorspace changes
2) That script seems like you're overdoing it. Deen is evil, and you're also doing too much sharpening (and with not so good filters, too - mftoon is very old).
3) Colorspaces are the ways that the informations are stored in videos and images. For example, in your case, you have changed the colorspace to YV12, which stores the luma information in the Y channel and the chroma informations in the UV channels. Another colorspace is, for example, RGB32, which stores the Red Green and Blue informations in the respective channels.
2) That script seems like you're overdoing it. Deen is evil, and you're also doing too much sharpening (and with not so good filters, too - mftoon is very old).
3) Colorspaces are the ways that the informations are stored in videos and images. For example, in your case, you have changed the colorspace to YV12, which stores the luma information in the Y channel and the chroma informations in the UV channels. Another colorspace is, for example, RGB32, which stores the Red Green and Blue informations in the respective channels.
- Scintilla
- (for EXTREME)
- Joined: Mon Mar 31, 2003 8:47 pm
- Status: Quo
- Location: New Jersey
- Contact:
Re: Virtual Dub Mod Not Saving My Videos
To be specific:mirkosp wrote:2) That script seems like you're overdoing it. Deen is evil, and you're also doing too much sharpening (and with not so good filters, too - mftoon is very old).
"Deen is evil" is a bit of an over-generalization; however, it's true that most series these days may be hurt more than helped by settings as strong as yours (in the form of destroyed details).
Also, Deen does have a memory leak which may cause issues when encoding. (If you see your RAM usage constantly increasing throughout the encode and getting ridiculously high right before the crash, then this may be the issue.) So you may want to try a different smoother.
The sharpening part is where you really *are* overdoing it. You've got a line darkener in FastLineDarken, then a two-point sharpener in SSXSharpen; but then you also include mfToon, which does BOTH of these again! In fact, the code that went into SSXSharpen is included, with some slight changes, in mfToon already.
Plus, SSXSharpen is glacially slow at defaults, and mfToon is even worse; both of them involve 4x supersampling. I wouldn't be surprised if your render went in terms of seconds per frame using both of them together.
TL;DR: Get rid of mfToon, and consider using something other than Deen for smoothing.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: Virtual Dub Mod Not Saving My Videos
http://avisynth.org/mediawiki/DenoisersScintilla wrote:To be specific:mirkosp wrote:2) That script seems like you're overdoing it. Deen is evil, and you're also doing too much sharpening (and with not so good filters, too - mftoon is very old).
"Deen is evil" is a bit of an over-generalization; however, it's true that most series these days may be hurt more than helped by settings as strong as yours (in the form of destroyed details).
Also, Deen does have a memory leak which may cause issues when encoding. (If you see your RAM usage constantly increasing throughout the encode and getting ridiculously high right before the crash, then this may be the issue.) So you may want to try a different smoother.
Based on this it *IS* the worst denoiser, so saying it's evil isn't that wrong of a statement, summed up with the potential memory leaks.

I'd suggest lsfmod or at least limitedsharpenfaster for sharpening and perhaps toon or vmtoon with only the darkenings settings enabled for the line darkening. But in any case, your source might not be blurry to the point of needing that much sharpening.The sharpening part is where you really *are* overdoing it. You've got a line darkener in FastLineDarken, then a two-point sharpener in SSXSharpen; but then you also include mfToon, which does BOTH of these again! In fact, the code that went into SSXSharpen is included, with some slight changes, in mfToon already.
Plus, SSXSharpen is glacially slow at defaults, and mfToon is even worse; both of them involve 4x supersampling. I wouldn't be surprised if your render went in terms of seconds per frame using both of them together.
TL;DR: Get rid of mfToon, and consider using something other than Deen for smoothing.
- Qyot27
- Surreptitious fluffy bunny
- Joined: Fri Aug 30, 2002 12:08 pm
- Status: Creepin' between the bullfrogs
- Location: St. Pete, FL
- Contact:
Re: Virtual Dub Mod Not Saving My Videos
Bolded for emphasis.-Soup wrote:#ASYNTHER AVISource
AVISource("C:\Users\USER\Desktop\testuncom.avi")
converttoyv12()
deen("w2d",3,4,6)
tweak(sat=1.1)
fastlinedarken()
mftoon(strength=15)
SSXSharpen()
LanczosResize(640,480)
If you were trying to also save to the Desktop, that could be the whole problem right there. Lots of Windows programs will shit bricks if you tell them to save to the Desktop. Or open things actually stored on the Desktop.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog