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
2020-02-11avcodec/libvpxenc: add a way to explicitly set temporal layer idWonkap Jang
In order for rate control to correctly allocate bitrate to each temporal layer, correct temporal layer id has to be set to each frame. This commit provides the ability to set correct temporal layer id for each frame. Signed-off-by: James Zern <jzern@google.com>
2020-02-03avcodec/libvpxenc: add VP9 temporal scalability encoding optionWonkap Jang
This commit reuses the configuration options for VP8 that enables temporal scalability for VP9. It also adds a way to enable three preset temporal structures (refer to the documentation for more detail) that can be used in offline encoding. Signed-off-by: James Zern <jzern@google.com>
2020-01-07avcodec/libvpxenc,cosmetics: prefer sizeof(var)James Zern
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2020-01-01avcodec/libvpxenc: use AV_OPT_TYPE_DICT for ts-parametersMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-11-09avcodec/libvpxenc,cosmetics: fix a typoJames Zern
predicition -> prediction
2019-11-06avcodec/libvpxenc: only allocate alpha U/V planes on size changesMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Zern <jzern@google.com>
2019-11-06avcodec/libvpxenc: fix alpha strideMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: James Zern <jzern@google.com>
2019-10-08Change libvpxenc default to crf=32.elliottk
Current default is 200kbps, which produces inconsistent results (too high for low-res, too low for hi-res). Use CRF instead, which will adapt. Affects VP9. Also have VP8 use a default bitrate of 256kbps. Signed-off-by: James Zern <jzern@google.com>
2019-09-20avcodec/libvpxenc: add ROI-based encoding support for VP8/VP9Guo, Yejun
example command line to verify it: ./ffmpeg -i input.stream -vf addroi=0:0:iw/3:ih/3:-0.8 -c:v libvpx -b:v 2M tmp.webm Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: James Zern <jzern@google.com>
2019-05-12lavc/libvpxenc: remove redundant condition checkJun Zhao
Redundant condition: '!A || B' is equivalent to '!A || (A && B)' but more clearly. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2018-12-25avcodec/libvpxenc: add VP8/9 sharpness config optionRene Claus
This commit adds configuration options to libvpxenc.c that can be used to tune the sharpness parameter for VP8 and VP9. Signed-off-by: Rene Claus <rclaus@google.com> Signed-off-by: James Zern <jzern@google.com>
2018-11-19libvpxenc,cosmetics: fix { placementJames Zern
Signed-off-by: James Zern <jzern@google.com>
2018-11-19avcodec/libvpxenc: add VP8 temporal scalability config optionsArd Oerlemans
This commit adds configuration options to libvpxenc.c that can be used to enable VP8 temporal scalability. It also adds a way to programmatically set the per-frame encoding flags which can be used to control usage and updates of reference frames while encoding with temporal scalability enabled. Signed-off-by: James Zern <jzern@google.com>
2018-11-16avcodec/libvpxenc: Add a maximum constraint of 16 encoder threads.Chirag Lathia
Signed-off-by: Chirag Lathia <clathia@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2018-11-10libvpxenc: extend auto-alt-ref rangeJames Zern
vp9 now supports [0, 6] Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2018-11-10libvpxenc,vp9: add enable-tpl optionJames Zern
enables temporal dependency model Signed-off-by: James Zern <jzern@google.com>
2018-05-22avcodec/libvpxenc: fix setting amount of threads used for encodingJames Almer
The libvpx doxy says that a value of 0 for the g_threads field is equivalent to a value of 1, whereas for avctx->thread_count it means the maximum amount of threads possible for the host system. Use av_cpu_count() to get the correct thread count when auto threads is requested. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-12-14avcodec: add metadata to identify wrappers and hardware decoderswm4
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly mark AVCodec entries that are hardware decoders or most likely hardware decoders with new AV_CODEC_CAPs. The purpose is allowing API users listing hardware decoders in a more generic way. The proposed AVCodecHWConfig does not provide this information fully, because it's concerned with decoder configuration, not information about the fact whether the hardware is used or not. AV_CODEC_CAP_HYBRID exists specifically for QSV, which can have software implementations in case the hardware is not capable. Based on a patch by Philip Langdale <philipl@overt.org>. Merges Libav commit 47687a2f8aca3f65b6fdd117b1cb66a7409a7fd1.
2017-11-29libvpxenc,vp9: add corpus-complexity optionJames Zern
Corpus VBR mode is a variant of standard VBR where the complexity distribution midpoint is passed in rather than calculated for a specific clip or chunk. The valid range is [0, 10000]. 0 (default) uses standard VBR. Signed-off-by: James Zern <jzern@google.com>
2017-11-21libvpxenc: remove pre-1.4.0 checksJames Zern
Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2017-11-17lavc/libvpxenc: add tune-content optionJames Zern
this matches the vpxenc parameter Signed-off-by: James Zern <jzern@google.com>
2017-10-23Merge commit '94eed68ace9f2416af8457fcbf142b175928c06b'James Almer
* commit '94eed68ace9f2416af8457fcbf142b175928c06b': lavc: Drop deprecated options moved to private contexts Merged-by: James Almer <jamrial@gmail.com>
2017-04-29libvpxenc: allow aq-mode 4 (equator360)James Zern
this was added in 1.6.0 Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2017-03-23lavc: Drop deprecated options moved to private contextsVittorio Giovara
Deprecated in 10/2014 and 07/2015.
2017-03-15Merge commit 'b183abfb5b6366b177cf44f244c66156257a6fd6'Clément Bœsch
* commit 'b183abfb5b6366b177cf44f244c66156257a6fd6': vpx: Support color range Decoder chunk not merged as the framework automatically copies avctx color range to the frame color range. And we already set the avctx field since cbcc88c039. Merged-by: Clément Bœsch <cboesch@gopro.com>
2017-03-06lavc/libvpxenc: add -row-mt optionKagami Hiiragi
Signed-off-by: James Zern <jzern@google.com>
2016-12-13libvpxenc: Don't spam level errors for VP8 encodesAlex Converse
Fixes "Failed to set VP9E_GET_LEVEL codec control: Codec does not implement requested capability" log messages on VP8 encodes.
2016-11-28libvpxenc: Report encoded VP9 levelAlex Converse
Report the actual level of the encoded output if a level is targeted or the level is passively tracked with a target of 0.
2016-11-22libvpxenc: Support targeting a VP9 levelAlex Converse
Levels are specified at https://www.webmproject.org/vp9/levels/
2016-10-22lavc/libvpxenc: fix -auto-alt-ref option typeKagami Hiiragi
vp9_cx_iface actually allows values in range [0..2]. This fixes ticket #5894. Signed-off-by: Kagami Hiiragi <kagami@genshiken.org> Signed-off-by: James Zern <jzern@google.com>
2016-09-17lavc/libvpxenc: Avoid vp8 transparency encoding with auto-alt-ref.Carl Eugen Hoyos
Fixes ticket #5815.
2016-07-23vpx: Support color rangeLuca Barbato
The range field has been introduced in version 1.6.0
2016-07-22libvpxenc,cosmetics: rename common fns vp8 -> vpxJames Zern
+ the context struct Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Zern <jzern@google.com>
2016-07-13libvpx: Enable vp9 alpha encodingVignesh Venkatasubramanian
Chrome canary now supports decoding of VP9 streams with alpha channel [1]. Add support to ffmpeg for creating such files. [1] https://codereview.chromium.org/2096813002/ Reviewed-by: James Zern <jzern@google.com> Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
2016-02-23libvpxenc: quiet unused-variable warningJames Zern
with older versions of libvpx since: 432be63 lavc/libvpx: Fix support for RGB colorspace. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: James Zern <jzern@google.com>
2016-02-19lavc/libvpx: Reindent after last commit.Carl Eugen Hoyos
2016-02-19lavc/libvpx: Fix support for RGB colorspace.Carl Eugen Hoyos
Reported and tested by Nicolas George. Fixes ticket #5249.
2016-02-19lavc/libvpx: Fix high-bitdepth pix_fmts on big endian.Carl Eugen Hoyos
2016-02-07libvpxenc: Allow setting tune parameterTimothy Gu
2016-01-28Merge commit '1482aff2048511b821ff9feac19426113cc641a2'Derek Buitenhuis
* commit '1482aff2048511b821ff9feac19426113cc641a2': lavc: Move noise_reduction to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-28Merge commit '0ac9f33a9e69c64eee592791be3c5441a6a3d6b7'Derek Buitenhuis
* commit '0ac9f33a9e69c64eee592791be3c5441a6a3d6b7': lavc: Move frame_skip_* to codec private options Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-21lavc: Move noise_reduction to codec private optionsVittorio Giovara
This option is only used by mpegvideoenc, x264, xavs, and vpx. It is a very codec-specific option, so deprecate the global variant. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-21lavc: Move frame_skip_* to codec private optionsVittorio Giovara
These options are only used by mpegvideoenc and vpx. They are very codec-specific options, so deprecate the global variants. Add an allowed value to the private options for frame_skip_cmp which seems to have been forgotten, but perfectly working. The libvpx frame dropping feature uses one of such option (frame_skip_threshold) without the other three. For this reason rename the option to something more consistent with the other libvpx variables. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-01-09libvpx: Support setting color range for vp9.Sasi Inguva
Pass through color range to vp9 encoder. Parse color range in libvpxdec.c. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2016-01-09lavc/libvpxenc: Improve documentation for option cpu-used.Carl Eugen Hoyos
Fixes ticket #5140. Reviewed-by: James Zern
2016-01-01lavc: add vp9 profiles to AVCodecDescriptorHendrik Leppkes
2015-12-21lavc/libvpxenc: replace round by lrintGanesh Ajjanagadde
Mostly cosmetic here. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
2015-12-17Merge commit '03afb62e83516141ba999536fc97575faefb98af'Hendrik Leppkes
* commit '03afb62e83516141ba999536fc97575faefb98af': libvpxenc: export CPB props side data Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-06libvpxenc: export CPB props side dataAnton Khirnov
2015-12-04avcodec: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch