Enable libopus builds within build_ffmpeg.py

This prepares the path for using ffmpeg's opus decoder instead of
our own. Allowing opus playback in WebAudio and reducing some of
our code complexity.

BUG=482934
TEST=Opus media_unittests pass w/o modification.

Change-Id: I8867b015ac9e8bd8ec3b0ae04b926f87cb2aae09
Reviewed-on: https://chromium-review.googlesource.com/402028
Reviewed-by: Matthew Wolenetz <wolenetz@chromium.org>
4 files changed
tree: 9e32793731def422e4ea6aa107e93a2ac951e62e
  1. chromium/
  2. compat/
  3. doc/
  4. libavcodec/
  5. libavdevice/
  6. libavfilter/
  7. libavformat/
  8. libavresample/
  9. libavutil/
  10. libpostproc/
  11. libswresample/
  12. libswscale/
  13. presets/
  14. tests/
  15. tools/
  16. .gitattributes
  17. .gitignore
  18. .travis.yml
  19. arch.mak
  20. BUILD.gn
  21. Changelog
  22. cmdutils.c
  23. cmdutils.h
  24. cmdutils_common_opts.h
  25. cmdutils_opencl.c
  26. codereview.settings
  27. common.mak
  28. configure
  29. COPYING.GPLv2
  30. COPYING.GPLv3
  31. COPYING.LGPLv2.1
  32. COPYING.LGPLv3
  33. CREDITS
  34. CREDITS.chromium
  35. ffmpeg.c
  36. ffmpeg.h
  37. ffmpeg_dxva2.c
  38. ffmpeg_filter.c
  39. ffmpeg_generated.gni
  40. ffmpeg_opt.c
  41. ffmpeg_options.gni
  42. ffmpeg_qsv.c
  43. ffmpeg_vdpau.c
  44. ffmpeg_videotoolbox.c
  45. ffmpegsumo.ver
  46. ffplay.c
  47. ffprobe.c
  48. ffserver.c
  49. ffserver_config.c
  50. ffserver_config.h
  51. INSTALL.md
  52. library.mak
  53. LICENSE.md
  54. MAINTAINERS
  55. Makefile
  56. OWNERS
  57. PRESUBMIT.py
  58. README.chromium
  59. README.md
  60. RELEASE
  61. version.sh
  62. xcode_hack.c
README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • ffserver is a multimedia streaming server for live broadcasts.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process. Few developers follow pull requests so they will likely be ignored.