none
How to show text on the preview video RRS feed

  • Question

  • I can preview the video on the screen through a capture device.
    But now, I want to show some text on the video, for example: show the current time.
    How can I do this?
    Thanks a lot.
    Friday, November 25, 2005 4:40 AM

Answers

  • The VMRPlayer sample prints to a bitmap and mixes it with the video:
    \Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\VMR9\VMRPlayer

    Use VMR if you want to stay current - however if your video card supports overlay and you don't want to code it then you can use an overlay with the standard renderer and print right over the video in transparent mode.  VMR is recommended for new applications.
    Monday, November 28, 2005 2:56 AM

All replies

  • Use VMR (Video Mixing Renderer) and add the text.  There is a sample for this in the Platform SDK.
    Sunday, November 27, 2005 3:00 AM
  • Hi, Jordan.
    Thanks for your answer, I run the graphedit.exe can find the Video Mixer Render 9. But I can't find how to add the text. why?
    On the other way, you say there is a sample for this in the paltform SDK. Can you tell me the sample's name and it's directory?
    Best regard!
    Monday, November 28, 2005 1:31 AM
  • The VMRPlayer sample prints to a bitmap and mixes it with the video:
    \Program Files\Microsoft Platform SDK\Samples\Multimedia\DirectShow\VMR9\VMRPlayer

    Use VMR if you want to stay current - however if your video card supports overlay and you don't want to code it then you can use an overlay with the standard renderer and print right over the video in transparent mode.  VMR is recommended for new applications.
    Monday, November 28, 2005 2:56 AM
  • Thank you, Douglas Jordan.

    your answer is very helpful for me.

    Thursday, January 5, 2006 3:21 AM
  • so, nice

    But this is a example for vc++ only or other.

    You have the example for show text on the video screen with c# ?

    And how i get this example? I want to link for download.

     

    Thank you every much.

     

    PS. Sorry for my english. 

     

    Tuesday, January 10, 2006 10:26 AM