FFmpeg git repo
Go to file
Philip Langdale d7210ce7f5 lavu/hwcontext: Add support for HW -> HW transfers
We are beginning to consider scenarios where a given HW Context
may be able to transfer frames to another HW Context without
passing via system memory - this would usually be when two
contexts represent different APIs on the same device (eg: Vulkan
and CUDA).

This is modelled as a transfer, as we have today, but where both
the src and the dst are hardware frames with hw contexts. We need
to be careful to ensure the contexts are compatible - particularly,
we cannot do transfers where one of the frames has been mapped via
a derived frames context - we can only do transfers for frames that
were directly allocated by the specified context.

Additionally, as we have two hardware contexts, the transfer function
could be implemented by either (or indeed both). To handle this
uncertainty, we explicitly look for ENOSYS as an indicator to try
the transfer in the other direction before giving up.
2020-02-04 23:19:48 +00:00
compat avutil/thread: Add pthread_cond_timedwait function 2020-01-21 22:34:15 +01:00
doc lavc/dvdsubenc: accept palette from options 2020-02-04 23:34:22 +01:00
ffbuild
fftools cmdutils: fix crash if no name for "ffmpeg -h protocol" 2020-01-30 12:50:22 -03:00
libavcodec lavc/dvdsubenc: accept palette from options 2020-02-04 23:34:22 +01:00
libavdevice avdevice/xcbgrab: check if frame size fits in INT_MAX 2020-01-24 01:17:14 +01:00
libavfilter avfilter/vf_ssim: improve precision 2020-02-04 18:28:04 +01:00
libavformat avformat/sccdec: use av_sscanf() instead 2020-02-04 20:39:46 +01:00
libavresample
libavutil lavu/hwcontext: Add support for HW -> HW transfers 2020-02-04 23:19:48 +00:00
libpostproc Silence "string-plus-int" warning shown by clang. 2020-01-06 22:38:56 +01:00
libswresample Silence "string-plus-int" warning shown by clang. 2020-01-06 22:38:56 +01:00
libswscale swscale/input: Fix several invalid shifts related to rgb2yuv constants 2020-01-22 21:50:49 +01:00
presets
tests fate/adpcm: add adpcm_argo tests 2020-02-04 23:34:22 +01:00
tools tools/target_dec_fuzzer: limit per frame samples for APE 2020-01-30 19:59:10 +01:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avfilter: add xfade opencl filter 2020-02-02 14:08:56 +01:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: Add myself as mxf* maintainer 2020-02-03 08:22:29 +01:00
Makefile
README.md
RELEASE
configure avfilter: add xfade opencl filter 2020-02-02 14:08:56 +01: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.