Michael Niedermayer
fd05e20650
avcodec/prosumer: Remove always true check in decompress()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 1dfa0b6f36
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
a163384467
avcodec/prosumer: Remove unneeded ()
...
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 506839a3e9
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Michael Niedermayer
b9875b7583
avcodec/prosumer: Check for bytestream eof in decompress()
...
Fixes: Infinite loop
Fixes: 10685/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PROSUMER_fuzzer-5652236881887232
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
(cherry picked from commit 9acdf17b2c
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-04 20:26:49 +01:00
Philip Langdale
ebc1c49e41
avfilter/vf_cuda_yadif: Avoid new syntax for vector initialisation
...
This requires a newer version of CUDA than we want to require.
(cherry picked from commit 8e50215b5e
)
2018-11-03 15:50:31 -07:00
Philip Langdale
6feec11e48
avcodec/nvdec: Increase frame pool size to help deinterlacing
...
With the cuda yadif filter in use, the number of mapped decoder
frames could increase by two, as the filter holds on to additional
frames.
(cherry picked from commit 1b41115ef7
)
2018-11-03 15:50:25 -07:00
Philip Langdale
67126555fc
avfilter/vf_yadif_cuda: CUDA accelerated yadif deinterlacer
...
This is a cuda implementation of yadif, which gives us a way to
do deinterlacing when using the nvdec hwaccel. In that scenario
we don't have access to the nvidia deinterlacer.
(cherry picked from commit d5272e94ab
)
2018-11-03 15:50:12 -07:00
Philip Langdale
041231fcd6
libavfilter/vf_yadif: Make frame management logic and options shareable
...
I'm writing a cuda implementation of yadif, and while this
obviously has a very different implementation of the actual
filtering, all the frame management is unchanged. To avoid
duplicating that logic, let's make it shareable.
From the perspective of the existing filter, the only real change
is introducing a function pointer for the filter() function so it
can be specified for the specific filter.
(cherry picked from commit 598f0f3927
)
2018-11-03 15:45:55 -07:00
Josh de Kock
765fb1f224
fate/api-h264-slice-test: use cleaner error handling
...
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 1052578dad
)
2018-11-03 12:57:51 -03:00
Josh de Kock
5060a615c7
fate/api-h264-slice-test: don't use ssize_t
...
Fixes ticket #7521
Signed-off-by: James Almer <jamrial@gmail.com >
(cherry picked from commit 8096f52049
)
2018-11-03 12:57:37 -03:00
Michael Niedermayer
1665ac6a44
RELEASE_NOTES: Based on the version from 4.0
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 01:36:21 +01:00
Michael Niedermayer
3c7e973430
Update for 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 01:33:08 +01:00
Michael Niedermayer
780d5e30a0
Bump minor versions for branching 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-02 00:15:32 +01:00
Michael Niedermayer
324d21164d
Changelog: next is 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:35 +01:00
Michael Niedermayer
acf4fbddf3
doc/APIchanges: Update for 4.1
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-11-01 23:54:26 +01:00
Marton Balint
6a034adf75
avformat/ftp: return AVERROR_EOF for EOF
...
Without this FTP just hangs on eof...
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 21:04:57 +01:00
Anton Platov
295fd12d17
avdevice/libndi_newtek_dec: add extra_ips option to libndi_newtek allowing use remote network sources
...
Signed-off-by: Anton Platov <anton@platov.net >
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 18:46:05 +01:00
BIGLER Don (Framatome)
cb74c33106
avdevice/decklink_dec: fix codec_tag of RGBA formats
...
Fixes ticket #7505 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2018-11-01 18:46:05 +01:00
Paul B Mahol
d98fb558be
doc/filter: add some loop filter trivial examples
2018-11-01 13:50:51 +01:00
Philip Langdale
4a976200d7
avcodec/vdpau: Initialise driver version variable explicitly
...
If the identification string ever changed, we might not match anything
in the sscanf(). At least have predictable behaviour.
2018-10-31 17:36:00 -07:00
Mark Thompson
2dee0679e9
cbs_h265: Add PTL parsing for Main 10 Still Picture profile
...
This was added in the 2018 version of the standard.
2018-10-31 21:38:33 +00:00
Mark Thompson
30fcc10937
cbs_h264: Include SEI type names in trace output
2018-10-31 21:38:33 +00:00
Michael Niedermayer
793a3e7bc9
doc/fate.texi: Mention that samples should be uploaded before pushing dependent commits
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-31 22:32:13 +01:00
Paul B Mahol
323c2cfd38
avfilter: add (a)graphmonitor filter(s)
2018-10-31 11:49:39 +01:00
ManojGuptaBonda
4a6d5f3cad
avcodec/vdpau: Enable HEVC support for working Nvidia driver versions
...
The driver bugs that caused decoded HEVC content to have an incorrect
memory layout have been fully fixed in the 410.xx driver release so
we can start exposing support.
2018-10-30 19:44:13 -07:00
James Almer
7aaf092f8c
avcodec/cbs_vp9: store profile in the private context
...
Derived from profile_low_bit and profile_high_bit.
Signed-off-by: James Almer <jamrial@gmail.com >
2018-10-30 20:55:44 -03:00
James Almer
ec440339b2
avcodec/cbs_vp9: keep track of reference frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-10-30 20:54:08 -03:00
Mark Thompson
edcdf35123
cbs_vp9: Ensure that reserved zero bits are actually zero
2018-10-30 22:22:27 +00:00
Werner Robitza
ad5ca1fb72
doc/hls: fix grammar for HLS options
...
This fixes the grammar of two HLS option descriptions and makes them less
ambiguous.
Signed-off-by: Werner Robitza <werner.robitza@gmail.com >
Signed-off-by: Lou Logan <lou@lrcd.com >
2018-10-30 14:08:19 -08:00
James Zern
32d021cfa6
avcodec/libvpxdec: fix setting auto threads
...
a thread count of 0 is treated the same as 1, use av_cpu_count() to get
the correct thread count when auto threads is requested.
this matches the fix in libvpxenc:
27df34bf1f
avcodec/libvpxenc: fix setting amount of threads used for encoding
Reviewed-by: James Almer <jamrial@gmail.com >
Signed-off-by: James Zern <jzern@google.com >
2018-10-29 23:07:35 -07:00
Jun Zhao
f3bcb9c16a
lavu/frame: Add error report if av_image_fill_pointers fail.
...
Add error handle if av_image_fill_pointers fail.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-30 13:17:09 +08:00
Jun Zhao
903f2beafc
lavc/decode: Fix the error number report if av_image_fill_pointers fail.
...
-1 will be map to error number "EPERM", and will be map to the error
message like "Error while decoding stream #0:0: Operation not permitted",
it's a strange error message when debug update_frame_pool fail,
now only return the error code from av_image_fill_pointers in case
of av_image_fill_pointers failure.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
2018-10-30 13:16:47 +08:00
Charles Liu
1ff4bd59df
avformat/hlsenc.c: fix the output's duration smaller than input's in sub-range mode.
...
In fmp4 & sub-range mode, the output's duration always smaller than expected,
because the size of the last #EXT-X-BYTERANGE is too small.
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:11:27 +08:00
Charles Liu
76b8e42c1f
avformat/hlsenc.c: the size of init.mp4 is zero.
...
The size of init.mp4 is zero in fmp4 mode,
when the input duraton smaller than the expected segment time.
fix ticket: 7166
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:10:27 +08:00
Charles Liu
2365f47bf5
avformat/hlsenc.c: remove the useless variable fmp4_init_mode.
...
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:09:14 +08:00
Charles Liu
e9dbd62cb5
avformat/hlsenc.c: fix memory leak in fmp4 mode.
...
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:08:29 +08:00
Charles Liu
3d1b795493
avformat/hlsenc: fix the duration of m4s segment is unusually smaller than expected.
...
In fmp4 mode, the duration of the second m4s segment is
unusually smaller than the expected segment time.
Signed-off-by: Charles Liu <liuchh83@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-10-30 11:07:14 +08:00
Michael Niedermayer
78862488f8
avcodec/vp9: Check in decode_tiles() if there is data remaining
...
Fixes: Timeout
Fixes: 9330/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-5707345857347584
Fixes: 9775/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-5643845344690176
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-30 03:13:25 +01:00
Michael Niedermayer
0fb83b4c91
avcodec/vp56: Add vpX_rac_is_end() to check for the end of input
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-30 03:13:25 +01:00
Mark Thompson
c0692cb2bb
vaapi_encode_mpeg2: Fix width/height columns/rows confusion
...
Fixes #7522 .
2018-10-29 19:41:24 +00:00
Michael Niedermayer
4885ff663b
avcodec/vp3: reindent unpack_superblocks()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-29 17:00:49 +01:00
Michael Niedermayer
b5e7e437f4
avcodec/vp3: Do not recalculate coded_fragment_list for keyframes
...
This improves decoding speed of keyframes
Fixes: Timeout (102->27sec)
Fixes: 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-29 17:00:49 +01:00
Michael Niedermayer
f563180817
avcodec/vp3: Reuse local variable in unpack_superblocks()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-29 17:00:49 +01:00
Michael Niedermayer
88e3807aaf
avcodec/vp3: Do not initialize unused tables for keyframes in unpack_superblock()
...
Fixes: Timeout (139sec -> 102sec)
Fixes: 9642/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP3_fuzzer-6676767875006464
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-10-29 17:00:49 +01:00
Paul B Mahol
7e1add2c51
doc/filters: add small description to geq filter section
...
Previously there was no description at all.
2018-10-29 16:45:27 +01:00
Paul B Mahol
e95987f6ca
avfilter/af_afftdn: fix memory leaks reported by coverity
2018-10-28 22:33:20 +01:00
Mark Thompson
7070955d43
libaomenc: Add support for tiles
...
Adds an option to specify the number of tile rows and columns, then uses
a uniform tiling if possible and otherwise a fixed tiling with equal-sized
tiles to fill the frame.
Also adds -tile-columns and -tile-rows options to make tilings with
power-of-two numbers of tiles, matching the behaviour of the libvpx/VP9
encoder.
2018-10-28 16:42:41 +00:00
Paul B Mahol
0c8b5cb369
avfilter/af_afftdn: add alias for sample_noise end
...
Added the same one as one mentioned in documentation.
2018-10-28 15:00:34 +01:00
Paul B Mahol
bb54c0ae71
avfilter/af_afftdn: switch to activate
2018-10-28 14:31:03 +01:00
Jun Zhao
bdfd2e3c79
lavc/libxavs2: Remove yuv420p10le from fromat list.
...
now libxavs2 can't support 10bits mode, so remove the
yuv420p10le from fromat list.
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
2018-10-28 15:16:04 +08:00
Jun Zhao
6885fa7499
lavc/libdavs2: Remove yuv420p10le from fromat list.
...
now libdavs2 can't support 10bits mode, so remove the
yuv420p10le from fromat list.
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
2018-10-28 15:10:47 +08:00