Log in

View Full Version : Cold pausable/resumable encoding for MeGui ?


guista
30th May 2010, 21:01
My x264 encoding can last hours and even days.
Last time, I was in 3rd encoding step (which was planned to last 13 hours).
At about 6 hours before the end, I ran a program which crashed my computer so the 7 first encoding hours were completely lost.

I know a similar subject was already posted on the forum and the main solution was to enter the Windows hibernating mode (which save the system context to the hard disk so the computer can be electrically stopped then restored at system restart).

Even if this would not help me much for my first problem (computer crash), it would allow me to stop my computer instead of letting it run all night long. Unfortunately, when I try hibernating during a x264 encoding, Windows tells me that I do not have enough resource to enter hibernation.
Suspending the process or reducing the used cores (set affinity) does not help much (I still have the resource error).
I suppose the resources stay allocated independently from the CPU or core usage.

* Is there a way to cold-pause MeGui so the computer can be stopped/restarted without breaking hours of processing ?

Thanks in advance.

cybersharky
1st June 2010, 19:57
I had a similar question last month and it was suggested that I try trim (http://avisynth.org/mediawiki/Trim).

detmek
1st June 2010, 21:16
Nothing can help you with system crash. In other cases, use Auslogics Task Manager (http://www.softpedia.com/get/System/System-Info/Auslogics-Task-Manager.shtml) to stop x264.exe process and CleanMem (http://www.pcwintech.com/cleanmem) to free resources. Then try hibernation.

guista
2nd June 2010, 10:49
I had a similar question last month and it was suggested that I try trim (http://avisynth.org/mediawiki/Trim).

If I understand , I can cut my source file in parts so I can encode them iteratively so I only lose the current part if something wrong happen.
Anyway, I will have to merge all the encoded parts together and I am not sure this is possible without re-encoding everything.


Nothing can help you with system crash.

Yes, of course.

In other cases, use Auslogics Task Manager (http://www.softpedia.com/get/System/System-Info/Auslogics-Task-Manager.shtml) to stop x264.exe process and CleanMem (http://www.pcwintech.com/cleanmem) to free resources. Then try hibernation.

I am not sure it will help me because if I stop the x264.exe process, no context info will be saved and I will have to restart from the begining and this is exactly what I want to avoid.
My problem is not entering hibernation, it is pausing MeGui then electrically stopping my computer then restart from the last restore point.