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.1 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
rodgort has joined #ffmpeg-devel
<cone-797> ffmpeg James Almer master:8a4c9d6bd31f: swscale/x86/range_convert: reduce amount of xmm regs clobbered in luma functions
<cone-797> ffmpeg James Almer master:fa325379c9d0: fate/checkasm: run the sw_range_convert test
dlb76 has quit [Changing host]
dlb76 has joined #ffmpeg-devel
thilo_ has quit [Ping timeout: 255 seconds]
thilo_ has joined #ffmpeg-devel
iive has quit [Quit: They came for me...]
arch1t3cht7 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 264 seconds]
arch1t3cht7 is now known as arch1t3cht
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
cone-797 has quit [Quit: transmission timeout]
mkver has joined #ffmpeg-devel
jamrial has quit []
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 268 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
mkver has quit [Quit: Leaving]
ramiro has quit [Ping timeout: 264 seconds]
ramiro has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
mkver has quit [Quit: Leaving]
mkver has joined #ffmpeg-devel
AbleBacon has quit [Read error: Connection reset by peer]
compnn has joined #ffmpeg-devel
compnnn has quit [Read error: Connection reset by peer]
ramiro has quit [Ping timeout: 256 seconds]
ramiro has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 268 seconds]
ramiro has joined #ffmpeg-devel
HarshK23 has joined #ffmpeg-devel
<Lynne> is there a way to force asan to check for overwrites everywhere where it can?
<Lynne> even with -O0 it still fails for trivial loops and arrays with no funny stuff
<elenril> is that three balling clones arguing with each other?
<galad> oh, it's markfilipak
<galad> that will ensure lengthly discussions about nothing
<j-b> 88 comments in 2 days.
ramiro has quit [Ping timeout: 264 seconds]
ramiro has joined #ffmpeg-devel
<elenril> ban everyone involved & salt the earth?
<j-b> and burn the ground
<mkver> Lynne: Doesn't it already do so?
<Lynne> nope
<mkver> Show the code.
<Lynne> aacsbr_template.c, SBRData->bs_freq_res, bs_df_env et al.
<Lynne> usac extended the array size to 8
<Lynne> but because there are multiple arrays deriving multiple arrays deriving multiple arrays, I was hoping asan would detangle the sphagetti if something overflowed
<mkver> Lynne: UBSan would check for this.
<Lynne> thanks, that worked
rvalue has quit [Ping timeout: 268 seconds]
rvalue has joined #ffmpeg-devel
BradleyS has quit [Quit: quit]
ramiro has quit [Ping timeout: 264 seconds]
ramiro has joined #ffmpeg-devel
BradleyS has joined #ffmpeg-devel
sepro0 is now known as sepro
kepstin has quit [Remote host closed the connection]
kepstin has joined #ffmpeg-devel
chainik has quit [Quit: (╯°□°)╯︵ ┻━┻]
ccawley2011 has joined #ffmpeg-devel
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 252 seconds]
ramiro has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 264 seconds]
ramiro has joined #ffmpeg-devel
IndecisiveTurtle has joined #ffmpeg-devel
cone-960 has joined #ffmpeg-devel
<cone-960> ffmpeg Andreas Rheinhardt master:7c95c7de4ae2: avcodec/libx265: Don't copy A53 closed captions by default
IndecisiveTurtle has quit [Ping timeout: 255 seconds]
<mkver> frankplow: /usr/bin/ld: removing unused section '.text.ff_h2656_put_8tap_hv64_8_avx2' in file 'libavcodec/x86/h26x/h2656dsp.o'
<mkver> The same is true for several other functions (ff_h2656_put_{uni_8tap_hv64_8_avx2,8tap_hv128_8_avx2,uni_8tap_hv128_8_avx2,4tap_hv64_8_avx2,uni_4tap_hv64_8_avx2,4tap_hv128_8_avx2,uni_4tap_hv128_8_avx2})
Livio has quit [Ping timeout: 240 seconds]
<mkver> Removal of the alpha code now makes the alpha linker segfault: https://fate.ffmpeg.org/log.cgi?slot=alpha-uubuntu-qemu-gcc-shared&log=compile&time=20240613220959
jamrial has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 255 seconds]
<cone-960> ffmpeg James Almer master:fcf72966a5f2: swscale/x86/range_convert: add missing AVX2 preprocessor wrapper
IndecisiveTurtle has joined #ffmpeg-devel
System_Error has quit [Read error: Connection reset by peer]
sgm has quit [Remote host closed the connection]
tufei has quit [Read error: Connection reset by peer]
sgm has joined #ffmpeg-devel
tufei has joined #ffmpeg-devel
System_Error has joined #ffmpeg-devel
rvalue has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 255 seconds]
thilo_ has quit [Quit: WeeChat 2.8]
thilo has joined #ffmpeg-devel
<Sean_McG> mkver: I suspect it will need to flush it's ccache -- I didn't see any linker crashes locally when I did it.
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
IndecisiveTurtle has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 264 seconds]
tufei has quit [Remote host closed the connection]
tufei has joined #ffmpeg-devel
<ramiro> jamrial: thank you for the fixes
cone-960 has quit [Quit: transmission timeout]
Krowl has joined #ffmpeg-devel
<pal_> if anyone has a few mins, I would be great if you could try `./configure --toolchain=valgrind-memcheck; make fate-lavf-asf`
<pal_> ... I am apparently the only one getting an error
<frankplow> mkver: http://0x0.st/XckL.patch should be what's required to use those functions but it seems they don't pass checkasm and are slower to boot. I've asked Wu Jianhua.
<mkver> Then why are they even built?
<frankplow> I think they probably shouldn't be
IndecisiveTurtle has joined #ffmpeg-devel
<Lynne> IndecisiveTurtle: sup
<pengvado> pal_: is your error specific to asf? because I have problems with toolchain=valgrind-memcheck in general, but affectinge *every* fate test, not just that one.
<pal_> it is specific to that specific test
<pal_> ... I get a false positive (Conditional jump or move depends on uninitialised value(s))
<pal_> ... which is cured by `--expensive-definedness-checks=yes`
<pal_> ... maybe it is an issue with my version of valgrind? (valgrind-3.15.0)
<pal_> (it is super annoying not being able to do full regression testing)
<kurosu> frankplow: I can't really answer your question about whether the stream is legal. I just know 1) SPS/PPS are resent without an EOS, on "IDRs" (don't ask me their full qualified names), eg that's what happens in broadcasting 2) I recall very careful designs, at least from HEVC on, in SPS/PPS so that parsing of one does not depend on the parsing of the other (so there can be duplicated elements like bitdepth)
<kurosu> that an incompatible SPS appears without better warning sounds strange. But then your example has NoOutputBeforeRecoveryFlag=1
<kurosu> anyway, my conclusion is that I'm no expert, and a proper/better review would ideally come from someone that knows better HLS
AbleBacon has joined #ffmpeg-devel
Livio has joined #ffmpeg-devel
<frankplow> kurosu: Yeah you can tell the spec. has been written so parsing is always independent of any other NAL unit, it's FFmpeg's implementation which introduces dependencies in the CBS.
<kurosu> that check should probably done at the slice level ? but maybe that's costly
<kurosu> ideally (easy to say from my spot...), you would receive a corrupt PPS and still catch the issue at that level
<kurosu> eg, without the decoder crashing
<kurosu> ("should probably done" <- a bit strong, more of a hunch)
<frankplow> Yeah if we want to remove any dependency on the SPS from the PPS parsing we will have to move all checks + also all values inferred from values absent in the PPS to the slice level.
System_Error has quit [Remote host closed the connection]
System_Error has joined #ffmpeg-devel
Livio has quit [Ping timeout: 272 seconds]
Livio has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
<IndecisiveTurtle> Lynne: Heya, switched my install back to EndeavorOS this weekend. Everything works so much better now xD
<IndecisiveTurtle> Also want to apologize for a bit slow progress, had to study for statistics and calculus for uni exams. Expect some more rapid progress from this week on
<Lynne> sure, looking forward to it
mkver has quit [Ping timeout: 252 seconds]
IndecisiveTurtle has quit [Ping timeout: 268 seconds]
IndecisiveTurtle has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 240 seconds]
<kasper93> https://gitlab.archlinux.org/archlinux/packaging/packages/ffmpeg/-/issues/10 is this enough to make it worth reviewing?
IndecisiveTurtle has joined #ffmpeg-devel
<sfan5> elenril had a concern with the last patch in that series so it wasn't pushed
<sfan5> it would unbreak mbedtls 3.6.0 entirely if merged
IndecisiveTurtle has quit [Ping timeout: 268 seconds]
tufei has quit [Ping timeout: 260 seconds]
IndecisiveTurtle has joined #ffmpeg-devel
IndecisiveTurtle has quit [Ping timeout: 264 seconds]
ramiro has quit [Ping timeout: 264 seconds]
ramiro has joined #ffmpeg-devel
ramiro has quit [Ping timeout: 240 seconds]
ccawley2011 has quit [Read error: Connection reset by peer]
sgm has quit [Remote host closed the connection]
sgm has joined #ffmpeg-devel
ramiro has joined #ffmpeg-devel
<Lynne> it just ocurred to me that a gpu ffv1 encode/decode implementation would make lossless video editing possible on consumer systems
<compnn> yep
<jkqxz> Except ffv1 has no local parallelism, so GPUs are pretty useless for it.
<Lynne> I think its possible
<thardin> j2k wins again
<Lynne> with potato lossless compression, I don't think so
<Lynne> (I assume you mean -hc, the old EC system is something that history itself wants to forget)
<jkqxz> How would you do GPU ffv1?
<jkqxz> You basically can't use the SIMT inside a slice because there is nothing for it to do, but if you try to cross slices with it then it is painful because of all the branches and loops which every thread is going to have to go through mostly doing nothing on.
<jkqxz> Not to mention that the entropy context for each slice is huuuge and you really want to keep it in cache.
<Lynne> "cross slices with it"?
<Lynne> the only issue is the entropy decoding context, and when I looked at it, it looked possible due to constraints I noticed on which context gets picked
<thardin> htj2k is what j2k should have been all along, yes
<thardin> doing CABAC on every single bit as Part 1 j2k does is excessive
<jkqxz> A single GPU core with N SIMT threads can work on either 1 slice (and fail at parallelism) or N slices (and have most of them doing nothing most of the time as it takes both branches and all loop iterations in each pixel).
<jkqxz> (Also you probably don't want to have streams with the thousands of slices required for that, nor do you have the cache to do context lookups at any reasonable speed.)
<pal_> htj2k makes lossless editing possible on desktop systems
<Lynne> not enough compression, and vc-2 is a better codec :-P
<Lynne> its possible to avoid branches
<Lynne> tricks exist for this
<Lynne> bwdif was full of branches, but I made bwdif_vulkan completely branch-free
<pal_> i am not saying that you *should* do lossless editing, but that you can.
<Lynne> you can do lossless editing with snow too, but you definitely shouldn't
Livio has quit [Ping timeout: 260 seconds]
<thardin> lossless j2k and ffv1 appear similar compressionwise. at least with the sample I have
<thardin> both handily beat png
wyatt8750 has quit [Quit: ZNC got killed or something else has gone wrong, probably.]
wyatt8740 has joined #ffmpeg-devel
witchymary has quit [Remote host closed the connection]
witchymary has joined #ffmpeg-devel
Teukka has quit [Read error: Connection reset by peer]
Teukka has joined #ffmpeg-devel
Teukka has joined #ffmpeg-devel
<pal_> lynne: with j2k lossless you can get a low rez or quality version if the bandwidth is not available for full frame transfer, e.g., snow
<Lynne> editing is not a place to compromise on quality
<Lynne> if I had to use a jpeg codec, I'd just use jpeg-xl and make it fast