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
<ramiro> haasn: I'm having an issue with 0rgb -> xv48be. I think it's due to more aggressive optimization of the operation list. the convert operation wants to convert alpha as well, but the vectors haven't been initialized to 0, nor have they been populated by the swizzle: https://pastebin.com/TtggQEQr
thilo has quit [Ping timeout: 260 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
Kei_N has quit [Read error: Connection reset by peer]
Kei_N_ has joined #ffmpeg-devel
Kei_N_ has quit [Ping timeout: 252 seconds]
Kei_N has joined #ffmpeg-devel
<fflogger> [newticket] Martmists: Ticket #11574 ([ffplay] FFmpeg fails to handle symlinks to video devide) created https://trac.ffmpeg.org/ticket/11574
Anthony_ZO has joined #ffmpeg-devel
jamrial has quit []
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 248 seconds]
DVedaa has quit [Quit: The Lounge - https://thelounge.chat]
DVedaa has joined #ffmpeg-devel
Anthony_ZO has quit [Quit: Anthony_ZO]
BradleyS has quit [Read error: Connection reset by peer]
BradleyS has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
microlappy has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 244 seconds]
microlappy has quit [Quit: Konversation terminated!]
microlappy has joined #ffmpeg-devel
microlappy has quit [Client Quit]
System_Error has quit [Remote host closed the connection]
Anthony_ZO has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
<fflogger> [editedticket] Aleksoid1978: Ticket #11556 ([avformat] Apply sensible FourCC for H.265 in AVI) updated https://trac.ffmpeg.org/ticket/11556#comment:3
kepstin has quit [Remote host closed the connection]
abdu24 has joined #ffmpeg-devel
kepstin has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
bilboed has joined #ffmpeg-devel
abdu24 has quit [Ping timeout: 240 seconds]
ccawley2011 has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
Traneptora has quit [Quit: Quit]
Traneptora has joined #ffmpeg-devel
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 260 seconds]
j45_ is now known as j45
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 252 seconds]
<fflogger> [editedticket] cus: Ticket #11574 ([ffplay] FFmpeg fails to handle symlinks to video devide) updated https://trac.ffmpeg.org/ticket/11574#comment:1
aljazmc has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
aljazmc has quit [Quit: Leaving]
aljazmc has joined #ffmpeg-devel
microlappy has joined #ffmpeg-devel
microlappy has quit [Client Quit]
microlappy has joined #ffmpeg-devel
microlappy has quit [Client Quit]
Anthony_ZO has quit [Ping timeout: 252 seconds]
IndecisiveTurtle has joined #ffmpeg-devel
aljazmc has quit [Quit: Leaving]
abdu has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
lexano has joined #ffmpeg-devel
<haasn> ramiro: good catch; when we optimize away a redundant clear we also need to reset all downstream metadata
<haasn> in general, maybe we should just always reset all metadata between each optimization pass
<haasn> since it's free to reinfer at any time
<haasn> maybe we shouldn't even store inferred metadata alongside the op itself
<haasn> and just make it a separate call to get the metadata; though that would require extra allocation so I'm not too excited about it
<haasn> it would certainly be the more robust approach to always reinfer from scratch
abdu has quit [Ping timeout: 240 seconds]
<haasn> ramiro: pushed a fix and other potential related issues; simplifies the optimizer loop a bit as well
<haasn> now we no longer make any assumptions about component flags and when they are safe to remove or not and just always fully recompute them after every single optimization pass
<haasn> on a side note, SWS_COMPS_ZERO is technically redundant with min=max=0 + SWS_COMP_EXACT, but I guess it doesn't hurt to keep it around if only because it makes the code a bit simpler
<jkqxz> jamrial: Is the reason why you want the new cbs function there purely the buffer referencing for the tiles?
<jamrial> jkqxz: parsers are not reference counted, so i want to avoid a copy
<jkqxz> Is removing that referencing a cleaner answer? The fake buffer being made in the parser code is rather clumsy.
<jamrial> ff_cbs_read() will copy the whole au
<jamrial> yes, it's not ideal, but until the whole avparser API is replaced by something reference counted (like bsfs), then there are not many options
<jkqxz> Hmm. AV1 and VVC both do the same thing.
<jamrial> yeah
<jamrial> seeing vvc does packetization using avbufferef, it may benefit from this new function without using fake buffers
<jkqxz> Are others going to want a buffer containing exactly the required data with no offsett?
<jkqxz> Wondering whether it would be better to just add a buffer argument to ff_cbs_read().
<jkqxz> (Which can be null, with same behaviour as currently.)
<jamrial> yeah, that does sound more versatile
microchip_ has quit [Quit: There is no spoon!]
microchip_ has joined #ffmpeg-devel
abdu has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11573 ([avformat] WebSocket (ws/wss) protocol support) updated https://trac.ffmpeg.org/ticket/11573#comment:2
<jamrial> jkqxz: for some reason i can't do the same with av1
<jamrial> av_buffer_get_ref_count(ref) is > 1 after parsing, despite havig reset the fragment
<fflogger> [editedticket] MasterQuestionable: Ticket #11556 ([avformat] Apply sensible FourCC for H.265 in AVI) updated https://trac.ffmpeg.org/ticket/11556#comment:4
averne_ has joined #ffmpeg-devel
averne has quit [Ping timeout: 252 seconds]
averne_ is now known as averne
abdu has quit [Ping timeout: 240 seconds]
<fflogger> [editedticket] MasterQuestionable: Ticket #11557 ([avcodec] Abnormally choked loading for "non-existing PPS 0 referenced"?) updated https://trac.ffmpeg.org/ticket/11557#comment:14
abdu has joined #ffmpeg-devel
<fflogger> [editedticket] MasterQuestionable: Ticket #11550 ([avformat] "-c copy" somehow failing) updated https://trac.ffmpeg.org/ticket/11550#comment:6
ccawley2011 has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 245 seconds]
<fflogger> [editedticket] Levan: Ticket #11550 ([avformat] "-c copy" somehow failing) updated https://trac.ffmpeg.org/ticket/11550#comment:7
abdu has quit [Ping timeout: 240 seconds]
<fflogger> [editedticket] MasterQuestionable: Ticket #11553 ([avcodec] Marker bit set VP9 may glitch internal "vp9" decoding?) updated https://trac.ffmpeg.org/ticket/11553#comment:5
zsoltiv_ has joined #ffmpeg-devel
zsoltiv has joined #ffmpeg-devel
<fflogger> [editedticket] wazer: Ticket #11557 ([avcodec] Abnormally choked loading for "non-existing PPS 0 referenced"?) updated https://trac.ffmpeg.org/ticket/11557#comment:15
<fflogger> [editedticket] jamrial: Ticket #11553 ([avcodec] BUG error code returned when decoding vp9) updated https://trac.ffmpeg.org/ticket/11553#comment:6
<fflogger> [editedticket] MasterQuestionable: Ticket #11550 ([avformat] "-c copy" somehow failing) updated https://trac.ffmpeg.org/ticket/11550#comment:8
IndecisiveTurtle has quit [Ping timeout: 244 seconds]
<fflogger> [editedticket] jasperE: Ticket #11553 ([avcodec] BUG error code returned when decoding vp9) updated https://trac.ffmpeg.org/ticket/11553#comment:7
TheVibeCoder has joined #ffmpeg-devel
<TheVibeCoder> jamrial: is above APV file valid, it decodes here with extremely quantized colors
<jamrial> ask jkqxz, he wrote the decoder
<jamrial> but afaik, 4:2:0 is not supported
<TheVibeCoder> not 420
<TheVibeCoder> the 10bit sample on sendspace
<jkqxz> Dose the reference encoder make 4:2:0 files despite them being forbidden?
<jamrial> the sendspace file is 4:2:2, and looks like that screenshot
<jamrial> but yes, the encoder seems to generate 4:2:0 for some reason
TheVibeCoder has quit [Quit: Client closed]
TheVibeCoder has joined #ffmpeg-devel
<jkqxz> Looks like it has the code for it, but there is no profile for the conformance point so just says it's 422-10 profile.
<jamrial> TheVibeCoder: does that sample look the same if you decode with the reference decoder?
<TheVibeCoder> havent checked that yet
<jamrial> maybe 6mb is a low bitrate
ccawley2011 has joined #ffmpeg-devel
<jkqxz> Very. 1080p30 should be level 3, which is ~100Mbps target.
abdu has joined #ffmpeg-devel
<jamrial> so just the case of a user not understanding the codec they are trying to use
<fflogger> [editedticket] Levan: Ticket #11550 ([avformat] "-c copy" somehow failing) updated https://trac.ffmpeg.org/ticket/11550#comment:9
<jkqxz> That stream has almost no AC coefficients at all.
<jkqxz> Yes.
<TheVibeCoder> confirmed
<jkqxz> And is max QP everywhere.
<TheVibeCoder> reference openapv decodes same file like ffmpeg, psnr score is +inf
<jkqxz> Yeah, bit exact.
<fflogger> [editedticket] MasterQuestionable: Ticket #11557 ([avcodec] Abnormally choked loading for "non-existing PPS 0 referenced"?) updated https://trac.ffmpeg.org/ticket/11557#comment:16
TheVibeCoder has quit [Quit: Client closed]
abdu has quit [Ping timeout: 240 seconds]
<jkqxz> 4:2:0 from the reference encoder just works with small edits. Worth sending, or would it be better to make a bug against openapv to stop making 4:2:0 files?
ccawley2011 has quit [Ping timeout: 244 seconds]
<jamrial> jkqxz: they have definitions for 420 in the public headers. might be worth asking what's the plan for the format
abdu has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
abdu92 has joined #ffmpeg-devel
Teukka has quit [Read error: Connection reset by peer]
Teukka has joined #ffmpeg-devel
Teukka has quit [Changing host]
Teukka has joined #ffmpeg-devel
ffmpegfan has joined #ffmpeg-devel
ffmpegfan has quit [Client Quit]
thilo has quit [Ping timeout: 276 seconds]
thilo has joined #ffmpeg-devel
<haasn> oh, yes
___nick___ has joined #ffmpeg-devel
abdu92 has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
mkver has quit [Ping timeout: 248 seconds]
<fflogger> [editedticket] MasterQuestionable: Ticket #11551 ([avcodec] [HEVC] Incorrect PCM coding block length derivation for YUV400) updated https://trac.ffmpeg.org/ticket/11551#comment:1
abdu has quit [Ping timeout: 240 seconds]
IndecisiveTurtle has joined #ffmpeg-devel
cone-420 has joined #ffmpeg-devel
<cone-420> ffmpeg James Almer master:0cabfdc8bc32: avcodec/apv_parser: use an AVBufferRef to avoid data copying
<cone-420> ffmpeg James Almer master:d08c5527cf17: avcodec/exr: add support for half-float DWAA/B compression
<cone-420> ffmpeg James Almer master:4bfe9c56632a: avcodec/cbs: add an AVBufferRef input argument to ff_cbs_read()
<cone-420> ffmpeg Dawid Kozinski master:fab691edaf53: avcodec: add APV encoder using liboapv
<cone-420> ffmpeg James Almer master:a0349d64fdd1: avformat/apvdec: also look for an au_info PBU during probing
<fflogger> [editedticket] jamrial: Ticket #11555 ([avcodec] Pixel format of 16-bit EXR reported as 32-bit?) updated https://trac.ffmpeg.org/ticket/11555#comment:5
abdu has joined #ffmpeg-devel
<jkqxz> Yay, multisymbol decode does win. First implementation is something like +~50% overall decoder perf, and there is plenty more to tune.
rvalue- has joined #ffmpeg-devel
zsoltiv__ has joined #ffmpeg-devel
zsoltiv_ has quit [Ping timeout: 252 seconds]
rvalue has quit [Ping timeout: 260 seconds]
<jkqxz> It doesn't fit into the existing multisymbol VLC stuff because you need extra stuff for the adaptive state and to deal with the block being able to end halfway through your multisymbol lookup entry.
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
rvalue- is now known as rvalue
Coinflipper has quit [Quit: ​]
Coinflipper has joined #ffmpeg-devel
___nick___ has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
Gramner has quit [Ping timeout: 252 seconds]
<jamrial> jkqxz: for that matter, i opened a ticket on apv's repo because the library returns a raw bitstream AU from section 12.1 (so including au_size)
<jamrial> still no replies, but ideally they'd make it configurable
<jamrial> for now, i made the encoder wrapper strip the au_size
<fflogger> [editedticket] compn: Ticket #11556 ([avformat] Apply sensible FourCC for H.265 in AVI) updated https://trac.ffmpeg.org/ticket/11556#comment:5
<ramiro> haasn: regarding the changes to dithering, was is supposed to be 0,3,2,5 or should it be 0,2,3,5?
<kierank> terrible compn response
<kierank> to users
<compn> hmm?
<compn> which comment is terrible ?
<compn> kierank,
<fflogger> [editedticket] kierank: Ticket #11556 ([avformat] Apply sensible FourCC for H.265 in AVI) updated https://trac.ffmpeg.org/ticket/11556#comment:6
cone-420 has quit [Quit: transmission timeout]
<compn> interesting opinion. patches welcome
* compn afk
IndecisiveTurtle has quit [Ping timeout: 244 seconds]
patagona has joined #ffmpeg-devel
<fflogger> [editedticket] mkver: Ticket #11553 ([avcodec] BUG error code returned when decoding vp9) updated https://trac.ffmpeg.org/ticket/11553#comment:8
abdu has quit [Quit: Client closed]
mkver has quit [Ping timeout: 252 seconds]