- Home
- Testimonials
- Purchase
- Developer Tools
- Desktop Utilities
- Download
- Support
- Blog
- Company
How to Convert SWF to Uncompressed AVI Using SWF To Video SDK
These VB and C# samples show how to convert SWF flash movie to uncompressed AVI video files to preserve video quality using SWF To Video SDK.
Visual Basic .NET
Imports System.Diagnostics Imports BytescoutSWFToVideo Class Program Friend Shared Sub Main(args As String()) ' Create an instance of SWFToVideo ActiveX object Dim converter As New SWFToVideo() ' Set debug log 'converter.SetLogFile("log.txt"); ' Register SWFToVideo converter.RegistrationName = "demo" converter.RegistrationKey = "demo" ' Set empty video codec name to get the output video uncompressed converter.CurrentVideoCodecName = "" ' Set input SWF file converter.InputSWFFileName = "circles.swf" ' Set output video file converter.OutputVideoFileName = "result.avi" ' Set output movie dimensions converter.OutputWidth = 320 converter.OutputHeight = 240 ' Run conversion converter.RunAndWait() ' Open the result movie in default media player Process.Start("result.avi") End Sub End Class
Visual C#
using System.Diagnostics; using BytescoutSWFToVideo; namespace SwfToUncompressedAvi { class Program { static void Main(string[] args) { // Create an instance of SWFToVideo ActiveX object SWFToVideo converter = new SWFToVideo(); // Set debug log //converter.SetLogFile("log.txt"); // Register SWFToVideo converter.RegistrationName = "demo"; converter.RegistrationKey = "demo"; // Set empty video codec name to get the output video uncompressed converter.CurrentVideoCodecName = ""; // set input SWF file converter.InputSWFFileName = "circles.swf"; // set output AVI video filename converter.OutputVideoFileName = "result.avi"; // Set output movie dimensions converter.OutputWidth = 320; converter.OutputHeight = 240; // Run conversion converter.RunAndWait(); // Open the result movie in default media player Process.Start("result.avi"); } } }
Filed in:
SWF To Video SDK
Tutorials:






