VirtualDubMod constantly rendering and won't stop

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.

VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Wed Apr 07, 2010 6:42 pm

I'm trying to get sections of movie files out to lessen the amount I'll be working with, but when I try to save a section out of a file in VirtualDubMod, it just restarts rendering every time, making another file that ends up being huge. It used up 10 gigs before I decided to check if something was wrong, and it was just repeatedly and endlessly rendering the file!

I aborted the stupid thing, but it just started another one in another file! I closed the program and it wouldn't stop, I ended up having to task manager the stupid bastard in order to stop it.

Can someone please explain how I can stop it from doing this? It makes no sense, and preferences doesn't reference anything like this.

Assistance much appreciated.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby Phantasmagoriat » Thu Apr 08, 2010 12:46 pm

Double check that you are really marking off sections,
Image
[otherwise you might actually be encoding the whole movie]


What compression settings are you using?
Image
[lossless codecs like HUFFYUV will always be big, which is normal-- but Uncompressed would be even bigger]


The thing that really throws me off is that it starts up again after you abort :?
maybe you have a bunch of clips queued in Job Control:
Image
[when one job finishes, the next one automatically starts]

hope that helps

~Phan
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Thu Apr 08, 2010 3:14 pm

I tried it with the settings you mentioned and it seemed to work fine. Everything else was the same, but I was doing uncompressed and full processing mode, which may have been part of the problem. I have no idea what the optimum settings are to just get a decent version of a clip, so I just went with default, but the settings you gave seemed to work pretty well, was much faster, and didn't decide to rerender endlessly.

Also, I didn't have any jobs when this issue happened, so I dunno if that had something to do with it. I just did 'save as' and whatever. I don't even know how to send a job to wherever a job needs to be sent, I'm... exceedingly new to this :)
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby Phantasmagoriat » Thu Apr 08, 2010 4:42 pm

I think this has turned into a "Compression, Encoding, and Converting" topic so a mod might move this discussion.

I'm glad that worked out :)

yeah, fast recompress to HUFFYUV would be a good choice for saving clips.

To add a job to Job Control,
  • Mark off your segments [like in my first picture]
  • File > Save As...
  • Find your output location
  • Enter a file name
  • Use the same settings as my second picture except:
    • Check the box that says "Don't run this job now; add it to job control..."
  • Click Save

  • Repeat the above steps until you have marked off all the scenes you want
  • then go File > Job control...
  • simply Click Start [and VirtualDubMod should process the batch one by one]
  • walk away, and let vdub do it's magic
  • for large batches, you can let it run over night, but change:
    • Options > Shutdown when finished

...and that's pretty much it. Much easier than saving each clip manually :o
Just make sure you have enough space, otherwise your jobs won't finish.
More in-depth info can be found here:
http://www.animemusicvideos.org/guides/ ... rview.html
you are currently in stage 9.
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: VirtualDubMod constantly rendering and won't stop

Postby Mister Hatt » Thu Apr 08, 2010 9:35 pm

Don't use VDubMod, it's outdated and does stupid things. In regular vdub you should be using fast recompress to avoid funky colourimetry things. Grab it from Avery's site.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Thu Apr 08, 2010 10:27 pm

Mister Hatt wrote:Don't use VDubMod, it's outdated and does stupid things. In regular vdub you should be using fast recompress to avoid funky colourimetry things. Grab it from Avery's site.


Haha, that's why I kept having trouble with the guide a while ago when I first tried to learn this stuff. Looking through the boards, everything seemed different and I just couldn't figure out where to start.

Why is VDubMod outdated? I was under the impression is was specifically designed for stuff like this. What type of colourimetry issues do you mean, in terms for someone who has very little idea what you're speaking of? :)
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby LantisEscudo » Thu Apr 08, 2010 11:48 pm

Vdubmod is outdated because it hasn't been updated since 2007. Vdub has been regularly updated, and now has almost all of the features that Mod had (except for the script editor, and AvsP is better for that, anyway).
User avatar
LantisEscudo
 
Joined: 08 Mar 2001
Location: Vermont

Re: VirtualDubMod constantly rendering and won't stop

Postby Qyot27 » Fri Apr 09, 2010 2:29 am

