[MEncoder-users] stop/restart mencoder
girgit.girgit at gmail.com
Mon Dec 31 05:08:38 CET 2007
If you run a windows executable from a shell script then job control can be
applied. I have ~/bin/mplayer, which invokes /usr/local/bin/mplayer.
Pressing ctrl-z stops the process and I use fg to restart it. The process
still shows up in tasklist, of course, but since it is not updating the
display I believe it has stopped.
Ctrl-S definitely does not pause the process, it just stops display update.
On Dec 29, 2007 2:58 AM, TAJTHY Tamás <tajthy@****> wrote:
> Dear RC,
> THX for your help!
> 2007. 12. 28. p. 14:44, RC <cooleyr at gmail.com> írta:
> >On Fri, 28 Dec 2007 14:13:46 +0100
> >TAJTHY Tamas tajthy at mailbox.hu> wrote:
> >> I can use the ctrl+S, but I don't know how to restart automatically (I
> >> can continue pressing ctrl+Q, but it is manual :-( ).
> >> Does anybody know a way to stop and continue mencoder automatically?
> >> The stop can remain manual...
> >You can use Ctrl+Z to suspend the task, then do something like
> ># command && fg
> Unfortunatelly ctrl+Z is not working under cygwin either. :-( If I start X
> ctrl+Z send mencoder as a background process but it is still running!?!
> >Since you're running under Windows, you should probably be using the
> >Windows tools, like setting the process priority to idle.
> I think You mean the low priority. Cygwin has also "nice/renice"
> implemented, so
> I can set/change priority. I tried to play with it, but without luck. :-(
> >I really can't imagine why you would need this. Whatever the problem,
> >there's no doubt a better way to solve it.
> I try to descripe in few words: I capture filmes by VirtualDub and the
> avi is compressed to mpeg4 by mencoder. If the capture is 2 hours, the 1st
> of mencoder is 2.5 hours, the 2nd pass is cca 6 hours. Sometimes it would
> be nice
> if I could capture an other film during the mencoder compression. I tried
> change the mencoder's priority to idle (20), but it allows me only to set
> to 19
> (low. It seems to me low = idle. Is it true?). I set the priority of
> to AboveNormal or High, but there were still some audio and video
> desynchronisation. If I stopped mencoder by ctrl+S, it becomes okay, but I
> not restart it automatically after...
> Maybe I will try to find a sendkey program...
> THX && Good byte!
> Rövid angol nyelvlecke következik.
> Elektronikus postafiók/postaláda - Mailbox
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
More information about the MEncoder-users