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.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
michaelni has quit [Ping timeout: 260 seconds]
Traneptora has joined #ffmpeg-devel
epony has quit [Remote host closed the connection]
iive has quit [Quit: They came for me...]
michaelni has joined #ffmpeg-devel
durandal_1707 has quit [Ping timeout: 268 seconds]
durandal_1707 has joined #ffmpeg-devel
rvalue has quit [Quit: ZNC - https://znc.in]
rvalue has joined #ffmpeg-devel
cone-132 has joined #ffmpeg-devel
<cone-132> ffmpeg James Almer master:a47072d6434b: avutil/iamf: change the opt type for some options
navi has quit [Quit: WeeChat 4.0.4]
thilo has quit [Ping timeout: 246 seconds]
thilo has joined #ffmpeg-devel
thilo has quit [Changing host]
thilo has joined #ffmpeg-devel
lexano has quit [Ping timeout: 264 seconds]
stevenliu_ has quit [Remote host closed the connection]
stevenliu_ has joined #ffmpeg-devel
taniey has quit [Read error: Connection reset by peer]
Wenbin_Chen_ has quit [Remote host closed the connection]
Wenbin_Chen_ has joined #ffmpeg-devel
taniey has joined #ffmpeg-devel
MrZeus_ has quit [Ping timeout: 256 seconds]
Wenbin_Chen_ has quit [Read error: Connection reset by peer]
Wenbin_Chen has joined #ffmpeg-devel
lemourin has quit [Read error: Connection reset by peer]
lemourin has joined #ffmpeg-devel
jarthur has quit [Quit: jarthur]
jamrial has quit []
HarshK23 has joined #ffmpeg-devel
dellas has quit [Remote host closed the connection]
stevenliu_ has quit [Remote host closed the connection]
epony has joined #ffmpeg-devel
cone-132 has quit [Quit: transmission timeout]
AbleBacon has quit [Read error: Connection reset by peer]
Kei_N has quit [Read error: Connection reset by peer]
darkapex has quit [Ping timeout: 260 seconds]
darkapex has joined #ffmpeg-devel
darkapex has quit [Remote host closed the connection]
darkapex has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
ngaullier has joined #ffmpeg-devel
kurosu has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
Krowl has joined #ffmpeg-devel
haihao has quit [Ping timeout: 264 seconds]
haihao has joined #ffmpeg-devel
kasper93_ has joined #ffmpeg-devel
kasper93 has quit [Ping timeout: 264 seconds]
vjaquez has quit [Quit: ¡hasta luego!]
vjaquez has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
j45 has quit [Remote host closed the connection]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
hpkn has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
<Lynne> is there a researched mechanism for realtime scheduling of packets via interleaving?
<Lynne> e.g. not starving a stream of realtime audio if suddenly there's a 180 megabyte png being sent and there isn't enough bandwidth for both
<aaabbb> like round robin qos?
jamrial has joined #ffmpeg-devel
<Lynne> yeah, but taking into account pts + duration + bitrate
Krowl has joined #ffmpeg-devel
navi has joined #ffmpeg-devel
dellas has joined #ffmpeg-devel
navi has quit [Quit: WeeChat 4.0.4]
lexano has joined #ffmpeg-devel
MrZeus_ has joined #ffmpeg-devel
epony has quit [Remote host closed the connection]
epony has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
novaphoenix has quit [Quit: i quit]
novaphoenix has joined #ffmpeg-devel
cone-802 has joined #ffmpeg-devel
<cone-802> ffmpeg James Almer master:b6af126c72e6: avformat/iamfdec: free superfluous objects
Krowl has joined #ffmpeg-devel
<cone-802> ffmpeg James Almer master:9813df77d68a: avformat/iamf_writer: remove bogus check
dellas has quit [Remote host closed the connection]
navi has joined #ffmpeg-devel
dellas has joined #ffmpeg-devel
frankplow has quit [Quit: Goodbye]
<cone-802> ffmpeg James Almer master:2d712314ecb6: fate: add VVC decoder tests
<cone-802> ffmpeg Frank Plowman master:8157b5d4051d: lavc/vvc: Remove left shifts of negative values
Krowl has quit [Read error: Connection reset by peer]
<jamrial> wbs: your arm7 mingw fate machines failed with "wine: could not load kernel32.dll"
frankplow has joined #ffmpeg-devel
<JEEB> nice re: VVC FATE tests
<jamrial> yeah, but can't say if they give good coverage or not
<jamrial> i picked the samples long ago for the CBS tests, meaning sequence and frame header coverage in mind
<jamrial> we'll see once coverage.ffmpeg updates
frankplow has quit [Quit: Goodbye]
frankplow has joined #ffmpeg-devel
XZDX has joined #ffmpeg-devel
XZDX has quit [Quit: Leaving]
Krowl has joined #ffmpeg-devel
dykai has joined #ffmpeg-devel
<wbs> jamrial: yes, I'm on it - thanks. I've posted a patch to wine but haven't rerun fate yet
<wbs> jamrial: (I run fate with nightly wine, with both ffmpeg and wine built with nightly clang, to catch regressions in all of them)
epony has quit [Remote host closed the connection]
<jamrial> cool
epony has joined #ffmpeg-devel
Wenbin_Chen_ has joined #ffmpeg-devel
ocrete9 has joined #ffmpeg-devel
uau_ has joined #ffmpeg-devel
Flat has joined #ffmpeg-devel
SuperFashi_ has joined #ffmpeg-devel
deer1 has joined #ffmpeg-devel
dykai has quit [Quit: dykai]
philipl_ has joined #ffmpeg-devel
dykai has joined #ffmpeg-devel
cone-802 has quit [Ping timeout: 264 seconds]
Flat_ has quit [Ping timeout: 264 seconds]
rossy has quit [Ping timeout: 264 seconds]
deer has quit [Ping timeout: 264 seconds]
uau has quit [Ping timeout: 264 seconds]
Wenbin_Chen has quit [Ping timeout: 264 seconds]
philipl has quit [Ping timeout: 264 seconds]
ocrete has quit [Ping timeout: 264 seconds]
SuperFashi has quit [Ping timeout: 264 seconds]
ocrete9 is now known as ocrete
epony has quit [Excess Flood]
epony has joined #ffmpeg-devel
epony has quit [Remote host closed the connection]
epony has joined #ffmpeg-devel
rossy has joined #ffmpeg-devel
<thardin> lots of whine in ffplay_buffer
<thardin> because of yuvj444p I suppose
cone-321 has joined #ffmpeg-devel
<cone-321> ffmpeg James Almer master:e8759580b14e: fate/iamf: add an ambisonic test
qeed has quit [Quit: qeed]
mkver has quit [Ping timeout: 276 seconds]
<cone-321> ffmpeg James Almer master:67b5012cb127: fate: remove unused filtergraph files
Wenbin_Chen_ has quit [Read error: Connection reset by peer]
Wenbin_Chen has joined #ffmpeg-devel
qeed has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
kasper93_ is now known as kasper93
___nick___ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 240 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45 has quit [Ping timeout: 268 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45 has quit [Ping timeout: 260 seconds]
j45_ has joined #ffmpeg-devel
<durandal_1707> FFmpeg devs are incompetent
Krowl has joined #ffmpeg-devel
Krowl has quit [Client Quit]
Krowl has joined #ffmpeg-devel
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has quit [Ping timeout: 268 seconds]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
AbleBacon has joined #ffmpeg-devel
j45_ has quit [Ping timeout: 268 seconds]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 268 seconds]
j45_ has quit [Ping timeout: 240 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
Traneptora has quit [Quit: Quit]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 240 seconds]
j45_ has quit [Ping timeout: 268 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 260 seconds]
ngaullier has quit [Quit: Leaving.]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
dykai has quit [Ping timeout: 252 seconds]
j45_ has quit [Ping timeout: 240 seconds]
<Lynne> courmisch: you got prerelease risc-v hardware?
<Lynne> how'd you manage?
j45_ has joined #ffmpeg-devel
<Lynne> I didn't even hear that there's an updated c910 version with rvv 1.0
<another|> there's an updated c920 with 1.0 IIRC
j45 has quit [Ping timeout: 268 seconds]
<Lynne> yeah, I heard about that one at least, but the only thing to use it is massive server-level chips and it isn't out yet
Krowl has quit [Read error: Connection reset by peer]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has quit [Ping timeout: 260 seconds]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 260 seconds]
j45_ has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 268 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has quit [Ping timeout: 260 seconds]
j45 has quit [Ping timeout: 260 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has joined #ffmpeg-devel
cone-321 has quit [Quit: transmission timeout]
j45 has quit [Ping timeout: 240 seconds]
j45 has joined #ffmpeg-devel
j45 has quit [Changing host]
j45 has joined #ffmpeg-devel
j45_ has quit [Ping timeout: 268 seconds]
j45_ has joined #ffmpeg-devel
j45 has quit [Ping timeout: 268 seconds]
Krowl has joined #ffmpeg-devel
Wenbin_Chen_ has joined #ffmpeg-devel
Wenbin_Chen has quit [Read error: Connection reset by peer]
jdek has quit [Quit: Connection closed for inactivity]
cone-838 has joined #ffmpeg-devel
<cone-838> ffmpeg James Almer master:1496ce8f6bae: avcodec/vvc_ctu: align motion vector fields
<cone-838> ffmpeg Connor Worley master:dfbbd11a4b2c: lavc/dxvenc: add DXV encoder with support for DXT1 texture format
<kierank> durandal_1707: agreed
___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
jarthur has joined #ffmpeg-devel
<durandal_1707> YT: Wikipedia: The New World Order is a conspiracy theory that hypothesizes a secretly emerging totalitarian world government.
___nick___ has quit [Ping timeout: 260 seconds]
Krowl has quit [Read error: Connection reset by peer]
<Lynne> world government? something that rules over everything?
Wenbin_Chen_ has quit [Remote host closed the connection]
<Lynne> they'll take one look at us in ffmpeg then surrender immediately
Wenbin_Chen has joined #ffmpeg-devel
kurosu has quit [Quit: Connection closed for inactivity]
<durandal_1707> stupidity rules over everytyhing
mkver has joined #ffmpeg-devel
jdek has joined #ffmpeg-devel
<cone-838> ffmpeg James Almer master:eee3b7e2fb06: avformat/mov: zero initialize the index ranges buffer
ccawley2011 has quit [Read error: Connection reset by peer]
epony has quit [Remote host closed the connection]
epony has joined #ffmpeg-devel
Wenbin_Chen_ has joined #ffmpeg-devel
Wenbin_Chen has quit [Remote host closed the connection]
Traneptora has joined #ffmpeg-devel
<Traneptora> can we create an AVPacket in an encoder from an existing (already-alloced) buffer without an memcpy?
<Traneptora> libjxlenc.c calls ff_get_encode_buffer followed by memcpy, and ideally I'd like to avoid the memcpy if possible
<Traneptora> it does have codec cap dr1 but I don't feel too strongly about that being necessary
cworley has joined #ffmpeg-devel
<Lynne> yes
<Lynne> don't call ff_alloc_packet or similar, just set the avpacket fields directly
<Lynne> with an avbuffer created via av_buffer_create you can specify a custom free function
<Traneptora> in this case the buffer is alloced with av_malloc (and then later resized with av_realloc)
<Traneptora> so I don't need a custom free function
<Traneptora> should I just create an AvBufferRef via av_buffer_ref_new_from_data or whatever it's called?
<BtbN> Do you plan to re-use the same buffer for multiple packets?
<BtbN> Cause if so: How do you expect that to work out? You got no idea when your caller is done with the previous one, making it safe to modify the buffer again.
<Traneptora> atm it alloc's one buffer on the first frame sent as a kind of 'working space' and then memcpy's into the avpacket when the packet is complete
<Traneptora> if another AVFrame is sent to the encoder, it just sets bytes_written to 0 and re-uses the same buffer
<BtbN> That sounds more like an internal working buffer to me, how does that relate to how the output packet gets allocated?
<Traneptora> it prevents me from having to malloc a working buffer every frame, but it does incur a memcpy each frame. I don't know which is generally a preferable situation
<Lynne> Traneptora: you can use av_buffer_default_free as the custom free callback
<Lynne> it just calls av_free()
<Traneptora> BtbN: the output packet is allocated via ff_encode_get_buffer
<Traneptora> and then memcpy'd over from the working buffer
<BtbN> But wasn't your question how to avoid that?
<Traneptora> Yea, the consequences of avoiding it would be allocating a new working buffer every frame
<Traneptora> I don't know if I actually want to do that
<BtbN> Given the user can use a custom allocator, an internal working buffer and copying out of that sounds much better to me
<Traneptora> so the current behavior is better than allocating a working buffer each frame and then handing it off to the packet?
<BtbN> most definitely
<Traneptora> I see, so there's nothing that needs to be done
<BtbN> If the user just re-uses the same packet again and again, you'd have zero allocations
<Traneptora> makes sense as well considering that the external library doesn't have a way to tell you how much space it needs, just that it needs more space
<Traneptora> so I start with 4096 and double it until it fits
<BtbN> wat?
<BtbN> That sounds wrong on so many levels
<Traneptora> ye, libjxl can error out with NEED_MORE_OUTPUT but the function can't tell you how much more it actually needs
<BtbN> What is their intended approach there?
<Traneptora> atm I malloc loop with realloc until it fits
<BtbN> exponential increase sounds like a DoS waiting to happen
<Traneptora> well not quite, this is an encoder
<Traneptora> so worst case scenario is random data, which is inflated slightly
<BtbN> not random, but specifically crafted to make it go mad
<Traneptora> the library already uses like 10x the memory of an uncompressed image
<Traneptora> so it's relatively speaking not the problem
<Traneptora> libjxl encoder's unbelievable memory usage is what drove me to write my own low-memory encoder
<BtbN> The whole library is such a clusterfuck, I considered removing it from my builds
uau_ is now known as uau
<Traneptora> oh they broke the API last week too and when I pointed it out they were like, "can you patch ffmpeg to work with the new one"
<Traneptora> big thonk
<Traneptora> I did, because I care about thinks working, but it's a big annoyance
<Traneptora> > not random, but specifically crafted to make it go mad
<Traneptora> if you specifically craft a bitstream to cause the encoder memory to balloon it will end up crashing the library long before it crashes ffmpeg due to the malloc loop
<Lynne> have they not heard of ABI/API stability?
<Traneptora> they have, but they don't have fate tests for this kind of thing
<Lynne> whatever garbage bin they sit next to drinking beer, it's the same one that the glslang team uses
<Traneptora> it's the kind of google stuff where they include everything as a submodule in tree on clone
<Traneptora> same as glslang
<durandal_1707> you all are on FFlabs paylist
<Traneptora> if only
<cone-838> ffmpeg Stefano Sabatini master:f8b14d8bee16: lavf/dashenc: sort options by name
<cone-838> ffmpeg Stefano Sabatini master:9c06dedad109: doc/muxers/dash: review documentation
<cone-838> ffmpeg Stefano Sabatini master:bba784d60401: lavf/daudenc: clarify error messages
<cone-838> ffmpeg Stefano Sabatini master:916373014e00: doc/muxers: add daud
<cone-838> ffmpeg Stefano Sabatini master:8bcea02f6cb0: doc/muxers/raw: add dfpwm item
<cone-838> ffmpeg Stefano Sabatini master:f6f781625a86: doc/muxers/raw: drop duplicated whitespace
<cone-838> ffmpeg Stefano Sabatini master:58d13d637767: doc/muxers: add dv
<cone-838> ffmpeg Stefano Sabatini master:02e4598f8f40: lavf/mpegenc: extend options definition
<cone-838> ffmpeg Stefano Sabatini master:792c71350434: doc/muxers: add MPEG-1/2 muxers section
epony has quit [Remote host closed the connection]
hpkn has quit [Remote host closed the connection]
hpkn has joined #ffmpeg-devel
<cone-838> ffmpeg Michael Niedermayer master:88a9142cac25: avformat/mxfenc: Remove AVERROR²
<cone-838> ffmpeg Michael Niedermayer master:d6c62b4bce8f: tests/checkasm/aacencdsp: Use float_near_ulp_array() for abs_pow34() test
dellas has quit [Remote host closed the connection]
<cone-838> ffmpeg James Almer master:0b8e51b58446: avformat/iamf_parse: use the public iamf helpers to allocate structs