SWF Scout |
How to convert AVI video into SWF using SWF Scout and FFMPEG Scout libraries FFMPEG Scout - is a freeware ActiveX wrapper for converting AVI to FLV, MPEG (and other formats) that using open-source FFMPEG.exe freeware video converter. More info... 1. We convert AVI video into FLV video file using FFMPEG Scout library 2. We convert generated FLV video into SWF using SWF Scout library Download source code of this example: swfscout_avi_to_swf.zip (200KB) A screenshot of the resulted SWF movie:
Source code: ' //////////////////////////////////////////////// W = 640
W = 640 Movie.BeginMovie 0,0,W,H,1,12,8 Movie.AddPreloader 0, 0,0,0,180, 0,255,0,30, "Loading video (%d% completed)...", -1 FontBig = Movie.AddFont("Arial",40,true,false,false,false,DEFAULT_CHARSET)
Video= Movie.AddVideoFromFileName("testvideo.flv") Movie.EndMovie Movie.SaveToFile "TestVideo.swf" Download source code of this example: swfscout_avi_to_swf.zip (200KB) |
|
|
||