No description
Find a file
Chris Cunningham a4fb905a14 lavf/matroskadec: fix is_keyframe for early Blocks
Blocks are marked as key frames whenever the "reference" field is
zero. This breaks for non-keyframe Blocks with a reference timestamp
of zero.

The likelihood of reference timestamp being zero is increased by a
longstanding bug in muxing that encodes reference timestamp as the
absolute time of the referenced frame (rather than relative to the
current Block timestamp, as described in MKV spec).

Now using INT64_MIN to denote "no reference".

Reported to chromium at http://crbug.com/497889 (contains sample)

(cherry picked from commit ac25840ee3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-02-08 20:32:01 +01:00
compat Merge commit '6bb99757b7' 2016-05-08 23:02:33 +01:00
doc avformat: Add max_streams option 2016-12-11 00:43:29 +01:00
libavcodec avcodec/pngdec: Check trns more completely 2017-02-08 20:32:01 +01:00
libavdevice dshow: avoid duplicate NULL check before free 2016-06-23 03:18:16 +02:00
libavfilter avfilter/vf_hwupload_cuda: Add min/max limits for the 'device' option 2016-12-08 11:27:36 +01:00
libavformat lavf/matroskadec: fix is_keyframe for early Blocks 2017-02-08 20:32:01 +01:00
libavresample Merge commit 'a6a750c7ef' 2016-06-22 13:44:34 +02:00
libavutil avutil/random_seed: Reduce the time needed on systems with very low precission clock() 2017-02-08 20:32:01 +01:00
libpostproc postproc: fix unaligned access 2016-02-23 15:50:28 +01:00
libswresample swr: fix time.h include 2016-06-22 14:00:08 +02:00
libswscale swscale/swscale_unscaled: Try to fix Rgb16ToPlanarRgb16Wrapper() with slices 2016-09-27 13:42:11 +02:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests Merge branch 'master' into release/3.1 2016-06-26 15:14:17 -03:00
tools zmqsend: Initialize ret to 0 2016-12-05 21:37:48 +01:00
.gitattributes Treat all '*.pnm' files as non-text file 2014-11-28 17:52:43 -05:00
.gitignore Merge commit '6641819fee' 2016-06-26 15:43:05 +02:00
.travis.yml Merge commit 'eda1832874' 2015-11-22 17:12:24 +00:00
arch.mak mips: rename mipsdspr1 to mipsdsp 2015-12-04 02:35:42 +01:00
Changelog configure: check for strtoull on msvc 2016-12-05 19:22:13 -03:00
cmdutils.c cmdutils: fix typos 2016-10-09 20:14:22 +02:00
cmdutils.h cmdutils: fix typos 2016-10-09 20:14:22 +02:00
cmdutils_common_opts.h opts: add list device sources/sinks options 2014-10-25 20:20:31 +02:00
cmdutils_opencl.c all: use FFDIFFSIGN to resolve possible undefined behavior in comparators 2015-11-03 16:28:30 -05:00
common.mak lavd/decklink: Fix compile issue on OS X 2016-06-24 21:59:43 -04:00
configure configure: bump year 2017-02-08 20:32:01 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg.c ffmpeg: remove unused and errorneous AVFrame timestamp check 2016-10-07 16:11:54 +02:00
ffmpeg.h ffmpeg: Add cuvid hwaccel support 2016-06-10 16:31:23 +02:00
ffmpeg_cuvid.c ffmpeg: Add cuvid hwaccel support 2016-06-10 16:31:23 +02:00
ffmpeg_dxva2.c Merge commit '18c506e9e6' 2016-06-26 15:34:01 +02:00
ffmpeg_filter.c ffmpeg_filter: Fix AVBufferSrcParameters leak 2016-05-19 00:10:27 +02:00
ffmpeg_opt.c Avoid using the term "file" and prefer "url" in some docs and comments 2016-12-05 21:37:48 +01:00
ffmpeg_qsv.c Merge commit 'fb472e1a11' 2015-10-22 16:18:02 +02:00
ffmpeg_vaapi.c Merge commit '9f7590f4e4' 2016-06-26 15:36:27 +02:00
ffmpeg_vdpau.c Merge commit 'f72db3f2f3' 2016-06-26 15:29:39 +02:00
ffmpeg_videotoolbox.c ffmpeg/videotoolbox: protect UTGetOSTypeFromString on both VDA and VT 2015-10-15 10:22:31 +02:00
ffplay.c cmdutils: remove the current working directory from the DLL search path on win32 2016-08-08 18:41:13 +02:00
ffprobe.c cmdutils: remove the current working directory from the DLL search path on win32 2016-08-08 18:41:13 +02:00
ffserver.c ffserver: Check chunk size 2016-12-05 21:37:48 +01:00
ffserver_config.c ffserver: NoVideo and NoAudio flags weren't cleared between streams. 2016-02-21 22:29:15 +01:00
ffserver_config.h ffserver: Use singlejpeg muxer for jpeg 2015-06-08 03:36:22 +02:00
INSTALL.md
library.mak Merge commit 'a6a750c7ef' 2016-06-22 13:44:34 +02:00
LICENSE.md avcodec: remove libutvideo wrapper support 2016-06-23 13:04:11 +02:00
MAINTAINERS MAINTAINERS: purge a bunch of entries 2016-06-23 19:25:19 +02:00
Makefile Merge commit '6641819fee' 2016-06-26 15:43:05 +02:00
README.md README: replace http with https 2015-10-06 13:27:29 +02:00
RELEASE Update for 3.1.6 2016-12-05 23:05:26 +01:00
RELEASE_NOTES release notes (based on release/3.0) 2016-06-26 03:57:55 +02:00
version.sh version.sh: Fix spurious rebuilds. 2016-03-10 09:53:10 +01: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.
  • 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. Few developers follow pull requests so they will likely be ignored.