FFmpeg git repo
Go to file
wm4 750f72d775 mmaldec: hack against buffering problems on broken input
I can't come up with a nice way to handle this. It's hard to keep the
lock-stepped input/output in this case. You can't predict whether the
MMAL decoder will output a picture (because it's asynchronous), so
you have to assume in general that any packet could produce 0 or 1
frames. You can't continue to write input packets to the decoder,
because then you might get too many output frames, which you can't
get rid of because the lavc decoding API does not allow the decoder
to return an output frame without consuming an input frame (except
when flushing).

The ideal fix is a M:N decoding API (preferably asynchronous), which
would make this code potentially much cleaner. For now, this hack
will do.
2015-08-11 12:14:15 +02:00
compat
doc doc/codecs: Document color_range for the input side 2015-08-11 03:58:00 +02:00
libavcodec mmaldec: hack against buffering problems on broken input 2015-08-11 12:14:15 +02:00
libavdevice use avfilter_pad_get_{type,name} accessor functions 2015-08-08 21:59:02 +02:00
libavfilter avfilter/vsrc_testsrc: smpte(hd)bars: fix uninitialized last rows and columns of chroma planes 2015-08-10 11:29:39 +02:00
libavformat concatdec: fix broken file_inpoint calculation 2015-08-11 11:19:17 +02:00
libavresample
libavutil avutil/float_dsp: Remove use of deprecated av_set_cpu_flags_mask() 2015-08-07 22:46:27 +02:00
libpostproc postproc: Deprecate QP_STORE_T, it lacks a PP/AV/FF prefix 2015-08-10 02:33:25 +02:00
libswresample
libswscale swscale/alphablend: Support chroma subsampling 2015-08-09 18:04:46 +02:00
presets
tests tests/api/api-h264-test: structure changes to avoid duplicate code 2015-08-08 09:53:00 +02:00
tools
.gitattributes
.gitignore
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE
arch.mak
cmdutils.c use avfilter_pad_get_{type,name} accessor functions 2015-08-08 21:59:02 +02:00
cmdutils.h cmdutils: remove sws_opts usage, simplify code 2015-08-08 16:51:25 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c
common.mak
configure configure: mpegvideo depends on mpeg_er. 2015-08-08 11:02:25 +02:00
ffmpeg.c ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
ffmpeg.h ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
ffmpeg_dxva2.c
ffmpeg_filter.c ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
ffmpeg_opt.c ffmpeg: switch swscale option handling to AVDictionary similar to what the other subsystems use 2015-08-08 14:44:15 +02:00
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffplay.c ffplay: increase MIN_FRAMES to 25 2015-08-09 23:58:03 +02:00
ffprobe.c
ffserver.c
ffserver_config.c
ffserver_config.h
library.mak
version.sh

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.