Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th August 2006, 19:42   #1  |  Link
comomolo
Guest
 
Posts: n/a
Is it possible to pause an encoding in MeGUI?

I see a pause icon in the main queue window, but when I click on it, the encoding still goes on.
  Reply With Quote
Old 20th August 2006, 19:47   #2  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Quote:
Originally Posted by comomolo
I see a pause icon in the main queue window, but when I click on it, the encoding still goes on.
might pause after the current pass.
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 20th August 2006, 19:48   #3  |  Link
comomolo
Guest
 
Posts: n/a
The current pass will take 8 hours... I need to pause it in the middle of this pass. Is that possible at all?
  Reply With Quote
Old 20th August 2006, 20:02   #4  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
As far as I know, no. You cannot pause a CLI.
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 20th August 2006, 20:18   #5  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
I presume you're using x264 (I really cannot imagine why somebody wouldn't tell that to begin with.. how is anybody but you to know what you are doing if you don't tell?), so in that case, x264.exe will keep on going for a few hundred frames (and depending on your settings, computer, etc. that can take a long while) before it finally rests.

Although, since pause doesn't mean you can close megui, what's wrong with low priority? That'll yield every CPU cycle other apps need but it'll still keep going and once no other software uses your CPU cycles it'll go on full speed again without you having to do anything about it.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 20th August 2006, 20:24   #6  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
@Doom9

How does your "pause" exactly work?
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 20th August 2006, 20:35   #7  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
stop reading from the stdout/stderr pipes.. that pauses every software that prints progress to stdout/stderr I know of (in case of x264, it takes excessively long but it still works).
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 20th August 2006, 20:52   #8  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
hum.... don't think I can do that with TDosCommand (Delphi)...
thanks for the hint though!
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 20th August 2006, 23:56   #9  |  Link
comomolo
Guest
 
Posts: n/a
Quote:
Originally Posted by Doom9
I presume you're using x264 (I really cannot imagine why somebody wouldn't tell that to begin with.. how is anybody but you to know what you are doing if you don't tell?)
Hey, hold your horses!! I simply didn't think that was an important bit of information. I still think it isn't, but you're the developer, so yes, you're right, I'm using x264.

Quote:
Although, since pause doesn't mean you can close megui, what's wrong with low priority? That'll yield every CPU cycle other apps need but it'll still keep going and once no other software uses your CPU cycles it'll go on full speed again without you having to do anything about it.
All right. I'll see if I can still work on Golive (which takes A LOT of memory and CPU) while x264.exe is executing in low priority.

Just out of curiosity: Long time ago I was a Silicon Graphics user and IRIX had a command to pause any process (Ctrl-z, if I remember well) and then other commands (fg and bg) to bring it back to life. Aren't there any similar commands in Windows? Again, this is just curiosity.

Thanks for your answers.
  Reply With Quote
Old 21st August 2006, 00:31   #10  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Quote:
Originally Posted by comomolo
Just out of curiosity: Long time ago I was a Silicon Graphics user and IRIX had a command to pause any process (Ctrl-z, if I remember well) and then other commands (fg and bg) to bring it back to life. Aren't there any similar commands in Windows? Again, this is just curiosity.
That's powerfull UNIX stuff, windows is too sissy
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 21st August 2006, 00:56   #11  |  Link
foxyshadis
Angel of Night
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
Sirber:
http://www.codecomments.com/message232528.html

DOS and Win32 cmd shell have pause too; what do you think the pause key is for? But a lot of programs ignore it now, maybe it's not part of current stdc libs. But no way to break into a command and run the shell before resuming. Neatness.

Last edited by foxyshadis; 21st August 2006 at 00:58.
foxyshadis is offline   Reply With Quote
Old 21st August 2006, 01:02   #12  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Could be cool if someone could hack this in TDosCommand
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 12th September 2006, 03:55   #13  |  Link
hhanh00
Registered User
 
hhanh00's Avatar
 
Join Date: Dec 2004
Location: Seattle
Posts: 60
You can suspend a process by calling SuspendThread on all its threads.
There is a command line tool. http://www.sysinternals.com/Utilities/PsSuspend.html
hhanh00 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:02.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.