Malcolm
4th May 2007, 14:17
hi,
i just had an idea that might help using more than one cpu core for video encoding in case mt() doesnt work (well) and your encoder is not smp capable.
my scenario: avisynth with medium or heavy filter processing and hcenc (or quenc, ...) as the mpeg2 encoder.
since hcenc isn't smp enabled you have the problem that your processing chain is completely running inside one thread/process. Wouldn't it be possible to put the avisynth processing in one process (vdub, ...) and hcenc in another process and connect the 2 via frameserving or ipcsource or something similar? This way you should automatically benefit from 2 cpu cores because your OS should use them for the 2 processes.
Since i've never used framserving or ipcsource my knowledge in this area is practically zero. Correct me if these aren't the right tools to accomplish this.
However: if it's possible then how exactly?
i just had an idea that might help using more than one cpu core for video encoding in case mt() doesnt work (well) and your encoder is not smp capable.
my scenario: avisynth with medium or heavy filter processing and hcenc (or quenc, ...) as the mpeg2 encoder.
since hcenc isn't smp enabled you have the problem that your processing chain is completely running inside one thread/process. Wouldn't it be possible to put the avisynth processing in one process (vdub, ...) and hcenc in another process and connect the 2 via frameserving or ipcsource or something similar? This way you should automatically benefit from 2 cpu cores because your OS should use them for the 2 processes.
Since i've never used framserving or ipcsource my knowledge in this area is practically zero. Correct me if these aren't the right tools to accomplish this.
However: if it's possible then how exactly?