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 6.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
cone-137 has joined #ffmpeg-devel
<cone-137> ffmpeg Jun Zhao master:ab3bd5ead047: avdevice/decklink_dec: add explicit specifier
<cone-137> ffmpeg Jun Zhao master:c961ac4b0ca2: vulkan_decode: fix the print format of VkDeviceSize
TD--Linux is now known as TD-Linux
<compn> wonder why that guy thought you were from usa
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 255 seconds]
MrZeus has joined #ffmpeg-devel
odrling has quit [Ping timeout: 245 seconds]
odrling has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
microchip_ has quit [Remote host closed the connection]
microchip_ has joined #ffmpeg-devel
wangbin has joined #ffmpeg-devel
lexano has quit [Ping timeout: 256 seconds]
thilo has quit [Ping timeout: 256 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 276 seconds]
wangbin has quit [Quit: Connection closed]
wangbin has joined #ffmpeg-devel
jamrial has quit []
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
cone-137 has quit [Quit: transmission timeout]
mkver has quit [Ping timeout: 256 seconds]
derpydoo has quit [Ping timeout: 256 seconds]
durandal_1707 has quit [Ping timeout: 264 seconds]
durandal_1707 has joined #ffmpeg-devel
AbleBacon has quit [Read error: Connection reset by peer]
wangbin has quit [Quit: Connection closed]
kurosu has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
navi has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
thilo has quit [Ping timeout: 256 seconds]
dellas has joined #ffmpeg-devel
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
kekePower has quit [Quit: The Lounge - https://thelounge.chat]
kekePower has joined #ffmpeg-devel
<j-b> good morning
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
Krowl has joined #ffmpeg-devel
dellas has quit [Remote host closed the connection]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
philipl has quit [Remote host closed the connection]
philipl has joined #ffmpeg-devel
elastic_dog has quit [Ping timeout: 260 seconds]
Krowl has quit [Read error: Connection reset by peer]
elastic_dog has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 255 seconds]
dellas has joined #ffmpeg-devel
fengdaolong has joined #ffmpeg-devel
fengdaolong has quit [Quit: WeeChat 4.1.1]
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
linjie has quit [Read error: Connection reset by peer]
jdek has quit [Ping timeout: 260 seconds]
MisterMinister has quit [Ping timeout: 256 seconds]
termos has quit [Read error: Connection reset by peer]
<kierank> michaelni: I must admit ffbi is quite funny
mkver has joined #ffmpeg-devel
jdek has joined #ffmpeg-devel
linjie has joined #ffmpeg-devel
termos has joined #ffmpeg-devel
j-b has quit [Changing host]
j-b has joined #ffmpeg-devel
<Lynne> I could swear I've seen this email address before somewhere
<courmisch> jdek: any news of your board order?
<Lynne> which would make it somewhat not count, no one has humor nowadays
<BtbN> https://github.com/BtbN/FFmpeg-Builds/issues/322 I am very confused. I'm inclined to just close it as "Request such features upstream", but... what? :D
<jdek> courmisch: only the original order confirmation, no further updates.
<jamrial> BtbN: yiyin?
<jamrial> also, the guy closed the issue, lol
<BtbN> Yeah, probably ended up on the very wrong repository I guess
<jdek> courmisch: The estimate was December if I remember correctly, I'll email them this week to see if there is an update
rvalue has joined #ffmpeg-devel
<jdek> >Around 2023-06-15, a project known as FFmpeg decided that it would be a great idea to clone GMP in their CI scripts, meaning that every one of their commits requested a compressed clone from the GMP servers. But, by Github's design, hundreds of FFmpeg forks automatically followed suit, themselves cloning the GMP repo.
<jdek> which CI scripts are they referring to even
<JEEB> BtbN's auto-builder
<JEEB> of which there are dozens of forks
<wbs> but scheduled pipelines don't run on forks automatically, afaik?
<jdek> I didn't think they did either
<BtbN> Nope, you need to manually turn it on. Their description of it is greatly exagarated
<BtbN> It was like 10~20 parallel requests tops, spread out over an hour
<BtbN> The main problem apparently was that their hg host was misconfigured or something
<BtbN> If you cloned even just twice in parallel, the second request interrupted the first.
<BtbN> So of course that went poorly with a CI system trying to use it
<kierank> jdek: it's the ffmpeg-builds thing
<Daemon404> does gmp still have that bs in their site?
<Daemon404> living up to the gnu stubborness meme...
<BtbN> I really lost all faith in at least the head person of gmp with that.
<BtbN> Have you read their ML on it?
<BtbN> He went like "We have a very big server, 256GB of RAM, tons of cores, and it's getting attacked!"
<BtbN> Then the admin comes on, and goes "It's a VM with 1GB of RAM on that server, maybe we should upgrade that"
<Daemon404> BtbN, same vibes as slackware running their server on a p3 for like 20 yeears
ccawley2011 has joined #ffmpeg-devel
<BtbN> It really wouldn't have a big issue, even with that small of a server, if the hg repo wasn't misconfigured
<BtbN> It's fixed now, but something was very wrong with it for a long time
<jamrial> Sebastinas: https://salsa.debian.org/multimedia-team/ffmpeg/-/commit/cdef43e73512c5fe43efe294d17a08adcc6694c2 is wrong, see the v5 for this patch in the ml
<Daemon404> well it doesnt help the "gnu and fsf are petty and unprofessional" stereotype
<Daemon404> (i know. potm
<kierank> pot meet
<Daemon404> pot kettle black*
<Daemon404> yea
<Daemon404> lol
<kierank> could be worse, we could be openai
Krowl has quit [Read error: Connection reset by peer]
<BBB> at least openai makes it into the news papers
<BBB> we are still unknown and unacknowledged :)
<jamrial> we make it into the news when they talk about "hackers" and they show a monitor with some random ffmpeg cli output
<jdek> kierank: right, they just made it seem like it was the official ffmpeg project causing it
<j-b> jamrial: you are a hacker
<j-b> If you look at Demuxed
<j-b> half talks are "here is a project to make FFMpeg easy to use"
<j-b> :D
<jdek> clearly we need to write some tutorial sections on the website
<jamrial> "we're going to explain filtergraphs. have your staff and grimmoire at hand"
<BBB> the other half is "we made a vod service" and their "stack" is ffmpeg
<j-b> jamrial: I am picturing you in my head with a staff
<BBB> (+x264)
<jdek> wololo
noonien85 has joined #ffmpeg-devel
<JEEB> wololo~
lexano has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
<wellsakus> @jamrial, thank you very much for merging the EVC-related code
<wellsakus> Thanks a lot for your time, commitment, and support
<BBB> congrats, it's in!
<BBB> please continue maintaining it if you can
<jamrial> wellsakus: thanks, and sorry for the delay
<wellsakus> @BBB definitelly yes
<wellsakus> @jamrial I realize that you were heavily occupied before the release
typological has joined #ffmpeg-devel
derpydoo has joined #ffmpeg-devel
dellas has quit [Remote host closed the connection]
mkver has quit [Ping timeout: 268 seconds]
dellas has joined #ffmpeg-devel
MrZeus has joined #ffmpeg-devel
<elenril> >fatal error: cannot open file '/usr/lib/clc/gfx1030-amdgcn-mesa-mesa3d.bc': No such file or directory
<elenril> opencl is so great
<durandal_1707> another A->V multimedia filter in workshop, to be release to public soon!
<JEEB> ( ^_^)b
<durandal_1707> what, you are sad?
<JEEB> why? that's a smile and upwards finger
<JEEB> a "gg" thing
<durandal_1707> JEEB: try ambisonic filter patch on ML, mpv is unusable with ambisonic audio
<JEEB> yea I noticed it was on the ML; I'll try to post a new version of the avctx side data patch and then poke at that
<Lynne> elenril: only older amd gpus have native opencl
<elenril> sad
<Lynne> you have to use rusticl otherwise
<elenril> whatever that is
<Lynne> export RUSTICL_ENABLE=radeonsi and you may or probably won't get it
<Lynne> it's opencl on top of gallium (mesa's high-level abstraction layer on which opengl is built)
<Lynne> though it can also run on top of zink's internal high-level layer, so it can run on vulkan
<Lynne> performance is shit pretty much everywhere, though, and it will crash
<elenril> :/
<Lynne> so do what I did and port the code to vulkan, or use nvidia :)
<Lynne> or intel, even intel have better opencl
<JEEB> was this the thing that AMD actually only has the closed source opencl?
mkver has joined #ffmpeg-devel
<Lynne> I don't think they have any
<JEEB> at least with recent hardware
<JEEB> oh
<Lynne> they have hip, and maybe they have opencl on hip
<elenril> there's way too many layers
<JEEB> > AMD Proprietary OpenGL, OpenCL™, and Vulkan™ drivers provided by this download.
<elenril> for what purpose
<JEEB> of course I don't see post 5000 series
<elenril> also, i hear the mesa driver is better
<elenril> Lynne: thanks, RUSTICL_ENABLE=radeonsi seems to work somehow
<elenril> I actually just want to stress-test my gpu
<Lynne> it'll work for that
<JEEB> ah
<elenril> I'm getting random resets, which I thought was memory
<Lynne> if you want more unstable, do export RUSTICL_FEATURES=fp16,fp64
<JEEB> so yea, just needed to look for a newer piece of hardware
<elenril> but now I'm less sure
<Lynne> if you want to stress it, just run nlmeans_vulkan on 1080p
\\Mr_C\\ has joined #ffmpeg-devel
<Lynne> btw, fun fact, hip runs on an *alternative* kernel module, not the main amdgpu kernel module
<elenril> why do they even have two
<Lynne> so it's a completetly different codepath, that pretty much no one outside of amd touches, unlike the main kernel module, which everyone who works on mesa touches
<elenril> do they want this stuff to be a mess?
<Lynne> speed? dunno, I bet it's slower
<elenril> is this like a weird stockholm syndrome thing where they cannot imagine having non-shit drivers
<Lynne> at least it's abstracted away enough so that you can write non-shit drivers, they even give you the docs
<elenril> but then why pay people to write a separate shit driver branch
<courmisch> surely the great proprietary driver has some superior qualities that cannot be achieved in a opensoarish process
<courmisch> such as using the company approved coding style
<Lynne> oh they don't pay a single team, they pay three (amdvlk, amdgpu-pro, which may or may not be just amdgpu-pro with llvm ripped out and the proprietary compiler used, and hip)
\\Mr_C\\ has quit [Remote host closed the connection]
<elenril> proprietary compiler?
<elenril> even intel gave up on that
<Lynne> it's the one they use in their windows drivers, may as well use it here too
<Lynne> but the biggest issue with amd isn't the drivers, mesa is pretty much optimal for everything now
<Lynne> it's the stability, they've spent so much time optimizing everything that they didn't actually think about how it may be developed on
<Lynne> so if you overread, you crash the GPU, and with it, the entire session (contents of VRAM, which means your composer and all programs using the GPU directly or indirectly, are gone)
<Lynne> it's like it's 1987 and it runs on dos running on x86 real mode
\\Mr_C\\ has joined #ffmpeg-devel
<elenril> doesn't the kernel object to that?
<Lynne> what happens is the kernel recreates the GPU session, and anything that uses the old session is just frozen
<elenril> so is the bug in mesa?
<Lynne> becuse it endlessly blocks during ioctls (IIRC)
<elenril> or in the kernel?
Krowl has quit [Read error: Connection reset by peer]
<Lynne> no, the GPU, it doesn't give you tools to do proper context isolation
<Lynne> not even virtualization can fix this
<elenril> as in the hardware itself?
<Lynne> yup
<elenril> sad
<elenril> what do i need driver-wise for vulkan video decoding?
<Lynne> RADV_PERFTEST=video_decode
<elenril> >Device does not support the VK_KHR_video_decode_queue extension!
<Lynne> which GPU?
<elenril> GPU id = 0 (AMD Radeon RX 6950 XT (RADV NAVI21))
<Lynne> mesa version?
<elenril> mesa-vulkan-drivers is 22.3.6-1+deb12u1
<elenril> guess I should upgrade that to 23.3.0~rc4-1
<elenril> neat, video decoding now segfaults
<elenril> av:hevc:df0[15455]: segfault at 18 ip 00007f5e900ad5a9 sp 00007f5deffedfa0 error 4 in libavcodec.so.60.31.102[7f5e8fe84000+aad000] likely on CPU 9 (core 1, socket 0)
<elenril> but nlmeans_vulkan seems to be actually doing something
<Lynne> where does decoding segfault in lavc?
<Sebastinas> jamrial: Thanks, will update the patch in the next upload.
<elenril> Lynne: ff_hwaccel_frame_priv_alloc (avctx=<optimized out>, hwaccel_picture_private=hwaccel_picture_private@entry=0x555555a62228) at src/libavcodec/decode.c:1853
gust82 has quit [Remote host closed the connection]
<elenril> (in 6.1 from debian)
gust82 has joined #ffmpeg-devel
<jamrial> elenril: yeah, see my message to Sebastinas above
<elenril> oh, is that the same bug
<jamrial> most likely
<elenril> cute
<jamrial> Lynne: if that version of the fix is good, please push it
Krowl has joined #ffmpeg-devel
<Sebastinas> The old patch at least fixed crashes with nvidia xD
<Lynne> I haven't been able to replicate the crash though, so I don't know
<Lynne> not on ffmpeg or mpv
<Lynne> it seems to work fine, but someone with vlc should test it
<Sebastinas> I can do that later tonight.
<Lynne> elenril: can you test it? not sure how you're hitting that path
<elenril> seems debian has a broken version of that patch applied
<JEEB> Sebastinas: btw if I recall you were related to debian/ubuntu? do you happen to know when the next merge freezes are on either side?
<elenril> that does not initialize frames_ctx
<Sebastinas> JEEB: Debian only. Next freeze will start early 2025.
<JEEB> alrighty
<JEEB> thanks
Krowl has quit [Read error: Connection reset by peer]
<jdek> how is cone-123 setup to log here for ffmpeg.git? should add it for ffmpeg-web.git as well
<BtbN> I think it's coming from videolan git
<Lynne> kierank: could you ping dave rice anyway? I'd just like to hear his thoughts on it
<jdek> honestly I thought source.ffmpeg.org was videolan git, but they're separate repos? or is http://git.videolan.org 's gitweb just not configured to show ffmpeg-web
<durandal_1707> Lynne: dont you have email address?
<Lynne> durandal_1707: oh, yeah, I forgot I do
<kierank> jdek: i was confused by this too
<jdek> would really like to have an overview of our infra...
* kierank realises that episode of the simpsons is long before jdek was born
philipl has quit [Quit: leaving]
philipl has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
b50d has joined #ffmpeg-devel
<elenril> Lynne: https://up.khirnov.net/z7 scary
Flat_ has quit [Ping timeout: 240 seconds]
typological has quit [Quit: Connection closed]
AbleBacon has joined #ffmpeg-devel
b50d has quit [Remote host closed the connection]
ccawley2011 has quit [Ping timeout: 245 seconds]
Flat has joined #ffmpeg-devel
typological has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<j-b> kierank: oh right.
ccawley2011 has quit [Read error: Connection reset by peer]
tufei has quit [Remote host closed the connection]
tufei has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<courmisch> elenril: clearly this is because you're not using NVIDIA and the almighty blob
<elenril> I use what was given to me
<elenril> though not having to deal with any blobs and special vendor tools is very nice
<courmisch> well if you like your scary kernel messages, sure
Krowl has quit [Read error: Connection reset by peer]
b50d has joined #ffmpeg-devel
<Sebastinas> jamrial, Lynne: v5 also works for me with vlc 3.x with a NVIDIA GPU.
b50d has quit [Remote host closed the connection]
<kierank> durandal_1707: ffbi coming for you
<kierank> Extradition treaty with Croatia
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
<durandal_1707> kierank: get a grip
<kierank> Lol
Flat_ has joined #ffmpeg-devel
Flat has quit [Ping timeout: 256 seconds]
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
Flat_ has quit [Ping timeout: 255 seconds]
Flat has joined #ffmpeg-devel
HarshK23 has quit [Quit: Connection closed for inactivity]
Flat has quit [Ping timeout: 260 seconds]
Flat has joined #ffmpeg-devel
ccawley2011 has quit [Read error: Connection reset by peer]
_whitelogger has quit [Remote host closed the connection]
_whitelogger_ has joined #ffmpeg-devel
gust82 has quit [Remote host closed the connection]
gust82 has joined #ffmpeg-devel
Flat_ has joined #ffmpeg-devel
Flat has quit [Ping timeout: 255 seconds]
dellas has quit [Remote host closed the connection]
jamrial has quit [Read error: Connection reset by peer]
jamrial has joined #ffmpeg-devel
mkver has quit [Ping timeout: 260 seconds]
dellas has joined #ffmpeg-devel
dellas has quit [Remote host closed the connection]