Shave ~158kb in strings from ffmpeg. Use #define to null-route logs.

Official builds never log these strings anywhere; we always set
AV_LOG_QUIET and don't surface these to MEDIA_LOG.

158kb difference is the final chrome executable on linux with
a static link.

BUG=none
TEST=compile, observe binary size delta of chrome

Change-Id: I78782079dbe54822e4ded1a4f41c1b98621f83f7
Reviewed-on: https://chromium-review.googlesource.com/636748
Reviewed-by: Chrome Cunningham <chcunningham@chromium.org>
5 files changed
tree: 2f0bd1c5e60dd6020402dc803957d9ec15964323
  1. chromium/
  2. compat/
  3. doc/
  4. ffbuild/
  5. libavcodec/
  6. libavdevice/
  7. libavfilter/
  8. libavformat/
  9. libavresample/
  10. libavutil/
  11. libpostproc/
  12. libswresample/
  13. libswscale/
  14. presets/
  15. tests/
  16. tools/
  17. .gitattributes
  18. .gitignore
  19. .travis.yml
  20. BUILD.gn
  21. Changelog
  22. cmdutils.c
  23. cmdutils.h
  24. cmdutils_opencl.c
  25. codereview.settings
  26. configure
  27. CONTRIBUTING.md
  28. COPYING.GPLv2
  29. COPYING.GPLv3
  30. COPYING.LGPLv2.1
  31. COPYING.LGPLv3
  32. CREDITS
  33. CREDITS.chromium
  34. ffmpeg.c
  35. ffmpeg.h
  36. ffmpeg_cuvid.c
  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_vaapi.c
  44. ffmpeg_vdpau.c
  45. ffmpeg_videotoolbox.c
  46. ffmpegsumo.ver
  47. ffplay.c
  48. ffprobe.c
  49. ffserver.c
  50. ffserver_config.c
  51. ffserver_config.h
  52. INSTALL.md
  53. LICENSE.md
  54. MAINTAINERS
  55. Makefile
  56. OWNERS
  57. PRESUBMIT.py
  58. README.chromium
  59. README.md
  60. RELEASE
  61. 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 and will be ignored.