SWF Files for Video and Audio Streams
This chapter provides tutorial notes and example codes on SWF files for video and audio streams. Topics include SWF file structure for video and/or audio streams; installing FFmpeg to manipulate video/audio streams; 'ffprobe' to view video/audio stream properties; 'ffplay' to play stream SWF files; 'ffmpeg' to convert other stream format to SWF, break long streams into parts, concatenet short streams, split/merge streams, reduce resolution and frame rate.
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
- Video and audio data can be streamed in SWF files.
- FFmpeg is an excellent tool to manipulate video and audio streams stored in SWF format and many other formats.
- "ffmpeg" command can convert video and audio streams in SWF file from or to other file formats.
- "ffprobe" command can print out video and audio stream properties.
- "ffplay" command can play video and audio stream SWF files
- "ffmpeg ... -ss ... -to ..." command can break a long stream into shorter parts.
- "ffmpeg ... -filter_complex ... concat ..." command can concatenet short streams into a longer stream.
- "ffmpeg ... -map ..." command can split a video or audio stream into a separate file, or merge them back.
- "ffmpeg ... -s ..." command can reduce video frame resolution.
- "ffmpeg ... -r ..." command can reduce video frame rate.
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
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 Struture and Tags
SWF File Processing Rules
►SWF Files for Video and Audio Streams
PDF Printing Version