The SDK provides the .ExternalAudioTrackFromFileName property. Set this property to existing WAV or MP3 filename (full path to the file) and the SDK will use this audio file as audiotrack for the output video file.
Visual Basic .NET :
Imports BytescoutSWFToVideoLib Module Module1 Sub Main() ' 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" ' Add SWF file and set its output filename converter.SetMovie("SlideShowWithEffects.swf", "result.avi") ' Set background music converter.ExternalAudioTrackFromFileName = "bgmusic.mp3" ' Set output audio codec converter.CurrentAudioCodecName = "ADPCM" ' Set output movie dimensions converter.OutputWidth = 640 converter.OutputHeight = 480 ' Run conversion converter.RunAndWait() ' Open the result movie in default media player Process.Start("result.avi") End Sub End Module
Sorry! This product is not available.
Please click here to visit main page for the list of all available products and solutions.
Product Links: