How to migrate from v9 to v10?

v10 SDK has many API changes, a lot of properties and methods removed or replaced, now SDK API is not “plain” as before, we got near 200-300 properties and methods for one main class of each SDK, that’s too much.

Media Player SDK migration:

  1. Upgrade project to .Net 4.0 or later. .Net 2.0 – 3.5 is no longer supported.
  2. Replace VisioForge.Controls.WinForms / VisioForge.Controls.WPF to VisioForge.Controls.UI in references.
  3. Remove all properties not found in your WinForms/XAML designer file (Form1.Designer.cs or Windows1.xaml, for example). Store non-default values somewhere in your code to apply them later.
  4. Update your video effects like shown in demo code and here.
  5. Update video renderer like shown in the demo application.
  6. Update motion detection, chroma-key, or object detection using special classes like shown in the demo application.

Video Capture SDK migration:

  1. Upgrade project to .Net 4.0 or later. .Net 2.0 – 3.5 is no longer supported.
  2. Replace VisioForge.Controls.WinForms / VisioForge.Controls.WPF to VisioForge.Controls.UI in references.
  3. Remove all properties that are not found in your WinForms/XAML designer file (Form1.Designer.cs or Windows1.xaml, for example). Store non-default values somewhere in your code to apply them later.
  4. Update your video effects like shown in demo code and here.
  5. Update video renderer like shown in the demo application.
  6. Update motion detection, chroma-key, or object detection using special classes like shown in the demo application.
  7. Now SDK has a special class for each available output format. You must create a class instance, apply parameters and assign it to Output_Format property instead of enum used before.

Video Edit SDK migration:

  1. Upgrade project to .Net 4.0 or later. .Net 2.0 – 3.5 is no longer supported.
  2. Replace VisioForge.Controls.WinForms / VisioForge.Controls.WPF to VisioForge.Controls.UI in references.
  3. Remove all properties that are not found in your WinForms/XAML designer file (Form1.Designer.cs or Windows1.xaml, for example). Store non-default values somewhere in your code to apply them later.
  4. Update your video effects like shown in the demo code and here.
  5. Update video renderer like shown in the demo application.
  6. Update motion detection, chroma-key or object detection using special classes like shown in the demo application.
  7. Now SDK has a special class for each available output format. You must create a class instance, apply parameters and assign it to Output_Format property instead enum that was used before.
  8. File adding API has been changed. Please check the demo code. Now you can add multiple segments from the same source file and specify the additional independent setting.
Please contact support to get help with this tutorial. Visit our GitHub page to get more code samples.
abstract 2abstract 1abstract 3
logo
VisioForge © 2006 - 2021