Go to file
Kevin Mark 4af496473a FATE: Add test for libavfilter/scale2ref
This new FATE test for the scale2ref filter makes use of the recently
added scale2ref-specific variables to maintain the aspect ratio of a
test input.

Filtergraph explanation:
[main] has an AR of 4:3. [ref] has an AR of 16:9.
640 / 4 = 160. So the new width for [main] is 160.
160 / ((320 / 240) * (1 / 1)) = 160 / (4 / 3) = 120. So the new
height for [main] is 120.
160 / 120 = 4 / 3 so [main]'s aspect ratio has been maintained while
using [ref]'s width as a reference point.

[ref] is nullsink'd since it is left unchanged by scale2ref (and so
shouldn't need to be tested).

If we were to use "iw/4:-1" in place of "iw/4:ow/mdar":
640 / 4 = 160. So the new width for [main] would be 160.
360 / 4 = 90. So the new height for [main] would be 90.
160 / 90 = 16 / 9 so [main] now has the same aspect ratio as [ref]
which is probably what you do not want.

This is currently the only test for scale2ref.

Signed-off-by: Kevin Mark <kmark937@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-06-05 01:50:25 +02:00
compat compat/cuda: make cuvidGetDecoderCaps optional 2017-06-01 12:39:06 +02:00
doc avfilter/af_surround: add support for some upmixing of 3.0, 2.1 and 5.1 channel layout 2017-06-04 16:37:47 +02:00
ffbuild
libavcodec avcodec/qdrw: Fix null pointer dereference 2017-06-04 23:41:35 +02:00
libavdevice
libavfilter avfilter/af_afftfilt: fix memory leaks 2017-06-04 22:51:57 +02:00
libavformat avformat/aacdec: add a custom read_packet function 2017-06-04 11:52:02 -03:00
libavresample
libavutil avutil/softfloat: Fix sign error in and improve documentation of av_int2sf() 2017-06-04 23:41:08 +02:00
libpostproc
libswresample
libswscale
presets
tests FATE: Add test for libavfilter/scale2ref 2017-06-05 01:50:25 +02:00
tools tools/target_dec_fuzzer: Move the hwaccel check outside the initialization if 2017-05-29 03:40:47 +02:00
.gitattributes
.gitignore
.travis.yml
Changelog avfilter: add audio surround upmixer 2017-06-01 21:25:36 +02:00
cmdutils_opencl.c
cmdutils.c
cmdutils.h
configure Disable MSA optimization for big endian arch 2017-06-03 00:09:58 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_cuvid.c
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c
ffmpeg_qsv.c
ffmpeg_vaapi.c
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffmpeg.c
ffmpeg.h
ffplay.c
ffprobe.c ffprobe: Print AVContentLightMetadata side data contents 2017-06-01 15:07:16 -04:00
ffserver_config.c
ffserver_config.h
ffserver.c
INSTALL.md
LICENSE.md
MAINTAINERS lavc: remove libschroedinger encoding and decoding wrappers 2017-05-29 20:15:58 +01:00
Makefile
README.md
RELEASE

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.