Embed a bitmap image in a video (Like a logo of a TV channel) RRS feed

  • Question

  • I am working on a project in which i have to embed a bitmap image at the corner of the video ( at any corner is OK) and the embedded image has to be replaced with another one for every 2 frames. I would like to do it in .Net 4.
    Microsoft Student Partner
    Saturday, December 18, 2010 5:50 PM

All replies

  • Waiting for a reply
    Microsoft Student Partner
    Sunday, December 19, 2010 8:31 PM
  • hi,


    at the media foundation level, you could use the IMFVideoMixerBitmap's SetAlphaBitmap function. however, i doubt that its a good idea to change this every 2 frames. if you just play a single video and use .NET 4.0 (probably wpf) you could just use the MediaElement and add an overlay in WPF space. 

    just my 2 cents

    Monday, December 20, 2010 8:35 AM
  • Hi Joachim,

    I want to process the video file so that the output video file will always have whatever i stated earlier. To be make it clear, the video should have bitmap embedded no matter which player i use to play. I am not trying to overlay the bitmap at runtime but instead want to make changes in the frames. Correct me if i am wrong some where..


    Microsoft Student Partner
    Monday, December 20, 2010 8:48 AM