Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-07avcodec: WBMP (Wireless Application Protocol Bitmap) image formatPeter Ross
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Peter Ross <pross@xvid.org>
2022-07-16avcodec: add Radiance HDR image format supportPaul B Mahol
2022-07-07avformat/img2enc: use unmatched filename for an invalid or missing sequence ↵Marton Balint
pattern Also warn the user that for single images -update should be used, for sequences a proper pattern should be specified. Fixes ticket #9748. Signed-off-by: Marton Balint <cus@passwd.hu>
2022-07-07avformat/img2enc: fix first image checkMarton Balint
Start image number was hardcoded to 1 for the first image check. Signed-off-by: Marton Balint <cus@passwd.hu>
2022-07-03avcodec: add PHM decoder and encoderPaul B Mahol
2022-06-05avcodec: add QOI decoder and demuxer and parser and encoder and muxerPaul B Mahol
2022-05-19avformat/img2: Add support for AVIF mux in image2Vignesh Venkatasubramanian
Add support for AVIF muxing in the image2 muxer. Tested with this example: ffmpeg -lavfi testsrc=duration=1:size=320x320 -g 1 -flags global_header -c:v libaom-av1 -f image2 img-%2d.avif Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
2022-04-23avformat/image2: add Jpeg XL as image2 formatLeo Izen
This commit adds support to libavformat for muxing and demuxing Jpeg XL images as image2 streams.
2022-04-10avcodec/vbnenc: add VBN encoderMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2022-03-16configure: Use a separate config_components.h header for $ALL_COMPONENTSMartin Storsjö
This avoids unnecessary rebuilds of most source files if only the list of enabled components has changed, but not the other properties of the build, set in config.h. Signed-off-by: Martin Storsjö <martin@martin.st>
2021-12-12avformat/img2enc: do not ignore IO errorsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-12-07lavf/img2enc: avoid a useless copy of the urlAnton Khirnov
img2enc keeps a private (and possibly truncated) copy of the url that is never modified. Just use AVFormatContext.url instead.
2021-10-03avformat/img2enc: Don't use sizeof(AVPacket)Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22Remove unnecessary avassert.h inclusionsAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-27avformat: Constify all muxer/demuxersAndreas Rheinhardt
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-02-18avcodec: add initial exr image encoderPaul B Mahol
2021-02-02avcodec: add PFM image encoderPaul B Mahol
2020-03-28ffplay, avcodec, avformat: Don't initialize before av_packet_ref()Andreas Rheinhardt
It already initializes the packet. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-01-19avformat/img2enc: add support for specifying protocol optionsMarton Balint
v2: simplified example Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-07avformat: remove avio_flush() calls from the end of write_packet functionsMarton Balint
Removing explicit avio_flush() calls helps us to buffer more data and avoid flushing the IO context too often which causes reduced IO throughput for non-streamed file output. The user can control flushing behaviour at the end of every packet using the -flush_packets option, the default typically means to flush unless a non-streamed file output is used. Therefore this change should have no adverse effect on streaming, even if it is assumed that a new packet has a clean buffer so small seekbacks within the output buffer work even when the IO context is not seekable. Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: fix writing multiple streams in write_muxed_fileMarton Balint
Maybe we should just reject multiple streams for the image2 muxer instead? Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: minor simplificationMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: cleanup IO contexts on errorMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: reindent after last commitMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: factorize piped write_packetMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-01-03avformat/img2enc: factorize writing fully muxed fileMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-01-22avformat/img2enc: mention -frames:v in error messageLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Kieran O Leary <kieran.o.leary@gmail.com>
2018-01-29avformat: migrate to AVFormatContext->urlMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-11-13avformat/img2enc: add frame_pts option for make output filenameSteven Liu
fix ticket id: #1452 when use frame_pts option, the output image name can be set with PTS of current frame. Signed-off-by: Steven Liu <lq@onvideo.cn>
2017-11-02lavf/img2enc: remove redundant option 'updatefirst'Gyan Doshi
'updatefirst' is an undocumented option redundant to older option 'update'. Since it doesn't serve as a shorthand, this patch removes it.
2017-09-26avformat/img2enc: remove av_dup_packet() callJames Almer
It's unnecessary after a call to av_packet_ref(). Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-26avformat: replace all uses of av_copy_packet()James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-08-30Add FITS MuxerParas Chadha
Signed-off-by: Paras Chadha <paraschadha18@gmail.com>
2016-11-02Revert "img2 encoder: allow %t in filename, based on patch from Yuval Adam"Michael Niedermayer
breaks API Found-by: jamrial This reverts commit 1a956c64c8eff5edecb004fc7aafd21207e6485c.
2016-11-02img2 encoder: allow %t in filename, based on patch from Yuval Adamrogerdpack
Signed-off-by: rogerdpack <rogerpack2005@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-05avformat/img2enc: Use AV_FRAME_FILENAME_FLAGS_MULTIPLE, support tee:Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-10Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis
* commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-23lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov
Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
2016-02-14avformat/img2enc: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-02-14avformat/img2enc: disable atomic file creation by defaultMarton Balint
Currently it is broken when explicitly using the file protocol, it uses an insecure temporary file name, and in commit b4431c80 disabling the option by default was already considered. Also it is not very consistent to have such an option for one particular muxer. Signed-off-by: Marton Balint <cus@passwd.hu>
2016-02-14avformat/img2enc: return error if image rename failsMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2016-02-10Merge commit '9f61abc8111c7c43f49ca012e957a108b9cc7610'Derek Buitenhuis
This also deprecates our old duplicated callbacks. * commit '9f61abc8111c7c43f49ca012e957a108b9cc7610': lavf: allow custom IO for all files Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-27avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPATDerek Buitenhuis
Libav, for some reason, merged this as a public API function. This will aid in future merges. A define is left for backwards compat, just in case some person used it, since it is in a public header. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-24lavf: allow custom IO for all filesAnton Khirnov
Some (de)muxers open additional files beyond the main IO context. Currently, they call avio_open() directly, which prevents the caller from using custom IO for such streams. This commit adds callbacks to AVFormatContext that default to avio_open2()/avio_close(), but can be overridden by the caller. All muxers and demuxers using AVIO are switched to using those callbacks instead of calling avio_open()/avio_close() directly. (de)muxers that use the URLProtocol layer directly instead of AVIO remain unconverted for now. This should be fixed in later commits.
2015-12-21lavf/img2enc: add atomic_writing optionClément Bœsch
This behaviour change caused a regression on our side recently, we might want to disable the option by default.
2015-12-04avformat: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-10-28avformat/img2enc: re enable atomic writes with split planesMichael Niedermayer
They work now after fixing the implementation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-27avformat/img2enc: Fix img2enc atomic implementation to work with split planesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-27avformat/img2enc: Disable rename&atomic writing for non file protocol and ↵Michael Niedermayer
split planes For protocols other than local files ff_rename() is not implemented For split planes support the implementation is simply wrong Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-27Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes