Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Builder ffmpeg-solaris10-sparc Build #12532

Results:

Failed shell_2 shell_3 shell_4 shell_5

SourceStamp:

Projectffmpeg
Repositoryhttps://git.ffmpeg.org/ffmpeg.git
Branchmaster
Revisiona700f0f72d1f073e5adcfbb16f4633850b0ef51c
Got Revisiona700f0f72d1f073e5adcfbb16f4633850b0ef51c
Changes45 changes

BuildSlave:

unstable10s

Reason:

The SingleBranchScheduler scheduler named 'schedule-ffmpeg-solaris10-sparc' triggered this build

Steps and Logfiles:

  1. git update ( 36 secs )
    1. stdio
  2. shell 'gsed -i ...' ( 0 secs )
    1. stdio
  3. shell_1 'gsed -i ...' ( 0 secs )
    1. stdio
  4. shell_2 'gsed -i ...' failed ( 0 secs )
    1. stdio
  5. shell_3 './configure --samples="../../../ffmpeg/fate-suite" ...' failed ( 7 secs )
    1. stdio
    2. config.log
  6. shell_4 'gmake fate-rsync' failed ( 0 secs )
    1. stdio
  7. shell_5 '../../../ffmpeg/fate.sh ../../../ffmpeg/fate_config.sh' failed ( 0 secs )
    1. stdio
    2. configure.log
    3. compile.log
    4. test.log

Build Properties:

NameValueSource
branch master Build
builddir /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc slave
buildername ffmpeg-solaris10-sparc Builder
buildnumber 12532 Build
codebase Build
got_revision a700f0f72d1f073e5adcfbb16f4633850b0ef51c Git
project ffmpeg Build
repository https://git.ffmpeg.org/ffmpeg.git Build
revision a700f0f72d1f073e5adcfbb16f4633850b0ef51c Build
scheduler schedule-ffmpeg-solaris10-sparc Scheduler
slavename unstable10s BuildSlave
workdir /export/home/buildbot-unstable10s/slave/ffmpeg-solaris10-sparc slave (deprecated)

Forced Build Properties:

NameLabelValue

Responsible Users:

  1. Maryla Ustarroz-Calonge
  2. Nicolas Gaullier
  3. Niklas Haas
  4. Patrick Wang
  5. Zsolt Vadasz

Timing:

StartTue Sep 2 19:24:11 2025
EndTue Sep 2 19:24:55 2025
Elapsed44 secs

All Changes:

