summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* avfilter: Add blue and violet noise generation filtersGeorge Boyle2017-07-19
| | | | | | | | | For the blue and violet noise, I took the pink and brown noise respectively and subtracted the offsets instead of adding them. When I eyeball the frequency spectrum of the resulting outputs it looks correct to me, i.e. the blue graph appears to be a mirror image of the pink, and the same can be said of the violet and the brown. I did not do anything else to confirm the correctness.
* avformat: add SMPTE 337M demuxerfoo862017-07-19
|
* avcodec: add Dolby E decoderfoo862017-07-19
|
* doc: Fix names of VAAPI encodersMark Thompson2017-07-18
| | | | They were all reversed (oops).
* avdevice/decklink_dec: add support for receiving op47 teletextMarton Balint2017-07-18
| | | | | | | | | v2: - use uint16_t instead of int to store 10-bit ancillary data - fix ancillary line numbers for 1080p - some comments and clarifications as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/decklink_dec: add support for decoding teletext from 10bit ↵Marton Balint2017-07-18
| | | | | | | | | | | | | ancillary data This also add supports for 4K DeckLink cards because they always output the ancillary data in 10-bit. v2: - only try teletext decoding for 576i PAL mode - some comments as requested by Aaron Levinson Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: add LIBVMAF filterAshish Singh2017-07-16
| | | | | | | | This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avcodec/noise_bsf: add support for dropping packetsMarton Balint2017-07-09
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: add limiter filterPaul B Mahol2017-07-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfomat/hlsenc: support fmp4 format in hlsSteven Liu2017-07-03
| | | | | | | | | | | add the fmp4 format into hlsenc because the fmp4 format add into hls from version 7. the spec link is: https://tools.ietf.org/html/draft-pantos-http-live-streaming-20 and the describe on WWDC https://developer.apple.com/videos/play/wwdc2017/515/ Signed-off-by: Steven Liu <lq@onvideo.cn>
* dxva: add support for new dxva2 and d3d11 hwaccel APIswm42017-06-27
| | | | | | | | | | | | | | | This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit f9e7a2f95a7194a8736cc1416a03a1a0155a3e9f. Also adds untested VP9 support. The check for DXVA2 COBJs is removed. Just update your MinGW to something newer than a 5 year old release. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* lavu: add new D3D11 pixfmt and hwcontextwm42017-06-27
| | | | | | | | | | | | | | | | | | | | | | To be used with the new d3d11 hwaccel decode API. With the new hwaccel API, we don't want surfaces to depend on the decoder (other than the required dimension and format). The old D3D11VA pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the decoder configuration, and thus is incompatible with the new hwaccel API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D and an index. It's simpler and compatible with the new hwaccel API. The introduced hwcontext supports only the new pixfmt. Frame upload code untested. Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit fff90422d181744cd75dbf011687ee7095f02875. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avcodec/proresenc_kostya: add 4444XQ profilePaul B Mahol2017-06-27
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_blend: add extremity blend modePaul B Mahol2017-06-25
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/vf_overlay: remove rgb optionPaul B Mahol2017-06-24
| | | | | | Its been deprecated for over 3 years. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avformat: make flush_packets a tri-state and set it to -1 (auto) by defaultMarton Balint2017-06-24
| | | | | | | | | If flushing is not disabled, then mux.c will signal the end of the packets with an AVIO_DATA_MARKER_FLUSH_POINT, and aviobuf will be able to decide to flush or not based on the preferred minimum packet size set by the used protocol. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/aviobuf: add support for specifying minimum packet size and marking ↵Marton Balint2017-06-24
| | | | | | | flush points Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Marton Balint <cus@passwd.hu>
* doc: Add VAAPI encodersMark Thompson2017-06-24
| | | | (cherry picked from commit 41dda860870fb1566b17f6b0b61922f0ef89be47)
* vp9: Add bsf to fix reordering in raw streamsMark Thompson2017-06-24
| | | | | | | | | | | Takes a raw input stream containing frames with correct timestamps but possibly out of order and inserts additional show-existing-frame packets to correct the ordering. (cherry picked from commit 34e051d16850701694410a0e72e0e4ff3a5ec293) (cherry picked from commit b43b95f4789b6e60f9684918fd3c0a5f3f18aef6) Also converted from bitstream to get_bits.
* avfilter/vf_overlay: add auto format modePaul B Mahol2017-06-24
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* build: Prefer NASM assembler over YASMDiego Biurrun2017-06-21
| | | | | | | | | NASM is more actively maintained and permits generating dependency information as a sideeffect of assembling, thus cutting build times in half. (Cherry-picked from libav commit 57b753b445e23363c997a8ec1c556e0b0f6e9da3) Signed-off-by: James Almer <jamrial@gmail.com>
* doc/filters: Correct scale doc regarding w/h <= 0Kevin Mark2017-06-19
| | | | | | | | | | | | | | | | According to libavfilter/scale.c, if the width and height are both less than or equal to 0 then the input size is used for both dimensions. It does not need to be -1. -1:-1 is the same as 0:0 which is the same as -10:-42, etc. if (w < 0 && h < 0) eval_w = eval_h = 0; The documentation for the zscale filter has also been updated since the behavior is identical. Signed-off-by: Kevin Mark <kmark937@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* doc/filters: fix typoPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_stereotools: add 2 more modesPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_superequalizer: improve descriptionPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add roberts cross operatorPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter: add superequalizer filterPaul B Mahol2017-06-19
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* libavfilter/af_biquads: add shorter option for width_typePaul B Mahol2017-06-18
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc: Document hwupload, hwdownload and hwmap filtersMark Thompson2017-06-14
| | | | (cherry picked from commit 66aa9b94dae217a0fc5acfb704490707629d95ed)
* hwcontext: Improve allocation in derived contextsMark Thompson2017-06-14
| | | | | | | | | Use the flags argument of av_hwframe_ctx_create_derived() to pass the mapping flags which will be used on allocation. Also, set the format and hardware context on the allocated frame automatically - the user should not be required to do this themselves. (cherry picked from commit c5714b51aad41fef56dddac1d542e7fc6b984627)
* ffmpeg: Support setting the hardware device to use when filteringMark Thompson2017-06-14
| | | | | | | | This only supports one device globally, but more can be used by passing them with input streams in hw_frames_ctx or by deriving new devices inside a filter graph with hwmap. (cherry picked from commit e669db76108de8d7a36c2274c99da82cc94d1dd1)
* lavc: Add flag to allow profile mismatch with hardware decodingMark Thompson2017-06-14
| | | | (cherry picked from commit 64a5260c695dd8051509d3270295fd64eac56587)
* ffmpeg: Document the -init_hw_device optionMark Thompson2017-06-14
| | | | (cherry picked from commit 303fadf5963e01b8edf4ba2701e45f7e9e586aeb)
* hwcontext: Make it easier to work with device typesMark Thompson2017-06-14
| | | | | | | | Adds functions to convert to/from strings and a function to iterate over all supported device types. Also adds a new invalid type AV_HWDEVICE_TYPE_NONE, which acts as a sentinel value. (cherry picked from commit b7487f4f3c39b4b202e1ea7bb2de13902f2dee45)
* hwcontext: Add device derivationMark Thompson2017-06-14
| | | | | | | Creates a new device context from another of a different type which refers to the same underlying hardware. (cherry picked from commit b266ad56fe0e4ce5bb70118ba2e2b1dabfaf76ce)
* avfilter: add native headphone spatialization filterPaul B Mahol2017-06-12
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/af_sofalizer: switch to libmysofaPaul B Mahol2017-06-08
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* vf_colorspace: Add support for jedec p22 primariesVittorio Giovara2017-06-07
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libavutil/eval: Add round function to expression parserKevin Mark2017-06-06
| | | | | | | We have floor, ceil, and trunc. Let's add round. Signed-off-by: Kevin Mark <kmark937@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/af_surround: add support for some upmixing of 3.0, 2.1 and 5.1 ↵Paul B Mahol2017-06-04
| | | | | | channel layout Signed-off-by: Paul B Mahol <onemda@gmail.com>
* libavfilter/scale2ref: Add constants for the primary inputKevin Mark2017-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Variables pertaining to the main video are now available when using the scale2ref filter. This allows, as an example, scaling a video with another as a reference point while maintaining the original aspect ratio of the primary/non-reference video. Consider the following graph: scale2ref=iw/6:-1 [main][ref] This will scale [main] to 1/6 the width of [ref] while maintaining the aspect ratio. This works well when the AR of [ref] is equal to the AR of [main] only. What the above filter really does is maintain the AR of [ref] when scaling [main]. So in all non-same-AR situations [main] will appear stretched or compressed to conform to the same AR of the reference video. Without doing this calculation externally there is no way to scale in reference to another input while maintaining AR in libavfilter. To make this possible, we introduce eight new constants to be used in the w and h expressions only in the scale2ref filter: * main_w/main_h: width/height of the main input video * main_a: aspect ratio of the main input video * main_sar: sample aspect ratio of the main input video * main_dar: display aspect ratio of the main input video * main_hsub/main_vsub: horiz/vert chroma subsample vals of main * mdar: a shorthand alias of main_dar Of course, not all of these constants are needed for maintaining the AR, but adding additional constants in line of what is available for in/out allows for other scaling possibilities I have not imagined. So to now scale a video to 1/6 the size of another video using the width and maintaining its own aspect ratio you can do this: scale2ref=iw/6:ow/mdar [main][ref] This is ideal for picture-in-picture configurations where you could have a square or 4:3 video overlaid on a corner of a larger 16:9 feed all while keeping the scaled video in the corner at its correct aspect ratio and always the same size relative to the larger video. I've tried to re-use as much code as possible. I could not find a way to avoid duplication of the var_names array. It must now be kept in sync with the other (the normal one and the scale2ref one) for everything to work which does not seem ideal. For every new variable introduced/removed into/from the normal scale filter one must be added/removed to/from the scale2ref version. Suggestions on how to avoid var_names duplication are welcome. var_values has been increased to always be large enough for the additional scale2ref variables. I do not forsee this being a problem as the names variable will always be the correct size. From my understanding of av_expr_parse_and_eval it will stop processing variables when it runs out of names even though there may be additional (potentially uninitialized) entries in the values array. The ideal solution here would be using a variable-length array but that is unsupported in C90. This patch does not remove any functionality and is strictly a feature patch. There are no API changes. Behavior does not change for any previously valid inputs. The applicable documentation has also been updated. Signed-off-by: Kevin Mark <kmark937@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter: add audio surround upmixerPaul B Mahol2017-06-01
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* examples/encode_video: slightly improve error reportingStefano Sabatini2017-05-31
|
* examples/encode_video: add logStefano Sabatini2017-05-31
| | | | This helps to visualize how the send/receive API works.
* lavc: remove libschroedinger encoding and decoding wrappersRostislav Pehlivanov2017-05-29
| | | | | | | | | The library has stopped being developed and Debian has removed it from its repositories citing security issues. The native Dirac decoder supports everything the library has and basic encoding support is still provided via the native vc2 (Dirac Pro, intra only version of Dirac) encoder. Hence, there's no reason to still support linking to the library and potentially leading users into security issues.
* doc/filters: Clarify scale2ref exampleKevin Mark2017-05-28
| | | | | Signed-off-by: Kevin Mark <kmark937@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/libav-merge: remove lines about AVFrame crop fieldsJames Almer2017-05-26
|
* doc/libav-merge: remove line about aac_adtstoascJames Almer2017-05-24
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_sidechaincompress: change default makeup gain to 1Paul B Mahol2017-05-20
| | | | | | This avoids producing out of range or clipped samples. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* avfilter/graphparser: allow specifying filter@id as filter instanceMuhammad Faiz2017-05-19
| | | | | | | | | | | | | | See http://lists.ffmpeg.org/pipermail/ffmpeg-user/2017-April/035975.html Parsed_filter_X could remain and user can override it with custom one. Example: ffplay -f lavfi "nullsrc=s=640x360, sendcmd='1 drawtext@top reinit text=Hello; 2 drawtext@bottom reinit text=World', drawtext@top=x=16:y=16:fontsize=20:fontcolor=Red:text='', drawtext@bottom=x=16:y=340:fontsize=16:fontcolor=Blue:text=''" Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>