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
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
minimal has quit [Quit: Leaving]
jamrial has quit []
bwu25 has joined #ffmpeg-devel
MisterMinister has quit [Ping timeout: 248 seconds]
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg-devel
TheVibeCoder has joined #ffmpeg-devel
<TheVibeCoder> 06:27 < TheVibeCoder> fixed very very very old adpcm thp decoding bug
bwu25 has quit [Quit: bwu25]
<CounterPillow> you sicko, it was one day before its retirement!
mateo`_ has quit [Quit: WeeChat 4.6.3]
mkver has joined #ffmpeg-devel
bsFFFFFF has joined #ffmpeg-devel
kepstin has quit [Remote host closed the connection]
kepstin has joined #ffmpeg-devel
mkver has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
Mirarora has joined #ffmpeg-devel
<Lynne> ePirat: ping
jamrial has joined #ffmpeg-devel
<ePirat> Lynne, can you send me the links again? Couldnt find them in my backlog
<ePirat> Thanks
<ePirat> Lynne, will take a while as the output file sizes are huge
<Lynne> sure
HarshK23 has joined #ffmpeg-devel
<jamrial> michaelni, BtbN: sent a patch for the schannel compilation failure
<BtbN> jamrial: those structs and defined should not need any such checks
<BtbN> they are always defined, provided mingw is recent enough
<jamrial> BtbN: that's the problem, michaelni's is not recent enough :p
<jamrial> it's a mingw64 package from a distro
<BtbN> But then defining a higher _WIN32_WINNT doesn't help either :D
<jamrial> no, but it feels correct
<jamrial> i can remove it, that said
<BtbN> Also, disabling the dtls protocol does nothing for this
<jamrial> or add it only if dtls_protocol is enablef
<BtbN> the dtls protocol does not need this
<BtbN> whip needs this, from that one ff_ function defined in the respective dtls handler
<jamrial> there's also a bunch of enum values
<BtbN> and that function is there even when the dtls protocol is disabled
<jamrial> outside of the whip functions
<jamrial> look at the patch
<BtbN> yes, I did
<BtbN> and it's not correct. The DTLS protocol can stay
<BtbN> it's really just ff_dtls_export_materials
<BtbN> the dtls protocol does not need this function
<BtbN> whip.c does
<jamrial> so how do i go around wrapping the SEC_I_MESSAGE_* enum values?
<BtbN> They're much older than the keying material export
<BtbN> so they shouldn't need any protections
<jamrial> well, they do, seeing michael's error log
<BtbN> Then they need a separate configure check, which then toggle of the DTLS protocol
<BtbN> Or we just bump the minimum mingw version?
<BtbN> They're there for almost a decade at this point
<jamrial> i have no idea what distro is michael using, but if it's a supported one, then i don't think we should make their mingw64 package unsupported
<BtbN> I think the main issue is that Ubuntu neglected updating mingw for a really long time
<BtbN> so even 22.04 is on mingw 7 or something
<BtbN> If it's just the SEC_I_MESSAGE_FRAGMENT one, we could also just do an #ifndef for it
<jamrial> BtbN: https://packages.debian.org/bullseye/mingw-w64-x86-64-dev debian at least in its oldest supported release has mingw-w64 8.0.0
<BtbN> Yeah, that has it
<BtbN> Ubuntu has it since 22.04, 20.04 does not have it, and is EOL since May
secondcreek has quit [Ping timeout: 248 seconds]
<BtbN> The easy way out of this would be to just disable the entirety of schannel on mingw that old
<BtbN> that at least keeps the code clean of a lot of ifdefery
<jamrial> i don't know, this is only an issue since the recent patches to support dtls
<BtbN> But uglyfying the code on master to support something no supported distro ships anymore?
<BtbN> The patch is of course fine, though it restricts the dtls protocol a bit more than neccesary
<jamrial> i'm trying something cleaner
jamrial has quit []
secondcreek has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
<BtbN> man, the tls_openssl.c code is driving me crazy
<BtbN> Primarily because every function names its helper variables differently, and sometimes even opposite
<BtbN> c, s, p, ...
<BtbN> everything is everything, depending on the function
<jamrial> ai output?
<BtbN> No, historical code written by different people I guess
<BtbN> Once work on it has calmed down, I'm gonna make a patch that unifies the variable names and cleans stuff up a bit in general
MisterMinister has joined #ffmpeg-devel
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
Mirarora has joined #ffmpeg-devel
Mirarora has quit [Client Quit]
Mirarora has joined #ffmpeg-devel
minimal has joined #ffmpeg-devel
mkver has quit [Quit: Leaving]
marth64_ is now known as Yalda
<Yalda> all, I will start transitioning to use my name. nice to meet you again
mkver has joined #ffmpeg-devel
zsoltiv has joined #ffmpeg-devel
zsoltiv_ has joined #ffmpeg-devel
chainik15 has quit [Quit: (╯°□°)╯︵ ┻━┻]
chainik15 has joined #ffmpeg-devel
witchymary has quit [Remote host closed the connection]
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
<indecisiveturtle> Lynne: Have some questions optimization related, would like your opinion on. It's a pretty long text, is it okay to type it here?
<Lynne> indecisiveturtle: sure, its quiet anyway
<ePirat> make sure to break it up into smaller messages
<ePirat> depending on your client else the rest is lost
<indecisiveturtle> I think my client doesn't allow sending messages over some limit, it wont allow it
<indecisiveturtle> Ok so, this related to the step of finding best quantizer for each slice. The cpu prores ks encoder will estimate bits initially for [min_quant, max_quant] and if bits with max_quant are over a set limit, it will do a second loop of 128 iterations until it gets something that fits. At the moment I just handle the first part with 3 dispatches, one per plane, with a buffer barrier in between where each accumulates bit
<indecisiveturtle> Oh shoot it sent twice why
<indecisiveturtle> Anyway
<indecisiveturtle> First question would be if the dispatches could be merged somehow to reduce the number of needed barriers. Merging them into 1 is certainly possible but requires an expensive atomic add to ensure proper sync. Could avoid that, possibly, by writing all bits into a buffer and using subgroupClusteredAdd in a separate dispatch to combine these, so we only need 1 barrier for everything.
<indecisiveturtle> There is also the question of how to handle the case where we need to find the overquant. Would making the initial dispatch run over all 128 max results and the thread return early be fine? Mostly a question of if we would be wasting GPU threads idling in that case. Maybe it would be better to mimic the original code, where the initial dispatch is limited to max_quant and in the clustured add step we write an append
<indecisiveturtle> buffer and do an indirect dispatch on only the slices that need it.
<indecisiveturtle> These are my thoughts atm, not sure if they are worth it, but I do want to make the encoder as fast as possible
<Lynne> indecisiveturtle: for now, can you allow the overshoot?
<BtbN> How is the ML working these last couple days? It should be much better in regards to mangling mail addresses.
<indecisiveturtle> Lynne: You mean to implement it in the quick way? Don't quite understand
<Lynne> yeah, for now
<indecisiveturtle> Sure
MetaNova has quit [Remote host closed the connection]
MetaNova has joined #ffmpeg-devel
bsFFFFFF has quit [Quit: bsFFFFFF]
witchymary has joined #ffmpeg-devel
grillo_0 has quit [Quit: The Lounge - https://thelounge.chat]
grillo_0 has joined #ffmpeg-devel
iive has joined #ffmpeg-devel
grillo_0 has quit [Quit: The Lounge - https://thelounge.chat]
grillo_0 has joined #ffmpeg-devel
HarshK23 has quit [Quit: Connection closed for inactivity]
mkver has quit [Remote host closed the connection]
<BtbN> I hate when I can't send mail because spammers tried to hard to log into my account that it got locked for half an hour...
<ePirat> whoops ended up writing a bit of a lengthy email about my unhappiness with gitlab
<ePirat> "Something went wrong while fetching work item award emojis. Please try again." Thanks GitLab
TheVibeCoder has quit [Ping timeout: 265 seconds]
kasper93 has quit [Remote host closed the connection]