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.0 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
thilo has quit [Ping timeout: 260 seconds]
thilo has joined #ffmpeg-devel
paulk has quit [Ping timeout: 260 seconds]
paulk has joined #ffmpeg-devel
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
SystemError has quit [Ping timeout: 260 seconds]
SystemError has joined #ffmpeg-devel
iive has quit [Quit: They came for me...]
TheSashmo has quit [Quit: Leaving...]
SystemError has quit [Remote host closed the connection]
TheSashmo has joined #ffmpeg-devel
TheSashmo has quit [Remote host closed the connection]
TheSashmo has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
Martchus_ has quit [Ping timeout: 268 seconds]
TheSashm_ has joined #ffmpeg-devel
TheSashm_ has quit [Remote host closed the connection]
TheSashmo has quit [Read error: Connection reset by peer]
TheSashmo has joined #ffmpeg-devel
BradleyS has quit [Quit: quit]
BradleyS has joined #ffmpeg-devel
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
Martchus has joined #ffmpeg-devel
lemourin has joined #ffmpeg-devel
arch1t3cht6 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 256 seconds]
arch1t3cht6 is now known as arch1t3cht
jamrial has quit []
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
AbleBacon has quit [Quit: I am like MacArthur; I shall return.]
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #ffmpeg-devel
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 255 seconds]
MrZeus_ has quit [Ping timeout: 272 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 240 seconds]
ramiro has joined #ffmpeg-devel
ngaullier has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
TheSashm_ has joined #ffmpeg-devel
TheSashmo has quit [Ping timeout: 255 seconds]
Livio has joined #ffmpeg-devel
wellsakus has quit [Read error: Connection reset by peer]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
Livio has quit [Ping timeout: 256 seconds]
Krowl has joined #ffmpeg-devel
Krowl has quit [Client Quit]
Krowl has joined #ffmpeg-devel
ngaullie has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
ngaullier has quit [Ping timeout: 260 seconds]
ccawley2011 has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
Jin has joined #ffmpeg-devel
Jin has left #ffmpeg-devel [#ffmpeg-devel]
Jin has joined #ffmpeg-devel
Jin is now known as cgojin
cgojin has left #ffmpeg-devel [#ffmpeg-devel]
cgojin has joined #ffmpeg-devel
cgojin has quit [Remote host closed the connection]
Krowl has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
Livio has quit [Ping timeout: 252 seconds]
Krowl has quit [Read error: Connection reset by peer]
ngaullie has quit [Ping timeout: 260 seconds]
jamrial has joined #ffmpeg-devel
qeed has joined #ffmpeg-devel
qeed_ has quit [Ping timeout: 268 seconds]
ngaullier has joined #ffmpeg-devel
MrZeus has joined #ffmpeg-devel
MrZeus_ has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 268 seconds]
lexano has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
ngaullie has joined #ffmpeg-devel
ngaullier has quit [Ping timeout: 264 seconds]
xvaclav has quit [Ping timeout: 256 seconds]
xvaclav has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
jkhsjdhjs has quit [Remote host closed the connection]
jkhsjdhjs has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
MikhailAMD has quit [Quit: Leaving]
emersion has quit [Read error: Connection reset by peer]
emersion has joined #ffmpeg-devel
MikhailAMD has joined #ffmpeg-devel
Livio has quit [Ping timeout: 256 seconds]
Martchus_ is now known as Martchus
Guest62 has joined #ffmpeg-devel
Guest62 has quit [Quit: Client closed]
cone-505 has joined #ffmpeg-devel
<cone-505> ffmpeg James Almer master:14aff7e45ec6: x86/vvc/vvcdsp_init: coalesce function initializers
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
Livio has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
<JEEB> kasper93: btw did you get any reviews on the recent patches you had? I could take a look today :)
Livio has quit [Quit: leaving]
<cone-505> ffmpeg J. Dekker master:ca583b22e49b: avfilter/riscv: build afir only if required
<cone-505> ffmpeg J. Dekker master:4ced36744ee0: checkasm/h264dsp: support checking more idct depths
<kasper93> JEEB: you can take a look, michaelni fixed base64 decoding, but the rest is pending. thanks
<JEEB> gotcha
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
MrZeus_ has quit [Ping timeout: 268 seconds]
Kei_N_ has joined #ffmpeg-devel
<cone-505> ffmpeg Rémi Denis-Courmont master:61ec7450ff2c: lavu/riscv: fallback to raw hwprobe() system call
<cone-505> ffmpeg Rémi Denis-Courmont master:b410439263e1: lavu/riscv: CPU flag for fast misaligned accesses
<cone-505> ffmpeg Rémi Denis-Courmont master:9d3f561721cd: lavc/vp8dsp: restrict RVI optimisations
<cone-505> ffmpeg Rémi Denis-Courmont master:20fbc07af1eb: lavu/riscv: remove bogus B extension
Livio has joined #ffmpeg-devel
Kei_N has quit [Ping timeout: 252 seconds]
___nick___ has joined #ffmpeg-devel
ngaullie has quit [Ping timeout: 268 seconds]
deus0ww has quit [Ping timeout: 240 seconds]
ccawley2011 has quit [Ping timeout: 260 seconds]
deus0ww has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<JEEB> kasper93: > permission denied for the oss-fuzz report, but lemme see the patch
<courmisch> well, the workaround for the V problem does not cause massive performance degradation. I guess that's one difference
<courmisch> oops
MrZeus_ has joined #ffmpeg-devel
<courmisch> somebody who understands VP9 please
<courmisch> somebody who understands ff_vp9dec please
<JEEB> ah :)
<courmisch> unlord: are vertical ipred and MoComp copy on aligned MBs, or is that checkasm being too optimistic/nice?
<JEEB> kasper93: is this the value read being too large for the positive bits of int32_t and thus it ends up being negative?
<courmisch> so why is there no UINTPTR_C(x) macro in the C specs.
<courmisch> The people want answers.
<Lynne> when in doubt, it's either locales, or its because 64-bit max size limitations
<courmisch> lies. There is UINT64_C(x) just fine
<courmisch> it's pitchforking time
<jkqxz> (uintptr_t)UINTMAX_C(x) ?
<jkqxz> Also remember that the type of UINT32_C(x) is unlikely to actually be uint32_t on a DS9K, because the standard is helpful like that.
<unlord> courmisch: what?
<unlord> AFAICT there is no official vp9 spec document (and even some non-compliant HW). I would look at the source code if I were you
<courmisch> :eff:
<JEEB> so the webm site's bitstream spec is not really a spec? :D
<JEEB> yea I linked the PDF that's there on the webm site
<Lynne> last updated: 2017 though, and still considered a draft
haihao has quit [Ping timeout: 260 seconds]
haihao has joined #ffmpeg-devel
b50d has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
MrZeus__ has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
MrZeus_ has quit [Ping timeout: 240 seconds]
MrZeus has joined #ffmpeg-devel
MrZeus__ has quit [Ping timeout: 268 seconds]
<kasper93> JEEB: yes, value ends up negative and the overflow check below https://github.com/FFmpeg/FFmpeg/commit/29b244ffc15abe2c24d2145f63048e8b3bdaa303 is not enough
MrZeus_ has joined #ffmpeg-devel
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<JEEB> also I love how INT32_MAX is just written 0x7FFFFFFF there
<JEEB> looking at read_fps, which breaks when it finds a too large value, read_int just goes on :V
MrZeus has quit [Ping timeout: 260 seconds]
<JEEB> yea, it's the same check but for INT64_MAX instead (-9) / 10
<JEEB> but yea, since this function has a separate error var and the function is clearly is ignoring anything not between '0' and '9', it clearly was not meant to output negative numbers :D
<JEEB> so fixing that (INT32_MAX - 9) / 10 thing is probably the correct way to handle it
<JEEB> (also while I was checking the git blame, that code had changed surprisingly little since being first merged in 2008)
<kasper93> how does negative sample rate make sense?
<JEEB> it doesn't. and the function is clearly not made to parse negative values since it only continues for [0,9]
<JEEB> it clearly has a check for a too large value (I have no idea if `result > (INT32_MAX - 9) / 10` is actually correct, but if it is - it would just be enough to stick a break there in addition to the *error = -1; (something something why isn't this just llrint or something?)
<JEEB> and yea, if the largest value is 9 and you do a 10x, then I guess that checks the value? it just doesn't stop at it at the moment.
<JEEB> thank goodness, there's some samples for this forsaken format in FATE apparently :D
<JEEB> > 1996 Eidos plc.
<JEEB> fun
<JEEB> anyways, the codec tags seem to be something like 0x007C or 0x0082 so nowhere close to int32 levels
<JEEB> lemme test my theory locally
TheSashm_ has quit [Quit: Leaving...]
TheSashmo has joined #ffmpeg-devel
TheSashmo has quit [Client Quit]
TheSashmo has joined #ffmpeg-devel
<courmisch> oooh, the fugly code I just posted
<JEEB> kasper93: FATE still passes with this, does this fix the fuzz? https://github.com/jeeb/ffmpeg/commits/rpl_int32_saturation_fix - not fully sure of stop VS "just continue until decimal numbers stop happening"
Livio has quit [Ping timeout: 256 seconds]
<JEEB> (it's possible this function needs to just skip until the end of numbers instead, but ┐(´д`)┌ with valid files in FATE this seems to be working.
<JEEB> &41
Livio has joined #ffmpeg-devel
<cone-505> ffmpeg Marton Balint master:77fc047bd91e: avfilter/vsrc_testsrc: do not round down width and height for color src
<cone-505> ffmpeg Marton Balint master:a69a0b689c3c: avfilter/blend: put slice parameters to a single struct
<cone-505> ffmpeg Marton Balint master:64330e365b97: avfilter/blend: use a per-thread AVExpr
<cone-505> ffmpeg Marton Balint master:b0093ab8a3d3: avfilter/vf_geq: fix interpolation with 1 pixel width/height
<kasper93> JEEB: yep, alternative would we to just read error value
<kasper93> but still should return AVERROR_INVALIDDATA
<kasper93> now you read part of the value and saturate it, while it also should just reject those invalid values
<JEEB> yea, in theory you should just make that stuff error out etc, but the saturation check was already there for the other stuff so we are just fixing that funky logic from 2008. making it so that we don't have to have N spots where we have to check for the result, but just not returning too large values to begin with.
<JEEB> basically I care enough to figure out that the function was never supposed to give out negative values (even has the saturation check there from original commit), but then I don't care enough to start a full rewrite :P
<kasper93> the function cleary sets the error flag
<kasper93> the logic is correct, not correct is not checking the error flag
<kasper93> but w/e I don't care how it is fixed
<kasper93> just stupid values will likely break something further
<JEEB> well then you have read_fps which doesn't even set the error flag
<JEEB> unless it's a zero in num
<JEEB> and yes, it seems to just expect that rpl_read_header can just keep on doing stuff and then at the end it once checks error
<JEEB> which is completely against the whole idea of early exit
<JEEB> so the author originally assumed that the functions would be OK to just be utilized, and that checking once at the end was supposedly OK (classic)
Livio has quit [Ping timeout: 268 seconds]
Krowl has quit [Read error: Connection reset by peer]
TheSashmo has quit [Ping timeout: 268 seconds]
kasper93_ has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 260 seconds]
b50d has quit [Remote host closed the connection]
TheSashmo has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
haihao has quit [Ping timeout: 252 seconds]
haihao has joined #ffmpeg-devel
feiwan12 has quit [Ping timeout: 260 seconds]
feiwan12 has joined #ffmpeg-devel
kasper93_ is now known as kasper93
MrZeus__ has joined #ffmpeg-devel
MrZeus has joined #ffmpeg-devel
MrZeus_ has quit [Ping timeout: 264 seconds]
MrZeus__ has quit [Ping timeout: 252 seconds]
cone-505 has quit [Quit: transmission timeout]
MrZeus_ has joined #ffmpeg-devel
MrZeus__ has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 252 seconds]
MrZeus_ has quit [Ping timeout: 252 seconds]
MrZeus has joined #ffmpeg-devel
MrZeus__ has quit [Ping timeout: 252 seconds]
ccawley2011 has quit [Read error: Connection reset by peer]
MrZeus_ has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 268 seconds]
MrZeus__ has joined #ffmpeg-devel
MrZeus_ has quit [Ping timeout: 268 seconds]
MrZeus has joined #ffmpeg-devel
MrZeus__ has quit [Ping timeout: 246 seconds]
System_Error has quit [Ping timeout: 260 seconds]
MrZeus_ has joined #ffmpeg-devel
MrZeus__ has joined #ffmpeg-devel
MrZeus has quit [Ping timeout: 246 seconds]
MrZeus_ has quit [Ping timeout: 272 seconds]
sadome has joined #ffmpeg-devel
sadome has quit [Changing host]
sadome has joined #ffmpeg-devel
sadome has quit [Excess Flood]
MrZeus_ has joined #ffmpeg-devel
MrZeus__ has quit [Ping timeout: 252 seconds]
MrZeus_ has quit [Ping timeout: 256 seconds]