FFmpeg git repo
Go to file
Lucas Cooper 77bc507f6f avformat/movenc: Explicitly address potential division by zero.
find_fps attempts to infer framerate from AVCodec's timebase. When this
results in a frame rate that isn't explicitly marked as supported in
av_timecode_check_frame_rate, find_fps returns the AVStream's
avg_frame_rate, which, per avformat.h, _may_ be set (or not).

mov_get_mpeg2_xdcam_codec_tag, mov_get_h264_codec_tag and
find_compressor attempt to call av_q2d on the return value of find_fps,
which in the above case, may result in division by zero and therefore,
an undefined frame rate when NaN is converted to int.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-29 03:54:31 +02:00
compat
doc libvpxenc: allow aq-mode 4 (equator360) 2017-04-28 17:56:09 -07:00
libavcodec libvpxenc: allow aq-mode 4 (equator360) 2017-04-28 17:56:09 -07:00
libavdevice Merge commit '0fea8555ae25124c21f4c4f55a5fa76e9169aa03' 2017-04-26 17:17:50 +02:00
libavfilter avfilter/lavfutils: use image2pipe demuxer on ff_load_image 2017-04-29 01:23:25 +07:00
libavformat avformat/movenc: Explicitly address potential division by zero. 2017-04-29 03:54:31 +02:00
libavresample
libavutil Merge commit '05a603a94e4b3eeefa5e18ae653a848001461e89' 2017-04-26 16:27:24 +02:00
libpostproc Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013' 2017-04-26 16:23:28 +02:00
libswresample
libswscale Merge commit 'ea7ee4b4e381e0fa731458de0cbf740430eeb013' 2017-04-26 16:23:28 +02:00
presets
tests fate/exr : fix pix_fmt 2017-04-25 12:12:57 +02:00
tools tools/target_dec_fuzzer: Fix return code on open failure 2017-04-27 04:25:31 +02:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avfilter: add lumakey filter 2017-04-24 20:37:30 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile Make tools/target_dec_*_fuzzer buildable with configure and make 2017-04-24 23:17:47 +02:00
README.md
RELEASE
arch.mak
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
cmdutils_opencl.c
common.mak
configure Merge commit 'ee480790c7eeb03c9cebd8971c46e0cb7db65277' 2017-04-26 17:15:07 +02:00
ffmpeg.c ffmpeg: do not report EOF on filters as an error. 2017-04-23 14:22:22 +02:00
ffmpeg.h
ffmpeg_cuvid.c
ffmpeg_dxva2.c
ffmpeg_filter.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
ffmpeg_opt.c
ffmpeg_qsv.c
ffmpeg_vaapi.c
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffplay.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
ffprobe.c ff*: do not use AVFrame accessor 2017-04-23 14:43:31 +07:00
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.

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.