And the Streams interface for the audio/subs that VDubMod has; Streams >>>>>>>>>>>>> VDub's Audio menu. Heck, I'd be fine if a 1.9.x variant of VDubMod came out and the only thing that separated it from regular VDub was that menu. I never used the Script editor anyway, VDMod_Resize was separated into a regular plugin years ago, and the Plugins system (which was introduced somewhere in the 1.8.x branch, IIRC) mostly serves the purpose of Mod's larger input file support and expands it - it's still missing one for MKV-VFW that isn't the DirectShow plugin, though (but it's got frickin' ASF/WMV support! and the MPEG-2 plugin is a newer version than the code for it in Mod).


Fast recompress mode preserves the colorspace you're working in; if you give it YV12 (or RGB24, or YUY2, or more), it stays in YV12 (or RGB24, or YUY2, or more) unless you've set the codec in the Compression dialog to override that. Full processing mode always converts the colorspace to RGB before giving it to the codec.
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

Re: VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Fri Apr 09, 2010 2:38 am

That's all a bit... well a lot beyond my understanding of the program in the slightest. I tried to follow, and I guess caught the gist of 'stick to that codec to maintain color' but honestly I don't even know where to begin with the more complex stuff or even where I'd use it. To this day I've always wanted to know how the fansubbers re-encode movies with such amazing compression, because I have videos for my job I've needed to compress quite a bit and never get that quality with anywhere near that small a size.

For understanding purposes, would some of you be willing to grant an anecdote on how you work with footage so I can understand the types of processes I have available to me? Nothing extensive, just a basic rundown with a bit of reasoning for a layman would make me feel much more comfortable.

If that's too much to ask, then don't worry about it. I'm just the type who learns better by being mentored than wasting hours screwing up on things I know I'll just screw up on.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby mirkosp » Fri Apr 09, 2010 3:41 am

Gaelstrom wrote:For understanding purposes, would some of you be willing to grant an anecdote on how you work with footage so I can understand the types of processes I have available to me? Nothing extensive, just a basic rundown with a bit of reasoning for a layman would make me feel much more comfortable.

- Get source on the hard drive
- Index with dgindex or load it directly in avisynth depending on what applies best
- Deinterlace [if needed], crop+resize [if needed], filters [if needed]
- Load script in vdub. Set audio to no audio, video to fast recompress, then pick lagarith for compression.
- Use the newly encoded lagarith for a x264 encode.
- Get the audio and encode it to whatever format works best or I need.
- Mux video and audio together.
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Fri Apr 09, 2010 5:27 am

I... appreciate the sentiment, but I also asked for some reasoning behind it. dgindex was like staring at a wall to me, as that just didn't seem to work. AVISynth is the biggest one that I lack any real understanding of. The guide was virtually no help to me on that one, I followed instructions just fine, then none of the things I wanted to do afterward seemed to work. The process seemed straight-forward enough, but outside the tutorial, nothing made any sense to me. The list of instructions it directed me to, I wasn't even aware what did what due to lack of description.

I attempted once to fix interlacing following instructions a while ago, but that... well nothing happened honestly, I'm not sure what happened. I would love to know how to simply plug those scripts in and not return errors on me, but that's not the case. All documentation I've seen thus far seems to assume a lot of understanding and I've yet to find a bridge to that knowledge gap. I just assumed the guide spoke of XP and I'm on Vista, and hence I just chalked that up to nothing seeming to work the way it was supposed to on programs designed for XP.

I'm not an unintelligent person, and I'm a 3D animator so technical things aren't foreign to me, but I'm just not a scripter. Certain things in the guide were clear as day, and others were too convoluted for me. It may also be related to the newer versions of programs available fixing some things, I don't know, this isn't what I was trained in.

Maybe somewhere buried in the boards there's something more straight-forward regarding dgindex, avisynth and scripting?
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby Phantasmagoriat » Sat Apr 10, 2010 12:19 am

Just FYI, here are The Guides for reference, and here is a Glossary

Summary/Explanation [as best as I can put it]
-after ripping a DVD, you have a .VOB file(s) that contains your footage
-unfortunately these cannot be read quickly or accurately unless we have extra information about the footage
-dgindex does this by scanning the .VOB ahead of time and gathers information into a .d2v index
-it's like making the index to a textbook (you'd need one to find anything quick and accurately)
-this index is gibberish to most programs except avisynth

-now, avisynth is tricky to explain because it is not a typical program with a GUI (like a window with buttons).
It runs in the background of your computer, and
    1.Takes input video/information/footage
    2.Interprets the video information
    3.Manipulates the footage how you want
    4.Serves the manipulated footage to another program (like VirtualDub or AvsP)
