michaelni changed the topic of #ffmpeg-devel to: Welcome to the FFmpeg development channel | Questions about using FFmpeg or developing with libav* libs should be asked in #ffmpeg | This channel is publicly logged | FFmpeg 7.1.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
<fflogger> [editedticket] Balling: Ticket #9693 ([avcodec] change of matrix cannot happen on full range) updated https://trac.ffmpeg.org/ticket/9693#comment:16
<fjlogger> [FFmpeg/FFmpeg] Pull request #20114 merged: avformat/tls: switch on peer certificate verification by default (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20114) by B⁠tbN
<kasper93> btw. is this normal to rush merge everything "before branching release"?
<jamrial> no
<kasper93> I though with forgejo at least could wait for CI to pass.
<Lynne> nah, we rush stuff in every time
<Lynne> we have like 1 release a year these days, so /shrug
iive has quit [Quit: They came for me...]
<fjlogger> [FFmpeg/FFmpeg] Pull request #20190 opened: forgejo/workflows: run fate-build (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20190) by k⁠asper93
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20190 forgejo/workflows: run fate-build (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20190#issuecomment-2573) by k⁠asper93
<kierank> TIL about fate-build
<Yalda> kasper93: so far 1 sample that is supposed to have this issue, it does not appear to have the issue. I wonder if it is possible our parser is handling it already? (mlp_parser.c looks like it has logic dealing with this)
<Yalda> To be fair, I would like to check it once more with antoher sample but I am not near it tonight
<Yalda> I will send the latest updates tomorrow morning although probably I will not beat 8.0 cut
<Yalda> (different sample from earlier :) )
<Yalda> it is good news if true but i just want to know why
GewoonLeon has quit [Ping timeout: 252 seconds]
<Yalda> alternatively I can mark the demuxer experimental and send it when i wake up, and can continue to work on seeking before the release and backport when fixed
<Yalda> i have been testing all day sorry for the delayed updates
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Ping timeout: 276 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20046 avformat/tcp: add option for enabling TCP keepalive (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20046#issuecomment-2576) by m⁠ypopydev
^Neo has quit [Quit: Client closed]
<fjlogger> [FFmpeg/FFmpeg] New comment on issue #20035 Feature request in the MP4 (MPEG-4 Part 14) Container (https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/20035#issuecomment-2577) by m⁠ypopydev
jamrial has quit []
ShadowJK has quit [Ping timeout: 260 seconds]
mkver has joined #ffmpeg-devel
mkver has quit [Ping timeout: 248 seconds]
TheVibeCoder has joined #ffmpeg-devel
GewoonLeon has joined #ffmpeg-devel
<TheVibeCoder> Lynne: when in decoder you assign different profile?
<TheVibeCoder> *where
<Lynne> TheVibeCoder: I do it in the parser
<TheVibeCoder> ok
<Lynne> should've done it in the decoder too, but forgot about it
GewoonLeon has quit [Quit: GewoonLeon]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20189 CODEOWNERS: add af_whisper codeowner (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20189#issuecomment-2586) by v⁠palmisano
<frankplow> kierank: Jealous
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20189 CODEOWNERS: add af_whisper codeowner (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20189#issuecomment-2588) by L⁠ynne
<jkqxz> Lynne: Your cbs_vp9 change broke passthrough.
<jkqxz> The point of the tests there is that the bitstream passes through unchanged; you should absolutely not be regnerating the test output with something different.
<Lynne> which are the passthrough tests?
<jkqxz> fate-cbs-vp9
<jkqxz> You regenerated all the outputs to be wrong.
<jkqxz> It also changes the pixel output <https://0x0.st/8FAr.txt>.
<jkqxz> Does your VP9 decoder actually match the standard output?
<jkqxz> That's a filtering change, so it might not propagate to something visible in most tests.
<Lynne> yes, it does, all except the odd-dimension tests pass
<Lynne> (the odd-dimension streams require cropping on the side of vulkan/drivers)
<Lynne> is loop_filter_ref_deltas the only field that changes?
<jkqxz> That was just one input. Not sure in general.
<jkqxz> The infer() lines are not right. They are overwriting the values from the bitstream
<jkqxz> Also update_ref_delta is a flag, -1 is not a good value to be writing to it.
GewoonLeon has joined #ffmpeg-devel
<jkqxz> Hmm, you've embedded the propagation of the deltas inside the parsing and that messes with the bistream values. I think it would be better separate - the update flags are exactly what you need to know what to update.
<Lynne> if you have something in mind and time, could you write a patch up? I won't be able to take a look at it for another 7 hours
<jkqxz> Trying now.
<fflogger> [editedticket] mfcc64: Ticket #11640 ([avfilter] Specific combination of timeclamp, fps, and count on showcqt causing crash) updated https://trac.ffmpeg.org/ticket/11640#comment:6
<jkqxz> Lynne: <https://0x0.st/8FAS.patch>
<jkqxz> (Looks more sensible as a diff against state before you patch rather than after.)
<jkqxz> michaelni: Oops, didn't notice that the 14-bit formats weren't filled (and there are no streams to test). That seems fair.
<jkqxz> Maybe request_sample on the 14-bit 4:4:4:4 case rather than silently rejecting it?
<jkqxz> (Note that 0 for 4:2:0 is already rejected by CBS, so chroma_format_idc can't be 1 when you get there.)
<fjlogger> [FFmpeg/FFmpeg] Pull request #20193 opened: avformat/tls_openssl: cleanup code and add doc for dtls (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20193) by J⁠ackLau
_whitelogger has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20193 avformat/tls_openssl: cleanup code and add doc for dtls (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20193#issuecomment-2607) by J⁠ackLau
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20193 avformat/tls_openssl: cleanup code and add doc for dtls (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20193#issuecomment-2608) by J⁠ackLau
mateo` has joined #ffmpeg-devel
GewoonLeon has quit [Quit: GewoonLeon]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Remote host closed the connection]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Remote host closed the connection]
lemourin has quit [Ping timeout: 252 seconds]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Client Quit]
GewoonLeon has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
lemourin4 has joined #ffmpeg-devel
lemourin is now known as Guest4785
lemourin4 is now known as lemourin
Guest4785 has quit [Ping timeout: 240 seconds]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
lemourin2 has joined #ffmpeg-devel
lemourin is now known as Guest3847
lemourin2 is now known as lemourin
Guest3847 has quit [Ping timeout: 276 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20193 avformat/tls_openssl: cleanup code and add doc for dtls (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20193#issuecomment-2610) by B⁠tbN
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
ngaullier has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20190 forgejo/workflows: run fate-build (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20190#issuecomment-2611) by B⁠tbN
Kei_N_ has joined #ffmpeg-devel
<TheVibeCoder> ffmpeg is full of regressions and bugs
ngaullier has quit [Ping timeout: 248 seconds]
Kei_N has quit [Ping timeout: 248 seconds]
<fjlogger> [FFmpeg/FFmpeg] Pull request #20194 opened: avcodec/exr: Check for pixel type consistency in DWA (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20194) by m⁠ichaelni
<fjlogger> [FFmpeg/FFmpeg] Pull request #20195 opened: avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20195) by m⁠ichaelni
<Lynne> jkqxz: looks fine
<Lynne> could you submit a PR on code.ffmpeg.org?
<BtbN> kasper93: I'm building a set of new CI base images with mold in them. Maybe that speeds up those ridiculous link-times
<Lynne> --disable-stripping may help a little too
<fjlogger> [FFmpeg/FFmpeg] Pull request #20196 opened: lavu/log: fix color for AV_CLASS_CATEGORY_HWDEVICE on non-Win32 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20196) by n⁠yanmisaka
<BtbN> Lynne: the problem is that I just used my builds images, cause they already have everything under the sun. But as static libs
<BtbN> so linking takes bloody forever
<BtbN> Might need to have to roll a spinoff set of images with the same stuff but shared libs
lemourin4 has joined #ffmpeg-devel
lemourin has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
lemourin4 is now known as lemourin
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
<BtbN> It's not using LTO.
<BtbN> And also not using clang.
<BtbN> With LTO linking takes over an hour
<Lynne> no, but you can cache linking
<Lynne> and thinlto is really fast
<BtbN> But it's not even doing LTO
<Lynne> I know, but perhaps LTO with caching may be faster
<BtbN> LTO without cachine takes way over an hour, so that's even worse
<BtbN> Keep in mind this is statically linking _everything_, every single library. So LTO is also incredibly brittle
<Lynne> I know, but perhaps it can be worth it to experiment
<Lynne> IIRC kernel devs run thinlto when bisecting because it can be cached
<BtbN> I have already experienced with LTO
<BtbN> and deemed it not worth the trouble
<BtbN> takes forever, defers a lot of errors from other projects to only pop up during link-time of FFmpeg, and breaks every other day
<BtbN> The proper way to speed this up is to not use static libs
___nick___ has joined #ffmpeg-devel
ShadowJK has joined #ffmpeg-devel
microlappy has joined #ffmpeg-devel
<kasper93> thinlto can be fast, becasue compile time are very fast and link is cached. but not sure if I ever seen it faster than normal link
<kasper93> though not like I'm benchmarking it on every project
<kasper93> (I wouldn't expect it help in ffmepg case tho)
<kasper93> BtbN: I use lld, but yes, using gnu ld can be painful
<BtbN> Keep in mind caching itself is also a cost on CI
<BtbN> it has to be downloaded first, and in this case it can easily be gigabytes worth of cache
microlappy has quit [Remote host closed the connection]
<kasper93> agree
<kasper93> though using lld is giving nice speed-up already. I never compared directly to mold, but should be even faster
microlappy has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20196 lavu/log: fix color for AV_CLASS_CATEGORY_HWDEVICE on non-Win32 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20196#issuecomment-2628) by k⁠asper93
<BtbN> mold also does not support windows, so it's kinda out anyway
<kasper93> searching `mold windows` is not the right way
<JEEB> :D
<BtbN> There was a fork od mold for Windows at some point, called "sold"
<BtbN> yes, that's fun to google for as well
microlappy has quit [Remote host closed the connection]
<BtbN> Apparently its focus was apple stuff though, and apple fixed their linker, so it was abandoned?
<BtbN> lld doesn't work either: ld.lld: error: undefined symbol: svt_av1_enc_init_handle
<BtbN> bfd finds the symbol fine
microlappy has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20190 forgejo/workflows: run fate-build (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20190#issuecomment-2631) by k⁠asper93
<kasper93> hmm, I use lld with svtav1 and works for me
<BtbN> With a static one?
<kasper93> it's shared build though
<BtbN> doing static builds unearthes a lot of weirdness and build system sloppyness, cause it's not well tested
<BtbN> weird though how bfd is happy, and just switching to lld breaks it
<kasper93> true, mostly you find those dllimport/dllexport issues
<fjlogger> [FFmpeg/FFmpeg] Pull request #20197 opened: doc/developer: Basic documentation for Source Plugins (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20197) by m⁠ichaelni
<kasper93> speaking of we still haven't merged libplacebo fix for that
microlappy has quit [Remote host closed the connection]
<BtbN> I'll just try to spin some images which are shared
<BtbN> it should speed up CI a lot
<BtbN> We don't plan to release builds from them anyway
microlappy has joined #ffmpeg-devel
<kasper93> yeah, shared make sense
<another|> BtbN: sold was the paid version of mold. But that apparently didn't work out
<fjlogger> [FFmpeg/FFmpeg] Pull request #20189 merged: CODEOWNERS: add af_whisper codeowner (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20189) by m⁠ichaelni
microlappy has quit [Remote host closed the connection]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
microlappy has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] Pull request #20195 merged: avcodec/jpeg2000dec: Make sure the 4 extra bytes allocated are initialized (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20195) by m⁠ichaelni
___nick___ has joined #ffmpeg-devel
___nick___ has quit [Client Quit]
<kasper93> BtbN: if it's a problem, we can for now enable fate-build on linux jobs only
<BtbN> You mean the ones that don't have all the fat deps
<BtbN> that should be fine, yeah
<BtbN> and doesn't take half an hour
microlappy has quit [Remote host closed the connection]
___nick___ has joined #ffmpeg-devel
<kasper93> is this only an issue with svtav1?
<kasper93> this can be also fixed for mold
<BtbN> Well, it's the first thing it trips over
<BtbN> no idea what would crop up after that one is fixed
<BtbN> but identifying why one linker is upset but the other isn't sounds like an annoying task
<fjlogger> [FFmpeg/FFmpeg] New comment on issue #20184 Consider the addition of a "needs backport" label for PRs (https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/20184#issuecomment-2640) by f⁠rankplow
<kasper93> it generally is obvious, after you look at source code, generally there is something weird done
<kasper93> though it's not our job to fix others bugs
<BtbN> well, it works with bfd, so it can't be that weird
<kasper93> have you tried gold? I know it's deprecated, but maybe this do the trick for now
<BtbN> gold mis-links the whole thing and it then crashes randomly at runtime
<kasper93> lovely
<TheVibeCoder> yes
<JEEB> yea, gold is just so little used during the past XYZ years