Windows Dev Center

how to low down cpu usage when encoding bmp to wmv file with windows video codec


  • i'm working on a project that encode a lot of bmps to wmv file, the bmp is 32 bit. i use ISO MPEG-4 Video V1 codec to encode, that is the lowest cpu usage codec i can find, about 35%. but cpu usage is high still. i want to decline the cpu usage to 15% or lower. how can i do?

    Monday, October 27, 2008 5:45 AM

All replies

  • Use lower video resolution or less frames per second?
    Monday, October 27, 2008 6:39 AM
  • Why don't you set an encoding process/thread priority to low...?

    Tuesday, October 28, 2008 2:58 AM
  •  Shugo_Ishida wrote:
    Why don't you set an encoding process/thread priority to low...?

    This itself does not change CPU load. It may reschedule time in favor of other threads (if there are any) but in this case there will be lost frames, lower fps etc. It's OK if one wants encoding to not interfere with other processes, however if the intention is to be able to scale up or speed up to complete faster non-linearly, priorities won't help.
    Tuesday, October 28, 2008 3:13 AM
  • Thank in advice, you can say that again.
    I thought the purpose of this post is tangwb wants to know how to not interfere with other processes. tangwb said that there is a lot of bmps. I mean, it may be not rea ltime encoding with live stream.

    Tuesday, October 28, 2008 4:21 AM