Paul B Mahol
0939c33b54
avfilter/af_afir: calculate group delay too
2018-10-21 12:47:07 +02:00
Paul B Mahol
8baaed7889
avfilter: add sinc source filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-10-19 17:43:29 +02:00
Paul B Mahol
2d9c290a2f
avfilter/vf_lensfun: use av_malloc_array()
2018-10-18 11:36:20 +02:00
Paul B Mahol
0ce7005d34
avfilter/vf_lensfun: use av_freep
2018-10-18 11:30:11 +02:00
Paul B Mahol
bf5bdbdb92
avfilter/af_adelay: do not crash if allocation of chandelay failed
2018-10-18 10:24:16 +02:00
Paul B Mahol
936376f3f7
avfilter/af_silenceremove: use enum for threshold detection modes
2018-10-15 19:03:01 +02:00
Paul B Mahol
631994b62b
avfilter/af_silenceremove: add enum for detection modes
2018-10-15 19:03:01 +02:00
Paul B Mahol
454ed32d56
avfilter/af_silenceremove: add options description
2018-10-15 19:03:01 +02:00
Paul B Mahol
a853623681
avfilter/af_silenceremove: prefer outlink instead of inlink
2018-10-15 19:03:01 +02:00
Paul B Mahol
346b23237b
avfilter/af_silenceremove: add mode options
...
To control how threshold is calculated in multichannel audio.
2018-10-15 19:03:01 +02:00
Paul B Mahol
c07bc1d6ee
avfilter/af_silenceremove: add options to keep min duration of silence
2018-10-15 19:03:01 +02:00
Zhong Li
a5e1cb9e96
lavu/hwcontext_qsv: Add support for AV_PIX_FMT_BGRA.
...
RGB32(AV_PIX_FMT_BGRA on intel platforms) format may be used as overlay with alpha blending.
So add AV_PIX_FMT_BGRA format support.
One example of alpha blending overlay: ffmpeg -hwaccel qsv -c:v h264_qsv -i BA1_Sony_D.jsv
-filter_complex 'movie=lena-rgba.png,hwupload=extra_hw_frames=16[a];[0:v][a]overlay_qsv=x=10:y=10'
-c:v h264_qsv -y out.mp4
Rename RGB32 to be BGRA to make it clearer as Mark Thompson's suggestion.
V2: Add P010 format support else will introduce HEVC 10bit encoding regression.
Thanks for LinJie's discovery.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Verified-by: Fu, Linjie <linjie.fu@intel.com>
2018-10-11 13:26:59 +08:00
Paul B Mahol
7a6d88ee62
avfilter/af_afir: remove again option, merge it with gtype
2018-10-10 20:04:25 +02:00
Daniel Molkentin
a628fa1fec
libavfilter: bump micro version to 101
2018-10-10 19:28:00 +02:00
Daniel Molkentin
4069d2d087
libavfilter/ebur128: add scale parameter
...
This allows switching between absolute (LUFS) and relativ (LU) display
in the status line.
Signed-off-by: Daniel Molkentin <daniel@molkentin.de>
Signed-off-by: Conrad Zelck <c.zelck@imail.de>
2018-10-10 19:28:00 +02:00
Daniel Molkentin
d445bcb137
libavfilter/ebur128: introduce target range
...
This eases meeting the target level during live mixing.
Signed-off-by: Daniel Molkentin <daniel@molkentin.de>
Signed-off-by: Conrad Zelck <c.zelck@imail.de>
2018-10-10 19:26:41 +02:00
Daniel Molkentin
d587390988
libavfilter/ebur128: add gauge option
...
Allow to show short-term instead of momentary in gauge. Useful for monitoring
whilst live mixing.
Signed-off-by: Daniel Molkentin <daniel@molkentin.de>
Signed-off-by: Conrad Zelck <c.zelck@imail.de>
2018-10-10 19:26:38 +02:00
Daniel Molkentin
1cee8f03cf
libavfilter/ebur128: add target value to statistics line
...
Signed-off-by: Daniel Molkentin <daniel@molkentin.de>
Signed-off-by: Conrad Zelck <c.zelck@imail.de>
2018-10-10 19:26:36 +02:00
Daniel Molkentin
d95c5b003c
libavfilter/ebur128: add target level option for EBUR128 visualization filter
...
Signed-off-by: Daniel Molkentin <daniel@molkentin.de>
Signed-off-by: Conrad Zelck <c.zelck@imail.de>
2018-10-10 19:26:33 +02:00
Marton Balint
d6a1f711bc
avfilter/af_asetnsamples: do not leak frame on ENOMEM
...
Fixes Coverity CID 1416352.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-09 21:46:28 +02:00
Marton Balint
4db291d764
avfilter/f_cue: always check the return value of ff_inlink_consume_frame
...
Fixes Coverity CID 1439936.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-09 21:46:28 +02:00
Paul B Mahol
e10fe34e7c
avfilter/f_reverse: add packed sample format support to areverse
2018-10-08 13:38:05 +02:00
Paul B Mahol
3cbf37bf09
avfilter/af_silenceremove: fix max for duration options
2018-10-08 12:22:12 +02:00
Marton Balint
0e9a09793a
avfilter/af_afade: fix crossfade duration maximum value
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-07 20:26:28 +02:00
Paul B Mahol
3d308746eb
avfilter/af_afade: add logistic sigmoid curve
2018-10-07 17:38:22 +02:00
Paul B Mahol
9c120b4d42
avfilter/avf_showspectrum: add legend support to showspectrum filter
2018-10-07 12:18:55 +02:00
Michael Niedermayer
c07bbdbcf0
avfilter/vf_tonemap_opencl: Fix seperate typo
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-07 03:03:09 +02:00
Michael Niedermayer
6414415889
avfilter/af_biquads: Remove l from %lf in av_log environment
...
The l modifier does nothing in C99 and it was undefined in C89 for %f
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-07 03:03:09 +02:00
Michael Niedermayer
8dd7c2c6a7
avfilter/af_aiir: Remove l from %lf in av_log environment
...
The l modifier does nothing in C99 and it was undefined in C89 for %f
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-07 03:03:09 +02:00
Paul B Mahol
c98ffa086c
avfilter/avf_showspectrum: switch to activate and add fps option
2018-10-06 20:30:12 +02:00
Jun Zhao
5a3ce4a92b
lavfi/deshake: fix deshake crash issue.
...
Fixes ticket #7441 .
for block contrast calculate, the block is like this:
|<---------------- stride-----------------------|
+-----------------------------------------------> X
|
| w = 16
| (cx,cy)+------+
| | |
|h=blocksize| |
| | |
| +------+
V
Y
so we calc the block contrast use:
(cy + y) * stride + (cx + x)
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-10-06 21:30:18 +08:00
Paul B Mahol
50a2347b19
avfilter/avf_showspectrum: increase padding size for low sample rates
2018-10-05 15:23:02 +02:00
Paul B Mahol
fe447c0609
avfilter/avf_showspectrum: add zoom mode to showspectrumpic
2018-10-05 14:23:48 +02:00
Paul B Mahol
3e687be4fa
avfilter/avf_showspectrum: add green color map
2018-10-05 12:00:57 +02:00
Pavel Koshevoy
03123e4053
lavfi/atempo: fix tempo range limit inconsistency
...
yae_set_tempo was overlooked when max tempo limit was raised to 100.
tested with:
./ffmpeg_g -i Delerium/SemanticSpaces/Gateway.mp3 \
-af asendcmd=f=asendcmd.cfg,atempo=1.0 -y /tmp/asendcmd-atempo.wav
where asendcmd.cfg was:
15.0-45.0 [enter] atempo tempo 2.0,
[leave] atempo tempo 0.5;
60.0-300.0 [enter] atempo tempo 4.0,
[leave] atempo tempo 1.0;
2018-10-04 21:09:41 -06:00
Paul B Mahol
d39fae0886
avfilter/avf_showspectrum: fix scaling in zoom mode
2018-10-05 00:15:26 +02:00
Paul B Mahol
196dd13c76
avfilter/avf_showspectrum: implement zoom mode
2018-10-04 23:51:22 +02:00
Paul B Mahol
0baca07759
avilter/af_afir: add irfmt option
2018-10-04 23:51:22 +02:00
Paul B Mahol
4901fa1fb8
avfilter/af_afir: use internal lavfi queue
2018-10-04 12:10:20 +02:00
Paul B Mahol
6725fd8b0f
avfilter/af_headphone: use lavfi internal queue instead
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-10-04 12:10:20 +02:00
Paul B Mahol
ef3babb2c7
avfilter/af_asetnsamples: use lavfi internal queue
2018-10-04 12:10:20 +02:00
Paul B Mahol
7d65fe87e9
avfilter: add ff_inlink_queued_samples()
2018-10-04 12:10:20 +02:00
Marton Balint
7ca2ee059e
avfilter/f_cue: use inlink fifo for queueing frames
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-03 22:09:49 +02:00
Marton Balint
8f14170b9a
avfilter/filters: add ff_inlink_peek_frame and ff_inlink_queued_frames to access frames in the inlink fifo
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-10-03 22:09:49 +02:00
Paul B Mahol
9e45364a80
avfilter/af_afir: make IR gain control more flexible
...
For this reason introduce two more options.
2018-10-03 21:43:40 +02:00
Paul B Mahol
4c514edc5b
avfilter/avfilter: fix typos in comments
2018-10-03 19:11:52 +02:00
Paul B Mahol
5ee4144701
avfilter/af_afftdn: add missing break
2018-09-26 22:23:28 +02:00
Paul B Mahol
efb65abedf
avfilter: add audio denoising (afftdn) filter
2018-09-25 19:54:06 +02:00
Paul B Mahol
d6e50e0716
avfilter/vf_curves: add planar rgb support
2018-09-25 16:35:29 +02:00
Steven Liu
a7429d853d
avfilter/buffersink.h: fix comment typo of av_buffersink_get_samples
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-25 11:11:37 +08:00
Paul B Mahol
54ca198e23
avfilter/vf_threshold: add slice threading
2018-09-24 20:21:17 +02:00
Steven Liu
4b00332203
avfilter/sr: process and output message when load_model is NULL
...
fix ticket: 7455
Reviewed-by: Pedro Arthur <bygrandao@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-24 22:02:54 +08:00
Paul B Mahol
a9485d7318
avfilter: document mono option of silencedetect filter
...
Also provide shorter option, and reorder options in documentation.
2018-09-23 23:10:51 +02:00
Pedro Arthur
1cb101f60d
avfilter/vf_sr: Fix coverity CID 1439584
2018-09-21 11:22:06 -03:00
Zhao Zhili
cd732ac472
avfilter/dnn_backend_native: fix memleak
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-09-19 13:21:27 -03:00
Zhao Zhili
5dad514379
avfilter/dnn_backend_native: fix invalid free
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-09-19 13:21:27 -03:00
Zhao Zhili
0d7a75e848
avfilter/vf_sr: fix read out of bounds
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-09-19 13:21:27 -03:00
Sergey Lavrushkin
bd10c1e9a8
libavfilter: Removes stored DNN models. Adds support for native backend model file format in tf backend.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-09-17 19:44:42 -03:00
Paul B Mahol
b0cfb2cfb9
avfilter/vf_colorspace: fix typo in comment
2018-09-17 12:51:59 +02:00
Paul B Mahol
c4774c5474
avfilter/af_astats: count zero crossings
2018-09-17 12:12:54 +02:00
Paul B Mahol
5109c38162
avfilter: add acrossover filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-16 12:06:37 +02:00
Paul B Mahol
83f7a5eb62
avfilter/avf_aphasemeter: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
11fc18994e
avfilter/f_ebur128: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
e334765408
avfilter/af_anequalizer: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
876101cf41
avfilter/af_afir: switch to activate
2018-09-15 21:59:01 +02:00
Paul B Mahol
da7a0ac979
avfilter/af_afir: check return value of ff_insert_outpad()
2018-09-15 21:59:01 +02:00
Paul B Mahol
91cc3aa8b1
avfilter/avf_showspectrum: add magma color map
2018-09-15 14:08:49 +02:00
Tristan Matthews
f3b430e0e4
lavfi/silencedetect: fix spelling
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-14 01:52:29 +02:00
Paul B Mahol
e320f9576a
avfilter/vf_bm3d: use av_clip_uintp2_c where clip is variable
2018-09-13 20:48:08 +02:00
Paul B Mahol
776cdd1dc8
avfilter/vf_remap: refactor code
2018-09-13 12:09:51 +02:00
Paul B Mahol
544fde1bf8
avfilter: add bm3d filter
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-13 11:22:22 +02:00
Paul B Mahol
ecf38be7c7
avfilter: add amultiply audio filter
2018-09-13 10:21:46 +02:00
James Almer
185aa5e896
Merge commit 'e05e5920a4e1f1f15cc8a7c843159d519f6ec18e'
...
* commit 'e05e5920a4e1f1f15cc8a7c843159d519f6ec18e':
qsv: Error out if getting session handle failed in avfilter
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:41:07 -03:00
Paul B Mahol
492b312ddd
avfilter/vf_datascope: reduce block height
...
So it match minimal input video size requirement.
2018-09-11 11:58:49 +02:00
Paul B Mahol
06e990ce89
avfilter/vf_limiter: add slice threading
2018-09-11 11:24:07 +02:00
Roman Arzumanyan
90ba17652a
avfilter: add nvidia NPP based transpose filter
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2018-09-10 12:11:41 +02:00
Marton Balint
37caec3dc4
avfilter/vf_framerate: switch to activate
...
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-09 21:21:42 +02:00
Marton Balint
43d3b61abe
avfilter/f_cue: add cue and acue filters
...
To delay filtering until a given wallclock timestamp.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-09 21:21:42 +02:00
Daniel Oberhoff
a75d805e6b
avfilter/vf_remap: add slice threading
...
Signed-off-by: Daniel Oberhoff <daniel@danieloberhoff.de>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2018-09-09 19:57:14 +02:00
Paul B Mahol
bd6c57d532
avfilter: add support for gray14 format
2018-09-09 19:10:44 +02:00
Paul B Mahol
e70f6cb7e3
avfilter/vf_premultiply: add gray14 format
2018-09-09 18:36:41 +02:00
Paul B Mahol
e10846001d
avfilter/vf_extractplanes: define higher depth formats with macro
2018-09-09 18:13:13 +02:00
Paul B Mahol
6c06389d6e
avfilter/vf_extractplanes: define common 8-bit pixel formats
2018-09-09 18:06:22 +02:00
Paul B Mahol
43421386f2
avfilter/vf_extractplanes: fix 14bit format extraction
2018-09-09 17:56:43 +02:00
Paul B Mahol
c4cda4eb87
avfilter: add lut1d filter
2018-09-07 21:44:03 +02:00
Thomas Mundt
f4438e387e
avfilter/vf_interlace: fix numerical options
...
Regression since 9c01cdb94e
Signed-off-by: Thomas Mundt <tmundt75@gmail.com>
2018-09-07 18:46:56 +02:00
Michael Niedermayer
6b1b5af024
avfilter/vf_frei0r: Remove duplicate }, fix build
...
Fixes regression from a3c6b7ff59
Reported-by: qq2225936589
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-30 17:12:25 +02:00
Raphael Graf
a3c6b7ff59
frei0r: handle string params
...
This is needed for some of the frei0r filters (facebl0r and facedetect) which accept string parameters.
Fixes the issue described here:
http://www.ffmpeg-archive.org/Unable-to-set-ffmpeg-frei0r-facedetect-filter-parameter-td4680190.html
Signed-off-by: Raphael Graf <r@undefined.ch>
2018-08-30 09:57:25 +02:00
Nicolas George
962c9313af
lavfi/avf_concat: switch to activate.
...
Fix trac ticket #7351 .
2018-08-26 12:16:48 +02:00
Zhong Li
e05e5920a4
qsv: Error out if getting session handle failed in avfilter
...
Solve some issues found by an automated code scansion.
Suppress the complain "variables 'handle' is used but maybe
uninitialized".
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2018-08-23 08:22:34 +02:00
Steven Liu
dcef44f136
avfilter/buffersrc.h: fix typo of the comment
2018-08-21 15:44:33 +08:00
Jun Zhao
fe06ed22e6
lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h full"
...
fix can't dispaly "slice" sub-option in "ffmpeg -h full" for
AVFilter options.
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2018-08-16 19:45:07 +08:00
Michael Niedermayer
2612431d1b
avfilter/vf_hue: 10bit support
...
Tested-by: Tobias Rapp <t.rapp@noa-archive.com>
Tested-by: Reto Kromer <lists@reto.ch>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-08-16 00:07:59 +02:00
Mina
f5559dd869
lavfi/vf_colorconstancy: cosmetic update
2018-08-14 20:56:51 +02:00
Mina
729ebd3cd0
lavfi/vf_colorconstancy: change option ranges
2018-08-14 20:55:08 +02:00
Sergey Lavrushkin
1f18a633c6
libavfilter: Adds proper file descriptions to dnn_srcnn.h and dnn_espcn.h.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-14 15:02:41 -03:00
Sergey Lavrushkin
95cb2127ad
libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-14 15:02:27 -03:00
Sergey Lavrushkin
2ecf9d103a
libavfilter/dnn_backend_tf.c: Fixes ff_dnn_free_model_tf.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2018-08-14 15:02:09 -03:00
Danil Iashchenko
5423fe29da
lavfi: add erosion_opencl, dilation_opencl filters
...
Add erosion_opencl, dilation_opencl filters. Behave like existing erosion and dilation filters.
2018-08-12 21:52:06 +01:00
Kyle Swanson
87cc7e8d4e
lavfi/vf_libvmaf: update to use libvmaf v1.3.9
...
Signed-off-by: Kyle Swanson <kswanson@netflix.com>
2018-08-10 12:00:12 -07:00