FFmpeg git repo
Go to file
Michael Niedermayer 42f40d36b7 avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used
The last workaround is not sufficient to make oss fuzz work with the iterate API
as it did not provide a FFmpeg that external libs can be linked to.

This patch does not fully restore the pre iterate functionality. My attempts to
do this have so far failed.

The problem with this solution is that it renders the fuzzers virtual system
ffmpeg (libs) non functional. Which differs from a real system compared to the
virtual system tested by the fuzzer.
It should theoretically not matter as the system ffmpeg wouldnt be used.
But with more cases being fuzzed we likely will hit a case where a external
lib is involved and it does matter ...

Working around this may be possible with weak symbols but so far my attempts
failed

Alternatively multiple ffmpeg could be built, this becomes messy though
quickly as they need to be all linked together. That is we need a FFmpeg
that has the iterate API modified so it can work with the resources
available to ossfuzz. And at the same time we need a ffmpeg that has
its full functionality for any external libs which use ffmpeg and are
used by ffmpeg.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-05-28 23:17:32 +02:00
compat
doc avformat/dashenc: Added option for Segment file format 2018-05-28 10:52:01 +05:30
ffbuild
fftools cmdutils: dump supported hardware devices in print_codec() 2018-05-28 18:21:48 +08:00
libavcodec avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used 2018-05-28 23:17:32 +02:00
libavdevice avdevice/sdl2 : add option to define if the window quit action is available 2018-05-19 14:55:15 +02:00
libavfilter avfilter/vsrc_testsrc: fix a preprocessor check 2018-05-18 17:42:57 -03:00
libavformat lavf/libssh: translate a read of 0 to EOF 2018-05-28 20:33:50 +03:00
libavresample
libavutil hwcontext_vaapi: Fix mapping from DRM 2018-05-24 01:20:31 +01:00
libpostproc
libswresample
libswscale
presets
tests hwcontext: Add test for device creation and derivation 2018-05-21 20:54:52 +01:00
tools avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used 2018-05-28 23:17:32 +02:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog libavformat: add mbedTLS based TLS 2018-05-21 19:43:04 -03:00
INSTALL.md
LICENSE.md
MAINTAINERS Add IRC nicknames 2018-05-14 11:36:40 +02:00
Makefile
README.md
RELEASE
configure configure: Omit fsanitize flags if they are already specified by the user 2018-05-27 21:38:33 +02:00

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.
  • 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.