summaryrefslogtreecommitdiff
path: root/libavfilter
Commit message (Collapse)AuthorAge
...
* avfilter/vf_maskedmerge: add 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_maskedclamp: add 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_scroll: add support for 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_blend: add 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_vaguedenoiser: add support for alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_bm3d: use boolean for ref optionPaul B Mahol2019-11-18
|
* avfilter/vf_fftdnoiz: add support for alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_bm3d: add support for alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_w3fdif: add support for more >8 bit alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_avgblur: add support for 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_gblur: add support for 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_median: add support for 12bit yuva formatsPaul B Mahol2019-11-18
|
* avfilter/vf_remap: add support for 12bit yuva formatPaul B Mahol2019-11-18
|
* avfilter/vf_lut2: add 12bit depth alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_atadenoise: support alpha formatsPaul B Mahol2019-11-18
|
* avfilter/vf_xmedian: add support for alpha formatsPaul B Mahol2019-11-18
|
* avfilter/f_loop: switch aloop to activatePaul B Mahol2019-11-17
|
* avfilter/f_loop: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_sidechaincompress: fix pts handling when timebase and ↵Paul B Mahol2019-11-17
| | | | 1/samplerate differ
* avfilter/af_anlmdn: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_agate: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_afftdn: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_afftfilt: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_adeclick: fix pts handling when timebase and 1/samplerate differPaul B Mahol2019-11-17
|
* avfilter/af_aecho: switch to activatePaul B Mahol2019-11-17
|
* avfilter/vf_framepack: really fix ef466a8b29f8Paul B Mahol2019-11-17
|
* avfilter/vf_framepack: switch to activatePaul B Mahol2019-11-17
|
* avfilter/vf_framepack: fix timestamps for frameseq formatPaul B Mahol2019-11-16
|
* avfilter/vf_framepack: add missing filtering flagPaul B Mahol2019-11-16
|
* avfilter/vf_colorbalance: add support for commandsPaul B Mahol2019-11-13
|
* avfilter/vf_colorbalance: switch to floatsPaul B Mahol2019-11-13
|
* avfilter/vf_colorbalance: add option to preserve lightnessPaul B Mahol2019-11-13
|
* avfilter/vF_colorbalance: rewrite, fixes filteringPaul B Mahol2019-11-13
|
* avfilter/Makefile: add missing framesync dependency to bm3d & mix filtersLou Logan2019-11-08
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/vf_dnn_processing: correct duplicate statementleozhang2019-11-08
| | | | | Signed-off-by: leozhang <leozhang@qiyi.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_dnn_processing: fix fate-sourceGuo, Yejun2019-11-08
| | | | | Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/f_metadata: remove unneeded codeLimin Wang2019-11-08
| | | | | Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avfilter/vf_dnn_processing: add a generic filter for image proccessing with ↵Guo, Yejun2019-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* avfilter/vf_lut3d: simplify codeLimin Wang2019-11-01
| | | | | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_median: add radiusV optionPaul B Mahol2019-10-31
|
* avfilter/af_afade: start crossfading only when first stream reached endPaul B Mahol2019-10-31
|
* avfilter/af_afade: check for eof after crossfade laterPaul B Mahol2019-10-30
| | | | Fixes memleaks and #8346
* avfilter/f_sidedata: fix Wtautological-constant-out-of-range-compareZhao Zhili2019-10-30
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_sr: correct flags since the filter changes frame w/hGuo, Yejun2019-10-30
| | | | | | | | If filter changes frame w/h, AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC cannot be supported. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/dnn: add a new interface to query dnn model's input infoGuo, Yejun2019-10-30
| | | | | | | | | | | | to support dnn networks more general, we need to know the input info of the dnn model. background: The data type of dnn model's input could be float32, uint8 or fp16, etc. And the w/h of input image could be fixed or variable. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/dnn: get the data type of network output from dnn execution resultGuo, Yejun2019-10-30
| | | | | | | | | | | so, we can make a filter more general to accept different network models, by adding a data type convertion after getting data from network. After we add dt field into struct DNNData, it becomes the same as DNNInputData, so merge them with one struct: DNNData. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* dnn: add tf.nn.conv2d support for native modelGuo, Yejun2019-10-30
| | | | | | | | | | | | | Unlike other tf.*.conv2d layers, tf.nn.conv2d does not create many nodes (within a scope) in the graph, it just acts like other layers. tf.nn.conv2d only creates one node in the graph, and no internal nodes such as 'kernel' are created. The format of native model file is also changed, a flag named has_bias is added, so change the version number. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* avfilter/asrc_anoisesrc: change color variable to intLimin Wang2019-10-29
| | | | | | | | | | | | Or it'll cause invalid color and s->filter is NULL. Please reproduce it with below command on big endian system: $ ./ffmpeg -f lavfi -i "anoisesrc=d=60:c=1:r=48000" -f s16le -c:a pcm_s16le -f null - Segmentation fault (core dumped) Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_vfrdet: also report average deltaPaul B Mahol2019-10-29
|
* avfilter/vf_vfrdet: fix reporting max deltaPaul B Mahol2019-10-29
| | | | If only first delta was big it was previously discarded.