2025-08-22 10:25
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
00:12
psykose has quit [Remote host closed the connection]
00:12
jamrial has quit [Read error: Connection reset by peer]
00:13
jamrial has joined #ffmpeg-devel
00:13
psykose has joined #ffmpeg-devel
00:23
indecisiveturtle has joined #ffmpeg-devel
00:24
<
BtbN >
kasper93: I think I fixed the weird crash. By manually LoadLibrary'ing graphicscapture.dll, and doing nothing with it except freeing it at the end.
00:24
<
BtbN >
Letting RoUninitialize unload it is what's crashing
00:30
mkver has quit [Ping timeout: 244 seconds]
00:34
blb has quit [Ping timeout: 250 seconds]
00:36
blb has joined #ffmpeg-devel
00:46
blb has quit [Ping timeout: 250 seconds]
00:48
blb has joined #ffmpeg-devel
02:10
secondcreek has joined #ffmpeg-devel
02:11
NullSound has joined #ffmpeg-devel
02:16
secondcreek has quit [Quit: secondcreek]
03:04
jamrial_ has joined #ffmpeg-devel
03:07
jamrial has quit [Ping timeout: 258 seconds]
03:10
Martchus_ has joined #ffmpeg-devel
03:11
Martchus has quit [Ping timeout: 248 seconds]
03:26
jamrial_ has quit []
03:31
rvalue has quit [Write error: error:80000068:system library::Connection reset by peer]
03:31
rvalue has joined #ffmpeg-devel
03:49
damithag has joined #ffmpeg-devel
03:53
damithag has quit [Ping timeout: 256 seconds]
03:54
MisterMinister has quit [Ping timeout: 256 seconds]
04:34
<
Lynne >
jkqxz: ping on #20367
04:55
Guest87 has joined #ffmpeg-devel
05:04
damithag has joined #ffmpeg-devel
05:07
blb has quit [Ping timeout: 256 seconds]
05:21
blb has joined #ffmpeg-devel
05:29
damithag has quit [Ping timeout: 258 seconds]
06:30
GewoonLeon has joined #ffmpeg-devel
06:30
Guest87 has quit [Ping timeout: 250 seconds]
06:31
Guest87 has joined #ffmpeg-devel
06:32
derpydoo has joined #ffmpeg-devel
06:46
Guest87 has quit [Quit: Client closed]
07:01
Guest87 has joined #ffmpeg-devel
07:01
veritgo235 has quit [Quit: Ping timeout (120 seconds)]
07:02
veritgo235 has joined #ffmpeg-devel
07:09
Guest87 has quit [Quit: Client closed]
07:10
indecisiveturtle has quit [Quit: indecisiveturtle]
07:35
ngaullier has joined #ffmpeg-devel
08:09
mkver has joined #ffmpeg-devel
08:15
Teukka has quit [Read error: Connection reset by peer]
08:18
Teukka has joined #ffmpeg-devel
08:18
Teukka has quit [Changing host]
08:18
Teukka has joined #ffmpeg-devel
08:19
damithag has joined #ffmpeg-devel
08:56
NullSound has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
08:57
NullSound has joined #ffmpeg-devel
09:00
zsoltiv_ has quit [Ping timeout: 248 seconds]
09:00
zsoltiv has quit [Ping timeout: 260 seconds]
09:00
zsoltiv_ has joined #ffmpeg-devel
09:01
zsoltiv has joined #ffmpeg-devel
09:10
derpydoo has quit [Quit: derpydoo]
09:39
NullSound has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:50
LainIwakura has joined #ffmpeg-devel
09:57
LainIwakura has quit [Ping timeout: 250 seconds]
10:13
LainIwakura has joined #ffmpeg-devel
10:16
GewoonLeon has quit [Read error: Connection reset by peer]
10:16
GewoonLeon1 has joined #ffmpeg-devel
10:19
GewoonLeon1 is now known as GewoonLeon
10:47
Guest63 has joined #ffmpeg-devel
10:48
Guest63 has quit [Client Quit]
10:48
Guest48we5234 has joined #ffmpeg-devel
10:48
Guest48we5234 has quit [Client Quit]
11:11
minimal has joined #ffmpeg-devel
11:21
Arcitec has joined #ffmpeg-devel
11:53
Guest6632423523 has joined #ffmpeg-devel
11:54
Guest6632423523 has quit [Client Quit]
12:03
CoreX has quit [Quit: Computer Say's Goodbye]
12:07
CoreX has joined #ffmpeg-devel
12:23
LainIwakura has quit [Quit: Client closed]
12:23
jamrial has joined #ffmpeg-devel
12:54
indecisiveturtle has joined #ffmpeg-devel
14:09
DauntlessOne4985 has joined #ffmpeg-devel
14:23
GewoonLeon has quit [Quit: GewoonLeon]
14:23
GewoonLeon has joined #ffmpeg-devel
14:34
DauntlessOne4985 has quit [Remote host closed the connection]
14:36
DauntlessOne4985 has joined #ffmpeg-devel
14:38
GewoonLeon has quit [Ping timeout: 256 seconds]
15:04
indecisiveturtle has quit [Quit: indecisiveturtle]
15:20
ccawley2011__ has joined #ffmpeg-devel
15:32
mkver has quit [Ping timeout: 244 seconds]
15:39
ccawley2011__ has quit [Ping timeout: 260 seconds]
16:18
Everything has joined #ffmpeg-devel
16:45
Everything has quit [Quit: leaving]
16:58
ngaullier has quit [Remote host closed the connection]
17:09
ccawley2011__ has joined #ffmpeg-devel
17:14
<
BtbN >
well, I just had to touch almost every part of the build system to make it able to a) compile and b) link C++
17:15
<
BtbN >
seems like it wasn't done in a while
17:28
ccawley2011__ has quit [Ping timeout: 256 seconds]
17:35
ccawley2011__ has joined #ffmpeg-devel
17:45
mkver has joined #ffmpeg-devel
18:37
Everything has joined #ffmpeg-devel
18:38
<
ePirat >
BtbN, why that?
18:39
<
BtbN >
Why I'm using C++, or why I had to fixup the build system?
18:39
<
ePirat >
the latter
18:39
<
BtbN >
Well, it for some reason passes CFLAGS to it
18:39
<
BtbN >
which makes it rather unhappy to receive -std=c17 on its commandline
18:39
<
ePirat >
Ah yes the build system has no concept of those separately
18:39
<
BtbN >
it has CFLAGS, CXXFLAGS and CPPFLAGS (and OBJCFLAGS)
18:40
<
BtbN >
for some reason it just put virtually everything into CFLAGS
18:40
<
ePirat >
thats what I meant
18:40
<
BtbN >
and someone decided just passing CFLAGS to g++ is easier
18:40
<
ePirat >
while it technically has, it was neglected forever
18:40
<
BtbN >
so I had to untangle all the flags and separate them properly
18:40
<
ePirat >
also it is rather inconsistent with naming
18:40
<
BtbN >
And some of the -W flags it sets are also unsupported by C++
18:41
<
ePirat >
some things about c++ are named _cxx and some _cpp
18:41
<
ePirat >
which is really confusing
18:41
<
BtbN >
It does seem to be consistent there
18:41
<
BtbN >
CPP stands for the C Pre-Processor
18:41
<
ePirat >
not when I checked last time
18:41
<
BtbN >
And the CPPFLAGS receive defines and stuff like that
18:41
<
BtbN >
it seems to be doing that correctly
18:43
ccawley2011__ has quit [Remote host closed the connection]
18:44
ccawley2011__ has joined #ffmpeg-devel
18:44
<
BtbN >
For linking I had to modify the Makefiles to link with CXX when -lstdc++ is on the linker commandline, and drop the flag from it
18:44
<
BtbN >
Cause I'm testing with clang, and clang does not use -lstdc++
18:44
<
BtbN >
But configure (and various .pc files) are filled with -lstdc++
18:45
<
BtbN >
so I kinda just use it as a flag for "If this is on the linker commandline, drop it and link with CXX"
18:45
<
BtbN >
But only if LD == CC
18:45
<
ePirat >
there is at least check_class_headers_cpp which IMHO is confusingly named as it is about C++, not about the preprocessor
18:45
<
ePirat >
same for check_lib_cpp
18:46
<
BtbN >
Oh, I didn't even notice those
18:46
<
ePirat >
and require_cpp
18:46
<
BtbN >
Hm, actually
18:46
<
BtbN >
I don't think those are C++
18:47
<
BtbN >
libx264 check uses them to check a pre-compiler condition
18:47
<
ePirat >
yes they are
18:47
<
ePirat >
they invoke the cxx linker
18:48
<
BtbN >
All of those seem to exclusively exist for libtoch, hm
18:48
<
ePirat >
they are useful to have but imho should be named _cxx
18:49
<
BtbN >
require_cpp being for C++ and require_cpp_condition for a pre-compiler-condition is horrible
18:49
<
ePirat >
also is there a reason we dont have any comments for these things explainign what they do and what arguments they take?
18:50
<
BtbN >
"self documenting"
18:50
GewoonLeon has joined #ffmpeg-devel
18:56
<
ePirat >
BtbN, looks like it, yeah
18:56
<
BtbN >
might as well bring that along with all the other changes in that set
18:57
<
BtbN >
gfxcapture also isn't crashing anymore though the fix makes no sense
18:57
<
BtbN >
it seems to be internally freeing stuff in the wrong order
18:57
<
BtbN >
and due to me runtime-loading every DLL involved, that explodes
18:57
<
BtbN >
normally, when you link those DLLs directly, they get pulled in, and are never freed
18:58
<
BtbN >
so the fix is to just also dlopen a few extra DLLs, and do nothing with them except freeing them again in the end
18:59
<
ePirat >
BtbN, thanks for cleaning those up
19:03
<
BtbN >
The gfxcapture filter is also potentially one of the most "complex" ones so far
19:04
<
BtbN >
since everything has to happen on its own thread
19:04
<
BtbN >
so there is a ton of synchronization. Quite handy to have C++ available for that. It does make that a lot less painful
19:07
indecisiveturtle has joined #ffmpeg-devel
19:08
<
BtbN >
The most annoying thing with C++ is how it barfs hundreds of lines of errors at you for trivial typos
19:09
lexano has quit [Ping timeout: 260 seconds]
19:23
lexano has joined #ffmpeg-devel
19:26
indecisiveturtle has quit [Quit: indecisiveturtle]
19:30
indecisiveturtle has joined #ffmpeg-devel
19:45
<
BtbN >
What would be a sensible thing to do for a source filter like that when the window size changes? I don't think we have any capture source that has that problem yet, do we?
19:45
<
BtbN >
I don't think suddenly changing the output resolution would go well with anything
19:46
<
BtbN >
specially not given it's hwframes
19:52
Everything has quit [Quit: leaving]
20:08
GewoonLeon has quit [Ping timeout: 258 seconds]
20:27
quietvoid has quit []
20:49
indecisiveturtle has quit [Quit: indecisiveturtle]
21:05
damithag has quit [Ping timeout: 256 seconds]
21:46
quietvoid has joined #ffmpeg-devel
22:04
kimapr__ has quit [Remote host closed the connection]
22:04
Kimapr has joined #ffmpeg-devel
22:21
blb has quit [Ping timeout: 245 seconds]
22:21
Arcitec has quit [Quit: Arcitec]
22:23
blb has joined #ffmpeg-devel
22:44
Guest79 has joined #ffmpeg-devel
22:44
Guest79 has quit [Client Quit]
22:45
Guest79 has joined #ffmpeg-devel
22:48
ccawley2011__ has quit [Read error: Connection reset by peer]
23:02
Guest79 has quit [Quit: Client closed]