FFmpeg git repo
Go to file
Jorge Ramirez-Ortiz 44188993a1 avcodec/v4l2: set sizeimage param for non-raw buffers [fixes #6716]
Some V4L2 drivers fail to allocate buffers when sizeimage is not set
to a max value. This is indeed the case for s5p-mfc [1]

Most drivers should be able to calculate this value from the frame
dimensions and format - or at least have their own default.

However since this work around should not impact those drivers doing
the "right thing" this commit just provides such a default.

The calculations were extracted from the v4l2 driver used to develop
the ffmpeg v4l2_m2m support [2]. See venc.c and vdec.c

[1] linux.git/drivers/media/platform/s5p-mfc
[2] linux.git/drivers/media/platform/qcom/venus/
2017-10-04 23:14:37 +01:00
compat
doc Merge commit 'c483398bb7ef66f61ed2dcb09f3d6160683da0eb' 2017-10-03 22:11:58 -03:00
ffbuild
fftools build: fix compilation of tools with OpenCL enabled 2017-10-03 11:56:56 -03:00
libavcodec avcodec/v4l2: set sizeimage param for non-raw buffers [fixes #6716] 2017-10-04 23:14:37 +01:00
libavdevice avdevice/decklink: Fix segfault when running -list_devices on OSX 2017-10-04 22:48:23 +02:00
libavfilter lavfi/vmafmotion: Allow more pix_fmts. 2017-10-01 20:53:43 +02:00
libavformat movenc: take packet dts shifting into mention in check_pkt 2017-10-04 13:09:29 +02:00
libavresample
libavutil Merge commit '4de220d2e3751c459f8739a08ac6ca52e63eba30' 2017-09-27 23:31:53 -03:00
libpostproc
libswresample
libswscale
presets
tests Merge commit 'e1a6d63c7eeff2f0ec8173546357bfaa9deecea4' 2017-10-03 23:36:25 -03:00
tools tools/ismindex: remove unused header 2017-10-01 18:19:14 -03:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avfilter: add vmafmotion filter 2017-09-30 11:47:59 -04:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: change the decklink maintainer to myself 2017-10-04 22:44:42 +02:00
Makefile Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524' 2017-10-01 18:26:36 -03:00
README.md
RELEASE
configure configure: fix detecting libdl when dlsym requires extra linker flags 2017-10-04 18:55:32 -03:00

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.