Create video from WPF / Silverlight animations

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

+5
source share
3 answers

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

  • Create an empty movie with as many frames as your animation (you can change the length later if you make a mistake)
  • Use the XAML Animation overlay option to add XAML-based animations
  • Extract animation to WMV
  • WMV AVI ( )

, Expression Encoder .

Expression Encoder , , , Jing Camtasia.

+4

Silverlight :

  • WriteableBitmap;
  • .jpg ImageTools Silverlight;
  • ;
  • FFmpeg.exe( Silverlight) .

.exe, .jpg( ) "Process.Start" ; Silverlight.

Since ImageTools is not very fast, I had to resort to saving each image as .bmp and have libjpeg-turbo to convert them to .jpg.

0
source

All Articles