Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating video from WPF/Silverlight animation

I have a animation written in XAML. I need to create a video (AVI) from that animation. Is there a way to do that ?

like image 382
RA. Avatar asked Sep 21 '09 11:09

RA.


2 Answers

Here is how to do it for WPF (i.e. not Silverlight)

http://blogs.msdn.com/b/saveenr/archive/2008/09/22/wpf-xaml-saving-an-animation-as-an-avi-video-file.aspx

like image 59
Richard Williams Avatar answered Oct 21 '22 06:10

Richard Williams


If you have Expression Encoder, you can do the following:

  1. Create a blank movie that has as many frames as your animation (you can change the length later if you get it wrong)
  2. Use the XAML Animation overlay option to add your XAML-based animation
  3. Render out the animation to WMV
  4. Convert the video from WMV to AVI (many free tools will do this)

I believe the free version of Expression Encoder will handle this.

If Expression Encoder won't work for you, you can also use screen capture software like Jing or Camtasia.

like image 4
Jon Galloway Avatar answered Oct 21 '22 06:10

Jon Galloway