Virtual Dub Mod Not Saving My Videos

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Virtual Dub Mod Not Saving My Videos

Postby Enigma » Thu Aug 20, 2009 4:16 pm

Well i was trying to save a video in Mod and it wouldn't save,I just crashed :|.
User avatar
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Re: Virtual Dub Mod Not Saving My Videos

Postby Scintilla » Thu Aug 20, 2009 5:29 pm

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?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Virtual Dub Mod Not Saving My Videos

Postby Enigma » Sat Aug 22, 2009 10:43 am

Scintilla 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?

1.Full Recompress
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)

3.Don't really understand what colorspace is :oops:.
4.XviD MPEG 4 Codec.
User avatar
Enigma
That jolly ol' bastid
 
Joined: 07 Mar 2009
Location: California
Status: Free

Re: Virtual Dub Mod Not Saving My Videos

Postby mirkosp » Sat Aug 22, 2009 11:06 am

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.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Virtual Dub Mod Not Saving My Videos

Postby Scintilla » Sat Aug 22, 2009 1:13 pm

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).

To be specific:

"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.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: Virtual Dub Mod Not Saving My Videos

Postby mirkosp » Sat Aug 22, 2009 2:34 pm

Scintilla wrote:
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).

To be specific:

"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.


http://avisynth.org/mediawiki/Denoisers
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. :P

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.


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.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Virtual Dub Mod Not Saving My Videos

Postby Qyot27 » Sat Aug 22, 2009 4:43 pm

-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)

Bolded for emphasis.

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
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest