No description
Find a file
Rodger Combs 63d875772d lavc/videotoolbox: fix threaded decoding
AVHWAccel.end_frame can run on a worker thread. The assumption of the
frame threading code is that the worker thread will change the AVFrame
image data, not the AVFrame fields. So the AVFrame fields are not synced
back to the main thread. But this breaks videotoolbox due to its special
requirements (everything else is fine). It actually wants to update
AVFrame fields.

The actual videotoolbox frame is now stored in the dummy AVBufferRef, so
it mimics what happens in non-videotoolbox cases. (Changing the
AVBufferRef contents is a bit like changing the image data.) The
post_process callback copies that reference to the proper AVFrame field.

Based on a patch by wm4.

Signed-off-by: Aman Gupta <aman@tmm1.net>
2018-03-08 14:04:25 -08:00
compat compat: remove in-tree NVidia headers 2018-02-27 16:22:12 +01:00
doc avcodec/mediacodecdec: add delay_flush option 2018-03-07 16:22:47 -08:00
ffbuild Merge commit '17b6c7efb4' 2017-11-12 01:02:02 -03:00
fftools fftools/ffmpeg: update print_report to use AVBPrint API 2018-03-05 09:24:55 +01:00
libavcodec lavc/videotoolbox: fix threaded decoding 2018-03-08 14:04:25 -08:00
libavdevice avdevice: add android_camera indev 2018-02-22 00:29:27 +01:00
libavfilter lavfi/drawutils: Do not claim to support P016. 2018-03-08 11:56:41 +01:00
libavformat sbc: add raw muxer for SBC 2018-03-07 22:26:53 +01:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil crc: add AV_CRC_8_SBC as a 8 bits CRC with polynomial 0x1D 2018-03-07 22:26:53 +01:00
libpostproc postproc: Drop deprecated qp typedef 2017-10-22 00:35:23 -03:00
libswresample swresample/rematrix: fix update of channel matrix if input or output layout is undefined 2018-02-19 08:32:25 +01:00
libswscale swscale: Introduce a helper to identify semi-planar formats 2018-03-03 15:20:19 -08:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests lavfi/drawutils: Do not claim to support P016. 2018-03-08 11:56:41 +01:00
tools fftools, tools, examples: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore Remove the ffserver program 2018-01-06 18:31:37 +00:00
.travis.yml Merge commit '4809781586' 2017-10-28 15:08:31 -03:00
Changelog Changelog: list the new SBC codec 2018-03-07 22:26:53 +01:00
configure configure: rename cuda to ffnvcodec 2018-03-05 21:09:22 +01:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md INSTALL: add markdown syntax 2014-05-28 22:38:38 +02:00
LICENSE.md Merge commit '4fef648d10' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: add myself to mediacodec 2018-03-06 13:54:35 -08:00
Makefile lavd: add new API for iterating input and output devices 2018-02-06 18:57:42 +00:00
README.md Remove the ffserver program 2018-01-06 18:31:37 +00:00
RELEASE RELEASE: update for git after 3.4 branchpoint 2017-10-11 02:46:23 +02:00

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.