Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > VirtualDub Development Forum > Pause Processing, Don't Stop It When Disk Is Full


Posted by: SenorKaffee Jun 5 2011, 09:03 AM
The current behavior of VirtualDub is that it stops processing if it can't write additional data on the disk. I think this is needlessly punishing for the user because hours of processing time can be lost because of a recoverable problem.

Please just pause processing instead - give me the chance to make some room and continue. Especially with CQ and lossless compression it can be hard to predict how much space the compressed file will actually need in the end.

Think of the environment... and the children, and everything. biggrin.gif

Posted by: freedomdwarf Oct 29 2011, 07:38 PM
VirtualDub is not alone in this behaviour.
You will probably find that most software will halt if it runs out of disc space.

Although it might be a nice feature it is not likely to work as you would expect it to.
Most modern OS'es use a 'Write behind' and 'delayed write' processes so if you did manage to make more room it might not have gotten written back to the hard drive at the point that VirtualDub (or any other software) needs to carry on writing data. That, and the fact that with these type of errors there is no real way of knowing exactly how much data actually got written (if any) without interrogating the drive and it's dynamics makes recovery from this problem somewhat fraught with headaches and errors.

So unfortunately, although theoretically possible, it isn't very likely to be incorporated into standard software; VirtualDub included.

Posted by: phaeron Nov 1 2011, 05:54 AM
The situation on Windows is not quite that bad. Running out of disk space is purely an OS phenomenon, so buffering in the drive hardware doesn't matter, and typically NTFS allocates on write instead of on flush so data loss is unlikely. It might be possible to pause and restart on a disk full error as long as compression isn't being used, but I'd have to do some testing to determine feasibility.

Posted by: levicki May 9 2012, 08:09 AM
QUOTE (SenorKaffee @ Jun 5 2011, 10:03 AM)
The current behavior of VirtualDub is that it stops processing if it can't write additional data on the disk. I think this is needlessly punishing for the user because hours of processing time can be lost because of a recoverable problem.

Please just pause processing instead - give me the chance to make some room and continue. Especially with CQ and lossless compression it can be hard to predict how much space the compressed file will actually need in the end.

Think of the environment... and the children, and everything. biggrin.gif

Maybe the user will learn to always have enough free disk space in advance after the punishment? tongue.gif

Posted by: phaeron May 12 2012, 05:48 PM
If we could avoid all problems through foresight there would be no need for error handling. smile.gif

In any case, consider this feature request added to the future list for consideration.

Posted by: Dowlphin Apr 9 2014, 11:08 PM
In fact, it would be generally great to be able to pause the rendering process, especially for bigger projects. While you can set the process priority to idle, it's still not free of certain interference. Might not be one of the most crucial features, but once the pause-when-disk-full is implemented, it's probably trivial to make it user-controllable, too. I guess the really awesome level of this feature is not tricky at all, but imagine you could interrupt the rendering project and continue it at a later time. (As long as there is a log file with info on where it was halted, which is probably easier to do than a smart analysis algorithm that figures it out without a log.)
OK, I'm phantasizing now. I'll stop. laugh.gif

Posted by: Altaf Apr 10 2014, 05:57 AM
1) Windows can warn about the place termination on disks in advance.
2) Immediately, come into a status window VD.
3) Put the slider "Speed limit" on the left edge.
In you there will be a lot of time to clear a disk.
4) Place the "Speed limit" slider on the right edge.
Phaeron It can be used as a pause?!
- to press the pause button - "Speed limit" = 0.
- to press the pause button - "Speed limit" = 100%.

Posted by: Altaf Apr 10 2014, 06:05 AM
del

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)