summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAge
* doc/APIchanges: update for the new channel layout APIAnton Khirnov2022-03-19
|
* Keep including the full version.h when headers are included externallyMartin Storsjö2022-03-19
| | | | | | | | | This avoids unnecessary churn and build breakage for users, by making sure the whole version.h is included like it has been so far, while keeping the benefit of not needing to rebuild most files in the ffmpeg tree on minor/micro bumps. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc/filters: add some afftdn examplesPaul B Mahol2022-03-17
|
* doc/filters: mention sample_noise/sn options tooPaul B Mahol2022-03-17
| | | | Also simplify commands section.
* avfilter/af_afftdn: expose floor offset factor optionPaul B Mahol2022-03-17
|
* doc: Add an entry to APIchanges about changes to version.h and version_major.hMartin Storsjö2022-03-16
| | | | | | | | Also bump the minor versions of all libraries, to signify the API change of splitting the version.h headers and adding the new version_major.h header. Signed-off-by: Martin Storsjö <martin@martin.st>
* doc/examples: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* ffmpeg: convert to new channel layout-APIJames Almer2022-03-15
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: Add dv marker bsfMichael Niedermayer2022-03-14
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/vf_fieldhint: add pattern mode of filteringPaul B Mahol2022-03-14
|
* avfilter/af_afftdn: allow user to control number of bandsPaul B Mahol2022-03-14
|
* avfilter/af_afftdn: add way to control noise floor link for >1 channelsPaul B Mahol2022-03-13
|
* avfilter/af_afftdn: allow user to change ratio factorPaul B Mahol2022-03-13
| | | | | While here change default to lower value as previous value were causing too much smearing on time axis of spectrogram.
* avutil/cpu: add AVX512 Icelake flagWu Jianhua2022-03-10
| | | | | | Signed-off-by: Wu Jianhua <jianhua.wu@intel.com> Reviewed-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: add DFPWM raw formatJack Bruienne2022-03-10
| | | | | | | | | | | | | This patch builds on my previous DFPWM codec patch, adding a raw audio format to be able to read/write the raw files that are most commonly used (as no other container format supports it yet). The muxers are mostly copied from the PCM demuxer and the raw muxers, as DFPWM is typically stored as raw data. Please see the previous patch for more information on DFPWM. Signed-off-by: Jack Bruienne <jackbruienne@gmail.com>
* avcodec: add DFPWM1a codecJack Bruienne2022-03-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From the wiki page (https://wiki.vexatos.com/dfpwm): > DFPWM (Dynamic Filter Pulse Width Modulation) is an audio codec > created by Ben “GreaseMonkey” Russell in 2012, originally to be used > as a voice codec for asiekierka's pixmess, a C remake of 64pixels. > It is a 1-bit-per-sample codec which uses a dynamic-strength one-pole > low-pass filter as a predictor. Due to the fact that a raw DPFWM decoding > creates a high-pitched whine, it is often followed by some post-processing > filters to make the stream more listenable. It has recently gained popularity through the ComputerCraft mod for Minecraft, which added support for audio through this codec, as well as the Computronics expansion which preceeded the official support. These both implement the slightly adjusted 1a version of the codec, which is the version I have chosen for this patch. This patch adds a new codec (with encoding and decoding) for DFPWM1a. The codec sources are pretty simple: they use the reference codec with a basic wrapper to connect it to the FFmpeg AVCodec system. To clarify, the codec does not have a specific sample rate - it is provided by the container (or user), which is typically 48000, but has also been known to be 32768. The codec does not specify channel info either, and it's pretty much always used with one mono channel. However, since it appears that libavcodec expects both sample rate and channel count to be handled by either the codec or container, I have made the decision to allow multiple channels interleaved, which as far as I know has never been used, but it works fine here nevertheless. The accompanying raw format has a channels option to set this. (I expect most users of this will not use multiple channels, but it remains an option just in case.) This patch will be highly useful to ComputerCraft developers who are working with audio, as it is the standard format for audio, and there are few user-friendly encoders out there, and even fewer decoders. It will streamline the process for importing and listening to audio, replacing the need to write code or use tools that require very specific input formats. You may use the CraftOS-PC program (https://www.craftos-pc.cc) to test out DFPWM playback. To use it, run the program and type this command: "attach left speaker" Then run "speaker play <file.dfpwm>" for each file. The app runs in a sandbox, so files have to be transferred in first; the easiest way to do this is to simply drag the file on the window. (Or copy files to the folder at https://www.craftos-pc.cc/docs/saves.) Sample DFPWM files can be generated with an online tool at https://music.madefor.cc. This is the current best way to encode DFPWM files. Simply drag an audio file onto the page, and it will encode it, giving a download link on the page. I've made sure to update all of the docs as per Developer§7, and I've tested it as per section 8. Test files encoded to DFPWM play correctly in ComputerCraft, and other files that work in CC are correctly decoded. I have also verified that corrupt files do not crash the decoder - this should theoretically not be an issue as the result size is constant with respect to the input size. Signed-off-by: Jack Bruienne <jackbruienne@gmail.com>
* avfilter/af_lv2: add commands supportPaul B Mahol2022-03-10
|
* avfilter/af_anlmdn: fix possible array overflow and increase options limitsPaul B Mahol2022-03-09
|
* lavfi/drawtext: Add %N for drawing fractions of a secondThilo Borgmann2022-03-08
| | | | Suggested-By: ffmpeg@fb.com
* avfilter/f_sendcmd: export width and height tooPaul B Mahol2022-03-07
|
* avfilter/vsrc_gradients: add radial gradientsPaul B Mahol2022-03-06
|
* avfilter/avf_ahistogram: add new histogram mode optionPaul B Mahol2022-03-05
|
* avfilter/f_graphmonitor: add several more flagsPaul B Mahol2022-03-04
|
* avfilter/avf_abitscope: refactor code & add trace modePaul B Mahol2022-03-03
|
* doc/filters: correct default value of lut filtersGyan Doshi2022-03-03
|
* avfilter/drawtext: change reload value to an intervalGyan Doshi2022-03-02
| | | | Allows user to specify a frame interval at which textfile is reloaded.
* doc/bitstream_filters: add missing entry for the time_base setts optionJames Almer2022-03-01
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_unsharp: add support for alpha formatsPaul B Mahol2022-03-01
|
* avfilter/af_dynaudnorm: add support for overlapping framesPaul B Mahol2022-02-28
|
* avcodec/setts_bsf: add an option to set output time baseJames Almer2022-02-28
| | | | | | And a relevant constant to use it in expressions. Signed-off-by: James Almer <jamrial@gmail.com>
* doc/bitstream_filters: add missing entry for the duration setts optionJames Almer2022-02-28
| | | | | | Forgotten in 825fb5f1cb1a1a64f6d2e4066639c88f224bf971. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/setts_bsf: add constants to modify packet durationJames Almer2022-02-28
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/setts_bsf: add NEXT_PTS/DTS expression constantsJames Almer2022-02-28
| | | | | | | They correspond to the relevant fields from the packet that follows the one where the expressions are being applied. Signed-off-by: James Almer <jamrial@gmail.com>
* libavcodec/qsvenc: add mbbrc to hevc_qsvWenbin Chen2022-02-28
| | | | | | | | Add mbbrc to hevc_qsv For detailed description, please see "mbbrc" part in: https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxextcodingoption2 Signed-off-by: Wenbin Chen <wenbin.chen@intel.com>
* libavcodec/vaapi_encode: Add async_depth to vaapi_encoder to increase ↵Wenbin Chen2022-02-28
| | | | | | | | | | | | | | | | performance Fix: #7706. After commit 5fdcf85bbffe7451c2, vaapi encoder's performance decrease. The reason is that vaRenderPicture() and vaSyncBuffer() are called at the same time (vaRenderPicture() always followed by a vaSyncBuffer()). Now I changed them to be called in a asynchronous way, which will make better use of hardware. Async_depth is added to increase encoder's performance. The frames that are sent to hardware are stored in a fifo. Encoder will sync output after async fifo is full. Signed-off-by: Wenbin Chen <wenbin.chen@intel.com> Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* avfilter/af_dynaudnorm: allow to filter subset of channelsPaul B Mahol2022-02-27
|
* avfilter/af_afftdn: add more verbose options aliasesPaul B Mahol2022-02-27
|
* avcodec/libsvtav1: update some options and defaultsJames Almer2022-02-24
| | | | | | And bump the minimum required version to 0.9.0 Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/libsvtav1: add a svtav1-params option to pass a list of key=value ↵James Almer2022-02-24
| | | | | | parameters Signed-off-by: James Almer <jamrial@gmail.com>
* doc/muxers: note video_track_timecale in movGyan Doshi2022-02-24
|
* avfilter/af_loudnorm: increase max allowed LRAPaul B Mahol2022-02-23
|
* doc/muxers: add entry for empty_hdlr_name in movGyan Doshi2022-02-17
|
* avfilter/vf_mix: add planes optionPaul B Mahol2022-02-15
|
* avfilter/af_surround: change x/y spread defaultsPaul B Mahol2022-02-12
| | | | Previous default value of 1.0 is producing lesser quality channels.
* avfilter: add dialogue enhance audio filterPaul B Mahol2022-02-12
|
* avfilter/af_compensationdelay: add commands supportPaul B Mahol2022-02-11
|
* avutil/fifo: Deprecate old FIFO APIAnton Khirnov2022-02-07
| | | | | | | | Users should switch to the superior AVFifo API. Unfortunately AVFifoBuffer fields cannot be marked as deprecated because it would trigger a warning wherever fifo.h is #included, due to inlined av_fifo_peek2().
* lavu/fifo: add a flag for automatically growing the FIFO as neededAnton Khirnov2022-02-07
| | | | | This will not increase the FIFO beyond 1MB, unless the caller explicitly specifies otherwise.
* lavu/fifo: Add new AVFifo API based upon the notion of element sizeAnton Khirnov2022-02-07
| | | | | | | | | | | | | | | | | | Many AVFifoBuffer users operate on fixed-size elements (e.g. pointers), but the current FIFO API deals exclusively in bytes, requiring extra complexity in all these callers. Add a new AVFifo API creating a FIFO with an element size that may be larger than a byte. All operations on such a FIFO then operate on complete elements. This API does not reuse AVFifoBuffer and its API at all, but instead uses an opaque struct called AVFifo. The AVFifoBuffer API will be deprecated in a future commit once all of its users have been switched to the new API. Not reusing AVFifoBuffer also allowed to use the full range of size_t from the beginning.
* lavc/qsvenc: add tile encoding support for VP9Haihao Xiang2022-01-29
| | | | | | | Add -tile_rows and -tile_cols options to specify the number of tile rows and columns Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>