1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-06-14 22:15:12 +02:00
Commit Graph

541 Commits

Author SHA1 Message Date
a9d23d33a1 avfilter: add colortemperature filter 2021-01-27 11:48:00 +01:00
35f8628047 avfilter: add kirsch video filter 2021-01-27 11:46:26 +01:00
37f76c81d6 avfilter: add shear video filter 2021-01-26 12:19:09 +01:00
b897b52618 avfilter: add epx pixel art scaler 2021-01-25 00:48:35 +01:00
e722b443e4 avfilter: add estdif video filter 2021-01-16 14:08:59 +01:00
54cd025a82 avfilter: add temporal midway equalizer filter 2021-01-01 12:43:42 +01:00
6e96e3d970 avfilter: add shufflepixels video filter 2020-12-20 21:44:13 +01:00
b607f19374 avfilter: add asuperpass and asuperstop filter 2020-12-11 12:07:06 +01:00
34773ee69f avfilter: add asubcut filter 2020-12-05 12:02:59 +01:00
3c922681c3 avfilter: add asupercut filter 2020-11-26 17:38:49 +01:00
9f20e5d281 avfilter: add speechnorm filter 2020-11-15 12:59:40 +01:00
a125e08130 avfilter: add adenorm filter 2020-11-05 18:26:27 +01:00
637c154a50 avfilter: add audio frequency and phase shift filters 2020-10-20 20:38:30 +02:00
26f81e5e83 avfilter: remove useless cast
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-08-23 10:40:55 +02:00
6cdddb773f avfilter: add chromanr video filter 2020-07-08 15:23:43 +02:00
726dbc57f8 avfilter: add dblur video filter 2020-05-30 18:04:14 +02:00
88567a2e52 lavfi: add untile filter. 2020-05-23 15:52:27 +02:00
f63939dedb avfilter: add gradients source video filter 2020-05-19 20:10:34 +02:00
d62d4e05e8 avfilter/vf_scdet: add filter to detect scene change
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-05-14 23:03:06 +08:00
c7d8082357 avfilter: add asubboost filter 2020-04-30 12:18:36 +02:00
4457f75c65 avfilter: add maskedthreshold filter 2020-04-18 12:34:49 +02:00
9987f6d01e avfilter: add tmedian filter 2020-04-18 12:34:49 +02:00
4976b102d8 avfilter: add vf_overlay_cuda
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2020-03-28 18:39:40 +01:00
72b6c8c99f avfilter: add Contrast Adaptive Sharpen video filter 2020-02-24 11:57:25 +01:00
1c6a91990d avfilter: add pad opencl filter 2020-02-14 09:59:27 +01:00
ae5a435300 avfilter: add afirsrc filter 2020-02-07 17:07:30 +01:00
907ae87d6e lavfi: add an chromaber_vulkan filter
This commit adds a chromatic aberration filter for Vulkan that attempts to
emulate a lens chromatic aberration effect.
For a YUV frame it will instead shift the chroma channels, providing a
simple approximation.
2020-02-04 23:19:48 +00:00
a2db7343e0 lavfi: add an avgblur_vulkan filter
This commit adds a fast avgblur Vulkan filter.
This will reset Intel GPUs on Linux due to a known, two-year-old driver bug
(!834 on mesa's gitlab).
2020-02-04 23:19:48 +00:00
7bb443137c lavfi: add an overlay_vulkan filter
This commit adds a basic, non-converting overlay filter for Vulkan.
2020-02-04 23:19:48 +00:00
d95c509cc6 lavfi: add an scale_vulkan filter
This commit adds a basic, non-converting Vulkan scaling filter.
2020-02-04 23:19:48 +00:00
cd823dadf9 avfilter: add xfade opencl filter 2020-02-02 14:08:56 +01:00
863accbefa avfilter: add xfade filter 2020-01-30 16:35:33 +01:00
1a7f4a122e avfilter: add freezeframes video filter 2020-01-11 19:05:17 +01:00
cc43c2f29a avfilter: add thistogram video filter 2019-12-29 15:33:55 +01:00
2e2dfe6673 avfilter: Add tonemap vaapi filter for H2S
It performs HDR(High Dynamic Range) to SDR(Standard Dynamic Range) conversion
with tone-mapping. It only supports HDR10 as input temporarily.

An example command to use this filter with vaapi codecs:
FFMPEG -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi \
-i INPUT -vf 'tonemap_vaapi=format=p010' -c:v hevc_vaapi -profile 2 OUTPUT

Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
Signed-off-by: Zachary Zhou <zachary.zhou@intel.com>
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
2019-12-17 07:49:49 +08:00
0c7f9f714d avfilter/vf_yaepblur: add yaepblur filter
Signed-off-by: leozhang <leozhang@qiyi.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-06 11:25:29 +01:00
93414ce831 avfilter: add axcorrelate filter 2019-11-23 11:54:20 +01:00
4d980a8ceb avfilter/vf_dnn_processing: add a generic filter for image proccessing with dnn networks
This filter accepts all the dnn networks which do image processing.
Currently, frame with formats rgb24 and bgr24 are supported. Other
formats such as gray and YUV will be supported next. The dnn network
can accept data in float32 or uint8 format. And the dnn network can
change frame size.

The following is a python script to halve the value of the first
channel of the pixel. It demos how to setup and execute dnn model
with python+tensorflow. It also generates .pb file which will be
used by ffmpeg.

import tensorflow as tf
import numpy as np
import imageio
in_img = imageio.imread('in.bmp')
in_img = in_img.astype(np.float32)/255.0
in_data = in_img[np.newaxis, :]
filter_data = np.array([0.5, 0, 0, 0, 1., 0, 0, 0, 1.]).reshape(1,1,3,3).astype(np.float32)
filter = tf.Variable(filter_data)
x = tf.placeholder(tf.float32, shape=[1, None, None, 3], name='dnn_in')
y = tf.nn.conv2d(x, filter, strides=[1, 1, 1, 1], padding='VALID', name='dnn_out')
sess=tf.Session()
sess.run(tf.global_variables_initializer())
output = sess.run(y, feed_dict={x: in_data})
graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out'])
tf.train.write_graph(graph_def, '.', 'halve_first_channel.pb', as_text=False)
output = output * 255.0
output = output.astype(np.uint8)
imageio.imsave("out.bmp", np.squeeze(output))

To do the same thing with ffmpeg:
- generate halve_first_channel.pb with the above script
- generate halve_first_channel.model with tools/python/convert.py
- try with following commands
  ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.model:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=native -y out.native.png
  ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.pb:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=tensorflow -y out.tf.png

Signed-off-by: Guo, Yejun <yejun.guo@intel.com>
Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2019-11-07 15:46:00 -03:00
1c3b70e2e0 avfilter: add median filter 2019-10-29 10:56:04 +01:00
f166951d6e avfilter: add maskedmin/maskedmax filters 2019-10-24 20:54:33 +02:00
c6e01ebe41 avfilter: add bilateral filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2019-10-21 11:48:24 +02:00
b0bfa3699c avfilter: add arnndn filter 2019-10-16 15:13:59 +02:00
e37edc70bd avfilter: add anlms filter 2019-10-06 15:09:38 +02:00
c888adf590 libavfilter: add photosensitivity filter 2019-09-30 20:21:27 +02:00
a746359ede avfilter: add scroll video filter 2019-09-30 19:37:37 +02:00
9c3e1c1937 avfilter: add sierpinski video source 2019-09-25 14:06:26 +02:00
b29c7bcbf6 lavfi: add deshake_opencl filter 2019-08-23 00:56:13 +01:00
b26094e217 avfilter: add v360 filter
Signed-off-by: Eugene Lyapustin <unishifft@gmail.com>
2019-08-19 09:06:07 +01:00
20fed2f0ab lavfi: addroi filter
This can be used to add region of interest side data to video frames.
2019-07-28 22:34:33 +01:00
bd5e92ef8a avfilter: add deesser audio filter 2019-07-02 19:02:54 +02:00