|
FFMPEG Scout ActiveX/NET-compatible |
Converting AVI video to SWF using FFMPEG Scout and SWF Scout FFMPEG Scout - is a freeware library for converting AVI to FLV, MPEG (and other formats) that uses open-source FFMPEG.exe freeware video converter SWF Scout - standalone ActiveX/NET library for writing, reading and modifying SWF flash movies. SWF Scout supports FLV video input support. See also - our free player engine for FLV and SWF files 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: ffmpegscout_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: ffmpegscout_avi_to_swf.zip (200KB) See also - our free player engine for FLV and SWF files
|
|
|
||