FFmpeg git repo
Go to file
Aman Gupta f611fef37c avcodec/mediacodecdec: refactor to take advantage of new decoding api
This refactor splits up the main mediacodec decode loop into two
send/receive helpers, which are then used to rewrite the receive_frame
callback and take full advantage of the new decoding api. Since we
can now request packets on demand with ff_decode_get_packet(), the
fifo buffer is no longer necessary and has been removed.

This change was motivated by behavior observed on certain Android TV
devices, featuring hardware mpeg2/h264 decoders which also deinterlace
content (to produce multiple frames per field). Previously, this code
caused buffering issues because queueInputBuffer() was always invoked
before each dequeueOutputBuffer(), even though twice as many output
buffers were being generated.

With this patch, the decoder will always attempt to drain new frames
first before sending more data into the underlying codec.

Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
2018-02-19 15:27:34 +01:00
compat compat/os2threads: support static mutexes 2018-01-07 00:14:12 -03:00
doc avutil/crypto: change length parameter to size_t on the remaining modules 2018-02-15 11:21:28 -03:00
ffbuild
fftools Revert "cmdutils: make use of new iteration APIs" 2018-02-08 13:20:36 -03:00
libavcodec avcodec/mediacodecdec: refactor to take advantage of new decoding api 2018-02-19 15:27:34 +01:00
libavdevice avdevice/decklink_dec: Fix ;; 2018-02-15 13:48:52 +01:00
libavfilter avfilter/avf_avectorscope: Fix ;; 2018-02-15 13:48:25 +01:00
libavformat avformat/mpegenc - accept PCM_DVD streams 2018-02-16 21:53:22 +01:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil avutil/common: Fix integer overflow in av_clip_uint8_c() and av_clip_uint16_c() 2018-02-17 15:56:55 +01:00
libpostproc
libswresample swresample/rematrix: fix update of channel matrix if input or output layout is undefined 2018-02-19 08:32:25 +01:00
libswscale Fix missing used attribute for inline assembly variables 2017-11-13 03:58:34 +01:00
presets
tests fate: add tests for pan audio filter 2018-02-19 08:32:44 +01:00
tools fftools, tools, examples: migrate to AVFormatContext->url 2018-01-28 23:06:43 +01:00
.gitattributes
.gitignore Remove the ffserver program 2018-01-06 18:31:37 +00:00
.travis.yml
Changelog aptx: add raw muxer and demuxer for aptX HD 2018-02-09 22:10:55 +01:00
configure Merge commit 'fd36cf6bf6524247a8ff6788c028836fe7d9fd20' 2018-02-11 23:18:59 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself for aptx.c 2018-02-10 16:53:43 +01: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

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.