Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-09avfilter/vf_xfade: add diagonal smooth transitionsPaul B Mahol
2020-02-09avfilter/af_asoftclip: add support for commandsPaul B Mahol
2020-02-08aviflter/vf_xfade: add pixelize transitionPaul B Mahol
2020-02-08avfilter/vf_xfade: add dissolve transitionPaul B Mahol
2020-02-07avfilter: add afirsrc filterPaul B Mahol
2020-02-05avfilter/vf_xfade: add horzopen/close transitionPaul B Mahol
2020-02-05avfilter/vf_xfade: add vertopen/close transitionPaul B Mahol
2020-02-05lavfi/vf_hwupload: Add support for HW -> HW transfersPhilip Langdale
As we find ourselves wanting a way to transfer frames between HW devices (or more realistically, between APIs on the same device), it's desirable to have a way to describe the relationship. While we could imagine introducing a `hwtransfer` filter, there is almost no difference from `hwupload`. The main new feature we need is a way to specify the target device. Having a single device for the filter chain is obviously insufficient if we're dealing with two devices. So let's add a way to specify the upload target device, and if none is specified, continue with the existing behaviour. We must also correctly preserve the sw_format on such a transfer.
2020-02-04avfilter/vf_xfade: add circleopen & circleclose transitionPaul B Mahol
2020-02-02avfilter: add xfade opencl filterPaul B Mahol
2020-02-02doc/filters: fix tonemap_vaapi filter name in documentationPaul B Mahol
2020-02-02doc/filters: make filters order more consistentPaul B Mahol
2020-02-01avfilter/vf_geq: use per-thread AVExpr for expression evaluationMarton Balint
There was no consensus about separating AVExprState from AVExpr so here is a minimal patch using the existing AVExpr to fix ticket #7528. Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-31avfilter/vf_xfade: add smooth transitionsPaul B Mahol
2020-01-31doc/filters: improve xfade description and add one examplePaul B Mahol
2020-01-30doc/filters: Document geq *sum functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-01-30avfilter/vf_xfade: add radial transitionPaul B Mahol
2020-01-30avfilter: add xfade filterPaul B Mahol
2020-01-25avfilter/vf_v360: add mask option, unset pixels are marked as transparentPaul B Mahol
2020-01-23avfilter/vf_v360: add tetrahedron formatPaul B Mahol
2020-01-22avfilter/vf_stack: add fill option for xstackPaul B Mahol
2020-01-21avfilter/vf_v360: add support for fisheye input formatPaul B Mahol
2020-01-21avfilter/vf_v360: add support for input fov to input sg formatPaul B Mahol
2020-01-21doc/filters: v360: cylindrical supports inputPaul B Mahol
2020-01-21avfilter/vf_v360: add support for cylindrical input formatPaul B Mahol
2020-01-20avfilter/vf_v360: add support for flat input formatPaul B Mahol
2020-01-20doc/filters: clarify resampling and linear mode in loudnormGyan Doshi
2020-01-18avfilter/asrc_anoisesrc: add velvet noisePaul B Mahol
2020-01-18avfilter/vf_v360: add perspective output projectionPaul B Mahol
2020-01-18avfilter/vf_v360: add gaussian interpolationPaul B Mahol
2020-01-18avfilter/vf_v360: add spline16 interpolationPaul B Mahol
2020-01-18doc/spp: Update spp command options docsJun Zhao
Update spp command options docs Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro> Suggested-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-01-17avfilter/vf_v360: add cylindrical output projectionPaul B Mahol
2020-01-16avfilter/vf_v360: add pannini output projectionPaul B Mahol
2020-01-16avfilter/vf_v360: add fisheye output projectionPaul B Mahol
2020-01-15avfilter/scale: add animation supportGyan Doshi
Width and height expressions in scale and scale2ref filters can now reference frame index, timestamp and packet position.
2020-01-14avfilter/f_drawgraph: add rate/r optionPaul B Mahol
2020-01-13lavfi/spp: add "quality" option in runtime change pathJun Zhao
it's stranage to use option "level" in runtime change path but used "quality" in option, add "quality" in runtime change path, it's more intuitive and keep the "level" for compatibility. Reviewe-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-01-11avfilter: add freezeframes video filterPaul B Mahol
2020-01-11avformat/img2dec: add option to provide metadata fields related to input pathAlexandre Heitor Schmidt
libavformat/img2.h: New field export_path_metadata to VideoDemuxData to only allow the use of the extra metadata upon explicit user request, for security reasons. libavformat/img2dec.c: Modify image2 demuxer to make available two special metadata entries called lavf.image2dec.source_path and lavf.image2dec.source_basename, which represents, respectively, the complete path to the source image for the current frame and the basename i.e. the file name related to the current frame. These can then be used by filters like drawtext and others. The metadata fields will only be available when explicitly enabled with image2 option -export_path_metadata 1. doc/demuxers.texi: Documented the new metadata fields available for image2 and how to use them. doc/filters.texi: Added an example on how to use the new metadata fields with drawtext filter, in order to plot the input file path to each output frame. Usage example: ffmpeg -f image2 -export_path_metadata 1 -pattern_type glob -framerate 18 -i '/path/to/input/files/*.jpg' -filter_complex drawtext="fontsize=40:fontcolor=white: fontfile=FreeSans.ttf:borderw=2:bordercolor=black: text='%{metadata\:lavf.image2dec.source_basename\:NA}':x=5:y=50" output.avi Fixes #2874. Signed-off-by: Alexandre Heitor Schmidt <alexandre.schmidt@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-10avfilter/f_metadata: allow direct flushing when printing to fileGyan Doshi
Useful for monitoring sparse data in realtime
2020-01-10avfilter/af_afir: add support for switching impulse response streams at runtimePaul B Mahol
Currently, switching is not free of artifacts, to be resolved later.
2020-01-10avfilter/af_afir: add support for even smaller partition sizesPaul B Mahol
2020-01-08avfilter/aformat: add shorthand names for optionsGyan Doshi
2020-01-07vf_dnn_processing: add support for more formats gray8 and grayf32Guo, Yejun
The following is a python script to halve the value of the gray image. 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 from skimage import color from skimage import io in_img = io.imread('input.jpg') in_img = color.rgb2gray(in_img) io.imsave('ori_gray.jpg', np.squeeze(in_img)) in_data = np.expand_dims(in_img, axis=0) in_data = np.expand_dims(in_data, axis=3) filter_data = np.array([0.5]).reshape(1,1,1,1).astype(np.float32) filter = tf.Variable(filter_data) x = tf.placeholder(tf.float32, shape=[1, None, None, 1], 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()) graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out']) tf.train.write_graph(graph_def, '.', 'halve_gray_float.pb', as_text=False) print("halve_gray_float.pb generated, please use \ path_to_ffmpeg/tools/python/convert.py to generate halve_gray_float.model\n") output = sess.run(y, feed_dict={x: in_data}) output = output * 255.0 output = output.astype(np.uint8) io.imsave("out.jpg", np.squeeze(output)) To do the same thing with ffmpeg: - generate halve_gray_float.pb with the above script - generate halve_gray_float.model with tools/python/convert.py - try with following commands ./ffmpeg -i input.jpg -vf format=grayf32,dnn_processing=model=halve_gray_float.model:input=dnn_in:output=dnn_out:dnn_backend=native out.native.png ./ffmpeg -i input.jpg -vf format=grayf32,dnn_processing=model=halve_gray_float.pb:input=dnn_in:output=dnn_out:dnn_backend=tensorflow out.tf.png Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2020-01-07vf_dnn_processing: remove parameter 'fmt'Guo, Yejun
do not request AVFrame's format in vf_ddn_processing with 'fmt', but to add another filter for the format. command examples: ./ffmpeg -i input.jpg -vf format=bgr24,dnn_processing=model=halve_first_channel.model:input=dnn_in:output=dnn_out:dnn_backend=native -y out.native.png ./ffmpeg -i input.jpg -vf format=rgb24,dnn_processing=model=halve_first_channel.model:input=dnn_in:output=dnn_out:dnn_backend=native -y out.native.png Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
2020-01-06avfilter/af_sidechaincompress: add support for commandsPaul B Mahol
2020-01-06doc/filters: mention commands for crystalizer filterPaul B Mahol
2020-01-06doc/filters: indicate commands for scale2refGyan Doshi
2020-01-06doc/filters: indicate commands for zscaleGyan Doshi