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
<fflogger> [editedticket] MasterQuestionable: Ticket #11525 ([avdevice] Better frame dropping logic for live streams to avoid unjustifiable freezing?) updated https://trac.ffmpeg.org/ticket/11525#comment:22
jamrial has quit [Read error: Connection reset by peer]
jamrial has joined #ffmpeg-devel
HarshK23 has quit [Quit: Connection closed for inactivity]
IndecisiveTurtle has quit [Ping timeout: 265 seconds]
kasper93 has quit [Remote host closed the connection]
kasper93 has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11490 ([avformat] [Regression] Audio silent for long MOV file) updated https://trac.ffmpeg.org/ticket/11490#comment:11
Kei_N has joined #ffmpeg-devel
Kei_N_ has quit [Ping timeout: 252 seconds]
minimal has quit [Quit: Leaving]
kasper93 has quit [Quit: kasper93]
kasper93 has joined #ffmpeg-devel
jamrial has quit [Read error: Connection reset by peer]
jamrial_ has joined #ffmpeg-devel
averne has quit [Ping timeout: 260 seconds]
averne_ has joined #ffmpeg-devel
averne_ is now known as averne
thilo has quit [Ping timeout: 244 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
derpydoo has joined #ffmpeg-devel
jamrial_ has quit [Read error: Connection reset by peer]
jamrial_ has joined #ffmpeg-devel
cone-938 has quit [Quit: transmission timeout]
^Neo has quit [Ping timeout: 244 seconds]
System_Error has quit [Remote host closed the connection]
abdu18 has quit [Ping timeout: 240 seconds]
System_Error has joined #ffmpeg-devel
LainExperiments has joined #ffmpeg-devel
LainExperiments has quit [Quit: Client closed]
LainExperiments has joined #ffmpeg-devel
jamrial_ has quit []
LainExperiments3 has joined #ffmpeg-devel
LainExperiments has quit [Ping timeout: 240 seconds]
martinr1 has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 252 seconds]
LainExperiments3 has quit [Quit: Client closed]
LainExperiments has joined #ffmpeg-devel
LainExperiments4 has joined #ffmpeg-devel
LainExperiments has quit [Ping timeout: 240 seconds]
martinr1 has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 265 seconds]
LainExperiments4 has quit [Ping timeout: 240 seconds]
martinr1 has joined #ffmpeg-devel
LainExperiments has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 244 seconds]
LainExperiments has quit [Ping timeout: 240 seconds]
System_Error has quit [Remote host closed the connection]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
LainExperiments has joined #ffmpeg-devel
<fflogger> [editedticket] catap: Ticket #11525 ([avdevice] Better frame dropping logic for live streams to avoid unjustifiable freezing?) updated https://trac.ffmpeg.org/ticket/11525#comment:23
Guest28 has joined #ffmpeg-devel
LainExperiments has quit [Quit: Client closed]
IndecisiveTurtle has joined #ffmpeg-devel
Grimmauld has joined #ffmpeg-devel
Grimmauld has quit [Quit: Client closed]
Grimmauld has joined #ffmpeg-devel
auri has joined #ffmpeg-devel
martinr1 has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 248 seconds]
ngaullier has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
Guest28 has quit [Quit: Client closed]
ngaullier has joined #ffmpeg-devel
Anthony_ZO has joined #ffmpeg-devel
martinr1 has joined #ffmpeg-devel
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 246 seconds]
DVedaa has quit [Read error: Connection reset by peer]
DVedaa has joined #ffmpeg-devel
HarshK23 has joined #ffmpeg-devel
abdu18 has joined #ffmpeg-devel
derpydoo has quit [Quit: derpydoo]
abdu18 has quit [Ping timeout: 240 seconds]
lazynorm has joined #ffmpeg-devel
j45 has quit [Ping timeout: 276 seconds]
j45 has joined #ffmpeg-devel
j45 has joined #ffmpeg-devel
Grimmauld has quit [Quit: Client closed]
lazynorm has quit [Quit: Client closed]
faidz has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
Grimmauld has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
<averne> Lynne: I'm doing this here since the GSoC'25 page lists this place as contact point for the VK Prores decoder project. As I wrote a couple days ago I'm interesting in enrolling in it, and as for the qualification tasks I've implemented a basic VK iDCT shader which you can find here: https://github.com/averne/Vulkan-iDCT
<averne> Is there anything else I need to do/know before drawing up the proposal?
ccawley2011 has joined #ffmpeg-devel
faidz has quit [Quit: #gsoc]
<mkver> michaelni: Are these new fourccs for raw pixel formats your creation or do they come from some spec?
<mkver> jamrial: Can you hold off a bit with the bump, please?
<jamrial> sure
<michaelni> mkver, its from nut4cc spec, into which i wrote it 12 years ago, https://git.ffmpeg.org/gitweb/nut.git/blob/HEAD:/docs/nut4cc.txt
ccawley2011 has quit [Ping timeout: 265 seconds]
<michaelni> Lynne, you seem to have not clicked on google contracts for 2025 SoC. You are missing in the list of mentors, sign in on https://summerofcode.withgoogle.com/ and read and agree to the 2 legal toiletpaper things likely on https://summerofcode.withgoogle.com/profile
<Lynne> michaelni: thanks, will do
<Lynne> averne: you need to do the actual iDCT that you'll use
<Lynne> simple_idct_template.c
<ramiro> haasn: in ff_sws_linear_mask, shouldn't the condition be (c.m[i][j].num && av_cmp_q(c.m[i][j], Q(i == j)))? on yuv2rgb I got an extra multiplication by zero from the mask.
<haasn> ramiro: the mask specifies which components differ from an identity matrix
DVedaa has quit [Read error: Connection reset by peer]
<haasn> Consider than explicitly zeroing out a channel is different from leaving that channel untouched, which is the “default” behavior
<haasn> But we could definitely improve this
<haasn> Otherwise you’d get an explicit multiply-by-one
DVedaa has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<averne> Lynne: I'm not sure I follow you here, I followed the iDCT definition given in the Prores SMPTE paper. Unless you mean the shader should output 10/12-bit integer data?
<averne> Also fwiw this code is not what I'd intend to use ultimately. I'd like to try using the technique described here, which should give a nice speedup: https://github.com/NVIDIA/cuda-samples/tree/master/Samples/2_Concepts_and_Techniques/dct8x8
<Lynne> though these days, you'd be better off using the tensor units
<Lynne> using subgroups would be nice, but the issue is that its hard to find work for them to do
<Lynne> since almost everything depends what's in the bitstream, which has to be accessed synchronously
<JEEB> oh right, prores is now an actually specified format https://pub.smpte.org/doc/rdd36/
<fflogger> [editedticket] helfix: Ticket #11531 ([ffmpeg] [Regression] AAC audio in RTSP no more muxed with "-c copy") updated https://trac.ffmpeg.org/ticket/11531#comment:4
<averne> JEEB: that's the document I was looking at, yeah
<averne> Lynne: Indeed there's a lot of room for fun stuff here, I was planning to dedicate a chunk of the timeline to exploration in the proposal. Maybe coop matrices could be used too
<averne> In any case, if you're satisfied with my shader in its current state I'll move forward with the proposal. Is it expected that tutors review it before submission?
<Lynne> sure, the code is fine
<ramiro> haasn: ok, I check the mask just to select which implementation I should use, then check m.num for each element if I should emit the instruction or not.
<ramiro> it's progressing really well, I'm getting more and more conversions with a lot of speedup.
<ramiro> haasn: the few slower ones are ones that I still think should be optimized away to memcpy/memset but that aren't. like yuv444p->yuv444p and yuv444p->yuva444p
<haasn> neat
<haasn> I think I will revive the dedicated backend for memcpy/memset
<haasn> yuv444p->yuv444p? wdym?
<haasn> that one should be a noop in any case
<haasn> ramiro: my x86 backend is coming along nicely as well
<ramiro> haasn: for some reason it isn't (:
<ramiro> I haven't checked why
<haasn> it's actually kinda funny how much better avx512 is at pixel type conversion
<haasn> may end up writing dedicated avx512 variants of those functions down the line
<haasn> (though ideally a dedicated avx512 backend could use zmm instead of ymm)
<Lynne> michaelni: done, could you add me?
<ramiro> oh, that's odd. indeed yuv444p->yuv444p is not using the asmjit backend, but it is slower (?)
<michaelni> Lynne, added
abdu18 has joined #ffmpeg-devel
<haasn> ramiro: I mean, there's literally a (src.fmt == dst.fmt) check
<haasn> to turn the whole SwsGraph into a noop
<haasn> how are you testing? try with -v debug
abdu18 has quit [Quit: Client closed]
abdu18 has joined #ffmpeg-devel
Grimmauld has quit [Quit: Client closed]
jamrial has quit [Read error: Connection reset by peer]
jamrial_ has joined #ffmpeg-devel
jamrial_ has quit [Read error: Connection reset by peer]
jamrial has joined #ffmpeg-devel
<mkver> jamrial_: Thanks. Sent a patch.
Teukka has quit [Read error: Connection reset by peer]
jamrial has quit [Ping timeout: 252 seconds]
Teukka has joined #ffmpeg-devel
Teukka has quit [Changing host]
Teukka has joined #ffmpeg-devel
jamrial_ has joined #ffmpeg-devel
cone-936 has joined #ffmpeg-devel
<cone-936> ffmpeg Michael Niedermayer master:5bf6d9c3e315: avformat/nut: Add GBR(A)PF16/32LE/BE
<cone-936> ffmpeg Michael Niedermayer master:bddb9c232dbd: avcodec/raw: Add GBR(A)PF16/32LE/BE
PAUL007 has joined #ffmpeg-devel
IndecisiveTurtle has quit [Remote host closed the connection]
abdu18 has quit [Ping timeout: 240 seconds]
abdu18 has joined #ffmpeg-devel
Grimmauld has joined #ffmpeg-devel
<mkver> jamrial: Sent the patch that was the reason for the delay request.
abdu64 has joined #ffmpeg-devel
PAUL007 has quit [Quit: Client closed]
abdu18 has quit [Ping timeout: 240 seconds]
<fflogger> [editedticket] ffmpegScale: Ticket #11500 ([swscale] AV1 frame extraction (screenshot) fails) updated https://trac.ffmpeg.org/ticket/11500#comment:8
abdu64 has quit [Ping timeout: 240 seconds]
twelve has joined #ffmpeg-devel
twelve has quit [Ping timeout: 246 seconds]
<jamrial_> mkver: ok
<cone-936> ffmpeg James Almer master:c29a1cbd03d5: avcodec: remove deprecated FF_API_SUBFRAMES
<cone-936> ffmpeg James Almer master:7d07723db5c1: avcodec: remove deprecated FF_API_TICKS_PER_FRAME
<cone-936> ffmpeg James Almer master:582862424648: avcodec: remove deprecated FF_API_DROPCHANGED
<cone-936> ffmpeg James Almer master:84c64e079c80: avcodec: remove deprecated FF_API_AVFFT
<cone-936> ffmpeg James Almer master:822432769868: avcodec: remove deprecated FF_API_FF_PROFILE_LEVEL
<cone-936> ffmpeg James Almer master:0d48da2db0b2: avcodec: remove deprecated FF_API_AVCODEC_CLOSE
<cone-936> ffmpeg James Almer master:fbaa8c3a7d27: avcodec: remove deprecated FF_API_BUFFER_MIN_SIZE
<cone-936> ffmpeg James Almer master:638690b872a9: avcodec: remove deprecated FF_API_VDPAU_ALLOC_GET_SET
<cone-936> ffmpeg James Almer master:bd58a68dbc8f: avcodec: remove deprecated FF_API_QUALITY_FACTOR
<cone-936> ffmpeg James Almer master:b439ea432077: avcodec/version_major: postpone some deprecations until the next bump
<cone-936> ffmpeg James Almer master:a5064a72fff5: avdevice: remove deprecated FF_API_BKTR_DEVICE
<cone-936> ffmpeg James Almer master:9283c5251f6a: avdevice: remove deprecated FF_API_OPENGL_DEVICE
<cone-936> ffmpeg James Almer master:17b31065f0f7: avdevice: remove deprecated FF_API_SDL2_DEVICE
<cone-936> ffmpeg James Almer master:8a7ce397bcbf: avdevice/version_major: postpone some deprecations until the next bump
<cone-936> ffmpeg James Almer master:3fd10e0cf35d: avformat: remove deprecated FF_API_LAVF_SHORTEST
<cone-936> ffmpeg James Almer master:c153238275c2: avformat: remove deprecated FF_API_ALLOW_FLUSH
<cone-936> ffmpeg James Almer master:ec8e796b42bc: avformat: remove deprecated FF_API_AVSTREAM_SIDE_DATA
<cone-936> ffmpeg James Almer master:b2564b0ab8ca: avformat: remove deprecated FF_API_GET_DUR_ESTIMATE_METHOD
<cone-936> ffmpeg James Almer master:ef8bf6ca243f: avformat/version_major: postpone some deprecations until the next bump
<cone-936> ffmpeg James Almer master:379632bb97ef: avfilter: remove deprecated FF_API_LINK_PUBLIC
<cone-936> ffmpeg James Almer master:a9d9f46e9a26: avfilter/version_major: postpone some deprecations until the next bump
<cone-936> ffmpeg James Almer master:10f199cfa5cc: avutil: remove deprecated FF_API_HDR_VIVID_THREE_SPLINE
<cone-936> ffmpeg James Almer master:ebd6d07ab949: avutil: remove deprecated FF_API_FRAME_PKT
<cone-936> ffmpeg James Almer master:8af333188349: avutil: remove deprecated FF_API_INTERLACED_FRAME
<cone-936> ffmpeg James Almer master:1061689ad80e: avutil: remove deprecated FF_API_FRAME_KEY
<cone-936> ffmpeg James Almer master:6e80ec9dc5d7: avutil: remove deprecated FF_API_PALETTE_HAS_CHANGED
<cone-936> ffmpeg James Almer master:09a57602991d: avutil: remove deprecated FF_API_VULKAN_CONTIGUOUS_MEMORY
<cone-936> ffmpeg James Almer master:97609725f8ce: avutil: remove deprecated FF_API_H274_FILM_GRAIN_VCS
<cone-936> ffmpeg James Almer master:d6b215052b84: avutil/version_major: postpone some deprecations until the next bump
<cone-936> ffmpeg Andreas Rheinhardt master:b306683d1228: avutil/frame: Port AVFrame.private_ref to RefStruct API
<cone-936> ffmpeg Andreas Rheinhardt master:c389d9ac788a: avutil/dict: Unavpriv avpriv_dict_set_timestamp()
<cone-936> ffmpeg Andreas Rheinhardt master:0ccf385e1303: avutil/float_dsp: Unavpriv avpriv_scalarproduct_float_c()
<cone-936> ffmpeg Andreas Rheinhardt master:aaf3cd9ddb7a: avcodec/raw: Duplicate raw_pix_fmt_tags into fourcc2pixfmt tool
<cone-936> ffmpeg James Almer master:b338d1b35b2b: libs: bump major version for all libraries
<cone-936> ffmpeg James Almer master:b6bcc1c3c268: avcodec/exr: deprecate gamma and apply_trc options
<Lynne> gratz
martinr1 has joined #ffmpeg-devel
martinr1 is now known as martinyr
<another|> hmm.. compile breaks at libplacebo cc haasn
ccawley2011 has quit [Ping timeout: 252 seconds]
martinr1 has joined #ffmpeg-devel
martinyr has quit [Ping timeout: 252 seconds]
ngaullier has quit [Remote host closed the connection]
martinr1 is now known as martinyr
<haasn> another|: https://0x1.st/fuoW.txt ?
<kasper93> should be fixed in v7.349.0
<kasper93> the error message shows that it tries to use av_stream_get_side_data
<kasper93> so it is likely old version?
System_Error has quit [Remote host closed the connection]
<kasper93> (welp, it's probably the header)
Kei_N_ has joined #ffmpeg-devel
Kei_N has quit [Read error: Connection reset by peer]
PAUL007 has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
twelve has joined #ffmpeg-devel
<another|> bisected to ec8e796b42bccf999fdf31c110385e2cc119b7f2
ccawley2011 has joined #ffmpeg-devel
<jamrial_> kasper93: av_stream_get_side_data() is gone
<kasper93> yes, but it shouldn't use it #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(60, 15, 100)
<kasper93> which was when the deprecate was added
<jamrial_> pl_frame_copy_stream_props() seems to be outside of any #if check in libav_internal.h
<kasper93> see https://github.com/haasn/libplacebo/commit/7cbbc764ee6b836568c682e98ca2019cd74a3459 pl_frame_copy_stream_props() calls wrapper pl_av_stream_get_side_data()
<jamrial_> oh, it calls pl_av_stream_get_side_data(), which should follow what you said
<jamrial_> yeah
<kasper93> but if it is compiled without Wundef it is possible that missing header causes the check to fail
Marth64 has quit [Remote host closed the connection]
<jamrial_> another|: you're most likely using a very old libplacebo version
martinr1 has joined #ffmpeg-devel
martinyr has quit [Ping timeout: 248 seconds]
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 246 seconds]
rvalue- is now known as rvalue
<another|> jamrial_: 7.349.0-4
<another|> not very old
martinr1 has quit [Ping timeout: 252 seconds]
<another|> haasn: doesn't seem to fix it
Grimmauld has quit [Quit: Client closed]
IndecisiveTurtle has joined #ffmpeg-devel
<another|> haasn: tried it again in a clean container. nope
martinr1 has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 260 seconds]
<jamrial_> another|: is the correct libavformat/version_major.h being included? No reason for the "LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(60, 15, 100)" check to fail with git master
<jamrial_> you may have a system package header being included instead of the git master one
<kasper93> this is always a pain with libplacebo cyclic dependency, you need to build ffmpeg first without libplacebo, install and rebuild...
martinr1 has joined #ffmpeg-devel
minimal has joined #ffmpeg-devel
<another|> jamrial_: no ffmpeg installed in the container so I assume it takes from git?
<another|> I'm trying to build placebo from src
twelve has quit [Remote host closed the connection]
<another|> okay, tried placebo from git w/ w/o patch. all fails
martinr1 has quit [Ping timeout: 248 seconds]
<jamrial_> another|: given what kasper93 said, try first compiling ffmpeg with no libplacebo support, install it, then compile libplacebo
twelve has joined #ffmpeg-devel
abdu64 has joined #ffmpeg-devel
<another|> jamrial_: I do not see how that would make a difference. It doesn't seem like placebo has libav* as a build dep
<another|> or only for tests, demos
<jamrial_> the header with the related failing call is installed and depends on libav*
<jamrial_> another|: try http://pastie.org/p/12MYdDAhzKm1ICPIJdV5JJ/raw maybe
<another|> yes, but that's just a header. It's copied verbatim. It doesn't require ffmpeg at build time
martinr1 has joined #ffmpeg-devel
<another|> that patch is broken but I'll manage
martinr1 has quit [Ping timeout: 248 seconds]
<another|> jamrial_: that fixes it
<jamrial_> did it at no point print a warning about LIBAVFORMAT_VERSION_INT not being defined?
<jamrial_> as in, without the patch
<another|> nope
cone-936 has quit [Quit: transmission timeout]
<jamrial_> haasn: ^
Grimmauld has joined #ffmpeg-devel
Grimmauld has quit [Quit: Client closed]
faidz has joined #ffmpeg-devel
martinr1 has joined #ffmpeg-devel
<Xe> new anubis release, it has a feature you may care about: specifying the cookie domain so you can have people that pass the check for trac don't have to pass it for code and vice versa: https://github.com/TecharoHQ/anubis/releases/tag/v1.15.0
<Xe> you'd also need to set the same ed25519 key on both services
martinr1 has quit [Ping timeout: 244 seconds]
Mirarora has joined #ffmpeg-devel
<kasper93> -Wundef would help, but even then it should complain about deprecated use for over a year, no?
s55 has quit [Quit: Bye]
s55 has joined #ffmpeg-devel
<faidz> pross: Hi. Is anyone working on the VP6 encoder project for GSoC? I'm interested in working on it.
abdu64 has quit [Ping timeout: 240 seconds]
<llyyr> hwcontext_vulkan uses AV_VK_FRAME_FLAG_CONTIGUOUS_MEMORY which just got removed lol
<llyyr> Lynne: ^
<llyyr> you can actually probably just remove those lines
<IndecisiveTurtle> Lol also got a build error regarding this flag after a rebase
<llyyr> sent a patch
ccawley2011_ has joined #ffmpeg-devel
ccawley2011_ has quit [Remote host closed the connection]
ccawley2011_ has joined #ffmpeg-devel
ccawley2011__ has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 244 seconds]
ccawley2011__ has quit [Remote host closed the connection]
ccawley2011__ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 265 seconds]
ccawley2011__ has quit [Ping timeout: 265 seconds]
Anthony_ZO has quit [Remote host closed the connection]
Mirarora has quit [Quit: Mirarora encountered a fatal error and needs to close]
martinr1 has joined #ffmpeg-devel
twelve has quit [Remote host closed the connection]
twelve has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 245 seconds]
DodoGTA has quit [Ping timeout: 245 seconds]
DodoGTA has joined #ffmpeg-devel
abdu64 has joined #ffmpeg-devel
s55 has quit [Quit: Bye]
s55 has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11500 ([swscale] AV1 frame extraction (screenshot) fails) updated https://trac.ffmpeg.org/ticket/11500#comment:9
<BtbN> jamrial_ haasn https://bpa.st/7XXQ something seems to have broken with libplacebo in the major bump?
<jamrial_> BtbN: yes, see above
<jamrial_> the header never included version.h, so LIBAVFORMAT_VERSION_INT was never defined (you can see the warning there)
<jamrial_> haasn, kasper93: can you apply the fix?
twelve has quit [Remote host closed the connection]
<fflogger> [editedticket] MasterQuestionable: Ticket #11531 ([ffmpeg] [Regression] AAC audio in RTSP no more muxed with "-c copy") updated https://trac.ffmpeg.org/ticket/11531#comment:5
zulleyy3 has quit [Ping timeout: 252 seconds]
AMM has quit [Ping timeout: 252 seconds]
AMM has joined #ffmpeg-devel
zulleyy3 has joined #ffmpeg-devel
<Lynne> llyyr: thanks
cone-325 has joined #ffmpeg-devel
<cone-325> ffmpeg llyyr master:8c7b00ba3ac4: avutil/hwcontext_vulkan: stop checking for deprecated and removed flag
sudden has quit [Ping timeout: 252 seconds]
sudden has joined #ffmpeg-devel
martinr1 has joined #ffmpeg-devel
Marth64 has joined #ffmpeg-devel
martinr1 has quit [Ping timeout: 268 seconds]