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 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
witchymary has quit [Remote host closed the connection]
witchymary has joined #ffmpeg-devel
<elenril> llyyr: I sent a patch a couple days ago
<elenril> you should be in CC
<elenril> did you not get it?
<llyyr> gmail moment
<llyyr> the mailing list is unable to sent to gmail atm I think
<elenril> you should have received a copy from my mailserver directly too
<elenril> Subject: lavfi/vf_libplacebo: eliminate LibplaceboInput.link
<llyyr> yeah I never received it, I'll just find another mail host I guess
<elenril> 2024-11-05T10:28:48.155867+01:00 mail.info mail1.khirnov.net postfix/smtp[465]: 1E04A4E27: to=<llyyr.public@gmail.com>, relay=gmail-smtp-in.l.google.com[2a00:1450:4025:402::1a]:25, delay=1, delays=0.19/0.05/0.51/0.28, dsn=2.0.0, status=sent (250 2.0.0 OK 1730798928 4fb4d7f45d1cf-5cee6a98c04si1087536a12.49 - gsmtp)
<elenril> google claims to have received it at least
<llyyr> oh I found it, mb just bad filtering
<llyyr> thanks, it works
johnny__ has quit [Ping timeout: 245 seconds]
av500 has quit [Quit: Konversation terminated!]
Traneptora has joined #ffmpeg-devel
thilo has quit [Ping timeout: 252 seconds]
thilo has joined #ffmpeg-devel
johnny__ has joined #ffmpeg-devel
johnny__ has quit [Client Quit]
johnny__ has joined #ffmpeg-devel
av500 has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
secondcreek has left #ffmpeg-devel [#ffmpeg-devel]
<elenril> jamrial: did anything happen with the filmgrain issue?
<jamrial> can you refresh my memory?
<elenril> dynamic allocation to reduce the size, not frame-threading compliant
<jamrial> ohh right
<elenril> I think we were waiting for a sample from haasn?
<jamrial> yeah
* elenril stabs haasn
<jamrial> who in turn asked j-b for one
* elenril stabs j-b
<jamrial> hope you used a different knife
System_Error has joined #ffmpeg-devel
av500 has quit [Quit: Konversation terminated!]
<elenril> a metal chopstick
cone-358 has quit [Quit: transmission timeout]
cone-363 has joined #ffmpeg-devel
<cone-363> ffmpeg Anton Khirnov master:3e9b0f7c018d: lavfi/vf_libplacebo: eliminate LibplaceboInput.link
<cone-363> ffmpeg Anton Khirnov master:13129f1af434: lavc: deprecate the omx encoders
<cone-363> ffmpeg Anton Khirnov master:9e68b26765ca: Document stream specifier syntax change from 46cbe4ab5c
<jamrial> elenril: i'd just push the set. the current code is wrong
<elenril> the new code is just as wrong, as far as I can tell
<cone-363> ffmpeg Anton Khirnov release/7.1:5120d3089083: Document stream specifier syntax change from 46cbe4ab5c
<fflogger> [editedticket] elenril: Ticket #11248 ([ffmpeg] mapping of optional streams selected by language broken) updated https://trac.ffmpeg.org/ticket/11248#comment:4
av500 has joined #ffmpeg-devel
av500 has quit [Quit: Konversation terminated!]
tufei has joined #ffmpeg-devel
av500 has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
arch1t3cht9 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 244 seconds]
arch1t3cht9 is now known as arch1t3cht
av500 has quit [Quit: Konversation terminated!]
jamrial has quit []
<\\Mr_C\\> night all
\\Mr_C\\ has quit [Remote host closed the connection]
av500 has joined #ffmpeg-devel
tufei has quit [Remote host closed the connection]
tufei has joined #ffmpeg-devel
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 260 seconds]
<llyyr> Lynne: vulkan hwdec segfaults in mesa master with ffmpeg master, any ideas?
<llyyr> i updated both at once so no clue which one it is
<llyyr> well not segfault, it fails an assert >rvcn_dec_message_decode: Assertion `slot_idx >= 0 && slot_idx < 16' failed.
<llyyr> probably only reproducible with debug mesa builds
<llyyr> nvm, it's only this file lol
av500 has quit [Quit: Konversation terminated!]
<llyyr> anv doesn't have that assert in h264 codepath, only for h265. I think the assert may not be correct. It was added here https://gitlab.freedesktop.org/mesa/mesa/-/commit/d103b76ad68ceb21c309ab2de62c59e4027824a5#7a9bada46512aada8c28854879deea6ec8eb9e14_1248_2265
Warcop has joined #ffmpeg-devel
<compn> surprisingly i did well with the metal chopstix
<compn> i thought they would be impossible but no
System_Error has quit [Remote host closed the connection]
<aaabbb> does the h261 decoder not mark keyframes correctly or something? when encoding with h261, all frames are identified as P frames, which also leads to buggy warnings that the stat frame is not a keyframe
Marth64 has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
cone-363 has quit [Quit: transmission timeout]
av500 has joined #ffmpeg-devel
<compn> which h261 encoder are you using and why
<compn> and in which container
<aaabbb> native ffmpeg h261
<aaabbb> ffmpeg -v 24 -f lavfi -i testsrc=d=0.5:s=cif -c:v h261 -f matroska - | ffprobe -v 24 -show_entries frame=pict_type -of default=nw=1:nk=1 -
<aaabbb> reproducer ^
<aaabbb> compn: container doesn't matter. can be a raw h261 bitstream. the why is "i was curious"
<aaabbb> doesn't happen with mpeg1video btw
<compn> er i'm in wrong window
<aaabbb> how did i miss that? at least my hunch was right that it's just not marking keyframes correctly. sad that the patch is 5 years old with no progress
<compn> well if you can answer the question then maybe it can get applied
<compn> :D
<compn> aka if someone encodes with a binary h261 encoder and we look at the frames...
<aaabbb> the patch according to its description reflects the h261 encoder behavior
<compn> maybe resubmit the patch and link to sample, showing that seeking works with patch and produces garbage without it
<aaabbb> >i do not know if this is a good idea as i do not know if every encoder sets this on key frames. Our encoder is not every encoder
<aaabbb> oh that
<compn> that too
<aaabbb> >If the patch intstead would set the flag depending on the blocks then i would apply it
<aaabbb> does this mean setting the flag based on whether every block is an intra-coded block?
<aaabbb> in h261 bitstream is there any difference at all between an I frame and any frame with all intra-coded blocks?
<compn> find h261 files not encoded with ffmpeg and check if the patch breaks those files :D
<compn> or check other h261 encoders/decoders and see what they do
rvalue- has joined #ffmpeg-devel
^Neo has joined #ffmpeg-devel
<aaabbb> now all i have to do is find a true h261 encoder lol
<aaabbb> all i see when i search claims to be h261 but is really mpeg 1 part 2
rvalue has quit [Ping timeout: 260 seconds]
rvalue- is now known as rvalue
tufei has quit [Remote host closed the connection]
tufei has joined #ffmpeg-devel
^Neo has quit [Ping timeout: 246 seconds]
av500 has quit [Quit: Konversation terminated!]
av500 has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
<fflogger> [newticket] palemieux: Ticket #11295 ([avcodec] Decoding p1_03.j2k returns a warning) created https://trac.ffmpeg.org/ticket/11295
rvalue has quit [Ping timeout: 260 seconds]
av500 has quit [Quit: Konversation terminated!]
rvalue has joined #ffmpeg-devel
_whitelogger has joined #ffmpeg-devel
av500 has joined #ffmpeg-devel
av500 has quit [Quit: Konversation terminated!]
MrZeus__ has quit [Ping timeout: 276 seconds]
<Lynne> how's that for a patchset, huh?
<Lynne> though Daemon404 was the only one who showed interest in it :/
tufei_ has joined #ffmpeg-devel
tufei has quit [Remote host closed the connection]
Sirtsu55 has quit [Ping timeout: 252 seconds]
Sirtsu55 has joined #ffmpeg-devel
___nick___ has joined #ffmpeg-devel
microlappy has joined #ffmpeg-devel
BradleyS has quit [Quit: quit]
microlappy_ has joined #ffmpeg-devel
microlappy has quit [Ping timeout: 265 seconds]
BradleyS has joined #ffmpeg-devel
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ffmpeg-devel
IndecisiveTurtle has joined #ffmpeg-devel
microlappy_ has quit [Quit: Konversation terminated!]
<haasn> could somebody give this (search-and-replace) commit a quick LGTM? I would like to merge it to prevent future merge conflicts
<haasn> cc michaelni elenril
av500 has joined #ffmpeg-devel
av500 has quit [Quit: Konversation terminated!]
<kurosu> Lynne: I don't care for ffv1, but I find the idea/possibility of doing such things amazing
<kurosu> So same for the vc2 one
<kurosu> I have no idea when and where it's practical, but at least in terms of doing cool programing stuff, that's right there
<kurosu> As for reviewing or making use of it, which is your real question, well...
<JEEB> Lynne: woah @ all features and pix_fmts supported
<JEEB> that is a good result :)
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 252 seconds]
av500 has joined #ffmpeg-devel
<Daemon404> Lynne, do you mind if i link on CELLAR?
<Daemon404> theyre the people who woll care mosr.
<Daemon404> most*
<Daemon404> i admit i am biased when it comes to.ffv1 ;)
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
<JEEB> most likely yea, since it contains those who care(tm) in the industry, too
<Daemon404> yes
rvalue- is now known as rvalue
lemourin has joined #ffmpeg-devel
av500 has quit [Quit: Konversation terminated!]
Kei_N_ has quit [Quit: leaving]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ffmpeg-devel
___nick___ has quit [Client Quit]
___nick___ has joined #ffmpeg-devel
av500 has joined #ffmpeg-devel
<BBB> I like ffv1
<BBB> also, ffv1 10bit decoding is slow
av500 has quit [Quit: Konversation terminated!]
jamrial has joined #ffmpeg-devel
<kurosu> GPU-dffv1d when ?
av500 has joined #ffmpeg-devel
esu has left #ffmpeg-devel [#ffmpeg-devel]
^Neo has joined #ffmpeg-devel
^Neo has quit [Changing host]
^Neo has joined #ffmpeg-devel
<Lynne> Daemon404: sure
<Lynne> though I've already told jerome and dave
<compn> michaelni, re plugin libavfilter by meta, i asked dev. he said he will ask the meta mothership if he can send the patch ,and then he will send it if so
<Lynne> BBB: most of the decoder is already written, its all a matter of just gluing all the parts the encoder needed with a few more lines...
<Lynne> ...of vulkan
<compn> what is the speed like? i didnt see a benchmark :D
<Lynne> depends on the CPU you're comparing against
<BBB> compn: didn't I reply that to the ML?
<BBB> "IIRC that question was asked during the Q&A, and he was going to look into that."
<BBB> :)
<Lynne> but much its better than even a high-end CPU, unless you have one with at least 500 cores
<compn> BBB, yes i'm just specifying it was me who asked, and clarifying that we are waiting on meta approval
Kei_N has joined #ffmpeg-devel
<BBB> right, ok
<compn> Lynne, 94x it is! :D
<compn> Lynne, it is impressive. i am a fan of ffv1 and i know archivists would probably enjoy this feature
<compn> oops i mean what is the ffv1 vulkan encoder speed like
<compn> sorry i mixed up vulkan talk
<Lynne> its not a very nicely written codec, it carries all old versions on its back like APE, but hey, it works
<Lynne> IndecisiveTurtle: your bitstream writer only really works if the address of what you're writing is aligned
<Lynne> so if you write a uint32_t to an address not aligned to 4, pretty much universally all implementations will fail
<IndecisiveTurtle> I do recall printing the generated slice sizes in shaders and all of them were divisible by 4 so I didn't hit that problem in vc2 much. But it will fail if pb_start doesn't have first 2 bits of 0
<Lynne> yeah, I have a hacky way to get around this in ffv1, but I decided its too unreliable
<Lynne> I've left an aligned and unaligned put_bits version
<IndecisiveTurtle> Maybe good to align slice sizes to 4 to make it always work?
<IndecisiveTurtle> But well thats probably not in the spec of the codecs so a bad hack I imagine
microlappy has joined #ffmpeg-devel
microlappy has quit [Client Quit]
microlappy has joined #ffmpeg-devel
blb has quit [Ping timeout: 265 seconds]
blb has joined #ffmpeg-devel
<Lynne> the issue is that ffv1 uses range coder for the slice header
<Lynne> which may result in a variable number of bytes written before each slice's data begins
<Lynne> and you can't really predict it well
<Lynne> hmm, maybe its doable
<Lynne> by just starting to write the data a safe distance away and just copying it during the end
<Lynne> since we have to do a copy in ffv1 anyway
microlappy has quit [Quit: Konversation terminated!]
lemourin has quit [Quit: Ping timeout (120 seconds)]
<michaelni> haasn, your swscale4 branch segfaults with ./ffmpeg -f lavfi -i testsrc=s=4096x16 -vf scale=1:1 -bitexact -vframes 1 /tmp/file-4k1.jpg
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
<michaelni> about the referened patch, by eye it looks reasonable, is there some branch that i can test ?
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
<haasn> michaelni: it’s also on swscale4 (one of the earlier commits)
<haasn> Fixed the bug with bgr565 on that branch too
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
<haasn> elenril: about the samples, I will reassemble my PC today (finally)
compn has quit [Remote host closed the connection]
<haasn> And can send it to you
compn has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
lemourin is now known as Guest9369
<Lynne> oof, did it break?
lemourin has quit [Client Quit]
Guest9369 has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
<fflogger> [editedticket] nyanmisaka: Ticket #11292 ([avcodec] AMD Hardware Encoding is Broken in versions >= 7.1) updated https://trac.ffmpeg.org/ticket/11292#comment:4
mkver has quit [Ping timeout: 260 seconds]
mkver has joined #ffmpeg-devel
elvis_a_presley has quit [Quit: smoke-bomb ; grapple-hook]
elvis_a_presley has joined #ffmpeg-devel
<cone-537> ffmpeg Marth64 master:6d5a0998b69a: doc/bitstream_filters: elaborate on h264_redundant_pps
cone-537 has joined #ffmpeg-devel
mkver has quit [Ping timeout: 260 seconds]
<fflogger> [editedticket] TanMan: Ticket #11292 ([avcodec] AMD Hardware Encoding is Broken in versions >= 7.1) updated https://trac.ffmpeg.org/ticket/11292#comment:5
<Marth64> Lynne: I'll play with ffv1_vulkan this weekend. Will capture some interlaced content
<Marth64> Very cool
osvein has quit [Ping timeout: 255 seconds]
Krowl has joined #ffmpeg-devel
osvein has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
Marth64 has quit [Quit: Leaving]
System_Error has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin is now known as Guest3096
Guest3096 has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
lemourin has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 260 seconds]
lemourin has quit [Client Quit]
kasper93 has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
lemourin is now known as Guest6843
lemourin has joined #ffmpeg-devel
Guest6843 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
putacho has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg-devel
microchip_ is now known as elChippo
cone-537 has quit [Quit: transmission timeout]
Krowl has joined #ffmpeg-devel
tufei__ has joined #ffmpeg-devel
tufei_ has quit [Ping timeout: 260 seconds]
Krowl has quit [Read error: Connection reset by peer]
tufei_ has joined #ffmpeg-devel
tufei__ has quit [Ping timeout: 260 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
___nick___ has quit [Ping timeout: 248 seconds]
iive has joined #ffmpeg-devel
cone-244 has joined #ffmpeg-devel
<cone-244> ffmpeg James Almer master:f15fc27db5b3: avfilter/framepool: align the frame buffers
<cone-244> ffmpeg Pavel Koshevoy master:7b302f4db7d3: lavfi/vf_zscale: fix tmp buffer ptr alignment for zimg_filter_graph_process
<cone-244> ffmpeg Pavel Koshevoy master:00cf3df03f66: lavfi/vf_zscale: fix call to av_pix_fmt_count_planes
<cone-244> ffmpeg James Almer master:c8e5c684b3db: avfilter/vf_zscale: align the frame buffers
<cone-244> ffmpeg James Almer master:10c02deccb65: avfilter/vf_zscale: extend the configuration log message with color space info
<cone-244> ffmpeg James Almer master:5c8268ac568a: avfilter/vf_zscale: remove unecessary argument from realign_frame
<haasn> Lynne: no, I'm just moving
<haasn> already for about 2 months.. moving is hard
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg-devel