FFmpeg git repo
Go to file
Clément Bœsch 5ef1959080 ffmpeg: switch to the new BSF API
This commit is initially largely based on commit 4426540 from Anton
Khirnov <anton@khirnov.net> and two following fixes (80fb19b and
fe7b21c) which were previously skipped respectively in 98e3153, c9ee36e,
and 7fe7cdc.

mpeg4-bsf-unpack-bframes FATE reference is updated because the bsf
filter now actually fixes the extradata (mpeg4_unpack_bframes_init()
changing one byte is now honored on the output extradata).

The FATE references for remove_extra change because the packet flags
were wrong and the keyframes weren't marked, causing the bsf relying on
these proprieties to not actually work as intended.

The following was fixed by James Almer:

The filter option arguments are now also parsed correctly.

A hack to propagate extradata changed by bitstream filters after the
first av_bsf_receive_packet() call is added to maintain the current
behavior. This was previously done by av_bitstream_filter_filter() and
is needed for the aac_adtstoasc bsf.

The exit_on_error was not being checked anymore, and led to an exit
error in the last frame of h264_mp4toannexb test. Restoring this
behaviour prevents erroring out. The test is still changed as a result
due to the badly filtered frame now not being written after the failure.

Signed-off-by: Clément Bœsch <u@pkh.me>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-09-24 14:25:53 -03:00
compat compat/cuda: convert to unix line endings 2016-09-23 11:43:00 +02:00
doc lavfi: add nlmeans filter 2016-09-24 09:52:10 +02:00
libavcodec avcodec/cavsdsp: use av_clip_uint8() for idct 2016-09-23 18:18:18 +02:00
libavdevice lavd/sdl2: Fix 32bit rgb formats on little-endian hardware. 2016-09-24 18:56:40 +02:00
libavfilter lavfi: add nlmeans filter 2016-09-24 09:52:10 +02:00
libavformat lavf/aacdec: Do not autodetect a single frame inside the file. 2016-09-24 18:33:55 +02:00
libavresample
libavutil avutil/frame: Add a flag to discard frame after decode. 2016-09-19 19:51:13 +02:00
libpostproc
libswresample
libswscale swscale: fix for sliced scaling artifacts 2016-09-16 11:25:28 -03:00
presets
tests ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
tools
.gitattributes
.gitignore
.travis.yml
arch.mak
Changelog lavd: drop SDL1 device and SDL1 support 2016-09-24 16:52:40 +01:00
cmdutils_common_opts.h
cmdutils_opencl.c
cmdutils.c ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
cmdutils.h
common.mak
configure lavd: drop SDL1 device and SDL1 support 2016-09-24 16:52:40 +01:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_cuvid.c
ffmpeg_dxva2.c
ffmpeg_filter.c ffmpeg: switch to codecpar 2016-09-21 15:39:28 +02:00
ffmpeg_opt.c ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
ffmpeg_qsv.c
ffmpeg_vaapi.c
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffmpeg.c ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
ffmpeg.h ffmpeg: switch to the new BSF API 2016-09-24 14:25:53 -03:00
ffplay.c ffplay: add SDL2 support 2016-09-24 16:50:40 +01:00
ffprobe.c ffprobe.c: Indicate decode-but-discard packets when doing -show_packets. 2016-09-23 23:09:23 +02:00
ffserver_config.c
ffserver_config.h
ffserver.c
INSTALL.md
library.mak
LICENSE.md
MAINTAINERS MAINTAINERS: update my entries 2016-09-24 16:50:40 +01:00
Makefile
README.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
RELEASE
version.sh

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.