Read the documentation in the doc/ directory in git.
You can also view it online at http://ffmpeg.org/documentation.html