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
abdu91 has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
<tmatth> yes
jamrial has joined #ffmpeg-devel
jamrial has quit [Changing host]
jamrial has joined #ffmpeg-devel
<Lynne> git master? enabled either glslang or shaderc?
thilo has quit [Ping timeout: 252 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
Anthony_ZO has joined #ffmpeg-devel
khrbtxyz has quit [Remote host closed the connection]
abdu91 has quit [Quit: Client closed]
derpydoo has joined #ffmpeg-devel
minimal has quit [Quit: Leaving]
<tmatth> git master yeah, I hadn't explicitly enabled glslang though, giving that a try now
<Lynne> yeah, it's not autodetected
<Lynne> since we have ffv1 decoding though, I think we should start autodetecting it and enabling it maybe
<Lynne> but spirv libs are a hot potato to link against
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
kierank has quit [Ping timeout: 248 seconds]
<tmatth> alright now I have:
<tmatth> > V....D ffv1_vulkan FFmpeg video codec #1 (Vulkan) (codec ffv1)
<Lynne> yay
kierank has joined #ffmpeg-devel
khrbtxyz has joined #ffmpeg-devel
jamrial has quit []
mkver has joined #ffmpeg-devel
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 252 seconds]
<fflogger> [newticket] daveisfera: Ticket #11548 ([avformat] Extra keyframe when encoding with x264) created https://trac.ffmpeg.org/ticket/11548
cone-441 has joined #ffmpeg-devel
<cone-441> ffmpeg Andreas Rheinhardt master:2ab10212647b: fftools/textformat/avtextformat: Simplify avtext_print_rational()
<cone-441> ffmpeg Andreas Rheinhardt master:c9dc6ca02b72: fftools/textformat: Use "", not <> for lavu headers
<cone-441> ffmpeg Andreas Rheinhardt master:395c91347f15: fftools/textformat/tw_avio: Remove unused private class
<cone-441> ffmpeg Andreas Rheinhardt master:79fa31d15976: fftools/textformat/tw_avio: Don't flush unnecessarily
<cone-441> ffmpeg Andreas Rheinhardt master:f73badbf47e7: fftools/textformat/tw_avio: Use avio_closep()
<cone-441> ffmpeg Andreas Rheinhardt master:b9450583bcdd: textformat/tw_avio: Remove close_on_uninit param from create_file
<cone-441> ffmpeg Andreas Rheinhardt master:7ee7632cb846: fftools/textformat/avtextformat: Fix segfault upon allocation error
<cone-441> ffmpeg Andreas Rheinhardt master:50ef4b2a6b79: fftools/textformat/avtextformat: Fix segfault upon allocation error
<cone-441> ffmpeg Andreas Rheinhardt master:f873734f84a8: fftools/textformat/avtextformat: Initialize stuff earlier
<cone-441> ffmpeg Andreas Rheinhardt master:37635d31cbbf: fftools/textformat/avtextformat: Add missing AVERROR()
<cone-441> ffmpeg Andreas Rheinhardt master:a888975a3c25: fftools/textformat/avtextformat: Make close functions return void
secondcreek has quit [Remote host closed the connection]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
<Lynne> haasn: recently LLVM got spir-v target merged (*direct* spir-v, no khronos libs or executables involved)
<Lynne> and LLVM has an opencl frontend... which already supports vulkan
<Lynne> currenly it crashes for any shader, and I reported it, but yeah, I'd rather write OCL instead of GLSL
<Lynne> plus we'd get partial compilation so we can precompile chunks during compile-time which we just link during execution
<Lynne> and llvm is already widely present on systems anyway since gallium and lavapipe use it
Anthony_ZO has quit [Ping timeout: 260 seconds]
Anthony_ZO has joined #ffmpeg-devel
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 248 seconds]
Anthony_ZO has quit [Ping timeout: 245 seconds]
Guest44 has joined #ffmpeg-devel
Guest44 has quit [Client Quit]
rvalue- is now known as rvalue
cone-441 has quit [Quit: transmission timeout]
Anthony_ZO has joined #ffmpeg-devel
Anthony_ZO has quit [Remote host closed the connection]
Anthony_ZO has joined #ffmpeg-devel
DodoGTA has quit [Quit: DodoGTA]
DodoGTA has joined #ffmpeg-devel
derpydoo has quit [Quit: derpydoo]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 276 seconds]
j45_ is now known as j45
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
cone-829 has joined #ffmpeg-devel
<cone-829> ffmpeg Link Mauve master:50910c32c548: tools: Fix deprecation warning in patcheck
<cone-829> ffmpeg Michael Niedermayer master:1946b7875cde: avformat/id3v2: Print the unknown encoding
<cone-829> ffmpeg Arthur Grillo master:2fedb29780f4: avformat/fifo: Check for keyframe video type before stop dropping
<cone-829> ffmpeg Michael Niedermayer master:979608dde7a8: configure: Clearer documentation for "disable-safe-bitstream-reader"
<cone-829> ffmpeg Sean McGovern master:c818c67991a6: libpostproc: deprecate the AMD 3DNow! define
<cone-829> ffmpeg Michael Niedermayer master:935a52c887b5: avcodec/ffv1enc: Use version 3 by default (CRCs by default)
<cone-829> ffmpeg Jerome Martinez master:0c28059b812f: avcodec/ffv1enc: avoid repeating the same warning forever
<cone-829> ffmpeg Jack Lau via ffmpeg-devel master:cf7dfddee406: avformat/rtpdec_mpeg4: add need_parsing for rtsp AAC
<cone-829> ffmpeg Michael Niedermayer master:058d49b1684d: Revert "lavf/id3v2dec: support multiple values and TIPL frames"
jamrial has joined #ffmpeg-devel
<cone-829> ffmpeg Zhao Zhili master:6995372ea23b: doc/filters: Fix video size of mptestsrc
<haasn> Lynne: neat
<haasn> hot take: registers should have been numbered ymm0..ymm9, then ymmA, ymmB etc instead of ymm10
<haasn> purely for aesthetic reasons
<JEEB> hex numerics :3
<Sean_McG> whoa hold on -- I guess someone missed that I still had a review comment from Andreas to address in the 3DNow! change...
<Sean_McG> I guess take this one on the chin and do better for the Altivec pieces
<mkver> Irrelevant now
uau has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
uau has joined #ffmpeg-devel
<cone-829> ffmpeg Sean McGovern master:afe6c1238ac4: libpostproc: update APIChanges and version for "deprecate the AMD 3DNow"
<michaelni> Sean_McG, fixed, sorry was a bit behind on some threads on the ML it seems
<Sean_McG> OK, thanks for doing that
System_Error has quit [Ping timeout: 264 seconds]
Anthony_ZO has quit [Ping timeout: 245 seconds]
<fflogger> [editedticket] JackLau: Ticket #11531 ([ffmpeg] [Regression] AAC audio in RTSP no more muxed with "-c copy") updated https://trac.ffmpeg.org/ticket/11531#comment:11
<fflogger> [editedticket] JackLau: Ticket #11375 ([avformat] rtsp aac packets have no AV_PKT_FLAG_KEY) updated https://trac.ffmpeg.org/ticket/11375#comment:1
System_Error has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
<Sean_McG> getting lots of gateway errors from gitweb lately, is that machine OK?
microlappy has joined #ffmpeg-devel
mkver has quit [Ping timeout: 265 seconds]
microlappy has quit [Client Quit]
mkver has joined #ffmpeg-devel
DauntlessOne41 has joined #ffmpeg-devel
DauntlessOne4 has quit [Ping timeout: 272 seconds]
DauntlessOne41 is now known as DauntlessOne4
abdu has quit [Quit: Client closed]
<cone-829> ffmpeg Leo Izen master:b09501031aae: avcodec/libjxlenc: prevent color encoding from being set twice
<Lynne> Sean_McG: just your daily dose of AGI TO THE MOON
<Sean_McG> le sigh.
abdu has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
DauntlessOne49 has joined #ffmpeg-devel
DauntlessOne4 has quit [Ping timeout: 244 seconds]
DauntlessOne49 is now known as DauntlessOne4
<llyyr> is it not behind anubis?
<Lynne> git isn't
DauntlessOne4 has quit [Ping timeout: 244 seconds]
DauntlessOne4 has joined #ffmpeg-devel
abdo has joined #ffmpeg-devel
<Traneptora> oh yea 502s and 504s
<mkver> same here
jamrial has quit []
ahmedhamed has joined #ffmpeg-devel
<Traneptora> tfw all the gits go down at the same time
<Traneptora> gitlab.freedesktop.org is also timing out on TCP socket to 22
jamrial has joined #ffmpeg-devel
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg-devel
Traneptora has quit [Client Quit]
Traneptora has joined #ffmpeg-devel
<cone-829> ffmpeg Frank Plowman master:d220fa61893d: fate/vvc: Add vvc-wpp-single-slice-pic
Traneptora has quit [Client Quit]
Traneptora has joined #ffmpeg-devel
<Traneptora> another|: ty
<fflogger> [editedticket] Balling: Ticket #11271 ([undetermined] How to choose the best hwaccel?) updated https://trac.ffmpeg.org/ticket/11271#comment:12
minimal has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
<fflogger> [editedticket] daveisfera: Ticket #11548 ([avformat] Extra keyframe when encoding with x264) updated https://trac.ffmpeg.org/ticket/11548#comment:1
Traneptora has quit [Quit: Quit]
abdo has quit [Quit: Connection closed for inactivity]
tccq has joined #ffmpeg-devel
<tccq> Hi, I have some questions about memory leaks using filter_complex. I am writing my own simple VV->V filter that simply forwards frames from each input depending on a timer. (ie. it sends 5s of input a and then 5s of b etc). But I am seeing super fast rising memory usage that only declines when ffmpeg is killed or exits. I am pretty sure that it has something to do with the frames themselves not getting completely freed. I am using
<tccq> framesync, attempting to get ownership of the frame I intend to send on with either ff_framesync_get_frame or with a av_frame_clone+av_frame_make_writeable, and then passing them to ff_filter_frame, which I understand to take ownership of both the AVFrame structure and the underlying data. https://pastebin.com/cZzWAMgj Does anyone have any guesses about where the memory is leaking?
iive has joined #ffmpeg-devel
<BtbN> "a = av_frame_clone(a);" straight up makes that frame leak forever
<BtbN> you make an extra reference to its data, while overwriting the original one
<BtbN> so it'll never be freed
<BBB> for extlib wrappers where we're trying to wrap some options using AVOptions, we're typically using "silly" values to mean "default" or "not provided". would it be possible to use a flag for this?
<BBB> (I don't know how this would work exactly)
<JEEB> I think I tried to use an "invalid" value which the AVOption's actual range wouldn't permit to be set manually, which did work, but that would then also not let one "unset" an option
<BBB> no, the range has to be extended for it to be fit
<BBB> it's a detail, it's not a big deal
<tccq> but ff_framesync_get_frame without the get arg just returns with '*rframe = frame;' without an allocation, so the frame structure is still held by the framesync structures.
<BBB> but it'd be nice if there was a more generic way to say "this value was specified"
<JEEB> yea
TheVibeCoder has joined #ffmpeg-devel
<TheVibeCoder> when 8.0 will be released?
IndecisiveTurtle has joined #ffmpeg-devel
___nick___ has joined #ffmpeg-devel
<Sean_McG> when it's ready
cone-829 has quit [Quit: transmission timeout]
<jamrial> michaelni: should the new avdict flag be removed if that id3v2 change was reverted?
<jamrial> it's recent enough we can get away with it
<TheVibeCoder> why when it is ready and not when it is complete?
<jamrial> oh, it's still used in lavf/metadata.c
<jamrial> guess not then
___nick___ has quit [Ping timeout: 252 seconds]
TheVibeCoder has quit [Quit: Client closed]
<jkqxz> Is there some way to verify that asm functions actually only use the instruction set they are allowed to? (Without a machine with the right properties to check.)
Traneptora has joined #ffmpeg-devel
<jkqxz> Like some sort of naive idiot I used the sensible version of vpbroadcastd in an AVX2 function and only found out at the SIGILL, and now I'm wondering how you check for other cases of that.
<jamrial> jkqxz: x86inc should warn you about that during compilation, but maybe it doesn't work for avx2?
<jamrial> Gramner: ^ do you know?
<jkqxz> I tried an AVX512 instruction (on ymms) with no AVX2 form and I see no warning for that either.
mkver has quit [Ping timeout: 244 seconds]
<another|> is ffmpeg's copy of x86inc up-to-date?
<Lynne> jkqxz: did you use the instruction macros or the native assembler instruction mnemonics?
<jkqxz> It does ding me for using punpckldq on ymm if I declare avx rather than avx2, so it certainly works in some cases.
<jamrial> another|: doesn't look like, compared to dav1d's at least
<jkqxz> jamrial: I wrote "vpbroadcastd m10, eax".
<jamrial> yeah, that's avx512
<jamrial> so x86inc doesn't seem to have macros around some of these AVX only instructions, so it will not warn
<jkqxz> I only wanted a constant, it's fine with "vpbroadcastd m10, [sixtyfour]". (Maybe that's faster anyway, but the code felt cleaner using the immediate.)
odrling has quit [Remote host closed the connection]
odrling has joined #ffmpeg-devel
<another|> hmm.. that's actually not detected by x86inc
<Gramner> x86inc only warns for legacy instructions (i.e. those that are templated for both sse/avx)
<Gramner> that's not to say it wouldn't be useful for newer instructions, it's just that nobody implemented that
<jamrial> EVEX_INSTR could be adapted for it. AVX_INSTR is already too bloated
<Gramner> yeah, the reason it was done for the legacy ones is that they were all already conveniently macroed
cone-982 has joined #ffmpeg-devel
<cone-982> ffmpeg Lynne master:bb3ce284d7cc: vulkan: use a single command buffer per command buffer pool
<cone-982> ffmpeg Lynne master:36c6c66deb56: vulkan/rangecoder: minor cleanup
<ramiro> haasn: I'm on vacation until early may, I'll have a better look at your changes then. hopefully subsampled formats will also have been supported by then :P
<ramiro> haasn: about SWS_OP_SWAP_BYTES and SWS_OP_SHUFFLE, the "SHUFFLE_BYTES { .type = U32, .order = { 3, 2, 1, 0 }}" compromise sounds good. the only issue I can think of quickly is that we might end up with a lot of possible combinations, where only a few will be actually used by real converters. we may end up with a test dark spot, or with a more work being done to implement all combinations which might
<ramiro> not all be needed.
fflogger has quit [Remote host closed the connection]
fflogger has joined #ffmpeg-devel
Anthony_ZO has joined #ffmpeg-devel
secondcreek has joined #ffmpeg-devel
thilo has quit [Ping timeout: 260 seconds]
thilo has joined #ffmpeg-devel
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
E81l7HT8T7sF9JdA has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
E81l7HT8T7sF9JdA has quit [Quit: Leaving]