[MEncoder-users] stop/restart mencoder
TAJTHY Tamás
tajthy at mailbox.hu
Wed Jan 2 22:12:56 CET 2008
Dear "गिरगिट",
>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.
Unfortunately it does not work under cygwin! :-( Neither mplayer, neither mencoder!
I tried
cat file.avi|mencoder...
and I sent a STOP signal to cat, and this did work! If I send this signal to
mencoder it continue running. Likewise ctrl+Z don't stop the running process. :-(
It work for vim, but it does not work for mencoder. :-(((
THX && Good byte!
TT
>Unfortunatelly ctrl+Z is not working under cygwin either. :-( If I start X then
>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 ffmjpeg'd
>
>avi is compressed to mpeg4 by mencoder. If the capture is 2 hours, the 1st pass
>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 to
>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 VirtualDub
>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 can
>not restart it automatically after...
>
>Maybe I will try to find a sendkey program...
_____________________________________________________________A legnagyobb TORRENT kereső napi 25000 új letöltés - www.warez.hu
More information about the MEncoder-users
mailing list