niv
14th March 2005, 18:05
Hay ,
I was wondering if I can ask your help on this:
I want the following command to run in low priority from a batch file:
avs2yuv L:\Regulars\60_MIN.AVI.post.avs - | g:mencoder - -nosound - -o NUL: -ovc x264 -x264encopts pass=1:bitrate=491 -passlogfile L:\Regulars\60_MIN.AVI.x264yuv.stat
The command converts a film then pipes it to mencoder which encodes it.
when I run that command the pc freezes a bit because it consumes lots of cpu flops.
It runs in Normal priority.
As suggested I thought of echo ing it to a batch file then:
start "This_time_run_mencoder_in_low" /low <batch_file>
when I tried to echo the command to a file , I got an error and mencoder was loaded.
> echo avs2yuv L:\Regulars\60_MIN.AVI.post.avs - | g:mencoder - -nosound - -o NUL: -ovc x264 -x264encopts pass=1:bitrate=491 -passlogfile L:\Regulars\60_MIN.AVI.x264yuv.stat > batch.bat
I think its because of the pipe.
Help?
Niv
I was wondering if I can ask your help on this:
I want the following command to run in low priority from a batch file:
avs2yuv L:\Regulars\60_MIN.AVI.post.avs - | g:mencoder - -nosound - -o NUL: -ovc x264 -x264encopts pass=1:bitrate=491 -passlogfile L:\Regulars\60_MIN.AVI.x264yuv.stat
The command converts a film then pipes it to mencoder which encodes it.
when I run that command the pc freezes a bit because it consumes lots of cpu flops.
It runs in Normal priority.
As suggested I thought of echo ing it to a batch file then:
start "This_time_run_mencoder_in_low" /low <batch_file>
when I tried to echo the command to a file , I got an error and mencoder was loaded.
> echo avs2yuv L:\Regulars\60_MIN.AVI.post.avs - | g:mencoder - -nosound - -o NUL: -ovc x264 -x264encopts pass=1:bitrate=491 -passlogfile L:\Regulars\60_MIN.AVI.x264yuv.stat > batch.bat
I think its because of the pipe.
Help?
Niv