FFMPEG processing


This book is no longer available for sale.

FFMPEG processing

A beginners guide

About the Book

This book is a practical, pragmatic and lightweight guide to FFMPEG processing.

FFMPEG processing introduces you to a range of video and audio processing techniques using the command line tool FFMPEG.

About the Author

sameer borate
sameer borate

Sameer Borate lives in Pune, India and works as an independent consultant, specialising in web development.

Websites: http://www.codediesel.com

Table of Contents

  • 1. Getting started with FFmpeg
    • 1.1 What is FFmpeg?
    • 1.2 Components of FFmpeg
    • 1.3 Compression
    • 1.4 Bitrates
    • 1.5 Audio Sampling Frequency
    • 1.6 Frame rate
    • 1.7 Containers
    • 1.8 Installing FFMPEG
    • 1.9 FFmpeg Command syntax
  • 2. Audio Processing
    • 2.1 Transcoding audio files
      • 2.1.1 Introduction to Transcoding
      • 2.1.2 Audio compression
      • 2.1.3 Getting your audio file ready
      • 2.1.4 Transcoding your audio file to a different format
      • 2.1.5 Changing the bitrate of the audio
      • 2.1.6 Audio grabbing
    • 2.2 Some Popular Audio Formats
    • 2.3 Audio Processing Recipes
  • 3. Video Processing
    • 3.1 Transcoding video files
      • 3.1.1 Video transcoding introduction
      • 3.1.2 Setting the resolution or frame size of a video
    • 3.2 Extracting images from a video
    • 3.3 Misc. video processing tasks
      • 3.3.1 Extract a video segment
      • 3.3.2 Splitting a video
      • 3.3.3 Combining or stitching videos
      • 3.3.4 Recording a screencast
    • 3.4 Video processing recipes
    • 3.5 Some popular video formats
  • 4. Filters
    • 4.1 Applying video filters
      • 4.1.1 Cropping videos
      • 4.1.2 Expressions and constants
      • 4.1.3 Padding videos
      • 4.1.4 Flipping videos
      • 4.1.5 Draw Box
      • 4.1.6 Overlay - Watermarking your videos
      • 4.1.7 Sharpening and Blurring videos
      • 4.1.8 Transpose
    • 4.2 Chaining filters
  • 5. Integrating FFmpeg with PHP
    • 5.1 Calling executable programs from PHP
    • 5.2 Common problems encountered
  • 6. FFmpeg Options
    • A.1 Generic options
    • A.2 Main options
    • A.3 Audio options

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$11,223,750writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub