1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Go to file
Ben Chang 8de3458a07 avcodec/nvenc: surface allocation reduction
This patch aims to reduce the number of input/output surfaces
NVENC allocates per session. Previous default sets allocated surfaces to 32
(unless there is user specified param or lookahead involved). Having large
number of surfaces consumes extra video memory (esp for higher resolution
encoding). The patch changes the surfaces calculation for default, B-frames,
lookahead scenario respectively.

The other change involves surface selection. Previously, if a session
allocates x surfaces, only x-1 surfaces are used (due to combination
of output delay and lock toggle logic). To prevent unused surfaces,
changing surface rotation to using predefined fifo.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2017-04-26 21:57:54 +02:00
compat Support building C++ files with MSVC 2017-04-13 23:57:31 +02:00
doc Merge commit 'fa1749dd34c55fb997c97dfc4da9383c9976ab91' 2017-04-25 19:02:47 +02:00
libavcodec avcodec/nvenc: surface allocation reduction 2017-04-26 21:57:54 +02:00
libavdevice Merge commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03' 2017-04-26 17:17:50 +02:00
libavfilter avfilter/af_biquads: allow filtering only selected channels 2017-04-25 18:08:26 +02:00
libavformat Merge commit 'a4fec9a7eab842ea5eea1b1ee98624356cb31422' 2017-04-26 16:36:13 +02:00
libavresample Merge commit 'a1d9de304fe63614e3aa8117fef17491fa80093d' 2017-04-03 20:41:16 +02:00
libavutil Merge commit '05a603a94e4b3eeefa5e18ae653a848001461e89' 2017-04-26 16:27:24 +02:00
libpostproc Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013' 2017-04-26 16:23:28 +02:00
libswresample Bump versions for master after 3.3 2017-04-02 19:54:12 +02:00
libswscale Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013' 2017-04-26 16:23:28 +02:00
presets
tests fate/exr : fix pix_fmt 2017-04-25 12:12:57 +02:00
tools tools/target_dec_fuzzer: Remove FuzzerInterface.h dependancy 2017-04-25 03:13:00 +02:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore
.travis.yml
arch.mak
Changelog avfilter: add lumakey filter 2017-04-24 20:37:30 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c cmdutils_opencl: fix resource_leak cid 1396852 2017-01-13 07:54:49 +08:00
cmdutils.c avformat, ffmpeg: deprecate old rotation API 2017-03-27 13:20:27 +02:00
cmdutils.h
common.mak Merge commit '0507cd5b9f3c3769645bc6e9177eaf760f490d1c' 2017-04-17 09:39:31 +02:00
configure Merge commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277' 2017-04-26 17:15:07 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_cuvid.c ffmpeg_cuvid: adapt for recent filter graph initialization changes 2017-03-03 08:45:43 +01:00
ffmpeg_dxva2.c
ffmpeg_filter.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
ffmpeg_opt.c Merge commit '01348e411f962f5e4605d649fc9a47a54587ba8e' 2017-03-31 16:46:00 -03:00
ffmpeg_qsv.c ffmpeg: init filtergraphs only after we have a frame on each input 2017-03-03 08:45:43 +01:00
ffmpeg_vaapi.c ffmpeg_vaapi: Always set hwaccel_ctx, so it gets properly cleaned up on error 2017-02-05 15:13:15 +00:00
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c ffmpeg_videotoolbox: fix usage of av_get_codec_tag_string() 2017-03-29 14:49:29 +02:00
ffmpeg.c ffmpeg: do not report EOF on filters as an error. 2017-04-23 14:22:22 +02:00
ffmpeg.h avformat, ffmpeg: deprecate old rotation API 2017-03-27 13:20:27 +02:00
ffplay.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
ffprobe.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
ffserver_config.c
ffserver_config.h
ffserver.c
INSTALL.md
library.mak Merge commit '3794062ab1a13442b06f6d76c54dce51ffa54697' 2017-04-09 14:52:00 +02:00
LICENSE.md Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: Add Rodger Combs to ffmpeg-security 2017-02-28 01:13:52 +01:00
Makefile Make tools/target_dec_*_fuzzer buildable with configure and make 2017-04-24 23:17:47 +02:00
README.md
RELEASE Bump minor versions for master after release/3.3 branchpoint 2017-03-31 13:21:06 +02:00
version.sh

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.