summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* avutil/buffer: add av_buffer_pool_buffer_get_opaqueMarton Balint2019-12-26
| | | | | | | | | | In order to access the original opaque parameter of a buffer in the buffer pool. (The buffer pool implementation overrides the normal opaque parameter but also saves it so it is accessible). v2: add assertion check before dereferencing the BufferPoolEntry. Signed-off-by: Marton Balint <cus@passwd.hu>
* doc/encoders: correct the description for ts_target_bitrateWonkap Jang2019-12-20
| | | | | | | ts_target_bitrate is in kbps, not bps. This commit clarifies the unit and modifies the example to match the description. Signed-off-by: James Zern <jzern@google.com>
* avfilter/vf_readeia608: rewrite processing, make extracting more robustPaul B Mahol2019-12-20
| | | | Lots of options are now obsolete.
* avfilter: Add tonemap vaapi filter for H2SXinpeng Sun2019-12-17
| | | | | | | | | | | | | 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>
* avfilter/vf_tinterlace: add support for bypassing already interlaced framesMarton Balint2019-12-15
| | | | | | The old interlace filter worked this way before it was merged with tinterlace. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_datascope: add decimal outputPaul B Mahol2019-12-13
|
* lavf/libsrt: enable other encryption parametersJun Zhao2019-12-11
| | | | | | | Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ SRTO_KMPREANNOUNCE for srt encryption control. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* lavf/libsrt: add linger parameter to libsrtJun Zhao2019-12-11
| | | | | | | | add linger parameter to libsrt, it's setting the number of seconds that the socket waits for unsent data when closing. Reviewed-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* avfilter/scale.c: factorize ff_scale_eval_dimensionsGyan Doshi2019-12-08
| | | | | | | Adjustment of evaluated values shifted to ff_adjust_scale_dimensions Shifted code for force_original_aspect_ratio and force_divisble_by from vf_scale so it is now available for scale_cuda, scale_npp and scale_vaapi as well.
* avfilter/vf_yaepblur: add yaepblur filterleozhang2019-12-06
| | | | | Signed-off-by: leozhang <leozhang@qiyi.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tools: add a fuzzer tool for bitstream filtersJames Almer2019-12-05
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/mpegtsenc: allow any sensible PID for elementary and PMT PIDsMarton Balint2019-12-03
| | | | | | | | | | | | | This sets the range of the first automatically assigned PMT PID or elementary stream PID parameters to [0x20, 0x1ffa]. You can still assign manually a PID for a stream using AVStream->id in the wider [0x10, 0x1ffe] range as specified by ISO13818-1. But since DVB and ATSC both reserves some PIDs, let's not allow them to be automatically assigned. Also make sure that assigned PID numbers are valid and fix the error message for the previous PID collision checks. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/vf_hqdn3d: add support for commandsPaul B Mahol2019-11-29
|
* doc/encoder: add the missing qsv encodersZhong Li2019-11-28
| | | | | Reviewed-by: Gyan Doshi <ffmpeg@gyani.pro> Signed-off-by: Zhong Li <zhongli_dev@126.com>
* lavc/rav1e: log and doc updated for const quantizer modeZhong Li2019-11-28
| | | | Signed-off-by: Zhong Li <zhongli_dev@126.com>
* Add options for spatial layers.Thierry Foucu2019-11-28
| | | | | | | | Disable by default to output all the layers, to match libaomdec wrapper. Add option to select the operating point for the spatial layers. Update the documentation with the new options. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/hls: correct grammatical errors of m3u8_hold_counters optionSteven Liu2019-11-27
| | | | | | Suggested-by: Gyan <ffmpeg@gyani.pro> Suggested-by: Rodney Baker <rodney.baker@iinet.net.au> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avformat/hls: add option for the m3u8 list load max timesSteven Liu2019-11-25
| | | | | | | set max times for load m3u8 when the m3u8 list refresh do not with new segments any times. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avfilter: add axcorrelate filterPaul B Mahol2019-11-23
|
* avfilter/vf_normalize: add support for commandsPaul B Mahol2019-11-23
|
* avfilter/af_biquads: add new normalize/n optionPaul B Mahol2019-11-22
|
* doc/filters: complete and correct vmafmotion sectionGyan Doshi2019-11-22
|
* avfilter/vf_datascope: add support for commands in oscilloscopePaul B Mahol2019-11-21
|
* avfilter/vf_chromakey: add support for commandsPaul B Mahol2019-11-21
|
* avfilter/vf_lumakey: add support for commandsPaul B Mahol2019-11-21
|
* avfilter/vf_chromashift: add support for commandsPaul B Mahol2019-11-21
|
* avfilter/vf_fillborders: add support for commandsPaul B Mahol2019-11-21
|
* avfilter/vf_median: add support for commandsPaul B Mahol2019-11-20
|
* doc/filters: correct libvmaf exampleGyan Doshi2019-11-19
| | | | AVTB is 1/AV_TIME_BASE
* doc/filters: correct ssim exampleGyan Doshi2019-11-19
| | | | AVTB is 1/AV_TIME_BASE
* doc/filters: correct psnr exampleGyan Doshi2019-11-19
| | | | AVTB is 1/AV_TIME_BASE
* doc/filters: improve libvmaf sectionGyan Doshi2019-11-18
| | | | | Added default values, correct strings for default model path and pool method.
* avdevice/decklink: add option to drop frames till timecode is seenGyan Doshi2019-11-18
| | | | Option wait_for_tc only takes effect if tc_format is set
* doc/APIchanges: update for av_expr_count_varsGyan Doshi2019-11-17
|
* avfilter/vf_colorbalance: add support for commandsPaul B Mahol2019-11-13
|
* avfilter/vf_colorbalance: add option to preserve lightnessPaul B Mahol2019-11-13
|
* avcodec: Add librav1e encoderDerek Buitenhuis2019-11-10
| | | | | | 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-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>
* doc/bitstream_filters: Fix copy an paste typoLimin Wang2019-11-05
| | | | | 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-03
| | | | | | | | | | | | | | | | | 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-03
| | | | | | | 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-01
| | | | | Reported-by: Yabo Wei <weiyabo@kuaishou.com> Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
* avfilter/vf_median: add radiusV optionPaul B Mahol2019-10-31
|
* doc/filters: move drawgraph to video filters chapterPaul B Mahol2019-10-30
|
* doc/filters: move agraphmonitor to multimedia filters chapterPaul B Mahol2019-10-30
|
* doc: fix typo in muxers documentationAlfred E. Heggestad2019-10-30
|
* avfilter/vf_vfrdet: also report average deltaPaul B Mahol2019-10-29
|
* avfilter: add median filterPaul B Mahol2019-10-29
|
* doc/filters: add one more example for libvmafPaul B Mahol2019-10-25
|
* doc/filters: add one more example for ssim/psnrPaul B Mahol2019-10-25
|