Skip to main content

How to migrate from v9 to v10?

Products: Video Capture SDK .Net, Video Edit SDK .Net, Media Player SDK .Net

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

Media Player SDK migration

  1. Upgrade the 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 as shown in the demo code and here.
  5. Update the video renderer as shown in the demo application.
  6. Update motion detection, chroma-key, or object detection using special classes as shown in the demo application.

Video Capture SDK migration

  1. Upgrade the 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 as shown in the demo code and here.
  5. Update the video renderer as shown in the demo application.
  6. Update motion detection, chroma-key, or object detection using special classes as 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 the Output_Format property instead of the enum used before.

Video Edit SDK migration

  1. Upgrade the 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 as shown in the demo code and here.
  5. Update video renderer as shown in the demo application.
  6. Update motion detection, chroma-key or object detection using special classes as 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 the Output_Format property instead enum that was used before.
  8. The 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.

Visit our GitHub page to get more code samples.