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
Sean_McG has quit [Ping timeout: 245 seconds]
ahmedhamed has quit [Quit: Connection closed for inactivity]
Traneptora has joined #ffmpeg-devel
abdu has quit [Quit: Client closed]
Traneptora has quit [Client Quit]
thilo has quit [Ping timeout: 272 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
<jamrial>
mkver: we could also remove the av prefix from this api namespace, since it's CLI only
<mkver>
yeah
ppa_csharp has joined #ffmpeg-devel
ppa_csharp has quit [Client Quit]
mkver has quit [Ping timeout: 276 seconds]
jamrial_ has joined #ffmpeg-devel
kekePower7 has joined #ffmpeg-devel
jkhsjdhjs_ has joined #ffmpeg-devel
jkqxz_ has joined #ffmpeg-devel
JEEB_ has joined #ffmpeg-devel
markh has quit [*.net *.split]
jamrial has quit [*.net *.split]
microchip_ has quit [*.net *.split]
jkhsjdhjs has quit [*.net *.split]
sm2n has quit [*.net *.split]
psykose has quit [*.net *.split]
BradleyS has quit [*.net *.split]
witchymary has quit [*.net *.split]
odrling has quit [*.net *.split]
uau has quit [*.net *.split]
Lynne has quit [*.net *.split]
JEEB has quit [*.net *.split]
jkqxz has quit [*.net *.split]
kekePower has quit [*.net *.split]
kekePower7 is now known as kekePower
jkhsjdhjs_ is now known as jkhsjdhjs
Anthony_ZO has joined #ffmpeg-devel
markh has joined #ffmpeg-devel
microchip_ has joined #ffmpeg-devel
sm2n has joined #ffmpeg-devel
psykose has joined #ffmpeg-devel
BradleyS has joined #ffmpeg-devel
witchymary has joined #ffmpeg-devel
odrling has joined #ffmpeg-devel
uau has joined #ffmpeg-devel
Lynne has joined #ffmpeg-devel
minimal has quit [Quit: Leaving]
kasper93 has quit [Quit: kasper93]
kasper93 has joined #ffmpeg-devel
compn has quit [Read error: Connection reset by peer]
compn has joined #ffmpeg-devel
grillo_02 has joined #ffmpeg-devel
grillo_0 has quit [Ping timeout: 272 seconds]
grillo_02 is now known as grillo_0
usagi_mimi has quit [Quit: WeeChat 4.5.2]
jamrial_ has quit []
aaabbb has quit [Changing host]
aaabbb has joined #ffmpeg-devel
Guest44 has joined #ffmpeg-devel
<Guest44>
Hello, I found mpeg file can call av_seek_frame success, but av_read_frame will always return EOF, is it a bug?
<Guest44>
should i send email to ffmpeg-dev or libav?
<fflogger>
[newticket] honglongyu: Ticket #11546 ([avcodec] mjpeg file call av_read_frame return EOF after seek) created https://trac.ffmpeg.org/ticket/11546
DodoGTA has quit [Read error: Connection reset by peer]
JEEB_ is now known as JEEB
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #ffmpeg-devel
ngaullier has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
ngaullier has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
<fflogger>
[editedticket] fildens: Ticket #11430 ([avformat] [Regression] Data stream in output may glitch "-stats" display since 7.0) updated https://trac.ffmpeg.org/ticket/11430#comment:15
ngaullier has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
DodoGTA has joined #ffmpeg-devel
dim^ has quit [Quit: leaving]
j45_ has joined #ffmpeg-devel
j45 has quit [Read error: Connection reset by peer]
j45_ is now known as j45
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
OctopusET has quit [Ping timeout: 248 seconds]
OctopusET has joined #ffmpeg-devel
mkver has quit [Ping timeout: 265 seconds]
abdu has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
TheVibeCoder has joined #ffmpeg-devel
<TheVibeCoder>
Lynne: the braw is not bayer at all, its some subsamples rgb/yuv variant
<Lynne>
nope, braw is 100% bayer
<TheVibeCoder>
how so?
<Lynne>
it's the ONLY '''raw''' format out there which keeps its bayer tiling
<Lynne>
rest of cinema gear, except arrirraw and cinemadng does some variant of yuv conversion in camera and relies on LUTs
<Lynne>
(so does braw, there's a massive lut embedded in the mov we don't yet parse, but less so)
<TheVibeCoder>
if its is bayer, so it always uses same pattern? what you see when you zoom in with debayered output?
<TheVibeCoder>
in prores raw i clearly see bayer pattern and data is not subsampled
<TheVibeCoder>
in braw, if its really bayer its magic
<TheVibeCoder>
this is gbrp12 decoder (librempeg) with -vf exposure=2 filter
<TheVibeCoder>
there is still small green tint (because of BRAW hidden color stuff)
<Lynne>
its definitely bayer
<TheVibeCoder>
also watch for banding and overflow/folding of values, because i couldnt dechiper all binary stuff, also there is newer bitstream, with different coefficients/coding I never got to implement/RE
Guest44 has quit [Quit: Client closed]
<Lynne>
I'm not sure it's bayer
<Lynne>
they keep talking about partial debayering
<TheVibeCoder>
i never was, prores raw is really bayer, and DNG-TIFF with extra stuff (its special lossless jpeg coding...)
<Lynne>
i?
<TheVibeCoder>
there is also patent to read, but it probably have more unknowns than it reveal new thinigs
<TheVibeCoder>
that part is speculation, by interpreting patent
<TheVibeCoder>
they probably do correlating thing inside camera....
<TheVibeCoder>
there would not be need for that if all 4 components are of same size when doing IDCT
<TheVibeCoder>
but in BRAW, there is 2 IDCT of 8x8
<TheVibeCoder>
and 2 IDCT of 8x4
<haasn>
how the heck is vfmadd slower than vmulps + vaddps as two separate istructions
<TheVibeCoder>
amd or intel?
<Lynne>
haasn: fma is very sensitive to latency
<Lynne>
mul+add can be pipelined, but fma is a single uop
<haasn>
TheVibeCoder: ryzen 9
<TheVibeCoder>
yea, latency is the thing, it will need to wait more
<TheVibeCoder>
but perhaps there is way to avoid that?
<TheVibeCoder>
or really not
<Lynne>
TheVibeCoder: does librempeg support prores raw?
<TheVibeCoder>
yes at least on variant of bayer pattern that i encountered in wild
<TheVibeCoder>
*on
<TheVibeCoder>
*one
<TheVibeCoder>
so its missing recognizing other/different patterns, need to find right spot in bitstream when/how its signaled
<TheVibeCoder>
*where/how
<TheVibeCoder>
prores raw have almost 95% code stolen from prores
jamrial has joined #ffmpeg-devel
<TheVibeCoder>
also there is 2 variants of prores raw, I think one is fully 12 bit (higher quality) and other is 10bit (when looking at pixel distribution in waveform)
<TheVibeCoder>
yea, different tint, good luck figuring out right color transfer and other stuff...
<Lynne>
mindfreeze: there's absolutely no way to get that image ever via ffmpeg
<Lynne>
at least without applying the very same filters they used
<mindfreeze>
i wonder if we use the embedded metadata information o the clip (like LUT Cube and apply it), will that improve anything. Probably they only useful if we want to get as BT709 or anything else to transform
<Lynne>
TheVibeCoder: is all prores raw bayer, or do they have partially debayered patterns?
<TheVibeCoder>
to me it appears its real bayer pattern, and not some hack
<TheVibeCoder>
at least there is no sign of subsampled dct in codebase
<TheVibeCoder>
there is only on dct variant used, unlike 2 in braw
<TheVibeCoder>
also they have lowres stuff
<TheVibeCoder>
iirc
<TheVibeCoder>
and most of code is GPU-oriented
<TheVibeCoder>
and yes BRAW too
<haasn>
I guess I could switch from row-strided ops to column-strided linear ops; to make the sequence fma m0, m4, m8; fma m1, m4, m9; fma m2, m4, m10; fma m3, m4, m11 instead of fma m0, m4, m8; fma m0, m5, m9; fma m0, m6, m10; ...
<haasn>
I guess the read-add-write critical path on m0 here is the problem
<TheVibeCoder>
its uses nv/cuda thing, so if you can dechiper BRAW bytecode dealing with shader code you can maybe improve color situation
<TheVibeCoder>
mindfreeze: issue is that BRAW also have special own version of color-transfer/primaries math behind all of this...
<Lynne>
they also do noise reduction via their own libraries
<fflogger>
[editedticket] MasterQuestionable: Ticket #11430 ([avformat] [Regression] Data stream in output may glitch "-stats" display since 7.0) updated https://trac.ffmpeg.org/ticket/11430#comment:16
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
abdu has quit [Ping timeout: 240 seconds]
abdu has joined #ffmpeg-devel
minimal has joined #ffmpeg-devel
cone-805 has joined #ffmpeg-devel
<cone-805>
ffmpeg Nicolas George master:0040d7e60896: lavfi/src_movie: set pkt_timebase
<haasn>
what reward do I get when my asm code triggers an assertion in nasm during compilation?
<JEEB>
tmatth: I got that when I had a different set of vulkan headers in my sysroot which were older (feb 2024)
<JEEB>
so the configure check probably passed due to system headers, and then the additional custom sysroot stuff then got included first in that stuff
<tmatth>
JEEB: yeah in my case I just have whatever the distro is shipping, haven't installed any custom stuff
abdu94 has joined #ffmpeg-devel
<tmatth>
so I'm guessing a configure check needs to be stricter or some ifdefs need to be added
<JEEB>
then re-run configure and if it indeed succeeds then the configure check indeed needs to be stricter
abdu has quit [Ping timeout: 240 seconds]
<JEEB>
see ffbuild/config.log for what exactly passes
<another|>
glslang or shaderc ?
<tmatth>
JEEB: yeah I had already re-run configure before bugging you all :)
<jkqxz>
Would that want to be added to x86util or just use it in-place?
<jamrial>
in-place until something else needs it, imo
<fflogger>
[newticket] merolac: Ticket #11547 ([ffmpeg] Support for SEGA CD/MEGA CD video and audio codecs used in Road Avenger videogame) created https://trac.ffmpeg.org/ticket/11547
<tmatth>
Lynne, jamrial: thx that fixed it for me
<Lynne>
jamrial: yours is correct, go ahead and push it
<tmatth>
(I tested Lynne's version FWIW)
System_Error has quit [Ping timeout: 264 seconds]
<tmatth>
jamrial's version didn't work for me
<jamrial>
so your headers define VK_KHR_shader_expect_assume but not VkPhysicalDeviceShaderExpectAssumeFeatures?
cone-721 has joined #ffmpeg-devel
<cone-721>
ffmpeg James Almer master:f29475a89ecb: avutil/hwcontext_vulkan: check if expect_assume is supported by the header
<tmatth>
I have "#define VK_KHR_shader_expect_assume 1" and "typedef struct VkPhysicalDeviceShaderExpectAssumeFeaturesKHR "...that's it