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 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
uau_ has joined #ffmpeg-devel
uau has quit [Ping timeout: 244 seconds]
uau_ is now known as uau
ccawley2011 has quit [Read error: Connection reset by peer]
abdu53 has quit [Quit: Client closed]
<fflogger> [newticket] bradisbell: Ticket #11434 ([undetermined] Unable to set channel count for Alsa input since release 5.1.1) created https://trac.ffmpeg.org/ticket/11434
<BtbN> jamrial: this seems to be fallout of the new channel layout API
<BtbN> The ticket I mean
<fflogger> [editedticket] bradisbell: Ticket #11434 ([avdevice] Unable to set channel count for Alsa input since release 5.1.1) updated https://trac.ffmpeg.org/ticket/11434#comment:2
<fflogger> [editedticket] jamrial: Ticket #11434 ([avdevice] Unable to set channel count for Alsa input since release 5.1.1) updated https://trac.ffmpeg.org/ticket/11434#comment:3
<jamrial> BtbN: yeah. did no one use alsa (or at least set channels this way) in all these years?
<BtbN> apparently
System_Error has quit [Remote host closed the connection]
<BtbN> multi-channel with alsa is gonna be rare. Given how common PA is
System_Error has joined #ffmpeg-devel
srikanth has joined #ffmpeg-devel
skotagiri has joined #ffmpeg-devel
thilo has quit [Ping timeout: 265 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
skotagiri has quit [Quit: Client closed]
^Neo has quit [Ping timeout: 244 seconds]
<fflogger> [newticket] QFox: Ticket #11435 ([undetermined] [lavf] Leaking 1 nested connections (FFmpeg bug)) created https://trac.ffmpeg.org/ticket/11435
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
srikanth has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
mkver has quit [Ping timeout: 252 seconds]
<jamrial> michaelni: see #11435
jamrial has quit []
srikanth has joined #ffmpeg-devel
srikanth has quit [Client Quit]
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 244 seconds]
Traneptora has joined #ffmpeg-devel
rodgort has quit [Ping timeout: 245 seconds]
Martchus has joined #ffmpeg-devel
Martchus_ has quit [Ping timeout: 248 seconds]
rodgort has joined #ffmpeg-devel
srikanth has joined #ffmpeg-devel
srikanth has quit [Client Quit]
srikanth has joined #ffmpeg-devel
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
srikanth has joined #ffmpeg-devel
srikanth has quit [Ping timeout: 248 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
<fflogger> [editedticket] Balling: Ticket #9814 ([avformat] time_scale / num_units_in_tick is not infinite precision) updated https://trac.ffmpeg.org/ticket/9814#comment:32
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
<wbs> ePirat: as you probably have a version or two of macos available, can you confirm my findings around rsync on macos, in https://patchwork.ffmpeg.org/project/ffmpeg/patch/20250124214041.26985-1-martin@martin.st/?
ngaullier has joined #ffmpeg-devel
cone-608 has joined #ffmpeg-devel
<cone-608> ffmpeg Krzysztof Pyrkosz master:83e4b068d9c4: avcodec/aarch64/aacencdsp: NEON implementation
Mirarora has quit [Ping timeout: 244 seconds]
abdu has joined #ffmpeg-devel
Mirarora has joined #ffmpeg-devel
Kei_N has quit [Read error: Connection reset by peer]
ngaullier has quit [Quit: Leaving]
ngaullier has joined #ffmpeg-devel
markh has quit [Ping timeout: 244 seconds]
markh has joined #ffmpeg-devel
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #ffmpeg-devel
abdu55 has joined #ffmpeg-devel
abdu78 has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
abdu55 has quit [Ping timeout: 240 seconds]
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 246 seconds]
AntiLeader has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 252 seconds]
<AntiLeader> finally, got vf_rescale.c nearest-neighbor scaling faster that current swscale nn scaler
cone-608 has quit [Quit: transmission timeout]
Kei_N has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11435 ([avformat] Added "-extension_picky" breaks MPV?) updated https://trac.ffmpeg.org/ticket/11435#comment:1
kasper93 has joined #ffmpeg-devel
abdu78 has quit [Ping timeout: 240 seconds]
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg-devel
rvalue- has joined #ffmpeg-devel
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
jamrial has joined #ffmpeg-devel
abdu78 has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<AntiLeader> jamrial: you introduced unused variable into codebase
<jamrial> AntiLeader: i saw your message the other day. isn't it fixed in f632ab53d981?
<jamrial> gcc at least didn't warn about it
<haasn> AntiLeader: code?
<AntiLeader> jamrial: libavfilter/buffersrc.c:546:37: warning: unused variable 'desc' [-Wunused-variable]
ccawley2011 has quit [Ping timeout: 248 seconds]
<jamrial> oh
<AntiLeader> haasn: you mean stupid nn scaler code as is in current vf_rescale.c ?
cone-265 has joined #ffmpeg-devel
<cone-265> ffmpeg James Almer master:85a327d9d06a: avfilter/buffersrc: remove unused variable
arch1t3cht has quit [Quit: Ping timeout (120 seconds)]
arch1t3cht has joined #ffmpeg-devel
<kurosu> > NASM version 2.14.02
<kurosu> I remember nasm to be broken before 2.16 on dependency generation
<kurosu> (IIRC it stripped paths)
<kurosu> I guess that doesn't affect ffmpeg
ccawley2011 has joined #ffmpeg-devel
<haasn> AntiLeader: code that you said is faster than swscale
<BBB> jamrial: is it correct you've resigned from the new CC also?
ngaullie has joined #ffmpeg-devel
<BBB> (there are multiple such statements from other people on the ML, but not from you afaics)
<jamrial> BBB: yes
<BBB> ok, tnx for clarifying
ngaullier has quit [Ping timeout: 248 seconds]
ccawley2011 has quit [Ping timeout: 260 seconds]
ccawley2011 has joined #ffmpeg-devel
ngaullie has quit [Ping timeout: 260 seconds]
abdu78 has quit [Quit: Client closed]
abdu78 has joined #ffmpeg-devel
ngaullier has joined #ffmpeg-devel
abdu69 has joined #ffmpeg-devel
abdu78 has quit [Quit: Client closed]
ngaullier has quit [Remote host closed the connection]
ngaullier has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
ngaullier has joined #ffmpeg-devel
AntiLeader has quit [Quit: Client closed]
<ePirat> wbs, sure I will check
<ePirat> wbs, lgtm
cone-265 has quit [Quit: transmission timeout]
<wbs> ePirat: thanks
<wbs> I'm surprised nobody else has ran into "make fate-rsync" failing on macOS 15.x so far
<JEEB> I just haven't sync'd on my macs :D
<ePirat> I honestly rarely run fate because it fails in unrelated stuff whenever I do
<ePirat> (and usually I touch filters that have no fate tests anyway…)
<another|> so you trust your fate? /s
<ePirat> wbs, does git master fate succeeds for you on macOS (M1)?
<JEEB> I thought we had two mac minis, out of which one should be doing FATE runs specifically
<JEEB> but I don't see the apple-mentioned clang version or "mac" on fate.ffmpeg.org
<JEEB> so either that mac mini was never set up for automated FATE runs, or it dropped out at some point
<jamrial> ePirat: how does it fail?
<ePirat> oh
<ePirat> seems it fails because I run with asan and it found a stack overflow
<ePirat> so either checkasm does things that trigger false-positives in asan or it is an actual one
<ePirat> checkasm-sw_rgb
<jamrial> that one triggers ubsan with a signed integer overflow
abdu69 has quit [Quit: Client closed]
<wbs> ePirat: it generally does work, but there can of course be failures with sanitizers (that should get fixed)
abdu69 has joined #ffmpeg-devel
<ePirat> jamrial, fails the same way on x86_64 macOS for me with asan
<jamrial> are you using a clean tree?
<ePirat> jamrial, yes
<jamrial> ePirat: does http://pastie.org/p/2g4zzjS7JgOk8RbuVUDWY3 fix it?
<ePirat> error: corrupt patch at line 14
System_Error has quit [Remote host closed the connection]
<ePirat> jamrial, seems the paste service mangled the patch?
<ePirat> same
<ePirat> I love sending patches over the internet, its so easy to break them
<jamrial> heh
<jamrial> it's probably line endings shenanigans
<ePirat> same issue
<ePirat> try a git format-patch one maybe
<ePirat> or use 0x0.st that usually does not break patches for me
System_Error has joined #ffmpeg-devel
<jamrial> oh, i know what happened with the diffs above. it ate the lone blank space in empty lines
AntiLeader has joined #ffmpeg-devel
<AntiLeader> Taylorator SDR - when I thought there is nothing left to invent
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
abdu21 has joined #ffmpeg-devel
abdu69 has quit [Ping timeout: 240 seconds]
xvaclav has quit [Quit: Ping timeout (120 seconds)]
xvaclav has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
<AntiLeader> jamrial: downmix code have strange checks for NULL
<AntiLeader> as reported by coverity
<jamrial> in af_aresample?
<AntiLeader> libavutil/downmix_info
<jamrial> what coverity issue #?
<BtbN> it's just a missing NULL check after allocating memory via av_frame_new_side_data
<AntiLeader> 1641638
<jamrial> BtbN: yeah
<BtbN> the null check is there, but somehow AFTER accessing
<jamrial> BtbN: a recent change of mine added the memset
<wbs> interestingly enough, linking checkasm fails on macOS if using the old linker (-Wl,-ld_classic), since a couple months
cone-687 has joined #ffmpeg-devel
<cone-687> ffmpeg Martin Storsjö master:3cd4e8470a1e: configure: Improve the check for the rsync --contimeout option
<cone-687> ffmpeg Martin Storsjö master:8f4819ce0158: rtmpproto: Avoid rare crashes in the fail: codepath in rtmp_open
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 248 seconds]
ccawley2011 has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
abdu39 has joined #ffmpeg-devel
abdu21 has quit [Ping timeout: 240 seconds]
ccawley2011 has quit [Ping timeout: 265 seconds]
<cone-687> ffmpeg James Almer master:7a16bfa7c92c: tests/checkasm/sw_rgb: increase plane array buffers
<cone-687> ffmpeg James Almer master:a649b2a83135: avutil/downmix_info: check for side data allocation success before zeroing it
ccawley2011_ has quit [Ping timeout: 252 seconds]
ccawley2011_ has joined #ffmpeg-devel
realies has quit [Quit: ~]
realies has joined #ffmpeg-devel
realies has quit [Client Quit]
Hobbyboy has quit [Ping timeout: 260 seconds]
realies has joined #ffmpeg-devel
fennewald has quit [Ping timeout: 260 seconds]
fennewald has joined #ffmpeg-devel
Hobbyboy has joined #ffmpeg-devel
srikanth has joined #ffmpeg-devel
<srikanth> Hello! First time patch submitter here. Is there a way to mark my earlier submission as abandoned? I submitted a partial patch and resubmitted it with correct diff.
<BtbN> if you send a v2 that's obvious
<AntiLeader> not via mailing-list, may be possible via patchwork
<srikanth> got it. Will try to create a patchwork account
<AntiLeader> patchwork is optional
<AntiLeader> not mandatory to create account there...
<BtbN> patchwork is pretty much just a way for rudimentary CI and and convenient patch download
<AntiLeader> iirc on it you  can mark old patches are superseeded...
<BtbN> Yeah, but it does nothing except show a little mark on the patch on patchwork itself
<AntiLeader> switch to forgejo
<BtbN> With a community that can't agree on anything?
<AntiLeader> pick a leader
<srikanth> I see. I will mark the updated patch as v2. I got some warnings about commit message length. This should make it more visible.
<srikanth> Thanks!
AntiLeader has quit [Quit: Client closed]
abdu39 has quit [Ping timeout: 240 seconds]
<fflogger> [editedticket] michael: Ticket #11435 ([avformat] Added "-extension_picky" breaks MPV?) updated https://trac.ffmpeg.org/ticket/11435#comment:2
System_Error has quit [Remote host closed the connection]
abdu39 has joined #ffmpeg-devel
<kasper93> Could someone push this fix https://ffmpeg.org/pipermail/ffmpeg-devel/2025-January/338874.html ? thanks.
System_Error has joined #ffmpeg-devel
<JEEB> kasper93: I'll finish up the webm in id3v2 mapping addition reported in #mpv first, then can check that one
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
<fflogger> [editedticket] bradisbell: Ticket #11434 ([avdevice] Unable to set channel count for Alsa input since release 5.1.1) updated https://trac.ffmpeg.org/ticket/11434#comment:4
<JEEB> michaelni: alternatively I feel like since we've had meta demuxers have these issues having demuxers utilized that just read text from input, maybe we should just have some general meta demuxer logic which allows or disallows specific formats. allowlist is simpler since even if someone adds a new one it will not automatically be allowed (thus not enabling possible new "holes"), but on the other hand if
<JEEB> we can notice such formats as new ones happen to get added then a blocklist based on a "not allowed in meta demuxers" or "may easily cause information exfiltration" per-format flag might also be quite possible
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nevcairiel> dont we already have tons of whitelists for things, having a demuxer whitelist sounds a lot better then doing it on extension, which is meaningless in msot cases - as seen here, ts is just used for anything
<fflogger> [newticket] FranceBB: Ticket #11436 ([swscale] Changing stream properties (matrix/primaries/transfer) make FFMpeg crash) created https://trac.ffmpeg.org/ticket/11436
abdu61 has joined #ffmpeg-devel
<fflogger> [editedticket] FranceBB: Ticket #11436 ([swscale] Changing stream properties (matrix/primaries/transfer) make FFMpeg crash) updated https://trac.ffmpeg.org/ticket/11436#comment:1
<BtbN> "crashes" ...
abdu39 has quit [Ping timeout: 240 seconds]
<BtbN> It exits saying "what you're doing is not supported"
<JEEB> ah, users :)
<cone-687> ffmpeg Jan Ekström master:4401e4b6065e: avformat/id3v2: add image/webp for WebP attached pictures
<fflogger> [editedticket] FranceBB: Ticket #11436 ([swscale] Changing stream properties (matrix/primaries/transfer) make FFMpeg crash) updated https://trac.ffmpeg.org/ticket/11436#comment:2
abdu17 has joined #ffmpeg-devel
abdu61 has quit [Ping timeout: 240 seconds]
<cone-687> ffmpeg Leo Izen master:3380c0d27df1: avutil/frame: check return value for cropping offsets
<fflogger> [editedticket] oromit: Ticket #11436 ([swscale] Changing stream properties (matrix/primaries/transfer) make FFMpeg crash) updated https://trac.ffmpeg.org/ticket/11436#comment:3
<Traneptora> BtbN: tbf what they're trying to do is do a no-op scale filter from "unknown" primaries to "bt709" primaries
<Traneptora> since the file starts with bt709, the output is configured to bt709, and then since the input changes midway through from bt709 to unknown, it inserts a scale filter, which fails
<BtbN> Yeah, can't sensibly convert to/from unknown
<Traneptora> I don't know if this is what we should expect for `ffmpeg -i Input.mxf -map v -f null -`
<BtbN> so would it be sensible to just assume "unchanged" if suddenly unknown appears?
<Traneptora> in theory we can't convert to/from unknown but at the very least we could treat e.g. unknown -> bt709 as a no-op
<Traneptora> basically a "tag it" operation
<Traneptora> or more generally if input is unknown, we could assume "same as output"
<Traneptora> I don't know if that is preferred behavior
<fflogger> [editedticket] emcodem: Ticket #11436 ([swscale] Changing stream properties (matrix/primaries/transfer) make FFMpeg crash) updated https://trac.ffmpeg.org/ticket/11436#comment:4
<wbs> checkasm can't be linked on macOS, with devtools older than 1,5 years; their linker seems to have a _really_ surprising behaviour - it can't pull in objects from a static library, if the referenced symbol is "common" (allocated in .bss), i.e. a fully zero-initialized data block; see https://martin.st/temp/ld64-common-bug.txt
abdu56 has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
abdu17 has quit [Ping timeout: 240 seconds]
System_Error has joined #ffmpeg-devel
mkver has quit [Ping timeout: 260 seconds]
srikanth has joined #ffmpeg-devel
<Traneptora> wbs: what happens if you use -L. -lcommon instead of libcommon.a directly
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
srikanth has joined #ffmpeg-devel
<wbs> Traneptora: that doesn't make any difference; I believe the reason is that these so called "common" symbols (for zero-initialized data, which isn't carried as actual data in the object file) are a kinda weird sort of symbol
<Traneptora> why is it zero-initialized? you declared it as int common[100];
<wbs> yes - that's zero-initialized
<wbs> stack variables are uninitialized, but global variables without an initializer are zero initialized
<Traneptora> TIL
<wbs> (and the point is that the object file doesn't carry actual data with 100 zeroes, and the resulting executable doesn't either; these things get allocated in a section where enough storage is made at runtime only)
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
srikanth has joined #ffmpeg-devel
odrling has quit [Remote host closed the connection]
odrling has joined #ffmpeg-devel
Traneptora has quit [Quit: Quit]
Thulinma has quit [Ping timeout: 252 seconds]
<ePirat> wbs, huh weird that no one else ran into this before?
<ePirat> seems like not that uncommon to do?
srikanth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mkver has joined #ffmpeg-devel
ccawley2011_ has quit [Read error: Connection reset by peer]
srikanth has joined #ffmpeg-devel