I have a animation written in XAML. I need to create a video (AVI) from that animation. Is there a way to do that ?
With Silverlight my approach was:
If you are not able to launch .exe files then the only option is to send each .jpg file (as byte array) to the server and use "Process.Start" there; and then send resulting video back to Silverlight.
Because ImageTools is not very quick, I had to resort to saving each image as .bmp and have libjpeg-turbo to convert them to .jpg.
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
If you have Expression Encoder, you can do the following:
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.