Using Expression Encoder and .Net to overlay text on your videos
- Posted: Feb 04, 2011 at 6:00 AM
- 8,821 Views
Sure Windows Live Move Maker 2011 (and other many other tools too) can overlay text onto your videos, but what if you wanted to do it programmatically? Maybe to watermark your videos, or stamp them based on some of their metadata, or say you've got a security camera capturing video where you'd like put some text on the video automatically. Just think of the cool stuff you could do... (must... finish post and not start coding... must... control... self... the IDE is calling me... must finish... ![]()
Wade Wegner shows us how in Overlay Text On Video Using Expression Encoder 4
"I recently built an application where I wanted to write some arbitrary text onto a video. I was using Expression Encoder 4 and had a difficult time finding some examples and documentation, aside from some basic MSDN documentation on the MediaItem class. I was eventually able to figure it out, but it took a little time. Even though the end result is not particularly glamorous, I thought I’d save you some time and share what I learned.
The first thing to recognize is that you have to create a Bitmap of the text you want to overlay. This Bitmap is then overlayed on to the MediaItem. So, first things first, create your Bitmap. Here’s an approach:
...
Here’s a few more links you might find interesting:
Page thumbnail curtsey of psyberartist
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?