FFmpeg git repo
Go to file
wm4 3303511f33 lavu: add new D3D11 pixfmt and hwcontext
To be used with the new d3d11 hwaccel decode API.

With the new hwaccel API, we don't want surfaces to depend on the
decoder (other than the required dimension and format). The old D3D11VA
pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the
decoder configuration, and thus is incompatible with the new hwaccel
API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D
and an index. It's simpler and compatible with the new hwaccel API.

The introduced hwcontext supports only the new pixfmt.

Frame upload code untested.

Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with
heavy changes/rewrites.

Merges Libav commit fff90422d1.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
2017-06-27 18:05:02 +02:00
compat
doc lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
ffbuild build: Allow generating dependencies as a side-effect of assembling 2017-06-21 17:00:29 -03:00
libavcodec avcodec/interplayvideo: properly check if there is enough bytes left 2017-06-27 15:46:08 +02:00
libavdevice
libavfilter avfilter: remove usage of empty header 2017-06-26 19:43:41 +02:00
libavformat Interplay MVE: Implement frame format 0x10 2017-06-27 15:09:12 +02:00
libavresample build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
libavutil lavu: add new D3D11 pixfmt and hwcontext 2017-06-27 18:05:02 +02:00
libpostproc
libswresample build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
libswscale build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
presets
tests avcodec/utvideodec: decode to GBR(A)P 2017-06-26 20:11:58 +02:00
tools build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
.gitattributes
.gitignore
.travis.yml build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Interplay MVE: Changelog entry for changes 2017-06-27 15:10:37 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
README.md
RELEASE
cmdutils.c
cmdutils.h
cmdutils_opencl.c
configure vaapi_encode: Add VP9 support 2017-06-24 17:41:55 +01:00
ffmpeg.c ffmpeg: Flush output BSFs when encode reaches EOF 2017-06-24 15:23:30 +01:00
ffmpeg.h
ffmpeg_cuvid.c
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_hw.c avconv_hw: Free device on initialisation failure 2017-06-18 17:07:25 +01:00
ffmpeg_opt.c
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffplay.c
ffprobe.c
ffserver.c
ffserver_config.c
ffserver_config.h

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.