FFmpeg git repo
Go to file
Andreas Cadhalpun ffcfab882b snow: remove an obsolete av_assert2
It asserts that the frame linesize is larger than 37, but it can be
smaller and decoding such frames works.

Before commit cc884a35 src_stride > 7*MB_SIZE was necessary, because the
blocks were interleaved in the tmp buffer and the last block was added
with an offset of 6*MB_SIZE.
It was changed for src_stride <= 7*MB_SIZE to write the blocks
sequentially, hence the larger tmp_step.
After that the assert was only necessary to make sure that the buffer
remained large enough.
Since commit bd2b6b33 s->scratchbuf is used as tmp buffer.
As part of commit 86e107a7 the minimal scratchbuf size was increased to
256*7*MB_SIZE, which is enough for any src_stride <= 7*MB_SIZE.

Also add a comment explaining the tmp_step calculation.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 3526a120f9)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2015-07-30 18:53:34 +02:00
compat
doc Update for 2.5.8 2015-07-28 03:23:43 +02:00
libavcodec snow: remove an obsolete av_assert2 2015-07-30 18:53:34 +02:00
libavdevice
libavfilter avfilter/af_aresample: Check ff_all_* for allocation failures 2015-07-28 02:42:16 +02:00
libavformat avidec: check for valid bit_rate range 2015-07-30 18:53:10 +02:00
libavresample
libavutil avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_generic_write() 2015-07-28 02:42:16 +02:00
libpostproc postproc: fix unaligned access 2015-07-28 02:42:14 +02:00
libswresample swr: Remember previously set int_sample_format from user 2015-07-28 02:42:14 +02:00
libswscale swscale/utils: Clear pix buffers 2015-07-28 02:42:16 +02:00
presets
tests
tools
.gitattributes
.gitignore
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Update for 2.5.8 2015-07-28 03:23:43 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE Update for 2.5.8 2015-07-28 03:23:43 +02:00
RELEASE_NOTES
arch.mak
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
cmdutils_opencl.c
common.mak
configure
ffmpeg.c ffmpeg: Fix crash with ost->last_frame allocation failure 2015-07-28 02:42:16 +02:00
ffmpeg.h
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c
ffmpeg_vda.c vda: unlock the pixel buffer base address. 2015-07-28 02:42:14 +02:00
ffmpeg_vdpau.c
ffplay.c
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 analisys 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.