Skip to Content
HTML5 in Action
book

HTML5 in Action

by Greg Wanish, Rob Crowther, Joe Lennon, Charles Brindle
February 2014
Intermediate to advanced
466 pages
16h
English
Manning Publications
Content preview from HTML5 in Action

Appendix H. Encoding with FFmpeg

You can convert video between container formats and re-encode the audio and video streams within them using several different utilities. In this appendix you’ll concentrate on FFmpeg, a command-line tool. Let’s review several good reasons for using this tool:

  • It’s open source and freely downloadable.[1]

    1 FFmpeg is free, but you may be required to pay a licensing fee to the MPEG-LA if you use it to encode h264 video.

  • It’s available for all the major client and server platforms: Windows, OS X, and Linux.
  • Command-line tools lend themselves to scripting, if you have to process many videos.
  • It can be called from server-side code.

Let’s also look at disadvantages:

  • You may be unfamiliar with command-line ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML5 Programmer’s Reference

HTML5 Programmer’s Reference

Jonathan Reid

Publisher Resources

ISBN: 9781617290497Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link