How to draw line, text & image on the video while encoding. RRS feed

  • Question

  • Hello,

    Our need is to draw text, image & lines at a particular time on video. How to do this..?


    Monday, September 8, 2014 12:27 AM

All replies

  • Sorry, we don't support any sort of GDI+ style line drawing API directly in our encoder. But you could probably do this with some fancy server side code.

    We only support image overlays at this time.  You can read about how to use overlay images in my latest blog post on Advanced Encoding Features here:

    Your only way to do this would be to have a collection of Images that you could overlay, or you could write code to dynamically create the Overlay PNG images on the server side using GDI+ in .NET, write the PNG image out at the correct resolution of the source video, and then upload that PNG to the Source Asset that you are encoding just prior to running the encoder job.  After that, you can use the settings in my blog post to submit an encoding job with the custom overlay. 


    John D.

    Monday, September 8, 2014 5:55 PM
  • Thanks.
    Sunday, September 14, 2014 1:52 PM