Paul B Mahol
8a1f0cb9e3
doc/filters: update v360
2019-09-08 21:07:59 +02:00
Paul B Mahol
973051e3bd
avfilter/vf_v360: add stereographic output projection
2019-09-08 21:07:59 +02:00
Paul B Mahol
a13b61b7fd
avfilter/vf_v360: disallow too low h_fov/v_fov
2019-09-08 21:07:59 +02:00
Calvin Walton
3ad5d4df9c
lavfi/concat: allow to support inputs with different frame rates
...
Right now, the concat filter does not set the frame_rate value on any of
the out links. As a result, the default ffmpeg behaviour kicks in - to
copy the framerate from the first input to the outputs.
If a later input is higher framerate, this results in dropped frames; if
a later input is lower framerate it might cause judder.
This patch checks if all of the video inputs have the same framerate, and
if not it sets the out link to use '1/0' as the frame rate, the value
meaning "unknown/vfr".
A test is added to verify the VFR behaviour. The existing test for CFR
behaviour passes unchanged.
2019-09-08 16:48:28 +02:00
Paul B Mahol
85386c36e3
avfilter/vf_v360: add aliases for some projections
2019-09-08 10:52:35 +02:00
Limin Wang
cbc63d61b2
avfilter/vf_scale: split the scale_frame function from filter_frame for activate function support
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-08 02:15:46 +02:00
Paul B Mahol
5b12a47e08
avfilter/vf_v360: add options to h/w unflip input video
2019-09-07 22:36:28 +02:00
Paul B Mahol
a06d70350b
avfilter/vf_v360: support transposed input/output
2019-09-07 22:09:17 +02:00
Michael Niedermayer
12b909ba31
avcodec/qdm2: Check frame size
...
Fixes: index 2304 out of bounds for type 'float [2304]'
Fixes: 16332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QDM2_fuzzer-5679142481166336
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:26:55 +02:00
Michael Niedermayer
55d4e22d71
avformat/vividas: check for tiny blocks using alignment
...
Ask for a sample for these
Fixes: out of array access
Fixes: 16624/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5762455661182976
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:25:35 +02:00
Michael Niedermayer
413e0f2516
avcodec/vc1_pred: Fix refdist in scaleforopp()
...
Fixes: out of array access
Fixes: 16601/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1IMAGE_fuzzer-5656105392275456
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:24:50 +02:00
Limin Wang
ede15bf2e3
avfilter/vf_showinfo: display GOP timecode side data
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:06:12 +02:00
Linjie Fu
ef1342650f
swscale/output: fix some code indentations
...
Signed-off-by: Linjie Fu <linjie.fu@intel.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:06:12 +02:00
Michael Niedermayer
722fd46965
avcodec/vorbisdec: fix FASTDIV usage for vr_type == 2
...
This reverts a hunk from f1ca40ee00
Fixes: out of array read
Fixes: 16924/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VORBIS_fuzzer-5157893162139648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-06 22:06:12 +02:00
Carl Eugen Hoyos
aef24efb0c
lavf/rawenc: Only accept the appropriate stream type for raw muxers.
...
This does not affect the rawvideo muxer.
Fixes ticket #7979 .
2019-09-06 16:22:44 -03:00
James Almer
4857688732
x86/vf_v360: use a faster horizontal add in remap4_8bit_line_avx2
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-06 12:11:46 -03:00
James Almer
2200cf1aca
x86/vf_v360: make remap{1,2}_8bit_line_avx2 work on x86_32
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-06 11:11:45 -03:00
Paul B Mahol
cb8c353032
avfilter/vf_v360: add option to pick rotation order
2019-09-06 14:10:37 +02:00
Paul B Mahol
d131541445
avfilter/vf_v360: reduce allocations by reusing duplicated remaps
2019-09-06 14:10:37 +02:00
Paul B Mahol
058bbf48c6
avfilter/vf_v360: x86 SIMD for interpolations
2019-09-06 14:10:37 +02:00
Paul B Mahol
f0d8005ec5
avfilter/vf_v360: add asserts to guard against invalid conditions
2019-09-06 14:10:37 +02:00
Paul B Mahol
32dd429bc7
avfilter/vf_v360: stop using floats in interpolation
2019-09-06 14:10:37 +02:00
Paul B Mahol
28dfa1e371
avfilter/vf_v360: rewrite storing of remap positions and interpolations
...
In preparation of SIMD assembly.
2019-09-06 14:10:37 +02:00
Sourabh Sharma
3424600e0b
doc/filters: correct range for contrast in eq filter
...
Fixes #8111
Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro >
2019-09-06 14:07:33 +05:30
Steven Liu
db92a3e463
avformat/hlsenc: fix compiling error of hlsenc
2019-09-06 12:47:15 +08:00
Steven Liu
fe77cad3a4
avformat/hlsenc: fix code style
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2019-09-06 12:30:04 +08:00
Steven Liu
07b4bf5f11
avformat/hlsenc: move the warning message from every segment upload to init part
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2019-09-06 12:29:56 +08:00
Steven Liu
f267a2ac9c
avformat/hlsenc: avformat/hlsenc: reopen new http session for http_persistent
...
fix ticket: 7975
Tested-by: Ian Klassen <ian@virtualfunc.com >
Suggested-by: Ian Klassen <ian@virtualfunc.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2019-09-06 10:26:23 +08:00
Steven Liu
6c593fee63
avformat/http: add ff_http_get_shutdown_status api for check the status of shutdown
...
this function is used to get the previous shutdown status
when reusing the old connection in block mode.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2019-09-06 10:26:16 +08:00
Gyan Doshi
2b66c757d6
fate: add test for stream_loop
...
Checks that seek to start indeed seeks to start.
2019-09-05 23:23:24 +05:30
Gyan Doshi
fa697aa92f
ffmpeg: switch to avformat_seek_file for stream_loop
...
Fixes stream_loop with very short files where seeking is generic index
search
2019-09-05 23:23:11 +05:30
Michael Niedermayer
dfa5d1a366
avcodec/iff: Check for overlap in cmap_read_palette()
...
Fixes: undefined memcpy() use
Fixes: 16302/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5678750575886336
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-05 19:45:53 +02:00
Michael Niedermayer
8a1a9588fb
avcodec/vqavideo: Limit resolution
...
Fixes: Timeout (288sec -> 1ms)
Fixes: 16353/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VQA_fuzzer-5633402606190592
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-05 19:45:53 +02:00
Michael Niedermayer
9d3ddef519
avcodec/apedec: Fix 32bit int overflow in do_apply_filter()
...
Fixes: signed integer overflow: 2147480546 + 4096 cannot be represented in type 'int'
Fixes: 16280/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5123442566758400
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2019-09-05 19:45:53 +02:00
Jun Zhao
43b3412631
configure: fix --disable-v4l2-m2m can't work
...
Use the command ./configure with/without --disable-v4l2-m2m test.
Reviewed-by: Aman Gupta <aman@tmm1.net >
Signed-off-by: Jun Zhao <barryjzhao@tencent.com >
2019-09-05 18:55:09 +08:00
Jun Zhao
da6e569916
configure: fix --disable-alsa can't work
...
fix --disable-alsa can't work in configure
Signed-off-by: Jun Zhao <barryjzhao@tencent.com >
2019-09-05 18:54:53 +08:00
Paul B Mahol
a2dbd85733
doc/filters: fix alphabetic order of some video filters
2019-09-05 11:33:04 +02:00
Aman Gupta
f30fb5ef62
avutil/version: bump for hwcontext_videotoolbox api change
...
av_map_videotoolbox_format_from_pixfmt2() added in previous
commit to support full-range pixel formats.
Signed-off-by: Aman Gupta <aman@tmm1.net >
2019-09-04 12:56:25 -07:00
Akemi
2a9d461abc
avcodec/videotoolbox: add support for full range pixel formats
...
Signed-off-by: Aman Gupta <aman@tmm1.net >
2019-09-04 10:51:20 -07:00
Limin Wang
787c56b9e9
avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com >
2019-09-04 18:55:00 +02:00
Guo, Yejun
022f50d3fe
libavfilter/dnn: add header into native model file
...
Signed-off-by: Guo, Yejun <yejun.guo@intel.com >
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2019-09-04 11:13:21 -03:00
James Almer
3b3150c45f
avformat/matroskadec: use av_fast_realloc to reallocate ebml list arrays
...
Speeds up the process considerably.
Fixes ticket #8109 .
Suggested-by: nevcairiel
Suggested-by: cehoyos
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:08:17 -03:00
James Almer
f34aabfbae
avformat/matroskadec: use proper types for some EbmlSyntax fields
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:13 -03:00
James Almer
a0739e8a16
avcodec/nuv: prevent frame copying when outputting duplicate frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
343f8d514e
avcodec/wcmv: prevent frame copying when outputting duplicate frames
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
5102999223
Revert "avcodec/wcmv: Avoid copying frames if they are unchanged"
...
This reverts commit 976dae8b32
.
An alternative approach to reduce frame copying will follow.
2019-09-04 10:07:12 -03:00
James Almer
c14a12ac84
avcodec/wcmv: use ff_reget_buffer()
...
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
James Almer
9ea6d2149e
avcodec/decode: add a flags parameter to ff_reget_buffer()
...
Some decoders may not need a writable buffer in some specific cases, but only
a reference to the existing buffer with updated frame properties instead, for
the purpose of returning duplicate frames. For this, the
FF_REGET_BUFFER_FLAG_READONLY flag is added, which will prevent potential
allocations and buffer copies when they are not needed.
Signed-off-by: James Almer <jamrial@gmail.com >
2019-09-04 10:07:12 -03:00
Anthony Delannoy
39f1295937
avformat/mpegts: Check if ready on SCTE reception
...
On some DVB stream SCTE-35 data packet are available before the end of
MpegTSContext initialization. We have to check if it is the case to
avoid a SEGFAULT.
Signed-off-by: Marton Balint <cus@passwd.hu >
2019-09-03 21:35:20 +02:00
Aman Gupta
7eb465e185
configure: ensure --enable-omx-rpi uses rpi-specific IL headers
...
When compiling natively on an RPI where libomxil-bellagio-dev
was also installed, `check_headers OMX_Core.h` succeeded and
the -isystem compiler flag was never added to the build.
For non-native builds, the error message now mentions the
raspberrypi/firmware repository where the RPI specific
headers are available.
Signed-off-by: Aman Gupta <aman@tmm1.net >
2019-09-03 10:58:24 -07:00