Table of Contents
Introduction ......................................................................................................12
Welcome................................................................................................................................12
First steps..............................................................................................................................12
Dedicated website.................................................................................................................12
Conventions ..........................................................................................................................13
Your feedback is important ................................................................................................14
1. FFmpeg Fundamentals ................................................................................15
FFmpeg introduction...........................................................................................................15
Developers of FFmpeg.........................................................................................................16
Participation in FFmpeg development ..............................................................................16
FFmpeg download ...............................................................................................................17
Command line syntax ..........................................................................................................17
Windows Command Prompt and its alternatives.............................................................18
Path setting ...........................................................................................................................19
Renaming to shortened form ..............................................................................................20
Displaying output preview ..................................................................................................21
Preview with FFplay media player ...................................................................................21
Preview with SDL output device ......................................................................................21
SI prefixes available in FFmpeg .........................................................................................21
Transcoding with ffmpeg ....................................................................................................22
Filters, filterchains and filtergraphs ..................................................................................23
Selection of media streams..................................................................................................25
Lavfi virtual device ..............................................................................................................27
Color names..........................................................................................................................27
2. Displaying Help and Features .....................................................................29
Text help in FFmpeg tools...................................................................................................29
Available bitstream filters...................................................................................................29
Available codecs ...................................................................................................................30
Available decoders ...............................................................................................................36
Available encoders ...............................................................................................................43
Available filters ....................................................................................................................46
Available formats.................................................................................................................48
Available layouts of audio channels ...................................................................................52
FFmpeg license.....................................................................................................................54
Available pixel formats........................................................................................................54
Available protocols ..............................................................................................................57
Available audio sample formats .........................................................................................58
FFmpeg version....................................................................................................................58
Using MORE command for output formatting ................................................................59
Redirecting output to file ....................................................................................................59
3. Bit Rate, Frame Rate and File Size.............................................................60
Frame (frequency) rate introduction .................................................................................60
Frame rate setting................................................................................................................61
Using -r option ..................................................................................................................61
Using fps filter...................................................................................................................61
Predefined values for frame rate........................................................................................61
Bit (data) rate introduction.................................................................................................62