blubb444
29th August 2012, 16:28
I'm on Win 7 64bit Home Premium, and I have some pretty heavy denoising to do (on 3 hours worth of Video 8 footage). It's a single file and I have 4 CPU cores so I've written 3 avs scripts that all process the different thirds of the whole video (because the script is single core, plus x264 also takes some CPU, with that setup I'm having around 90% CPU usage which is OK to me), here's the first one as example:
Vin = DirectShowSource("003deshake.avi")
Vout = Vin.trim(0,183161).MCTemporalDenoise(settings="very high",gpu=true)
return Vout
(Before you ask, AviSource doesn't want to decode the FFVH=HuffYUV FFmpeg variant video. I already deinterlaced it much earlier with Yadif2x and didn't keep the original else I'd use QTGMC MT of course which does some pretty decent denoising too at placebo and is considerably faster, ~10fps vs. a combined ~5fps for MCTD)
I'm calling it with following batch file to make it run simultaneously and at low priority so I can still use my PC:
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part1.264 003-part1.avs
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part2.264 003-part2.avs
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part3.264 003-part3.avs
(lossless intra because I want to do further processing with a NLE, maybe CorePNG or something would've been more efficient but my NLE doesn't like such exotic codecs but works well with lossless h.264 for some reason)
Long story short, here comes the problem:
As long as I'm logged on with an open desktop, the processing/encoding works, but as soon as I hit Win+L to lock the screen (when I'm going away/to work/to sleep etc) it simply halts (the number of encoded frames doesn't grow any more and the estimated time skyrockets)... So has that got something to do with Windows, the way I'm calling the processes, the programs themselves, or...?
Vin = DirectShowSource("003deshake.avi")
Vout = Vin.trim(0,183161).MCTemporalDenoise(settings="very high",gpu=true)
return Vout
(Before you ask, AviSource doesn't want to decode the FFVH=HuffYUV FFmpeg variant video. I already deinterlaced it much earlier with Yadif2x and didn't keep the original else I'd use QTGMC MT of course which does some pretty decent denoising too at placebo and is considerably faster, ~10fps vs. a combined ~5fps for MCTD)
I'm calling it with following batch file to make it run simultaneously and at low priority so I can still use my PC:
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part1.264 003-part1.avs
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part2.264 003-part2.avs
START /LOW avs4x264mod --x264-binary "x264-64-8.exe" --preset slow --qp 0 --keyint 1 --min-keyint 1 --sar 12:11 -o 003-denoise-part3.264 003-part3.avs
(lossless intra because I want to do further processing with a NLE, maybe CorePNG or something would've been more efficient but my NLE doesn't like such exotic codecs but works well with lossless h.264 for some reason)
Long story short, here comes the problem:
As long as I'm logged on with an open desktop, the processing/encoding works, but as soon as I hit Win+L to lock the screen (when I'm going away/to work/to sleep etc) it simply halts (the number of encoded frames doesn't grow any more and the estimated time skyrockets)... So has that got something to do with Windows, the way I'm calling the processes, the programs themselves, or...?