ByteScout Image To Video SDK - VB.NET - WEBM Output - ByteScout

ByteScout Image To Video SDK – VB.NET – WEBM Output

  • Home
  • /
  • Articles
  • /
  • ByteScout Image To Video SDK – VB.NET – WEBM Output

WEBM output in VB.NET using ByteScout Image To Video SDK

How To: tutorial on WEBM output in VB.NET

The coding tutorials are designed to help you test the features without need to write your own code. ByteScout Image To Video SDK was made to help with WEBM output in VB.NET. ByteScout Image To Video SDK is the SDK that is designed to generate video slideshow with 100+ 2d and 3D transition effects. Can generate WMV, AVI, WEBM video file with adjustable quality, framerate, output video size.

The SDK samples like this one below explain how to quickly make your application do WEBM output in VB.NET with the help of ByteScout Image To Video SDK. In order to implement this functionality, you should copy and paste code below into your app using code editor. Then compile and run your application. Use of ByteScout Image To Video SDK in VB.NET is also explained in the documentation included along with the product.

Trial version can be downloaded from our website. Source code samples for VB.NET and documentation are included.

Try ByteScout Image To Video SDK today: Get 60 Day Free Trial or sign up for Web API

Module1.vb
      
Imports BytescoutImageToVideo Module Module1 Sub Main() Try Console.WriteLine("Converting JPG slides to video, please wait...") ' Create BytescoutImageToVideoLib.ImageToVideo object instance Dim converter As ImageToVideo = New ImageToVideo() ' Activate the component converter.RegistrationName = "demo" converter.RegistrationKey = "demo" ' Enable transition effects for the first and last slide converter.UseInEffectForFirstSlide = True converter.UseOutEffectForLastSlide = True ' Add images and set slide durations and transition effects Dim slide As Slide slide = converter.AddImageFromFileName("..\..\..\..\slide1.jpg") slide.Duration = 3000 ' 3000ms = 3s slide.InEffect = TransitionEffectType.teFade slide.OutEffect = TransitionEffectType.teFade slide = converter.AddImageFromFileName("..\..\..\..\slide2.jpg") slide.Duration = 3000 slide.InEffect = TransitionEffectType.teWipeLeft slide.OutEffect = TransitionEffectType.teWipeRight slide = converter.AddImageFromFileName("..\..\..\..\slide3.jpg") slide.Duration = 3000 slide.InEffect = TransitionEffectType.teWipeLeft slide.OutEffect = TransitionEffectType.teWipeRight ' Set output video size converter.OutputWidth = 640 converter.OutputHeight = 480 ' Set output video file name converter.OutputVideoFileName = "result.webm" ' Run the conversion converter.RunAndWait() ' Release resources System.Runtime.InteropServices.Marshal.ReleaseComObject(converter) ' Open the result video file in default webm player Process.Start("result.webm") Console.WriteLine("Done. Press any key to continue...") Console.ReadKey() Catch ex As Exception Console.WriteLine("Error: " & ex.Message) Console.ReadKey() End Try End Sub End Module

Try ByteScout Image To Video SDK today: 60 Day Free Trial (on-premise version) or sign up for Web API (on demand version)

VIDEO

ON-PREMISE VERSION

Get 60 Day Free Trial or Visit ByteScout Image To Video SDK page

Explore ByteScout Image To Video SDK documentation

WEB API

Sign Up for free Web API key

Explore Web API Documentation

Tutorials:

prev
next