The umc_video_enc_con is a simple application to show how to use VideoEncoder class. If you are developing complicated media player or transcoder application then you have to care on RGB2YUVcolor conversion step.
Tovarich, Vladimir, I understand that umc_video_enc_con is a simple application. Question is: can MPEG-2 encoder accept RGB32 input? And if so, how to condition the input buffers?
TovarichVladimir: if VideoEncoder does not support color conversion inside, does that mean that all input to MPEG2 VideoEncoder must be YUV? My particular context is an OnPaint method that is passed an RGB32 bitmap. I want the OnPaint method to call video encoder to write an encoded output frame.