summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* avcodec: Add librav1e encoderDerek Buitenhuis2019-11-102-0/+50
| | | | | | Port to the new send/receive API by: James Almer <jamrial@gmail.com>. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avfilter/vf_dnn_processing: add a generic filter for image proccessing with ↵Guo, Yejun2019-11-071-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* doc/bitstream_filters: Fix copy an paste typoLimin Wang2019-11-051-1/+1
| | | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/ftp: add AVOptions for authenticationNicolas Frattaroli2019-11-031-0/+8
| | | | | | | | | | | | | | | | | This introduces two new AVOption options for the FTP protocol, one named ftp-user to supply the username to be used for auth, one named ftp-password to supply the password to be used for auth. These are useful for when an API user does not wish to deal with URL manipulation and percent encoding. Setting them while also having credentials in the URL will use the credentials from the URL. The rationale for this is that credentials embedded in the URL are probably more specific to what the user is trying to do than anything set by some API user. Signed-off-by: Nicolas Frattaroli <ffmpeg@fratti.ch> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat: Add max_probe_packets optionAndriy Gelman2019-11-031-0/+4
| | | | | | | Allows user to set maximum number of buffered packets when probing a codec. It was a hard-coded parameter before this commit. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/filters: fix overlay_opencl document typoSteven Liu2019-11-011-1/+1
| | | | | Reported-by: Yabo Wei <weiyabo@kuaishou.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avfilter/vf_median: add radiusV optionPaul B Mahol2019-10-311-1/+6
|
* doc/filters: move drawgraph to video filters chapterPaul B Mahol2019-10-301-105/+110
|
* doc/filters: move agraphmonitor to multimedia filters chapterPaul B Mahol2019-10-301-1/+6
|
* doc: fix typo in muxers documentationAlfred E. Heggestad2019-10-301-1/+1
|
* avfilter/vf_vfrdet: also report average deltaPaul B Mahol2019-10-291-2/+2
|
* avfilter: add median filterPaul B Mahol2019-10-291-0/+15
|
* doc/filters: add one more example for libvmafPaul B Mahol2019-10-251-0/+11
|
* doc/filters: add one more example for ssim/psnrPaul B Mahol2019-10-251-0/+21
|
* doc/filters: fix another typoPaul B Mahol2019-10-241-1/+1
|
* avfilter: add maskedmin/maskedmax filtersPaul B Mahol2019-10-241-0/+32
|
* avfilter/vsrc_mptestsrc: add options to set the maximum number of framesLimin Wang2019-10-211-0/+3
| | | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_silencedetect: use AV_OPT_TYPE_DURATIONLimin Wang2019-10-211-1/+3
| | | | | Reviewed-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avfilter: add bilateral filterPaul B Mahol2019-10-211-0/+17
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_silencedetect: document metadataLimin Wang2019-10-211-1/+10
| | | | | Reviewed-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avfilter/vf_atadenoise: add support for commandsPaul B Mahol2019-10-201-0/+4
|
* avfilter/vf_fieldhint: add support for duplicating fieldsPaul B Mahol2019-10-191-0/+2
| | | | Fixes #7066
* doc/utils: add hexadecagonal channel layoutGyan Doshi2019-10-191-0/+2
|
* avfilter/vf_atadenoise: add option to use additional algorithmPaul B Mahol2019-10-171-0/+8
|
* doc/filters: fixes for scale filterGyan Doshi2019-10-171-7/+8
| | | | Adjusted formatting and prose for option force_divisible_by in scale filter
* avfilter: add arnndn filterPaul B Mahol2019-10-161-0/+11
|
* doc/APIchanges: add missing entry for the new runtime param AVOption flagJames Almer2019-10-141-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/filters: document colorchannelmixer commandsPaul B Mahol2019-10-141-0/+4
|
* doc/filters: document amplify commandsPaul B Mahol2019-10-141-0/+12
|
* doc/filters: document scroll commandsPaul B Mahol2019-10-141-0/+10
|
* doc/filters: document new featurePaul B Mahol2019-10-141-0/+9
|
* avfilter/vf_geq: allow user to set interpolation methodPaul B Mahol2019-10-141-0/+8
|
* avfilter/vf_waveform: add yflat filterPaul B Mahol2019-10-121-0/+3
|
* avfilter/vf_waveform: add invert graticulePaul B Mahol2019-10-121-0/+3
|
* avutil/eval: add sgn()Paul B Mahol2019-10-121-0/+3
|
* doc/filters: add more examples for afftfiltPaul B Mahol2019-10-091-0/+12
|
* doc/filters: document atempo commandPaul B Mahol2019-10-091-0/+9
|
* doc/filters: mention rubberband supported commandsPaul B Mahol2019-10-091-0/+13
|
* avfilter/af_anlms: add support for commandsPaul B Mahol2019-10-081-1/+5
|
* doc/formats: Update documentation for chromaprintAndriy Gelman2019-10-081-4/+6
| | | | | | Silence detection can only be set with algorithm version 3. Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro>
* avfilter/af_adelay: add option which changes how unset channels are delayedPaul B Mahol2019-10-071-0/+10
| | | | Fixes #8032.
* doc/filters: fix few more typosPaul B Mahol2019-10-061-2/+2
|
* avfilter/vf_avgblur: add support for commandsPaul B Mahol2019-10-061-0/+7
|
* avfilter/vf_gblur: add support for commandsPaul B Mahol2019-10-061-0/+7
|
* avfilter: add anlms filterPaul B Mahol2019-10-061-0/+52
|
* doc/codecs: Update documentation for flags/flags2Jun Zhao2019-10-061-3/+8
| | | | | | Update documentation for flags/flags2 Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* doc/filters: fix typoPaul B Mahol2019-10-031-1/+1
|
* avfilter/vsrc_sierpinski: add triangle typePaul B Mahol2019-10-031-1/+4
|
* avfilter/vf_drawbox: implement process_commandPaul B Mahol2019-10-011-0/+14
|
* libavfilter: add photosensitivity filterVladimir Panteleev2019-09-301-0/+20
|
OpenPOWER on IntegriCloud