Commit Graph

92846 Commits

Author SHA1 Message Date
c782e7aa9e avformat/dhav: export average frame rate too 2018-12-09 10:49:00 +01:00
fe0416f8a1 avcodec/jpeg2000dec: Skip DWT if nothing is coded
Improves speed in uncommon case

Fixes: Timeout
Fixes: 10964/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5132066034286592

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-08 17:01:03 +01:00
2bc3811c0d avcodec/dxv: Check that there is enough data to decompress
Fixes: Timeout
Fixes: 10979/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-6178582203203584

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-08 17:01:03 +01:00
0cb1ccd1d1 doc/codecs: Do not mention a removed flags. 2018-12-08 11:29:19 +01:00
936b0aa280 doc/faq: Fix flags for possible video quality improvements.
Reported-by: Ulf Zibis
2018-12-08 11:28:01 +01:00
d91197c610 doc: vapoursynth
Add entry in external library list and demuxers.
2018-12-08 15:33:57 +05:30
6b1c4ce8cf Fix bug in mpegts muxer which affects KLV async stream generation.
Fixes ticket #7597.

Signed-off-by: Peter Ross <pross@xvid.org>
2018-12-08 11:06:10 +11:00
cc6208cde2 avformat/mxfdec: set codec_tag for prores codec 2018-12-07 20:08:37 +01:00
3cc5576ee1 avcodec/proresdec2: add new line at end of debug message 2018-12-07 20:05:37 +01:00
b88ed73be1 avcodec/dpx: fix spotted code style issues 2018-12-07 19:44:57 +01:00
61e6226a5a avcodec/dpx: add support for special encoding 2018-12-07 19:44:57 +01:00
788e116c2f avcodec/dpx: improve decoding of 10 bit gray images 2018-12-07 19:44:57 +01:00
f628970e40 avcodec/dpx: add support for another gray10 variant 2018-12-07 19:44:57 +01:00
9c881cf9a5 avcodec/dpx: parse input device name 2018-12-07 19:44:57 +01:00
abb0306bf3 avcodec/dpx: parse image creator 2018-12-07 19:44:57 +01:00
0f8383005c avcodec/dpx: check version of format header too 2018-12-07 19:44:57 +01:00
05a61a02d6 doc/general: rearrange libraries in alphabetical order 2018-12-07 17:56:00 +05:30
c9f0cff5ef lavc/qsvenc: add an option to set h264 pps for every frame
RepeatPPS is enabled by default in mfx. It is not necessary mostly and
wasting encoding bits.
Add an option to control it and disable it by default.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-07 17:13:36 +08:00
c4a4cfa762 lavc/qsvenc: dump log for frame rate
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-07 17:12:07 +08:00
33df1afe39 lavc/qsvenc: make hevc alignment same as h264 for 1.19+ version
It is to clean up to the code and To-Do list.

Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-07 17:09:23 +08:00
34cba65557 lavc/qsvenc: remove redundant code
Signed-off-by: Zhong Li <zhong.li@intel.com>
2018-12-07 17:05:56 +08:00
b44a571dc4 lavc/proresdec.h: Include a missing header
Fixes make checkheaders
2018-12-06 20:14:09 +01:00
2c64a6bcd2 avcodec/ppc/hevcdsp: Fix build failures with powerpc-linux-gnu-gcc-4.8 with --disable-optimizations
The affected functions could also be changed into macros, this is the
smaller change to fix it though. And avoids (probably) less readable macros
The extra code should be optimized out when optimizations are done as all values
are known at build after inlining.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-05 22:58:12 +01:00
6ea3cf1b6f doc: libmodplug
Add entry in external library list and demuxers.
2018-12-05 19:32:05 +05:30
953bd58861 avcodec/msvideo1: Check for too small dimensions
Such low resolution would result in empty output as a minimum of 4x4 is needed
We could also check for multiple of 4 dimensions but that is not needed

Fixes: Timeout
Fixes: 11191/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSVIDEO1_fuzzer-5739529588178944

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-05 00:50:13 +01:00
d6f4341522 avcodec/wmv2dec: Skip I frame if its smaller than 1/8 of the minimal size
Frames that small are not valid and of limited use for error concealment, while
being very computationally intensive to process.

