Anton Khirnov
8918a3dfa2
lavfi/src_movie: switch to new decoding API
4 years ago
Anton Khirnov
e1c4a3ea7d
lavfi/lavfutils: switch to the new decoding API
4 years ago
Mark Reid
e366797ad3
avfilter/vf_lut3d: fix sanitizef INF handling
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years ago
Limin Wang
ab072de419
avfilter/vf_fade: config_props -> config_input
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
4 years ago
Limin Wang
2399a7795b
avfilter/vf_fade: simplify code to use pts timebase for time check
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
4 years ago
Paul B Mahol
c417f1a76c
avfilter/vf_xfade: add squeeze transitions
4 years ago
Paul B Mahol
381ab69042
avfilter/vf_frei0r: add support for commands
4 years ago
Paul B Mahol
17a0dfebf5
avfilter/vf_despill: add support for commands
4 years ago
Paul B Mahol
e3081d6f4f
avfilter/af_afade: add sinc curve types
4 years ago
Paul B Mahol
bb7bb440c2
avfilter/af_anlmdn: support all options as commands
4 years ago
Paul B Mahol
96f1b45b8c
avfilter/af_anlmdn: allow to change smooth/m at runtime
4 years ago
Andrew Rodland
04340e5e01
lavfi/frei0r: Remove duplicated pix_fmt entry
...
Fixes e.g. 'ffmpeg -i input.mp4 -vf frei0r=pixeliz0r output.mp4':
[Parsed_frei0r_0 @ 0x5585b8093280] Duplicated pixel format
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:0
Conversion failed!
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
4 years ago
Paul B Mahol
9f20e5d281
avfilter: add speechnorm filter
4 years ago
Paul B Mahol
ee4a046540
avfilter/af_asoftclip: add oversampling support
4 years ago
Limin Wang
a51767c9b3
avfilter/vf_unsharp: add more pixel format support
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
4 years ago
Limin Wang
ee792ebe08
avfilter/vf_unsharp: add 10bit support
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
4 years ago
Paul B Mahol
a125e08130
avfilter: add adenorm filter
4 years ago
Timo Rothenpieler
a1553b0cfb
avfilter/scale_cuda: fix pitch calculation for >8 bit formats
4 years ago
Timo Rothenpieler
09e49ba31e
avfilter/scale_cuda: simplify linesize calculation
4 years ago
Timo Rothenpieler
94cb78ed94
avfilter/scale_cuda: add support for RGB formats
4 years ago
Timo Rothenpieler
9a0b702078
avfilter/scale_cuda: expose optional algorithm parameter
4 years ago
Timo Rothenpieler
cfdddec0c8
avfilter/scale_cuda: add lanczos algorithm
4 years ago
Timo Rothenpieler
4ad7af085c
avfilter/scale_cuda: add nearest neighbour algorithm
4 years ago
Timo Rothenpieler
15c0e038ce
avfilter/scale_cuda: code cleanup
4 years ago
Timo Rothenpieler
f1d0f83712
avfilter/scale_cuda: add bicubic interpolation
4 years ago
Paul B Mahol
112fe0ff19
avfilter/af_asoftclip: add asserts in default switch cases
4 years ago
Paul B Mahol
de63b6fb54
avfitler/af_asoftclip: add hard type
4 years ago
Paul B Mahol
ee686236cd
avfilter/af_asoftclip: add erf soft clip type
4 years ago
Paul B Mahol
2ddd6afd30
avfilter/af_biquads: make commands work reliably within biquad filter
...
Previously changing single coefficient would give unexpected results.
4 years ago
Paul B Mahol
40ce4ad999
avfilter/af_biquads: add lattice-ladder form
4 years ago
Paul B Mahol
c7ece8e26f
avfilter/vf_normalize: fix regression with white/black point calculation
4 years ago
Carl Eugen Hoyos
7b0d179195
lavfi/Makefile: Remove opencl object files when calling make clean.
4 years ago
Paul B Mahol
d6e903b09b
avfilter/vf_v360: make commands always do relative rotation
4 years ago
Paul B Mahol
637c154a50
avfilter: add audio frequency and phase shift filters
4 years ago
Romane Lafon
d60927b676
avfilter/avf_aphasemeter: add out of phase and mono detection
...
Extend aphasemeter to detect out of phase or mono sequences in
stereo streams.
Signed-off-by: Romane Lafon <romane@nomalab.com>
4 years ago
Paul B Mahol
8750c8f45c
avfilter/af_asubboost: use transposed II form
4 years ago
Paul B Mahol
6d59d69bb0
avfilter/af_crossfeed: use transposed II form
4 years ago
Paul B Mahol
5da94413d1
avfilter/af_aiir: remove unused argument
4 years ago
Paul B Mahol
f7379eafd2
avfilter/af_aiir: fix sp2zp mapping
4 years ago
Guo, Yejun
c4a3dbe726
dnn_backend_tf.c: add option sess_config for tf backend
...
TensorFlow C library accepts config for session options to
set different parameters for the inference. This patch exports
this interface.
The config is a serialized tensorflow.ConfigProto proto, so we need
two steps to use it:
1. generate the serialized proto with python (see script example below)
the output looks like: 0xab...cd
where 0xcd is the least significant byte and 0xab is the most significant byte.
2. pass the python script output into ffmpeg with
dnn_processing=options=sess_config=0xab...cd
The following script is an example to specify one GPU. If the system contains
3 GPU cards, the visible_device_list could be '0', '1', '2', '0,1' etc.
'0' does not mean physical GPU card 0, we need to try and see.
And we can also add more opitions here to generate more serialized proto.
script example to generate serialized proto which specifies one GPU:
import tensorflow as tf
gpu_options = tf.GPUOptions(visible_device_list='0')
config = tf.ConfigProto(gpu_options=gpu_options)
s = config.SerializeToString()
b = ''.join("%02x" % int(ord(b)) for b in s[::-1])
print('0x%s' % b)
4 years ago
Paul B Mahol
9860777516
avfilter/af_aiir: remove unused variable
4 years ago
Paul B Mahol
847dc03787
avfilter/af_aiir: add analog transfer function format
4 years ago
Andreas Rheinhardt
6ef55f54fe
avfilter/af_mcompand: Remove redundant calls to AVFilter.uninit
...
uninit is already called automatically (even when configuring the filter
failed).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Paul B Mahol
f372ce35f2
avfilter/af_aiir: use av_sscanf()
4 years ago
Paul B Mahol
7c1eef48e1
avfilter/af_aiir: reverse order of biquads in serial processing
...
This avoids most of clippings for fixed-point precision inputs.
Also add warning about filtering fixed-point precision with parallel processing.
4 years ago
Paul B Mahol
e704750a9f
avfilter/af_aiir: use transposed II form for biquad sections
4 years ago
Paul B Mahol
0df0e12d02
avfilter/af_aiir: implement parallel processing
4 years ago
Chris Miceli
6bdfea8d4b
libavfilter/dnn/dnn_backend{openvino, tf}: check memory alloc non-NULL
...
These previously would not check that the return value was non-null
meaning it was susceptible to a sigsegv. This checks those values.
4 years ago
Chris Miceli
ad95e5e45d
libavfilter/dnn_backend_native: check mem allocation
...
check that frame allocations return non-null.
4 years ago
leozhang
b9727870ae
avfilter/vf_scale_cuda: unload cuModule on uninit
...
Signed-off-by: leozhang <nowerzt@gmail.com>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
4 years ago