:

  1. Change #244286

    Category ffmpeg
    Changed by Zsolt Vadasz <zsolt_vadaszohnoyoudont@protonmail.com>
    Changed at Tue 02 Sep 2025 15:56:02
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 5d7e4b7496bc5f6327202d4ed53052311abded2f

    Comments

    libavfilter/vf_minterpolate: Hoist hot loop in `set_frame_data`
    Signed-off-by: Zsolt Vadasz <zsolt_vadasz@protonmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • libavfilter/vf_minterpolate.c
  2. Change #244287

    Category ffmpeg
    Changed by Zsolt Vadasz <zsolt_vadaszohnoyoudont@protonmail.com>
    Changed at Tue 02 Sep 2025 15:56:23
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 173988aa0c2b8710e47a0b4d3651b1fe6d2166ce

    Comments

    libavfilter/vf_minterpolate: Use local variable in array
    Signed-off-by: Zsolt Vadasz <zsolt_vadasz@protonmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • libavfilter/vf_minterpolate.c
  3. Change #244288

    Category ffmpeg
    Changed by Patrick Wang <mail6543210ohnoyoudont@gmail.com>
    Changed at Tue 02 Sep 2025 15:56:27
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision d7173e982ec815dcf70999c8683c465b99ce249c

    Comments

    fftools/ffmpeg: fix gracefully shutdown
    d119ae2fd82a494d9430ff4d4fc262961a68c598 removed the loop-breaking condition
    received_sigterm.
    Thus, signals no longer gracefully shutdown ffmpeg.
    
    Fixes: #10834
    
    Signed-off-by: Patrick Wang <mail6543210@gmail.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • fftools/ffmpeg.c
  4. Change #244289

    Category ffmpeg
    Changed by Maryla Ustarroz-Calonge <marylaohnoyoudont@google.com>
    Changed at Tue 02 Sep 2025 15:56:56
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a282500087591ef5a22942d204f5743afa2265d4

    Comments

    avcodec/libaom: Add HDR10+ metadata support
    Signed-off-by: Maryla Ustarroz-Calonge <maryla@google.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • Changelog
    • libavcodec/libaomdec.c
    • libavcodec/libaomenc.c
  5. Change #244290

    Category ffmpeg
    Changed by Maryla Ustarroz-Calonge <marylaohnoyoudont@google.com>
    Changed at Tue 02 Sep 2025 16:05:45
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 5e210f0552b29c7c369662e12674e724441ac069

    Comments

    avcodec/libaom: Add test for HDR10+ metadata support
    Signed-off-by: Maryla Ustarroz-Calonge <maryla@google.com>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • tests/Makefile
    • tests/fate/av1.mak
    • tests/ref/fate/libaom-hdr10-plus
  6. Change #244292

    Category ffmpeg
    Changed by Nicolas Gaullier <nicolas.gaullierohnoyoudont@cji.paris>
    Changed at Tue 02 Sep 2025 16:05:46
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 9bd10fa32cce741fd0dd900ab9db28cc00e3c9b7

    Comments

    avcodec/aac_ac3_parser: remove unused USAC/ADTS code
    ff_adts_header_parse() parse the object_type from a 2 bits field.
    See also 696ea1c2236842572df88d573e24a39be3f19c98.
    
    Partially reverts 64bb91fd3b5a00a8849531c7e8dd207f2a626096.
    
    Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • libavcodec/aac_ac3_parser.c
  7. Change #244293

    Category ffmpeg
    Changed by Nicolas Gaullier <nicolas.gaullierohnoyoudont@cji.paris>
    Changed at Tue 02 Sep 2025 16:05:46
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 593b4269027ea6d514b8505d317f6f131693c84e

    Comments

    avcodec/aac_ac3_parser: simplify
    Use ff_adts_header_parse_buf() wrapper to simplify as GetBitContext is
    no longer needed (it was introduced for USAC).
    
    Partially reverts 64bb91fd3b5a00a8849531c7e8dd207f2a626096.
    
    Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • libavcodec/aac_ac3_parser.c
  8. Change #244294

    Category ffmpeg
    Changed by Nicolas Gaullier <nicolas.gaullierohnoyoudont@cji.paris>
    Changed at Tue 02 Sep 2025 16:05:46
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision f24474dcfc719e29dc87e6483d6187ea233f4e0f

    Comments

    avcodec/aac_ac3_parser: do not override the profile set by the decoder
    Parsing the ADTS header is not enough to detect HE-AAC v1/v2.
    
    Regression since 64bb91fd3b5a00a8849531c7e8dd207f2a626096.
    
    Fixes #11600
    
    Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
    Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

    Changed files

    • libavcodec/aac_ac3_parser.c
  9. Change #244295

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:05:50
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 22929bd044cdf971ea2a5b906c6fadbe653a7c19

    Comments

    avutil/frame: add AVFrame.alpha_mode
    FFmpeg currently handles alpha in a quasi-arbitrary way. Some filters/codecs
    assume alpha is premultiplied, others assume it is independent. If there is
    to be any hope for order in this chaos, we need to start by defining an enum
    for the possible range of values.

    Changed files

    • doc/APIchanges
    • libavutil/frame.c
    • libavutil/frame.h
    • libavutil/pixdesc.c
    • libavutil/pixdesc.h
    • libavutil/pixfmt.h
    • libavutil/version.h
  10. Change #244296

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:05:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision dbcdcaede8544705af0c3d63d0831fe20d5c1ff4

    Comments

    avfilter/formats: fix param name on ff_set_common_color_spaces*
    Purely cosmetic.

    Changed files

    • libavfilter/formats.c
    • libavfilter/formats.h
  11. Change #244297

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:05:51
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 8b375b2ffd4377909180241cdc65d63d372a35a3

    Comments

    avfilter/avfiltergraph: allow different conversion filters per merger
    Instead of hard-coding the assumption that all video properties are handled
    by vf_scale, generalize the struct slightly to allow different conversion
    filters for each property being merged. The avfiltergraph code creates a list
    of conversion filters needed and inserts all of them at once.
    
    Because a conversion filter might itself e.g. not support all formats,
    it's possible that we need to go through the whole process of negotiating
    formats multiple times, and keep adding conversion filters until all of them
    are settled. Do this by simply jumping back to the beginning of the loop
    to ensure that the `convertor_count` field remains contiguous.

    Changed files

    • libavfilter/avfiltergraph.c
    • libavfilter/formats.c
    • libavfilter/formats.h
  12. Change #244298

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:08
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision eea99a77eda6aa843a52e1996fcf10408248aa38

    Comments

    avfilter: add link negotiation for AVAlphaMode

    Changed files

    • doc/APIchanges
    • libavfilter/avfilter.c
    • libavfilter/avfilter.h
    • libavfilter/avfiltergraph.c
    • libavfilter/formats.c
    • libavfilter/formats.h
    • libavfilter/version.h
    • libavfilter/video.c
  13. Change #244299

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:09
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 6bac13d20a3177e511cf7531ab9eeeb0f438a8e4

    Comments

    avfilter/vf_premultiply: signal correct alpha mode
    Set the output link according to the chosen direction, and the input link
    to its opposite (unless the input is not in-place, in which case there is no
    alpha channel).
    
    Also update the alpha mode on the output frame, since it may differ.

    Changed files

    • libavfilter/vf_premultiply.c
  14. Change #244300

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:09
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c39a67e64f71943e7c23c11f5d8d233ef66d9259

    Comments

    avfilter/vf_premultiply: add dynamic variant of this filter
    We need a filter that can premultiply and unpremultiply the alpha channel
    dynamically, on demand, in response to the negotiated alpha mode, analogous
    to how vf_scale operates. Introduce a new filter "vf_premultiply_dynamic"
    that accomplishes this.

    Changed files

    • doc/filters.texi
    • libavfilter/allfilters.c
    • libavfilter/vf_premultiply.c
  15. Change #244301

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:09
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision fb3a4f61806bebf68ccff188256c5faf1d71a098

    Comments

    avfilter/formats: use vf_premultiply_dynamic for alpha mode autoconversion

    Changed files

    • libavfilter/formats.c
  16. Change #244302

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:24
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision ecebf9c69351f011a2e43079621bcdd5ab23a4d9

    Comments

    avcodec/avcodec: add AVCodecContext.alpha_mode
    Following in the footsteps of the previous commit, this commit adds the
    new fields to AVCodecContext so we can start properly setting it on codecs,
    as well as limiting the list of supported options to detect a format mismatch
    during encode.
    
    This commit also sets up the necessary infrastructure to start using the
    newly added field in all codecs.

    Changed files

    • doc/APIchanges
    • doc/codecs.texi
    • libavcodec/avcodec.c
    • libavcodec/avcodec.h
    • libavcodec/codec_internal.h
    • libavcodec/codec_par.c
    • libavcodec/codec_par.h
    • libavcodec/decode.c
    • libavcodec/options_table.h
    • libavcodec/version.h
  17. Change #244303

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 02d531ca05eaf3cc6e9299d45ac2cc60d8c8eac7

    Comments

    avcodec/encode: enforce alpha mode compatibility at encode time
    Error out if trying to encode frames with an incompatible alpha mode.

    Changed files

    • libavcodec/encode.c
  18. Change #244304

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision d6ce720765d0684d596f3238ba77f6c16c0cee44

    Comments

    avcodec/png: set correct alpha mode
    PNG always uses straight alpha.
    
    cf. https://www.w3.org/TR/PNG-Rationale.html
    
    > Although each form of alpha storage has its advantages, we did not want to
    > require all PNG viewers to handle both forms. We standardized on non-
    > premultiplied alpha as being the lossless and more general case.

    Changed files

    • libavcodec/pngdec.c
    • libavcodec/pngenc.c
  19. Change #244305

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 702a5ac29b5c402ab6ff9e40621e6e12f38826ca

    Comments

    avcodec/exr: set correct alpha mode
    OpenEXR always uses premultiplied alpha, as per the spec.
    
    cf. https://openexr.com/en/latest/TechnicalIntroduction.html
    
    > By convention, all color channels are premultiplied by alpha, so that
    > `foreground + (1-alpha) x background` performs a correct “over” operation.
    > (See Premultiplied vs. Un-Premultiplied Color Channels)
    >
    > In the visual effects industry premultiplied color channels are the norm,
    > and application software packages typically use internal image
    > representations that are also premultiplied.

    Changed files

    • libavcodec/exr.c
    • libavcodec/exrenc.c
  20. Change #244306

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a88cc0a53ea55576431c74ebd4c0a982d1052e99

    Comments

    avcodec/libjxl: set correct alpha mode
    JPEG XL supports both premultiplied and straight alpha, and the basic info
    struct contains signalling for this. Forward the correct tagging on decode
    and encode.

    Changed files

    • libavcodec/libjxldec.c
    • libavcodec/libjxlenc.c
  21. Change #244307

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 51572ff08abe44bc042a6004459bd1326d31bbce

    Comments

    avcodec/libjxlenc: also attach extra channel info
    Works around a bug where older versions of libjxl don't correctly forward
    the alpha channel information to the extra channel info.

    Changed files

    • libavcodec/libjxlenc.c
  22. Change #244308

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 65580592c91be88065951adac4403b5b94b88984

    Comments

    avcodec/jpegxl: parse and signal correct alpha mode
    This header bit ("alpha_associated") was incorrectly ignored.

    Changed files

    • libavcodec/jpegxl_parse.c
    • libavcodec/jpegxl_parse.h
    • libavcodec/jpegxl_parser.c
  23. Change #244309

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 0fbd90d78f8d534a97e83331c6448f54fdf0a277

    Comments

    avfilter/buffersink: add support for alpha modes

    Changed files

    • doc/APIchanges
    • libavfilter/buffersink.c
    • libavfilter/buffersink.h
    • libavfilter/version.h
  24. Change #244310

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision de297ae2fca90a4ab3f2b30f64e886be13365ae1

    Comments

    avfilter/buffersrc: add alpha_mode parameter

    Changed files

    • doc/APIchanges
    • doc/filters.texi
    • libavfilter/buffersrc.c
    • libavfilter/buffersrc.h
    • libavfilter/version.h
  25. Change #244311

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 2b1ef029eb00731908dac044f409300b4b378c83

    Comments

    avfilter/vf_format: add alpha_modes parameter

    Changed files

    • doc/filters.texi
    • libavfilter/vf_format.c
  26. Change #244312

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 2e2ca4e74080207a48c455377eb0ec049979268e

    Comments

    avfilter/vf_showinfo: print alpha mode when relevant

    Changed files

    • libavfilter/vf_showinfo.c
  27. Change #244313

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision f07573f49646bc29210ab1e9b9bb3f6312039c83

    Comments

    fftools/ffmpeg: add alpha_mode support
    The implementation exactly mirrors the existing plumbing for color_ranges
    and color_spaces.

    Changed files

    • fftools/ffmpeg.h
    • fftools/ffmpeg_dec.c
    • fftools/ffmpeg_enc.c
    • fftools/ffmpeg_filter.c
    • fftools/ffmpeg_mux_init.c
  28. Change #244314

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 4f99026c9f453c83c168eac99615234583791c8b

    Comments

    fftools/ffplay: add alpha_mode support
    SDL seems to hard-code straight alpha compositing.

    Changed files

    • fftools/ffplay.c
  29. Change #244315

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 2032820e90ce0e94b9214c8df36002ef74e2bbb0

    Comments

    fftools/ffprobe: add AVFrame.alpha_mode support

    Changed files

    • fftools/ffprobe.c
    • tests/ref/fate/enhanced-flv-hevc-hdr10
    • tests/ref/fate/exif-image-embedded
    • tests/ref/fate/exif-image-jpg
    • tests/ref/fate/exif-image-tiff
    • tests/ref/fate/exif-image-webp
    • tests/ref/fate/ffprobe_compact
    • tests/ref/fate/ffprobe_csv
    • tests/ref/fate/ffprobe_default
    • tests/ref/fate/ffprobe_flat
    • tests/ref/fate/ffprobe_ini
    • tests/ref/fate/h264-dts_5frames
    • tests/ref/fate/jpg-icc
    • tests/ref/fate/mov-zombie
    • tests/ref/fate/png-icc
    • tests/ref/fate/png-icc-parse
    • tests/ref/fate/png-side-data
  30. Change #244316

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision ab1bc440f752fded5998d61f8587d723a0b0c5cf

    Comments

    avfilter/vf_alphamerge: configure correct alpha mode

    Changed files

    • libavfilter/vf_alphamerge.c
  31. Change #244317

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a3d518a57cf8cb9cbc9c203a179d7c9ebe8c65d6

    Comments

    avfilter/vf_extractplanes: require straight alpha input

    Changed files

    • libavfilter/vf_extractplanes.c
  32. Change #244318

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision e6ab7fe5825c380386d2423d3b2c23df16699361

    Comments

    avfilter/vf_scale: set correct alpha mode after format change
    While vf_scale cannot directly convert between premultiplied and straight
    alpha, the effective tagging can still change as a result of a change in
    the pixel format (i.e. adding or removing an alpha channel).

    Changed files

    • libavfilter/vf_scale.c
  33. Change #244319

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision dc02514f6bdd959f9b2f7b8a9b286e39c57ee85c

    Comments

    avfilter/vf_setparams: add alpha_mode parameter

    Changed files

    • doc/filters.texi
    • libavfilter/vf_setparams.c
  34. Change #244320

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 1c8ca56a8805727339e4e52ec14d903b099cee28

    Comments

    avfilter/vf_libplacebo: add an alpha_mode setting
    Chooses the desired output alpha mode. Note that this depends on
    an upstream version of libplacebo new enough to respect the corresponding
    AVFrame field in pl_map_avframe_ex.

    Changed files

    • doc/filters.texi
    • libavfilter/vf_libplacebo.c
  35. Change #244321

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 6f3eddbeddc7ffbea30504eb5e2f4e525ec2f360

    Comments

    avfilter/vf_overlay: configure alpha mode on the link
    And use the link-tagged value instead of the hard-coded parameter.

    Changed files

    • doc/filters.texi
    • libavfilter/vf_overlay.c
    • libavfilter/vf_overlay.h
    • libavfilter/x86/vf_overlay_init.c
  36. Change #244322

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 6d6bbdaab0596b8254e3d367dfd808c9eb7ba4ee

    Comments

    avfilter/vf_overlay: rename variables for clarity
    `is_straight`, `alpha_mode` etc. are more consistently named to refer to
    either the main image, or the overlay.

    Changed files

    • libavfilter/vf_overlay.c
    • libavfilter/vf_overlay.h
    • libavfilter/x86/vf_overlay_init.c
  37. Change #244323

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 59bb51a8f2a6fa336dbbd136bdcac230f7ba58ec

    Comments

    avfilter/vf_overlay: support premultiplied base layers
    Conceptually, these are pretty simple to handle, since they are basically
    equivalent to the case of alpha being absent, since the only thing the
    destination alpha plane is used for is unpremultiplyng straight alpha.
    
    For planar formats, the total number of cases doesn't change in principle,
    since before this patch we have:
    
    - alpha present, overlay straight
    - alpha present, overlay premultiplied
    - alpha absent, overlay straight
    - alpha absent, overlay premultiplied
    
    And now we have:
    
    - main straight, overlay straight
    - main straight, overlay premultiplied
    - main premultiplied, overlay straight
    - main premultiplied, overlay premultiplied
    
    That said, we do gain some cases now that we used to (incorrectly) ignore,
    like premultiplied yuva420p10.
    
    Notably, we can skip defining separate functions for the case of main alpha
    being absent, since that can be a single cheap branch inside the function
    itself, on whether or not to also process the alpha plane. Otherwise, as long
    as we treat "alpha absent" as "main premultiplied", the per-plane logic will
    skip touching the nonexistent alpha plane.
    
    The only format that actually needs extra cases is packed rgb, but that's only
    two additional cases in total.
    
    Also arguably simplifies the assignment logic massively.

    Changed files

    • libavfilter/vf_overlay.c
  38. Change #244324

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision ba8aa0e7b383d88624e8513e69a944fc5cb9de8d

    Comments

    avfilter/x86/vf_overlay: simplify function signature
    No reason to pass all the variables again, if we're already passing the
    context.

    Changed files

    • libavfilter/vf_overlay.c
    • libavfilter/vf_overlay.h
    • libavfilter/x86/vf_overlay_init.c
  39. Change #244325

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision d05484757a3dca825642234bdefc639bdfb0c5b8

    Comments

    avfilter/vf_fade: set correct alpha mode requirement
    Fading to black in non-alpha mode works for either straight or premultiplied
    alpha, but fading to a color does not.

    Changed files

    • libavfilter/vf_fade.c
  40. Change #244326

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision eddbdc8b7c70c562ff90c62c31070ce92a296233

    Comments

    avfilter/drawutils: add ff_draw_init_from_link()
    The overwhelming majority of references to ff_draw_init2() just set the
    colorspace properties from a filter link. This wrapper allows us to update
    all such referencen automatically.

    Changed files

    • libavfilter/drawutils.c
    • libavfilter/drawutils.h
  41. Change #244327

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a90e8f1c1d1a6a9c4552605a3b98220c51d08f37

    Comments

    avfilter: use ff_draw_init_from_link() where possible

    Changed files

    • libavfilter/qrencode.c
    • libavfilter/src_avsynctest.c
    • libavfilter/vf_datascope.c
    • libavfilter/vf_drawtext.c
    • libavfilter/vf_pad.c
    • libavfilter/vf_rotate.c
    • libavfilter/vf_shear.c
    • libavfilter/vf_stack.c
    • libavfilter/vf_tile.c
    • libavfilter/vf_tinterlace.c
    • libavfilter/vf_tpad.c
    • libavfilter/vsrc_testsrc.c
  42. Change #244328

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 39631c99d4dff0185638e7f16f97732808d08718

    Comments

    avfilter/drawutils: add alpha mode support
    This allows drawing colors onto images with premultiplied alpha, by first
    premultiplying the specified RGBA values.

    Changed files

    • libavfilter/drawutils.c
    • libavfilter/drawutils.h
    • libavfilter/vf_subtitles.c
  43. Change #244329

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision 446a25b70f340960b9f0df598ae704e64bd68d32

    Comments

    avfilter: add alpha_mode consistency assertion

    Changed files

    • libavfilter/avfilter.c
  44. Change #244330

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision c7adeb75ac94efd41e08d3cd928a0d4468b820f8

    Comments

    avfilter/vf_scale: require straight alpha for alpha blending
    Fortunately, we only care if this flag is set - otherwise, this filter is
    alpha mode agnostic (since it is purely scaling, etc).
    
    That said, there is an argument to be made that we should prefer premul
    alpha when scaling, because scaling in straight alpha will leak garbage
    pixels; but I think that would be a too backwards-incompatible change to
    be worth thinking about at this time.

    Changed files

    • libavfilter/vf_scale.c
  45. Change #244331

    Category ffmpeg
    Changed by Niklas Haas <gitohnoyoudont@haasn.dev>
    Changed at Tue 02 Sep 2025 17:06:25
    Repository https://git.ffmpeg.org/ffmpeg.git
    Project ffmpeg
    Branch master
    Revision a700f0f72d1f073e5adcfbb16f4633850b0ef51c

    Comments

    avfilter/vf_zscale: simplify and fix alpha handling
    There's no reason to use a completely separate graph just to process the
    alpha plane in isolation - zimg supports native alpha handling as part of the
    main image.
    
    Fixes several issues with this filter when adding or removing alpha planes,
    and also adds support for scaling premultiplied alpha (which reduces artefacts
    near the image borders).

    Changed files

    • libavfilter/vf_zscale.c