Fixes: Timeout
Fixes: 11168/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV2_fuzzer-5733782032744448

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-05 00:50:13 +01:00
09ec182864 avcodec/msmpeg4dec: Skip frame if its smaller than 1/8 of the minimal size
Frames that small are not valid and of limited use for error concealment, while
being very computationally intensive to process.

Fixes: Timeout
Fixes: 11318/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSMPEG4V1_fuzzer-5710884555456512

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-05 00:50:13 +01:00
ed5680f37e avcodec/dpx: add support for 10bit gray 2018-12-04 21:05:14 +01:00
ea68e02c6d doc: remove licensing claims for chromaprint and libgme 2018-12-04 20:13:57 +05:30
1edaf601f3 avcodec/prores_aw : add 4444 xq support 2018-12-04 15:17:47 +01:00
bbbbf23759 avcodec/prores_aw : only set color prim, trc, space values if supported
set to unspecified if frame have another value
2018-12-04 15:17:43 +01:00
4141d45ae3 avcodec/prores_aw : add vendor option
code come from prores_ks
2018-12-04 15:17:28 +01:00
e53901ba5e avcodec/utils : add ff_int_from_list_or_default func
to check valid value, or return default_value
2018-12-04 15:17:21 +01:00
aae7e009b3 doc: libgme
Add entry in external library list and add details to demuxer entry.
2018-12-04 18:06:43 +05:30
8bd7919699 doc: chromaprint
Add entry in external library list and add details to muxer entry.
2018-12-04 16:38:42 +05:30
f176d6587b lavf/dashenc: Write media trailers when DASH trailer is written.
This commit ensures that all (potentially, long) filesystem activity is
performed when the user calls av_write_trailer on the DASH libavformat
context, not when freeing the context. Also, this defers media segment
deletion until after the media trailers are written.
2018-12-04 10:34:29 +05:30
78c7ff7d25 swscale/ppc: Move VSX-using code to its own file
Passes fate on LE (with "lavc/jrevdct: Avoid an aliasing violation" applied).

Signed-off-by: Lauri Kasanen <cand@gmx.com>
Tested-by: Michael Kostylev on BE
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-12-04 02:59:07 +01:00
060ea5261d avcodec/r210dec: fix r10x decoding 2018-12-03 23:34:05 +01:00
5487560acf avcodec/dnxhddec: use init_get_bits8() 2018-12-03 19:44:49 +01:00
be17a82f3c lavc: Bump version for r210 pix_fmt change. 2018-12-03 19:10:42 +01:00
3d8d8c7199 avcodec/r210: use correct pixel format 2018-12-03 17:17:42 +01:00
42d5b59bdc configure: check if dlfcn.h is present for ladspa and frei0r, if not abort early
Fixes #4517.
2018-12-03 11:07:49 +01:00
8440835dbe avfilter/vf_overlay: fix filtering with negative y 2018-12-03 10:32:59 +01:00
8ef0fdaafc lavc/libdavs2: fix function return value error
Signed-off-by: hwrenx <hwrenx@126.com>
2018-12-03 14:42:43 +08:00
42597d6fa0 lavc/libdavs2: output delayed frames
Signed-off-by: hwrenx <hwrenx@126.com>
2018-12-03 14:37:42 +08:00
701cbbb58c libdavs2: update api version and enable avx option
Signed-off-by: hwrenx <hwrenx@126.com>
2018-12-03 14:37:05 +08:00
4bbb6d1ae9 Revert "lavf/dashenc: Write media trailers when DASH trailer is written."
This reverts commit e444b3b184.
Causing build error due to rebasing. Sorry for about it.
2018-12-03 11:28:18 +05:30
a68a975584 lavf/dashenc: Use avpriv_io_delete to delete files.
This fixes incorrect handling of file pseudo-URIs (i.e. when the filename
starts with "file:").
2018-12-03 10:54:47 +05:30
e444b3b184 lavf/dashenc: Write media trailers when DASH trailer is written.
This commit ensures that all (potentially, long) filesystem activity is
performed when the user calls av_write_trailer on the DASH libavformat
context, not when freeing the context. Also, this defers media segment
deletion until after the media trailers are written.
2018-12-03 10:54:47 +05:30
0a80b39780 avformat/dashenc: Added proper logging when io_open fails for write 2018-12-03 10:54:47 +05:30