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 8.0 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
Kimapr_ has quit [Remote host closed the connection]
Kimapr_ has joined #ffmpeg-devel
Traneptora has joined #ffmpeg-devel
Kimapr_ has quit [Remote host closed the connection]
kimapr__ has joined #ffmpeg-devel
<Traneptora> oh hey it got merged upstream
<mkver> Traneptora: You need to update the configure check for JXL_DEC_BOX_COMPLETE.
<Traneptora> mkver: didn't realize how recently it was added, will do
<Traneptora> mkver: added it as a change to https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20337 by removing the reference entirely
<Traneptora> it turns out it's not necessary to reference it so I just removed the ref
Anthony_ZO has quit [Ping timeout: 250 seconds]
Anthony_ZO1 has joined #ffmpeg-devel
Anthony_ZO1 is now known as Anthony_ZO
mkver has quit [Ping timeout: 248 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20501 swresample/swresample: Delete unused code (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20501#issuecomment-6979) by R⁠enjianguang-mi
<fjlogger> [FFmpeg/FFmpeg] Pull request #20522 opened: tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522) by j⁠amrial
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20518 avcodec/rkmppdec: Don't fill the decoder in low-delay mode (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20518#issuecomment-6982) by q⁠uink
jamrial has quit []
<fjlogger> [FFmpeg/FFmpeg] Pull request #20499 closed: use AVFMT_EVENT_FLAG_METADATA_UPDATED because of event_flags belongs to AVFormatContext. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20499) by j⁠iangjie
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20500 fftools/cmdutils: Rename file_read to ff_file_read to avoid symbol conflict (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20500#issuecomment-6987) by q⁠uink
Martchus has joined #ffmpeg-devel
Martchus_ has quit [Ping timeout: 248 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20518 avcodec/rkmppdec: Don't fill the decoder in low-delay mode (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20518#issuecomment-6988) by c⁠gutman
<fjlogger> [FFmpeg/FFmpeg] Pull request #20518 closed: avcodec/rkmppdec: Don't fill the decoder in low-delay mode (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20518) by c⁠gutman
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20494 rvv: add optimized h264 intra prediction functions (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20494#issuecomment-6990) by t⁠matth
_whitelogger has joined #ffmpeg-devel
j45 has joined #ffmpeg-devel
j45 has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
Kei_N has quit [Read error: Connection reset by peer]
Kei_N has joined #ffmpeg-devel
derpydoo has joined #ffmpeg-devel
derpydoo has quit [Remote host closed the connection]
derpydoo has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
<fflogger> [editedticket] hourai: Ticket #8882 ([undetermined] .sfd (Sofdec Dreamcast Movie) fails to properly interpret audio streams starting at 0x1c1) updated https://trac.ffmpeg.org/ticket/8882#comment:9
<fflogger> [editedticket] hourai: Ticket #8882 ([undetermined] .sfd (Sofdec Dreamcast Movie) fails to properly interpret audio streams starting at 0x1c1) updated https://trac.ffmpeg.org/ticket/8882#comment:10
<fflogger> [editedticket] hourai: Ticket #8882 ([undetermined] .sfd (Sofdec Dreamcast Movie) fails to properly interpret audio streams starting at 0x1c1) updated https://trac.ffmpeg.org/ticket/8882#comment:11
<fjlogger> [FFmpeg/FFmpeg] Pull request #20460 merged: avformat/whip: enable RTCP NACK for whip (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20460) by s⁠tevenliu
MisterMinister has quit [Ping timeout: 248 seconds]
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
^Neo_ has quit [Ping timeout: 248 seconds]
ngaullie has joined #ffmpeg-devel
ngaullie has quit [Client Quit]
ngaullie has joined #ffmpeg-devel
Guest40 has joined #ffmpeg-devel
Guest40 has quit [Quit: Client closed]
_whitelogger has joined #ffmpeg-devel
GewoonLeon has joined #ffmpeg-devel
GewoonLeon has quit [Quit: GewoonLeon]
GewoonLeon has joined #ffmpeg-devel
GewoonLeon1 has joined #ffmpeg-devel
GewoonLeon1 has quit [Client Quit]
GewoonLeon has quit [Ping timeout: 260 seconds]
Everything has joined #ffmpeg-devel
wyatt8740 has quit [Ping timeout: 256 seconds]
wyatt8740 has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-6996) by T⁠raneptora
Everything has quit [Quit: leaving]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20455 Add Windows.Graphics.Capture based video source filter (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20455#issuecomment-6997) by m⁠storsjo
GewoonLeon has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] Pull request #20523 opened: configure: Make -Werror=partial-availability apply to all languages (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20523) by m⁠storsjo
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20523 configure: Make -Werror=partial-availability apply to all languages (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20523#issuecomment-7001) by m⁠storsjo
derpydoo has quit [Ping timeout: 256 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-7003) by n⁠gaullier
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20295 avutil/hwcontext_vulkan: always enable extra usage flags (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20295#issuecomment-7004) by h⁠aasn
GewoonLeon has quit [Ping timeout: 265 seconds]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20295 avutil/hwcontext_vulkan: always enable extra usage flags (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20295#issuecomment-7006) by h⁠aasn
mkver has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20455 Add Windows.Graphics.Capture based video source filter (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20455#issuecomment-7010) by B⁠tbN
<BtbN> wbs: the question is, do we want cflags to be applied to objc, or not? For C++ we definitely do not, which is what that commit fixes, cause it did nonsense like passing -std=c17 to the C++ compiler.
<BtbN> But I have no experience with objc? Is it the same situation there, and it should be split cleanly, or should it just also get passed all CFLAGS?
<fjlogger> [FFmpeg/FFmpeg] Pull request #20523 merged: configure: Make -Werror=partial-availability apply to all languages (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20523) by B⁠tbN
GewoonLeon has joined #ffmpeg-devel
<wbs> BtbN: that's a good question. I think flags like -std=c17 are ok in objective C mode; they were used before and that worked allright
<BtbN> I also just noticed this: --extra-objcflags=FLAGS add FLAGS to OBJCFLAGS [$CFLAGS]
<BtbN> it just puts CFLAGS there as defaults?
<wbs> that kinda looks like a typo
<BtbN> What exactly breaks build on OSX right now? Is it just some flags that right now are only add_cflags in configure, but should be allcflags/also be objcflags?
<wbs> I have configurations where I used '--extra-cflags="-arch x86_64" --extra-ldflags="-arch x86_64"', to do the apple style cross compilation for another macos architecture
<wbs> now currenlty those flags are missing from the objective C checks in configure
<BtbN> Also, why does common.make have OBJCFLAGS and OBJCCFLAGS
<BtbN> *common.mak
<wbs> currently that seems to not have any ill observable effect, even though the configure check doesn't really check the right thing in the end
<BtbN> It's pretty much a question on if we want --extra-cflags to also go to objc, or if they should be in --extra-objcflags instead
<wbs> yep
<BtbN> common.mak does OBJCFLAGS += $(EOBJCFLAGS)
<BtbN> and then OBJCCFLAGS = $(CPPFLAGS) $(CFLAGS) $(OBJCFLAGS)
<wbs> yep
<BtbN> very confusing. EOBJCFLAGS aren't defined or used anywhere in the whole codebase
<BtbN> And I don't immediately see OBJCCFLAGS being used either, only OBJCFLAGS
<BtbN> But it must be used, since the cflags end up on the commandline
<BtbN> Oh, COMPILE_M = $(call COMPILE,OBJCC)
<BtbN> it has an extra C there, so it'll refer to OBJCCFLAGS
<BtbN> is that intended??
<BtbN> I guess so, cause OBJCC refers to the objc compiler. And it calls a macro for it
<BtbN> messy, but okay then
<wbs> yeah, sounds messy but probably ok
<wbs> is there any flag like --extra-allcflags, for passing flags to all language modes?
<BtbN> No, but could be easily added
<wbs> it might be wanted by people after this change
<BtbN> So OBJCCFLAGS = $(CPPFLAGS) $(CFLAGS) $(OBJCFLAGS) should lose its CFLAGS then?
<BtbN> Then it matches how configure tests objc
<wbs> that would be consistent with how c++ is handled. but as the other C specific flags, like -std=c17 are accepted (and probably affect the version of C tolerated in objc) it can probably be argued that it should be kept included (and configure should use cflags for objc as well)
<BtbN> Would extra-allcflags even be needed? cppflags is pretty much exactly that.
<wbs> that's true
<BtbN> (You can't set that from CLI right now either, but that could also easily be added)
Anthony_ZO has quit [Quit: Anthony_ZO]
Anthony_ZO has joined #ffmpeg-devel
<BtbN> Pretty much two ways to this: Add CFLAGS to line 1095 of configure, or remove it from line 50 in common.mak
<BtbN> Adding it in configure is the safer way, since it makes objc work like it always did so far
Anthony_ZO has quit [Read error: Connection reset by peer]
Anthony_ZO has joined #ffmpeg-devel
<BtbN> Though that must have been an issues before already? Cause I didn't remove the CFLAGS from there, it was always like this.
<BtbN> I guess before this a bunch of stuff was in CPPFLAGS that's now in CFLAGS
Anthony_ZO has quit [Client Quit]
<BtbN> But the inconsistency of configure not passing CFLAGS to OBJCC but the makefiles doing so is not new
Anthony_ZO has joined #ffmpeg-devel
Anthony_ZO has quit [Client Quit]
Anthony_ZO has joined #ffmpeg-devel
Anthony_ZO has quit [Client Quit]
<BtbN> wbs: yeah, I don't immediately understand how --extra-cflags would have ever ended up on the objcc commandline during configure, even before that patch
<wbs> looking into that now
<wbs> 0ce413af9cc8040095a6b714600d6a8dceaca514 did remove $CFLAGS from test_objcc
<BtbN> ah, yeah, that'd do it.
<wbs> and indeed, readding it there does make configure consistent with the build
<wbs> I can send a PR for that as well
<fjlogger> [FFmpeg/FFmpeg] Pull request #20524 opened: Fix ObjC issues after C/C++ flags split (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20524) by B⁠tbN
<BtbN> I had the patches already sitting there :D
<wbs> ok, you beat me to it :P
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-7019) by m⁠kver
<BtbN> C++ compilation actually hard failed for me, and printed two dozen warnings about invalid flags
<BtbN> various -W flags do not work on C++, but do on C
<BtbN> and it's very unhappy about being passed two -std= values
<wbs> understandably
<BtbN> I guess ObjC is more "C + something else on top"
<BtbN> while C++ is not
<wbs> yep
<wbs> so I guess this also means that whatever other C++ code we have in tree, is extremely untested
<BtbN> It's only decklink
<BtbN> and I do build it in my builds, and it works
jamrial has joined #ffmpeg-devel
<BtbN> Though it's basically written like C code, and also spews all those warnings
<wbs> ah, so it was only warnings
<wbs> "only"
<BtbN> The gfxcapture code also has one big warnings left, that I can do nothing about
<BtbN> somewhere in the headers, it exhausts some size limit of gcc, and it warns about disabling some warning features like misleading indents
<fjlogger> [FFmpeg/FFmpeg] New comment on issue #20476 lossless-rotate incorrect width-height (https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/20476#issuecomment-7021) by H⁠elmar.Thiere
<fjlogger> [FFmpeg/FFmpeg] Issue #20476 reopened: lossless-rotate incorrect width-height (https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/20476) by H⁠elmar.Thiere
<wbs> btw, I had to add --extra-ldflags="-static-libstdc++ -static-libgcc" on all my mingw-on-wine fate instances, as it now depends on runtime DLLs that it didn't use to do before (could also fix it by copying those DLLs into the path while building, but linking them statically is easier)
<wbs> that probably isn't an issue for non-cross mingw setups though
<wbs> that gcc warning is really annoying
<ePirat> BtbN, there is an issue with configure, for some reason it only showed up recently for me after some of your changes although it doesnt seem directly related...
<ePirat> Using "--toolchain=clang-asan" I get ./configure: line 976: -fsanitize=address: command not found and ./configure: line 976: -fno-omit-frame-pointer: command not found
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-7023) by j⁠amrial
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-7024) by j⁠amrial
<ePirat> this is because add_sanitizers calls add_allcflags, which calls append which in turn calls add_objcflags doing effectively: append OBJCFLAGS $($objcflags_filter "$@")
<ePirat> but objcflags_filter at this point is an empty string still so it tries to call the argument as a program
<Traneptora> ah, and it's not quoted either
<Traneptora> would quoting it just fix that
<ePirat> no
<ePirat> it still wouldnt lead to the correct outcome which is adding the flag with the flags filter applied to it
<Traneptora> so the root issue is that the flag filter is empty
<ePirat> yes, because this is done before the flags filter is set
<ePirat> I have no clue how to properly fix this
<ePirat> also I have no idea how this was never an issue before
<ePirat> as the toolchain is handled before the compiler is checked and the filter is set
<ePirat> I see… apparently it is just set to echo for the cflags before getting set to something else again later...
<ePirat> which I guess while not the most clean fix I will just propose that as it evidently didnt matter all these years
<fjlogger> [FFmpeg/FFmpeg] Pull request #20525 opened: configure: also initialize objcflags_filter early (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525) by e⁠Pirat
<ePirat> Traneptora, this should fix it ^
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20525 configure: also initialize objcflags_filter early (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525#issuecomment-7027) by B⁠tbN
<fjlogger> [FFmpeg/FFmpeg] Pull request #20526 opened: vp9: Improve 8bpc AVX2 inverse transform asm (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20526) by g⁠ramner
<haasn> is there a reason vf_tpad shouldn't just return a single frame with duration = INT64_MAX
<haasn> instead of repeating the same frame over and over agaein
<haasn> (in stop_mode=clone:stop=-1)
<jamrial> Traneptora: i guess the problem is host related in av_exif_matrix_to_orientation()
GewoonLeon has quit [Ping timeout: 248 seconds]
MisterMinister has joined #ffmpeg-devel
<Traneptora> jamrial: the PR you uploaded has a rotation set to 135, which is very strange
<Traneptora> how did that end up happening
<jamrial> that's what ends up showing up in the output png
<jamrial> the input jpeg has rotation -90
<jamrial> but it seems to be host dependent. the 32bit CI passed
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-7035) by m⁠kver
<ePirat> haasn, it would make a stream that had constant framerate suddenly variable frame rate, leading to all sorts of weird issue, no?
<haasn> maybe; I mean it could be a separate option
<haasn> but for downstream filters than can handle it?
<haasn> I did implement it but it seems some filters don't like it
<haasn> e.g. showinfo complaints about unreliable EOF timestamp
<Traneptora> jamrial: can you send the output PNG?
<jamrial> Traneptora: "TIFF Tag: id: 0x0112, type: 3, count: 1, offset: 58, payload: 5" shouldn't that payload be 327680?
<ePirat> haasn, and you would need to check that stuff like framesync with -shortest would still work fine and such
<Traneptora> jamrial: no, why would it be 2^15? it's the orientation field
<Traneptora> er, no
<Traneptora> should be 5
<jamrial> Traneptora: https://0x0.st/Kcjz.png
<jamrial> on the input jpg, i get "TIFF Tag: id: 0x0112, type: 3, count: 1, offset: 10, payload: 327680"
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20525 configure: also initialize objcflags_filter early (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525#issuecomment-7037) by e⁠Pirat
<Traneptora> jamrial: 327680 is 5 << 16. payload reads 4 bytes, regardless, and 327680 is a 4-byte big-endian integer, with the second half being all zeroes
<Traneptora> when it actually goes to read the tag, it only reads a big-endian short, which ends up as 5, ignoring the last two zero bytes
<Traneptora> because av_exif_write always writes little endian buffers, it writes the four bytes 0x 05 00 00 00, rather than the four bytes 0x 00 05 00 00
<Traneptora> on line 291 it calls "ff_tget_short" and reads 5, regardless of the payload value
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20438 vf_colorspace: Add an option to clamp trc LUT output (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20438#issuecomment-7039) by d⁠octor3w
Flat has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] Pull request #20527 opened: avformat/flvenc: fix event_flags check (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20527) by q⁠uink
Flat_ has quit [Ping timeout: 260 seconds]
<fjlogger> [FFmpeg/FFmpeg] Pull request #20524 merged: Fix ObjC issues after C/C++ flags split (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20524) by B⁠tbN
<fjlogger> [FFmpeg/FFmpeg] Pull request #20496 merged: [8.0] Backport Videotoolbox improvements (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20496) by e⁠Pirat
minimal has joined #ffmpeg-devel
<ePirat> haasn, https://trac.ffmpeg.org/ticket/11061 is this related to the apad issues you had investigated?
<haasn> nope
<haasn> wait, which issues did you mean?
<ePirat> Ah as it sounded similar to what you said in https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20457#issuecomment-6313
<ePirat> given that -t internally uses the trim filters iirc
<Traneptora> jamrial: I can't reproduce on my x86_64 system. I'm spinning up a 32-bit VM to see why it's passing
<haasn> ah then maybe it is related, yes
<BBB> haasn: can 20438 be merged?
<haasn> sure
<BBB> alright let's see what that magic button does
rvalue has quit [Read error: Connection reset by peer]
<haasn> can you take a look at https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20503 in return? :)
<jamrial> Traneptora: av_display_rotation_set() seems to be getting a nan when called from av_exif_orientation_to_matrix() for that one png
<jamrial> but not the input jpg, where it gets 90.0
<BBB> clearly not what I thought id did
rvalue has joined #ffmpeg-devel
<ePirat> BBB, which button?
<BBB> the red one, "merge after rebase and checks succeed"
<BBB> I clicked it, and it didn't rebase, which is what I expected it to do
<Traneptora> jamrial: how is that possible when all arguments are hardcoded
<jamrial> that's what i'm asking myself
<ePirat> BBB, huh weird
<BBB> it's ok, there's a rebase button right next to it
<BBB> "The time to compile vp9itxfm.asm is reduced to less than half" << nice!
<BBB> haasn: 20503... seems very, uh, filter'y
<BBB> haasn: I'm not sure I'm enough into filters to know what that does
<haasn> fair enough
<BBB> for me, filters are magic things that do pad init process contract gstreamer and then there's some magic code in the middle which actually *does stuff*, and that code I understand
<BBB> (using language from ffmpeg's twitter account)
<ePirat> haasn, dont you only need to report on outlink EOF?
<haasn> ePirat: you mean only report on inlink EOF?
<haasn> if anything, inlink EOF is the normal end of a file; unless downstream is length limited via -t
<ePirat> haasn, Ah right this filter doesnt need to bother with draining any buffered frames so doing it on both is probably fine.
<BBB> I believe the original reference was "[2] This seems to happen whenever I see anyone try to write anything in C++. They just spend all day figuring out how to connect things to other things and never write the part that does anything?", by astrange :D (https://news.ycombinator.com/item?id=44943687)
<BBB> I'm not saying libavfilter is bad, just that my interest/knowledge isn't really in the "how to connect things", but rather in the "actually do stuff". they're both valuable and necessary, obviously
<haasn> fully agree; though I think avfilter's API is pretty reasonable from a filter pov
<ePirat> the activate functions are annoying though
<ePirat> writing a correct one is insanely hard
<ePirat> especially if you have a more complex case with audio and video in one filter
<kepstin> indeed, but that's just because filter queue management is hard :(
<ePirat> but also the API design for this isnt great
<fjlogger> [FFmpeg/FFmpeg] Pull request #20438 merged: vf_colorspace: Add an option to clamp trc LUT output (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20438) by r⁠bultje
<haasn> for sure; though the macros help IMO what is missing is documentation / examples
<ePirat> the macros are footguns
<ePirat> they only works for very specific cases without saying so
<kepstin> yeah, when i was doing the fps filter i realized after a while that the macros weren't really useful for filters which do any significant amounts of frame dropping or generation :/
<haasn> I'd be curious to hear what alternate APIs you'd design that still let fully asynchronous N:M filters like vf_libplacebo exist
<kepstin> without C having a native "async" syntax that allows a function to be put on hold and resumed later, I honestly can't really think of a significantly better api.
<kepstin> since any time you need to wait for more input frames, or wait for outputs to be ready to receive more frames, you have to return from the function.
<ePirat> IMHO the main issue is documentation being not clear enough about some cases
kode540 has joined #ffmpeg-devel
kode54 has quit [Ping timeout: 250 seconds]
kode540 is now known as kode54
<haasn> I think if I had to design a blackbox API, I'd make it so activate() is always called with an *outlink that a frame is being requested on
<haasn> I'd also make e.g. the function to request a frame from an input automatically mark that input as "frame wanted" if there are no frames queued
<haasn> so you don't have to have a function like FORWARD_WANTED at all
<haasn> it would just happen implicitly when you request a frame from an input (after activate() was called for a given output)
b50d has joined #ffmpeg-devel
b50d has quit [Remote host closed the connection]
<mkver> BtbN: Running configure with --toolchain=clang-asan now gives "./configure: 976: -fsanitize=address: not found ./configure: 976: -fno-omit-frame-pointer: not found" messages.
MisterMinister has quit [Ping timeout: 245 seconds]
<mkver> ePirat: Thanks for taking care of this.
<kepstin> haasn: unclear how that would work with multiple outlinks, and i think there are some cases where activate can be called without any outlinks requesting frames (don't recall offhand what circumstances might cause that, tho)
<Lynne> err, did something break or touch flac parsing recently?
<Lynne> "flac: Could not find codec parameters for stream 0 (Audio: flac, 0 channels): unspecified sample format"
<Lynne> other files work fine, but these worked fine up until a month ago
<Lynne> here's a sample: https://0x0.st/Kcer.flac
<mkver> Lynne: Do these files have ID3v2 tags? This might have been broken by 9d037c54f209958d47ac376d2a9561608f98dfae.
<Lynne> yeah, they do, and I don't think their tags had correct encoding
<mkver> It indeed starts with ID3v2 tags that are now no longer skipped.
<mkver> So it has been broken by the aforementioned commit.
<Lynne> "Introduces AVFMT_FLAG_ID3V2_AUTO and applies it to mp3, aac, tta, and wav.", why not flac?
<jamrial> flac uses vorbiscomment normally, i think
<mkver> Because these are the only formats for which ID3v2 at the start would have been applied before.
<Lynne> ah, I see
<mkver> Before this commit, the check for leading ID3v2 metadata was performed unconditionally (you only need to have an AVIOContext), but it was applied only for whitelisted formats. Now these tags are only consumed for whitelisted formats.
<mkver> The actual issue was that raw formats (e.g. PCM) can start with what appears to be an ID3v2 tag, although it isn't.
<Lynne> I thought id3v2 tags were stored in some container-specific way, are they just dumped in front of the whole container?
<mkver> In this codepath, yes.
<fjlogger> [FFmpeg/FFmpeg] Pull request #20525 merged: configure: also initialize objcflags_filter early (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20525) by B⁠tbN
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #ffmpeg-devel
<fflogger> [editedticket] mkver: Ticket #11233 ([avformat] heap-buffer-overflow occurred when running program ffmpeg in av_crc at crc.c) updated https://trac.ffmpeg.org/ticket/11233#comment:2
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20505 swresample/swresample_internal: Use union for float, int matrix (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20505#issuecomment-7062) by m⁠kver
<fjlogger> [FFmpeg/FFmpeg] Pull request #20505 closed: swresample/swresample_internal: Use union for float, int matrix (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20505) by m⁠kver
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20497 avcodec/mjpegdec: Avoid mixing return value and error code, avoid branch (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20497#issuecomment-7064) by m⁠kver
<fjlogger> [FFmpeg/FFmpeg] Pull request #20497 closed: avcodec/mjpegdec: Avoid mixing return value and error code, avoid branch (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20497) by m⁠kver
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20521 avcodec/aacenc: add high energy check to exclude unsuitable bands from PNS (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20521#issuecomment-7067) by L⁠ynne
<fjlogger> [FFmpeg/FFmpeg] Pull request #20528 opened: Add AVX2 and AVX512 versions of vf_idet (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20528) by h⁠aasn
<Lynne> even flacdec gives up on these files
NullSound has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mkver> haasn: Does vf_colordetect work with 8bit formats when BE? These formats don't have an endianness at all, so the descriptors don't have AV_PIX_FMT_FLAG_BE.
ngaullie has quit [Remote host closed the connection]
<haasn> mkver: seem like the answer is no
wyatt8740 has quit [Ping timeout: 245 seconds]
<fjlogger> [FFmpeg/FFmpeg] Pull request #20529 opened: Don't link all of libavfilter in checkasm (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20529) by m⁠kver
wyatt8740 has joined #ffmpeg-devel
microchip_ has quit [Quit: Do coders dream of sheep() ?]
microchip_ has joined #ffmpeg-devel
<fjlogger> [FFmpeg/FFmpeg] Pull request #20530 opened: avcodec/decode: Inline EXIF Orientation tag value (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20530) by m⁠kver
HarshK23 has joined #ffmpeg-devel
wyatt8750 has joined #ffmpeg-devel
wyatt8740 has quit [Ping timeout: 250 seconds]
<jamrial> Traneptora: were you able to reproduce it on x86_32?
<Traneptora> jamrial: was able to get the fate test to pass, currently trying to figure out where the heck 135 is coming from
<Traneptora> can't reproduce it with clang-asan-ubsan, interesting
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20530 avcodec/decode: Inline EXIF Orientation tag value (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20530#issuecomment-7091) by j⁠amrial
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20530 avcodec/decode: Inline EXIF Orientation tag value (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20530#issuecomment-7093) by m⁠kver
<mkver> Traneptora: I see nothing in d3190a64c366a79091fe47fddf93c09a7d988802 that ensures that the allocated packet is big enough.
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20513 ff-tmp-exif-clear (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20513#issuecomment-7095) by m⁠ichaelni
<haasn> mkver: what is the practical benefit of av_cold?
<mkver> It means that the function is optimized more for size than for speed. It also puts the functions in a separate section (.text.cold), which the linker uses to ensure that the cold functions are besides each other, which may improve chaching a tiny bit.
<BtbN> Should the config_props functions also be av_cold?
<BtbN> They also run only exactly once I think?
<mkver> If they are only run once, then yes.
<BtbN> I think those run only once on startup, but I'm not 100% sure
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20500 fftools/cmdutils: Rename file_read to ff_file_read to avoid symbol conflict (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20500#issuecomment-7098) by m⁠ichaelni
<JEEB> Lynne: btw out of interest, have you noticed that some vulkan implementations have maxMemoryAllocationSize = 0x80000000
<JEEB> that's surprisingly low
<JEEB> (for compute purposes)
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-7101) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20522 tests/fate/image: add Exif rotation metadata tests (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20522#issuecomment-7106) by j⁠amrial
CoreX- has joined #ffmpeg-devel
CoreX has quit [Ping timeout: 265 seconds]
HarshK23 has quit [Quit: Connection closed for inactivity]
Kimapr_ has joined #ffmpeg-devel
kimapr__ has quit [Remote host closed the connection]
wyatt8740 has joined #ffmpeg-devel
wyatt8750 has quit [Ping timeout: 256 seconds]
DauntlessOne4985 has quit [Ping timeout: 260 seconds]
DauntlessOne4985 has joined #ffmpeg-devel
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 256 seconds]
<fjlogger> [FFmpeg/FFmpeg] Pull request #20531 opened: avfilter/vsrc_gfxcapture: fix possible missed wakeup race in capture loop (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20531) by B⁠tbN
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20513 ff-tmp-exif-clear (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20513#issuecomment-7112) by T⁠raneptora
rvalue- is now known as rvalue
<Traneptora> mkver: you're right, I need to add that
CoreX- is now known as CoreX
minimal has quit [Quit: Leaving]
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20458 Add drawvg video filter. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20458#issuecomment-9424) by a⁠yosec
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20458 Add drawvg video filter. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20458#issuecomment-9427) by a⁠yosec
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20458 Add drawvg video filter. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20458#issuecomment-9428) by a⁠yosec
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20458 Add drawvg video filter. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20458#issuecomment-9429) by a⁠yosec
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9430) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9431) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9432) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9433) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9434) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9435) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9436) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20364 avcodec/quadra: add netint h264/h265 hwaccel encoders (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20364#issuecomment-9437) by d⁠esmondliu
<fjlogger> [FFmpeg/FFmpeg] New comment on pull request #20458 Add drawvg video filter. (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20458#issuecomment-9439) by a⁠yosec
MetaNova has quit [Quit: quit]
MetaNova has joined #ffmpeg-devel