So... you never really get to see avisynth,
but you can see the manipulated footage it produces in another program.
The Guide's explanation can be found here:
AviSynth and AvsP - What they are, and why you need to use them too!

Here are some ways avisynth can manipulate your footage and prepare it properly before you edit:
  • deinterlacing (with the help of the info. from dgindex)
  • decimate; change frame rate for smooth motion
  • crop black borders off footage
  • resize your footage to the proper aspect ratio
  • clean your footage of artifacts, grain, macroblocks, aliasing, halo's, rainbowing, etc. (if needed)
  • much much more...
-avisynth achieves this by applying various filters to the footage;
-the filters you choose are determined by the lines you type into an avisynth script;
-a script is basically just a text file with the extension changed from .txt to .avs
-vdub (VirtualDub/Mod) or AvsP are common programs used to open these .avs scripts so you can see if avisynth is doing what you want it to do
-They are also the programs that use various codecs to compress your filtered footage to a format that can be read by your editor.
-After going through this process, you can edit with the best footage possible

This information is all in The Guides.
Read ErMaC & AbsoluteDestiny's Friendly AMV Guides Lovingly Overhauled Largely by Zarxrax,
it just requires a lot of time and reading

Granted, they could probably use better organization, but if you click that link you'll see that it is kind of difficult to organize that amount of information without over-generalizing concepts. And it would require an even bigger overhaul than The Guides have already gone through.
... you just have to give it some time. LOTS of Time.

If you need any further explanations feel free to ask.

Specific Questions are good.

~Phan
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Re: VirtualDubMod constantly rendering and won't stop

Postby Gaelstrom » Sat Apr 10, 2010 6:34 am

I appreciate the breakdown, and it helped me better understand the assistance I think I need most.

First off, I did read the guides, nearly from start to finish a while ago. What's interesting is I have no memory of this AvsP in there, so I'm prompted to say it is new to me even having read it. It appears to somehow organize the scripts as an HTML assistant would, but I'm not sure after having just glanced.

The thing I ran into which caused the most ills was I attempted to index some footage and deinterlace it, but also attempted to clean it up a bit, but I couldn't find any scripts that easily identified themselves. I don't know if there's a descriptive list somewhere that indexes itself as "Clean up your video? here's a grouping of potential scripts that might correspond to what you want to do" as a general starting ground, because that's partially what I seem to need to know what I'm doing with the scripts. Does AvsP have something akin to that?

Second it seems I almost need a visual representation of the order in which I do things. In the guides when you install one of the programs, you're supposed to run a test and video will come up with color bars, and that didn't work at all for some reason, and I never figured out why. I think that was part of setting up AVIsynth correctly, but it's been a while so I don't know. I'm a visual learner so it's difficult for me to tell where in a block of text I lose my way, or if it's simply some incompatibility.

Once I have a clearer distinction of what script does what, I have a strong feeling I can feel more comfortable moving forward, but one thing I truly need assistance with is the steps from .vob to getting the script functioning on that footage and showing up in VirtualDub/VDMod or whatever. Thanks to this thread I have a much stronger understanding of getting a decent-sized and quality footage render with those settings above, even if I don't quite understand why. If you're willing, I'd appreciate some help in understanding the scripting more and what some of the more useful/common commands are and how they can be applied to footage and brought up in VDMod.

And thanks for all the assistance thus far, one way or another. This was incredibly daunting last year, but I found ways around things that took longer than they needed to, I'd like to streamline the process as best I can.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: VirtualDubMod constantly rendering and won't stop

Postby Mister Hatt » Sat Apr 10, 2010 2:04 pm

DGDecode (the decoder inside DGIndex) isn't the only MPEG2-PS (VOB) indexer. For DVD footage, Mpeg2Dec3 is a better decoder/indexer to use. DGIndex was primarily made and renamed from a fork of mpeg2dec to handle MPEG2-TS video which is entirely irrelevant to the skillset of every single person here, as well as anyone who cares about DVD only.

On the side, you're all wrong about VDubMod, it was made to open ogm files, everything else was bolted on later.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: VirtualDubMod constantly rendering and won't stop

Postby Zarxrax » Sat Apr 10, 2010 2:27 pm

The current description of how to deinterlace in the guide is really crappy, because I tried to dumb it down way too much. When I update the guide again it will be better.

There is a page about cleaning up your footage: http://www.animemusicvideos.org/guides/ ... -qual.html
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests