Installing FFmpeg to Manipulate Video SWF Files

This section introduces the FFmpeg package that can be used to manipulate video stream SWF files, and other multimedia data.

The best tool to manipulate video and audio stream SWF files is probably the FFmpeg package.

What Is FFmpeg? FFmpeg (Fast Forward MPEG) is a free software project that produces libraries and programs for handling multimedia data.

FFmpeg contains the following components:

Note that FFmpeg package can only be used on stream (video and/or audio) SWF files.

Downloading and installing FFmpeg on Windows is easy:

Run the following command to verify the installation:

C:\herong>\local\ffmpeg\bin\ffmpeg -version
ffmpeg version N-63378-g1d36def
...
libavutil      52. 86.100 / 52. 86.100
libavcodec     55. 63.100 / 55. 63.100
libavformat    55. 40.100 / 55. 40.100
libavdevice    55. 13.101 / 55. 13.101
libavfilter     4.  5.100 /  4.  5.100
libswscale      2.  6.100 /  2.  6.100
libswresample   0. 19.100 /  0. 19.100
libpostproc    52.  3.100 / 52.  3.100

Excellent. FFmpeg is ready on my Windows system!

Table of Contents

 About This Book

 Introduction of Adobe Flash

 Adobe Flash Player Plugin for Firefox

 Adobe Flash Player Plugin for Chrome

 Adobe Flash Player Plugin for Safari

 Adobe Flash Player ActiveX for IE

 Using "object" Elements for Flash Files

 Using "embed" Elements for Flash Files

 "mp3player" - MP3 Music Player

 SWFObject - Hidding "object" behind JavaScript

 Flash Player Projector

 SWFTools - SWF File Manipulation Tools

 SWFC Script to Generate Flash SWF Files

 ActionScript Embedded in SWFC Script

 AS3Compile - ActionScript 3 Compiler

 Adobe Flex SDK 4

 SWF File Structure and Tags

 SWF File Processing Rules

SWF Files for Video and Audio Streams

 Video and Audio Stream SWF File Structure

Installing FFmpeg to Manipulate Video SWF Files

 Playing Movie with FFmpeg "ffplay" Command

 See File Properties with FFmpeg "ffprobe" Command

 Convert File Format with "ffmpeg" Command

 Issue with "ffplay" on SWF Output File

 "ffplay" Interactive Commands

 Break Long Video into Parts with "ffmpeg"

 Concatenate Video Files with "ffmpeg"

 Video/Audio Stream Concatenation Order

 Split Audio Stream Out of SWF File

 Split Video Stream Out of SWF File

 Merge Video and Audio Streams to SWF File

 Reduce Video Stream Resolution

 Reduce Video Frame Rate

 Outdated Tutorials

 References

 Full Version in PDF/EPUB