Steven Liu
8318f60845
avformat/hlsenc: fix first fragment mp4 do not split bug
...
fix ticket id: 6888
Tested-by: beloko <beloko@gmail.com >
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2017-12-21 11:14:32 +08:00
Sasi Inguva
58a25aeb8e
lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.
...
Signed-off-by: Sasi Inguva <isasi@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-20 22:27:06 +01:00
sfan5
05c1c79d37
libavcodec/hevcdec: implement skip_frame
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-20 22:26:31 +01:00
Paul B Mahol
cfd52094c0
avfilter/vf_psnr: add more gbrap formats
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-20 12:45:21 +01:00
Stefan Pöschel
c94b094858
configure: Fix case of static libmp3lame
...
Fixes #6918 .
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 23:55:02 -03:00
Jun Zhao
a31a482611
lavc/vaapi_encode: give a debug message if attrs unsupported.
...
Give a debug message when query attribute get VA_ATTRIB_NOT_SUPPORTED,
it's will help to trace and debug some issue.
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Mark Thompson <sw@jkqxz.net >
2017-12-19 23:02:31 +00:00
James Almer
da03242778
Revert "checkasm/vf_interlace : add test for lowpass_line 8 and 16"
...
This reverts commit adff97be5e
.
It currently fails on Windows targets.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 19:07:24 -03:00
James Almer
8e0e4384b0
Revert "avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16"
...
This reverts commits 1a5865b6dc
and
8fb1d63d91
.
They made fate interlace tests fail when AVX2 was used.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 19:04:25 -03:00
Michael Niedermayer
65da5c56e6
tests/audiomatch: Add missing return code at the end of main()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-19 21:32:04 +01:00
Jun Zhao
e72b854992
tests/audiomatch: Whitespace refinement
...
Refine the coding style.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-19 21:32:04 +01:00
Jun Zhao
2b38900cb3
tests/audiomatch: Add return value check for fread.
...
Check fread return value to fix build warning as "ignoring
return value of ‘fread’"
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-19 21:32:04 +01:00
Felix Matouschek
c12c2739cd
configure: Fix detection of vp9 decoder/encoder
...
At least on Android the vp9 decoder/encoder needs $libm_extralibs
to successfully link, it was missing in the check_lib calls for vp9
Signed-off-by: Felix Matouschek <felix@matouschek.org >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 17:18:10 -03:00
Martin Vignali
3df6e61dad
avfilter/x86/vf_hflip : indent
...
based on patch by Paul B Mahol
2017-12-19 21:10:12 +01:00
Martin Vignali
f181648176
avfilter/x86/vf_hflip : add avx2 version for hflip_byte and hflip_short
2017-12-19 21:10:09 +01:00
Martin Vignali
a4a4179e83
avfilter/x86/vf_hflip : merge hflip byte and hflip short to one macro
2017-12-19 21:10:05 +01:00
Martin Vignali
8fb1d63d91
avfilter/vf_tinterlace : add AVX2 func for lowpass_line 8 and 16
2017-12-19 20:59:59 +01:00
Martin Vignali
1a5865b6dc
avfilter/vf_interlace : add AVX2 for lowpass_line 8 and 16
2017-12-19 20:59:54 +01:00
Martin Vignali
adff97be5e
checkasm/vf_interlace : add test for lowpass_line 8 and 16
2017-12-19 20:59:51 +01:00
Martin Vignali
d31770d9a6
avfilter/vf_interlace : move func init in ff_interlace_init and add depth arg for ff_interlace_init_x86
2017-12-19 20:59:47 +01:00
Martin Vignali
c76cf303ce
avcodec/magicyuv : use gradient_pred dsp func for 8 bits gradient mode
2017-12-19 20:55:12 +01:00
Martin Vignali
f2e9156eb6
avcodec/utvideodec : use gradient_pred dsp in interlace decoding
2017-12-19 20:55:08 +01:00
sfan5
b1781caf9e
configure: remove libtls fallback check
...
This check is not needed for any supported version of libtls
and causes issues with static builds (libtls links to -lssl -lcrypto).
Signed-off-by: sfan5 <sfan5@live.de >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 15:12:24 -03:00
sfan5
b178278c7b
configure: fix pkg-config check for libtls
...
This was not accounted for during merge and is required due to
the refactor in commit 93ccba96df
.
Signed-off-by: sfan5 <sfan5@live.de >
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-19 14:19:03 -03:00
Michael Niedermayer
74f408cc8e
avformat/mov: Fix the the typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-18 19:57:43 +01:00
Paul B Mahol
5f2c4d044f
doc/filters: update biquad filters with commands section
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-18 15:24:53 +01:00
Mateusz
6260ab60a8
avfilter/vf_overlay: fix packed_rgb case
...
Signed-off-by: Mateusz Brzostek <mateuszb@poczta.onet.pl >
2017-12-18 14:48:37 +01:00
Ronald S. Bultje
df3222d4bb
libvmaf: exit gracefully if the library fails.
...
Fixes trac issue #6884 and Netflix/vmaf issue #124 .
2017-12-18 07:59:53 -05:00
Aurelien Jacobs
3f88744067
aptx: add codec cap SMALL_LAST_FRAME and INIT_THREADSAFE as appropriate
2017-12-18 01:07:00 +00:00
Paul B Mahol
9dcecbf04c
avfilter/af_biquads: add missing break statements
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-17 19:23:37 +01:00
Carl Eugen Hoyos
9b79c65ec0
lavu/lavc/lavf/lavfi: Do not use type modifier %zu on Windows MSVCRT.
2017-12-17 18:05:42 +01:00
Paul B Mahol
600c8729e2
avfilter/af_biquads: remove unused enum item
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-17 16:46:40 +01:00
Paul B Mahol
ce626f2695
avfilter/av_biquads: add support for commands
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-17 16:46:40 +01:00
sfan5
387ee1d6aa
libavformat: LibreSSL (libtls) support
...
Signed-off-by: sfan5 <sfan5@live.de >
2017-12-17 17:32:42 +11:00
Michael Niedermayer
0ee143558d
avcodec/hevc_cabac: Fix integer overflow in ff_hevc_cu_qp_delta_abs()
...
Fixes: signed integer overflow: 2147483647 + 1073741824 cannot be represented in type 'int'
Fixes: 4555/clusterfuzz-testcase-minimized-4505532481142784
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-17 02:09:31 +01:00
Michael Niedermayer
991ef6e5b9
avcodec/hevc_sei: Fix integer overflows in decode_nal_sei_message()
...
Fixes: signed integer overflow: 2147483520 + 255 cannot be represented in type 'int'
Fixes: 4554/clusterfuzz-testcase-minimized-4843714515042304
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-17 02:09:31 +01:00
Michael Niedermayer
439fbb9c8b
avcodec/hevcdsp_template: Fix undefined shift in put_hevc_qpel_bi_w_hv()
...
Fixes: runtime error: left shift of negative value -3
Fixes: 4524/clusterfuzz-testcase-minimized-6055590120914944
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-17 02:09:31 +01:00
Paul B Mahol
d29f784a54
avfilter/vf_overlay: add premultiplied alpha mode
...
Signed-off-by: Paul B Mahol <onemda@gmail.com >
2017-12-16 18:40:04 +01:00
wang-bin
dc08caa8f7
configure: fix probing armv6zk
...
clang reports 6kz: https://reviews.llvm.org/D14568
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2017-12-16 18:21:58 +01:00
Martin Vignali
ee2dfa34a2
libavcodec/magicyuvenc : fix warning
2017-12-16 14:21:07 +01:00
Matthieu Bouron
1f1207145a
lavc/mediacodec_wrapper: fix potential jni global reference leak
2017-12-16 00:52:28 +01:00
Matthieu Bouron
f3cffd121b
lavc/mediacodec_wrapper: factorize MediaCodec creation functions
2017-12-16 00:52:28 +01:00
Aman Gupta
8bf4e6d3ce
lavc/mediacodec: use AVMediaCodecDeviceContext hw_device_ctx if set
...
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com >
2017-12-16 00:52:27 +01:00
Aman Gupta
e4d9f05ca7
lavu/hwcontext: add AV_HWDEVICE_TYPE_MEDIACODEC
...
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com >
2017-12-16 00:52:00 +01:00
James Almer
5450972be4
doc/libav-merge: remove line about VP9 superframe parsing
...
It was addressed in a5679933c1
,
0c162854c1
and
5a366f9770
.
Signed-off-by: James Almer <jamrial@gmail.com >
2017-12-15 14:39:06 -03:00
Mark Thompson
07e1bd7e2d
doc/libav-merge: Remove VAAPI VP8 decode hwaccel merge note
...
Done in 9f00fa5369
and
40b75a943b
.
2017-12-15 16:53:13 +00:00
Jun Zhao
d228d52f1c
lavc/vp8: Support resolution changes in the VP8 decoder hwaccel
...
Use the following command to reproduce this issue:
make fate-vp8-size-change HWACCEL="vaapi -vaapi_device \
/dev/dri/renderD128 -hwaccel_output_format yuv420p"
SAMPLES=../fate-suite/.
At the same time, reconstruct the public logic as a function.
Signed-off-by: Yun Zhou <yunx.z.zhou@intel.com >
Signed-off-by: Jun Zhao <jun.zhao@intel.com >
Signed-off-by: Mark Thompson <sw@jkqxz.net >
2017-12-15 16:52:32 +00:00
Karthick J
b2d27d912b
avformat/hlsenc: Extend persistent http connections to playlists
...
Before this patch persistent http connections would work only for media segments.
The playlists were still opening a new connection everytime.
This patch extends persistent http connections to playlists as well.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2017-12-15 22:15:07 +08:00
Karthick J
6ae18228cd
avformat/hlsenc: Handle NULL input in IO open and close utility functions
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2017-12-15 22:14:54 +08:00
Karthick J
deceb7d9ae
avformat/hlsenc: Call avio_flush during persistent http connections
...
Since close is not called, during http persistent connection,
flush needs to be called so that output is written on time.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2017-12-15 22:14:43 +08:00
Martin Vignali
3c6dc27035
avfilter/x86/vf_interlace : avfilter/x86/vf_interlace : fix crash when using unaligned data in low_pass complex
...
related to ticket 6491
2017-12-15 11:28:29 +01:00