summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* doc/developer: remove merge request method of contributingLou Logan2018-04-061-4/+2
| | | | | | | | | | This seems to confuse Github users into thinking that we may accept pull requests. We do not accept pull requests. Sending patches to the ffmpeg-devel mailing list is our preferred method for users to contribute code. Signed-off-by: Lou Logan <lou@lrcd.com>
* doc/filters: some more details and modified example to zmq/azmqBela Bodecs2018-04-051-6/+22
| | | | | | | | | Info about default value of bind_address option and its abbreviated version (b). Example modified to have named instanced filter and to show its use. Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu> Signed-off-by: Lou Logan <lou@lrcd.com>
* Add Sega FILM muxerMisty De Meo2018-04-051-1/+1
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* doc/developer: update link to "sign-off" infoLou Logan2018-04-051-3/+3
| | | | | | Found by Hendrik Schreiber. Signed-off-by: Lou Logan <lou@lrcd.com>
* avutil/pixdesc: deprecate AV_PIX_FMT_FLAG_PSEUDOPALwm42018-04-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PSEUDOPAL pixel formats are not paletted, but carried a palette with the intention of allowing code to treat unpaletted formats as paletted. The palette simply mapped the byte values to the resulting RGB values, making it some sort of LUT for RGB conversion. It was used for 1 byte formats only: RGB4_BYTE, BGR4_BYTE, RGB8, BGR8, GRAY8. The first 4 are awfully obscure, used only by some ancient bitmap formats. The last one, GRAY8, is more common, but its treatment is grossly incorrect. It considers full range GRAY8 only, so GRAY8 coming from typical Y video planes was not mapped to the correct RGB values. This cannot be fixed, because AVFrame.color_range can be freely changed at runtime, and there is nothing to ensure the pseudo palette is updated. Also, nothing actually used the PSEUDOPAL palette data, except xwdenc (trivially changed in the previous commit). All other code had to treat it as a special case, just to ignore or to propagate palette data. In conclusion, this was just a very strange old mechnaism that has no real justification to exist anymore (although it may have been nice and useful in the past). Now it's an artifact that makes the API harder to use: API users who allocate their own pixel data have to be aware that they need to allocate the palette, or FFmpeg will crash on them in _some_ situations. On top of this, there was no API to allocate the pseuo palette outside of av_frame_get_buffer(). This patch not only deprecates AV_PIX_FMT_FLAG_PSEUDOPAL, but also makes the pseudo palette optional. Nothing accesses it anymore, though if it's set, it's propagated. It's still allocated and initialized for compatibility with API users that rely on this feature. But new API users do not need to allocate it. This was an explicit goal of this patch. Most changes replace AV_PIX_FMT_FLAG_PSEUDOPAL with FF_PSEUDOPAL. I first tried #ifdefing all code, but it was a mess. The FF_PSEUDOPAL macro reduces the mess, and still allows defining FF_API_PSEUDOPAL to 0. Passes FATE with FF_API_PSEUDOPAL enabled and disabled. In addition, FATE passes with FF_API_PSEUDOPAL set to 1, but with allocation functions manually changed to not allocating a palette.
* avcodec/avpacket: add av_packet_make_refcounted()James Almer2018-04-011-0/+3
| | | | | | | | It works as a drop in replacement for the deprecated av_dup_packet(), to ensure a packet is reference counted. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* lav*,tests: remove several register_all callsJosh de Kock2018-04-024-8/+0
| | | | | | | avdevice_register_all() is still required to register devices into lavf (this is required due to lavd being somewhat of a hack). Signed-off-by: Josh de Kock <josh@itanimul.li>
* avfilter: bump version for the latest API changeJames Almer2018-04-011-1/+1
| | | | | | And fix the entry in doc/APIchanges Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/af_amix: add weights optionPaul B Mahol2018-04-011-0/+3
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Revert "lavd: add new API for iterating input and output devices"Josh de Kock2018-03-311-5/+0
| | | | | | | | | | This reverts commit 0fd475704e871ef3a535947596a012894bae3cbd. Revert "lavd: fix iterating of input and output devices" This reverts commit ce1d77a5e7cebce11074bf6f9e38ad6da37338ff. Signed-off-by: Josh de Kock <josh@itanimul.li>
* lavfi: add new iteration APIJosh de Kock2018-03-312-4/+6
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* avfilter/avf_showvolume: let fade be also exactly 0Paul B Mahol2018-03-311-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* doc/avfilter/showvolume : fix doc for orientation paramMartin Vignali2018-03-311-2/+2
| | | | possible value are h or v.
* doc/encoders: list missing options for x265Gyan Doshi2018-03-301-0/+6
| | | | | | Add entries for crf and profile in libx265 section Signed-off-by: Lou Logan <lou@lrcd.com>
* Merge commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57'James Almer2018-03-291-0/+140
|\ | | | | | | | | | | | | * commit 'a2fc8dbae85339d1b418d296f2982b6c04c53c57': Add Haivision SRT protocol Merged-by: James Almer <jamrial@gmail.com>
| * Add Haivision SRT protocolSven Dueking2018-03-281-0/+140
| | | | | | | | | | | | | | | | The protocol requires libsrt (https://github.com/Haivision/srt) to be installed Signed-off-by: Sven Dueking <sven.dueking@nablet.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | doc/general.texi: fix warningPaul B Mahol2018-03-291-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add eac3_core bitstream filterPaul B Mahol2018-03-291-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit 'c438899a706422b8362a13714580e988be4d638b'James Almer2018-03-281-0/+10
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'c438899a706422b8362a13714580e988be4d638b': Add AV1 video decoding support through libaom This contains some extra changes taken from the libvpx decoder wrapper, most of them contained in the set_pix_fmt() function. Merged-by: James Almer <jamrial@gmail.com>
| * Add AV1 video decoding support through libaomLuca Barbato2018-03-121-0/+10
| | | | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* | doc/examples/hw_decode: Remove logically dead code in decode_write()Michael Niedermayer2018-03-271-3/+1
| | | | | | | | | | | | | | Fixes CID1415951 Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/hw_decode: Remove useless NULL checkMichael Niedermayer2018-03-271-2/+1
| | | | | | | | | | Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/APIchanges: fix lavu version for the AVEncryptionInfo additionJames Almer2018-03-271-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/filter.texi: fix some spotted typosPaul B Mahol2018-03-251-3/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add a subcharenc mode that disables UTF-8 checkwm42018-03-251-0/+3
| | | | | | | | | | | | | | | | This is for applications which want to explicitly check for invalid UTF-8 manually, and take actions that are better than dropping invalid subtitles silently. (It's pretty much silent because sporadic avcodec error messages are so common that you can't reasonably display them in a prominent and meaningful way in a application GUI.)
* | avcodec/avcodec.h: Add encryption info side data.Jacob Trimble2018-03-241-0/+4
| | | | | | | | | | | | | | | | This new side-data will contain info on how a packet is encrypted. This allows the app to handle packet decryption. Signed-off-by: Jacob Trimble <modmaker@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avfilter/avf_showvolume: implement basic rms metering modePaul B Mahol2018-03-231-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | doc/filters: itemize channelmap examplesPaul B Mahol2018-03-231-0/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/avf_showwaves: add draw mode which controls how single sample is drawnPaul B Mahol2018-03-231-0/+14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/af_channelsplit: add channels optionPaul B Mahol2018-03-231-0/+18
| | | | | | | | | | | | So user can pick which channels to extract. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/avf_showvolume: add background opacity optionPaul B Mahol2018-03-221-1/+4
| | | | | | | | | | | | This makes output more visible when overlayed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/avpacket: add av_packet_make_writable()James Almer2018-03-211-0/+3
| | | | | | | | | | | | | | Useful as well to quickly make a packet reference counted when it isn't already so. Signed-off-by: James Almer <jamrial@gmail.com>
* | avfilter/vf_waveform: add orange graticulePaul B Mahol2018-03-211-0/+3
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avfilter/vf_waveform: add xflat modePaul B Mahol2018-03-211-0/+3
| | | | | | | | | | | | Also use macros for xflat and aflat mode. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavc: Add filter_units bitstream filterMark Thompson2018-03-181-0/+29
| | | | | | | | | | | | This can remove units with types in or not in a given set from a stream. For example, it can be used to remove all non-VCL NAL units from an H.264 or H.265 stream.
* | lavu/frame: add QP side datawm42018-03-181-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
* | libavformat/dashenc: Option to set timeout for socket I/O operationRavindra2018-03-181-0/+2
| |
* | avutil: bump version after the latest AVOption flag additionJames Almer2018-03-161-0/+3
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '0711d142997b2662ba9198e607015b06c6eed0d8'James Almer2018-03-151-32/+69
|\ \ | |/ | | | | | | | | | | * commit '0711d142997b2662ba9198e607015b06c6eed0d8': examples: Use new API for transcoding example Merged-by: James Almer <jamrial@gmail.com>
| * examples: Use new API for transcoding exampleAndreas Unterweger2018-03-071-32/+69
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avformat/hlsenc: Option to set timeout for socket I/O operationRavindra2018-03-141-0/+3
| | | | | | | | Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
* | avcodec/hapqa_extract_bsf : add new bsf filterMartin Vignali2018-03-131-0/+25
| | | | | | | | | | convert HapQA data to HAPQ or HAPAlphaOnly by copying the corresponding texture
* | avfilter: add drmeter audio filterPaul B Mahol2018-03-111-0/+15
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avutil: add missing version bump for AV_CRC_8_EBUJames Almer2018-03-101-0/+3
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/mediacodecdec: add delay_flush optionAman Gupta2018-03-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default behavior of the mediacodec decoder before this commit was to delay flushes until all pending hardware frames were returned to the decoder. This was useful for certain types of applications, but was unexpected behavior for others. The new default behavior with this commit is now to execute flushes immediately to invalidate all pending frames. The old behavior can be enabled by setting delay_flush=1. With the new behavior, video players implementing seek can simply call flush on the decoder without having to worry about whether they have one or more mediacodec frames still buffered in their rendering pipeline. Previously, all these frames had to be explictly freed (or rendered) before the seek/flush would execute. The new behavior matches the behavior of all other lavc decoders, reducing the amount of special casing required when using the mediacodec decoder. Signed-off-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
* | sbc: add raw muxer for SBCAurelien Jacobs2018-03-071-1/+1
| |
* | sbc: implement SBC encoder (low-complexity subband codec)Aurelien Jacobs2018-03-071-1/+1
| | | | | | | | This was originally based on libsbc, and was fully integrated into ffmpeg.
* | sbc: add raw demuxer for SBCAurelien Jacobs2018-03-071-0/+1
| |
* | sbc: implement SBC decoder (low-complexity subband codec)Aurelien Jacobs2018-03-071-0/+2
| | | | | | | | This was originally based on libsbc, and was fully integrated into ffmpeg.
* | doc/bitstream_filters: correct dump_extra bsfs docs.Jun Zhao2018-03-031-5/+6
| | | | | | | | | | | | | | | | | | Update dump_extra bit stream filter docs to follow current code implement. Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lq@onvideo.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
OpenPOWER on IntegriCloud