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 has been released! | Please read ffmpeg.org/developer.html#Code-of-conduct
wyatt8740 has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
wyatt8740 has joined #ffmpeg-devel
iive has quit [Quit: They came for me...]
wyatt8750 has joined #ffmpeg-devel
wyatt8740 has quit [Ping timeout: 264 seconds]
thilo_ has quit [Ping timeout: 264 seconds]
thilo_ has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
mkver has quit [Ping timeout: 264 seconds]
arch1t3cht0 has joined #ffmpeg-devel
arch1t3cht has quit [Ping timeout: 252 seconds]
arch1t3cht0 is now known as arch1t3cht
System_Error has joined #ffmpeg-devel
System_Error has quit [Remote host closed the connection]
jamrial has quit []
vipyne has joined #ffmpeg-devel
Martchus_ has joined #ffmpeg-devel
Martchus has quit [Ping timeout: 276 seconds]
zsoltiv_ has quit [Ping timeout: 252 seconds]
HarshK23 has quit [Quit: Connection closed for inactivity]
vipyne has quit [Ping timeout: 264 seconds]
rvalue- has joined #ffmpeg-devel
rvalue has quit [Ping timeout: 265 seconds]
rvalue- is now known as rvalue
vipyne has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 252 seconds]
beastd has quit [Quit: KVIrc 5.2.4 Quasar http://www.kvirc.net/]
beastd has joined #ffmpeg-devel
compnn has quit [Remote host closed the connection]
compnn has joined #ffmpeg-devel
HarshK23 has joined #ffmpeg-devel
<elenril> why doesn't linux kill a connection when its local address is gone
cubicibo has joined #ffmpeg-devel
<Lynne> because it likes zombies
<Lynne> you've got zombie processes, and anything disk sleeping is absolutely unkillable, even if the drive no longer exists
<elenril> that's probably a driver bug though
<elenril> drive going away should result in the syscall returning an error
<elenril> and it mostly does these days
<elenril> but yes, I did enjoy my share of forever unkillable nfs zombies
<elenril> and this is not a zombie, it's perfectly killable
<elenril> I'd just expect it to die on its own
Krowl has joined #ffmpeg-devel
cubicibo has quit [Ping timeout: 256 seconds]
Krowl has quit [Read error: Connection reset by peer]
ngaullier has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
<ramiro> did anyone manage to reproduce the issues with fate-png-mdcv and fate-mov-cover-image?
<ramiro> I tried a few different toolchains and platforms, both with zlib and zlib-ng, but I can't reproduce it.
<wbs> ramiro: I run into it on aarch64 linux (ubuntu 20.04)
ccawley2011_ has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 272 seconds]
<ramiro> wbs: with the default gcc?
<wbs> ramiro: yes, default gcc and default zlib - http://fate.ffmpeg.org/history.cgi?slot=aarch64-linux-gcc-9 this is such a config
<ramiro> wbs: thanks, I'll check it out.
Traneptora has joined #ffmpeg-devel
cone-722 has joined #ffmpeg-devel
<cone-722> ffmpeg Lynne master:76e8afa8a6a5: hwcontext_vulkan: always enable MUTABLE creation flag
<cone-722> ffmpeg Lynne master:4b128de44a8d: vulkan: enable selecting a compatible representation of format
<cone-722> ffmpeg Lynne master:931d45d4d6aa: vulkan: do not create imageviews with video encode/decode usage
<cone-722> ffmpeg David Rosca master:48a1a1296834: hw_base_encode: Free pictures on close
vipyne has joined #ffmpeg-devel
ccawley2011__ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 252 seconds]
vipyne has quit [Ping timeout: 252 seconds]
Krowl has quit [Read error: Connection reset by peer]
IndecisiveTurtle has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
IndecisiveTurtle has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
ccawley2011__ has quit [Ping timeout: 255 seconds]
ccawley2011__ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 252 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
feiw1 has quit [Ping timeout: 265 seconds]
feiw1 has joined #ffmpeg-devel
mkver has quit [Ping timeout: 265 seconds]
___nick___ has joined #ffmpeg-devel
Krowl has joined #ffmpeg-devel
b50d has joined #ffmpeg-devel
b50d has quit [Remote host closed the connection]
<cone-722> ffmpeg Nuo Mi master:634780f3cf72: avcodec/vvcdec: refact out deblock boundary strength stage
<cone-722> ffmpeg Nuo Mi master:d78b43ecf83f: avcodec/vvcdec: misc, move pcmf from min_tu_tl_init to min_cb_nz_tl_init
<cone-722> ffmpeg Nuo Mi master:2e936f2c1172: avcodec/vvdec: refact, ff_vvc_deblock_bs use CodingUnit/TransformUnit instead of fc->tabs
<cone-722> ffmpeg Nuo Mi master:a144e7b92e23: avcodec/vvcdec: remove unused tb_pos_x0 and tb_pos_y0
microchip_ has quit [Ping timeout: 252 seconds]
System_Error has joined #ffmpeg-devel
vipyne has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 248 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ffmpeg-devel
microchip_ has joined #ffmpeg-devel
___nick___ has quit [Client Quit]
___nick___ has joined #ffmpeg-devel
<cone-722> ffmpeg James Almer master:5d07ec04f216: fate/vcodec: stop using the deprecated v308 codec
<cone-722> ffmpeg James Almer master:03a88e56e017: fate/vcodec: stop using the deprecated v408 codec
<cone-722> ffmpeg James Almer master:cb2f5cf40033: fate/vcodec: add a test for v410 pixel format raw video
mkver has joined #ffmpeg-devel
<cone-722> ffmpeg James Almer master:a61517598f8d: avcodec/vulkan_encode_h264: use the proper printf specifier for size_t
<cone-722> ffmpeg James Almer master:1f7268a44d33: avcodec/vulkan_encode_h265: use the proper printf specifier for size_t
paulk has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
<Lynne> isn't %zu the portable way of printing size?
Kei_N_ has quit [Read error: Connection reset by peer]
Kei_N has joined #ffmpeg-devel
arbitercoin has joined #ffmpeg-devel
<nevcairiel> i think there were some old systems that didnt support zu, not sure if those are still relevant
<nevcairiel> msvc 2013 didnt support it, but i dont know if thats a version we still care about, its been a few years
<jamrial> that define will use %Iu on some msvc targets
<jamrial> actually, looks like it's used for any msvc version
<jamrial> but yeah, dunno if it's still needed now that we moved to c11. maybe it can be dropped and %zu used everywhere
<nevcairiel> its not like that MS version would stop working on msvc, but as of msvc 2015 zu is supported
vipyne has joined #ffmpeg-devel
vipyne1 has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 248 seconds]
vipyne1 has quit [Ping timeout: 260 seconds]
ccawley2011__ has quit [Ping timeout: 252 seconds]
Krowl has joined #ffmpeg-devel
vipyne has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 246 seconds]
ngaullier has quit [Ping timeout: 255 seconds]
ccawley2011 has joined #ffmpeg-devel
feiw1 has quit [Ping timeout: 252 seconds]
ccawley2011_ has quit [Ping timeout: 248 seconds]
feiw1 has joined #ffmpeg-devel
<cone-722> ffmpeg Anton Khirnov master:de49452bc122: lavf/internal: remove a prototype for non-existent function
<cone-722> ffmpeg Anton Khirnov master:461a359abce7: lavf: add a header for generic-layer interfaces
<cone-722> ffmpeg Anton Khirnov master:772911d3a8bb: lavf: add new struct for data private to generic layer
<cone-722> ffmpeg Anton Khirnov master:6d05e7e31420: lavf: move muxing-specific fields from FFFormatContext to FormatContextInternal
<cone-722> ffmpeg Anton Khirnov master:cb80ec0b6cd7: lavf: move demuxing-specific fields from FFFormatContext to FormatContextInternal
<cone-722> ffmpeg Anton Khirnov master:12e511687255: lavf: deprecate av_format_inject_global_side_data()
<cone-722> ffmpeg Anton Khirnov master:31da5222a400: lavf: replace FFFormatContext.prefer_codec_framerate with FF_INFMT_FLAG
<cone-722> ffmpeg Anton Khirnov master:86460a0342d7: lavf/flvdec: replace a private option with a field in FFFormatContext
<cone-722> ffmpeg Anton Khirnov master:31b5b3badc2b: lavu/opt: deprecate av_opt_ptr()
ccawley2011_ has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 245 seconds]
vipyne has joined #ffmpeg-devel
vipyne1 has joined #ffmpeg-devel
feiw1 has quit [Ping timeout: 252 seconds]
feiw1 has joined #ffmpeg-devel
vipyne1 has quit [Quit: Leaving.]
vipyne1 has joined #ffmpeg-devel
vipyne1 has quit [Ping timeout: 245 seconds]
vipyne has quit [Ping timeout: 252 seconds]
darkdrgn2k has quit [Changing host]
darkdrgn2k has joined #ffmpeg-devel
ccawley2011__ has joined #ffmpeg-devel
ccawley2011 has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 248 seconds]
ccawley2011__ has quit [Ping timeout: 255 seconds]
Krowl has quit [Read error: Connection reset by peer]
Krowl has joined #ffmpeg-devel
feiw1 has quit [Ping timeout: 260 seconds]
ccawley2011_ has joined #ffmpeg-devel
feiw1 has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 252 seconds]
ccawley2011__ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 246 seconds]
ccawley2011 has joined #ffmpeg-devel
ccawley2011__ has quit [Ping timeout: 252 seconds]
arbitercoin has quit [Read error: Connection reset by peer]
ccawley2011_ has joined #ffmpeg-devel
ccawley2011 has quit [Ping timeout: 276 seconds]
cone-722 has quit [Quit: transmission timeout]
ccawley2011__ has joined #ffmpeg-devel
ccawley2011_ has quit [Ping timeout: 252 seconds]
ccawley2011_ has joined #ffmpeg-devel
ccawley2011__ has quit [Ping timeout: 255 seconds]
vipyne has joined #ffmpeg-devel
ccawley2011__ has joined #ffmpeg-devel
Krowl has quit [Read error: Connection reset by peer]
vipyne has quit [Ping timeout: 252 seconds]
ccawley2011_ has quit [Ping timeout: 252 seconds]
ccawley2011 has joined #ffmpeg-devel
ccawley2011_ has joined #ffmpeg-devel
ccawley2011__ has quit [Ping timeout: 252 seconds]
ccawley2011 has quit [Ping timeout: 245 seconds]
ccawley2011_ has quit [Ping timeout: 245 seconds]
___nick___ has quit [Ping timeout: 265 seconds]
<ramiro> the difference in the png tests comes from a bugfix in zlib itself: https://github.com/madler/zlib/commit/8ba393e70d984d902b15b9e6876f4d0d38ae4be8
<ramiro> the output of uncompressed data _may_ change between zlib versions 1.2.11 and 1.2.12
<jamrial> well, that's a problem
<ramiro> I can't think of anything to fix fate off the top of my head...
<jamrial> have the failing fate machines update their zlib version?
ngaullier has joined #ffmpeg-devel
<ramiro> or we write our own ff_deflate_uncompressed() which bypasses zlib
<ramiro> if only måns had finished his native zlib replacement...
vipyne has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 246 seconds]
cone-495 has joined #ffmpeg-devel
<cone-495> ffmpeg Michael Niedermayer master:2542e9296c76: avcodec/ffv1: RCT is only possible with RGB
<cone-495> ffmpeg Michael Niedermayer master:d0927ed0a802: libavcodec/ffv1enc: Add option to select the quantization table
<cone-495> ffmpeg Michael Niedermayer master:81a360a5ed9e: avcodec/ffv1: add a named constant for the quant table size
<wbs> not sure if "update fate machines" is a feasible requirement in general; say that a user is building ffmpeg on their machine, and they want to run fate once to see that their local compile is ok - now it will show spurious errors like that for anybody that don't have the right version - the machines that periodicallly run fate and post it to the website isn't the only thing that matters here
<ePirat> is there a way to not compress at all for tests like that? but I guess then you end up missing something in the test…
<wbs> that's exactly what they did change here
<wbs> before, when compressing, zlib used to produce stable output across versions, while zlib-ng produced different output
<ePirat> right, I meat without going through zlib at all
<nevcairiel> ban zlib-ng already :D
<ePirat> *meant
<michaelni> <ramiro> or we write our own ff_deflate_uncompressed() which bypasses zlib <--- this
<wbs> anyway, if we don't have a solution soon, I'll probably set up my fate instances with --disable-zlib to get rid of the noise
<michaelni> solution == revert
<wbs> that's true, we should probably use reverts much more liberally than we generally do here. (in llvm, whenever there's an issue with almost any commit, you revert so that everybody can get back to a more working tree rather than a less working one, while figuring out what to do about it)
<michaelni> +1
<ePirat> though reverting this would just change to a similar issue to happen for people that use zlib-ng, no?
<wbs> that is true
<michaelni> revert the creation of zlib-ng
<wbs> but when trading bug for bug, you need to consider inertia and familiarity
<ePirat> not saying reverting this would be bad, just that it still needs a proper solution
<wbs> this issue, with zlib-ng not giving you the expected output, has always existed in ffmpeg, right? while the issue where zlib version X breaks fate while zlib version X+1 is ok, is a new situation which hasn't been around. so while reverting trades one bug for another, it gives a more familiar bug landscape at least
<michaelni> yes, i still am in favor of reverting this comit until theres a better solution
<ePirat> probably the best way forward for now
<jamrial> this is why testing external libraries is a pain
<wbs> yep
vipyne has joined #ffmpeg-devel
vipyne has quit [Ping timeout: 252 seconds]
<ramiro> +1 for reverting and going back to an expected failure for zlib-ng
<ramiro> chatgpt says it shouldn't be too hard to implement ff_deflate_uncompressed()...
<wbs> lol
<wbs> can chatgpt give us a suitably licensed one with our names on top as well? :P
<ramiro> the code might end up with six fingers...
kasper93 has quit [Remote host closed the connection]
<cone-495> ffmpeg James Almer master:e206e72b83a0: Revert "tests/fate: disable compression for zlib-based codecs"
feiw1 has quit [Ping timeout: 255 seconds]
kasper93 has joined #ffmpeg-devel
<wbs> jamrial: thanks!
feiw1 has joined #ffmpeg-devel
iive has joined #ffmpeg-devel
<Marth64> i might need to make a bsf or split pgs decoder to parser/decoder for bd subs
<Marth64> we need a way to get forced subs on their own stream
<Marth64> vs. part of full sub stream
<Marth64> not immediate need but would be very nice
<Marth64> decoder can do it but what if i want to streamcopy
SuperFashi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
SuperFashi has joined #ffmpeg-devel
ngaullier has quit [Ping timeout: 255 seconds]
<ePirat> Marth64, I am curious, how does it work currently?
System_Error has quit [Remote host closed the connection]
<Marth64> ePirat: Two types of muxers out in the wild. Type 1 muxer creates PGS stream with full subtitles and has frame level marking on which subs are forced if the track is off.
compnnn has joined #ffmpeg-devel
<Marth64> Type 2 muxer makes forced PGS in their own stream and thus no work needed :)
<Marth64> "if the track is off" from the perspective of a real BD player UI
<ePirat> Marth64, how does Type 1 work if I have multiple languages? Can I simply not have multi-language forced subs on the same disc?
compnn has quit [Ping timeout: 245 seconds]
paulk has quit [Ping timeout: 245 seconds]
System_Error has joined #ffmpeg-devel
<Marth64> ePirat, you will simply have one "combination" track per language. so for example there can be a type 1 EN and type 1 FR track, each with their own frames marked forced or not alongside the entire text for the program
<Marth64> (sorry if bad explanation hope it makes sense.)
<Marth64> this should then demux to: EN, EN (forced), FR, FR (forced) in an ideal world
<ePirat> Marth64, how does the player (as in actual DVD players) know which one to choose if they are not exposed separately?
<ePirat> like how does it know I want german not english for example?
paulk has joined #ffmpeg-devel
paulk has quit [Changing host]
paulk has joined #ffmpeg-devel
<nevcairiel> the menu logic tells it
<ePirat> ooh so the initial menu where I select the language that the subsequent menus will have influences that as well?
<Marth64> it is both the menu logic OR the player region code (if you do not go through the menu)
<Marth64> yep
<nevcairiel> there is really no unified behavior of the menus anyway, especially if they are java
<ePirat> they are only java for BD, right?
<Marth64> only java for BD
<nevcairiel> they'll just send control commands to the player which stream to use and if forced should be filtered
<Marth64> DVD menus are a hoax
<Marth64> they are just subtitle stream activation on top of mpeg2 video
<Marth64> nevcairiel: on some discs they assume player region as default and make the selection stream optional
<Marth64> selection screen**
vipyne has joined #ffmpeg-devel
<Marth64> but yes lines up with my research also
<ePirat> Marth64, how is active selection indicator handled, just different streams for each selected state?
<nevcairiel> both DVD and BD have some registers that store state in various ways
<Marth64> correct
<Marth64> the state determines what stream the vm selects
<Marth64> and can be controlled by the in-disc menu or player's own menu
<Marth64> in my demuxer case i am presenting all available options to user, but want to also show user when they have a stream with forced frames in it and give them option to get it as an independent stream
<Marth64> as is a practical use case
<nevcairiel> in my experience its impossible to know this information without scanning the entire disc
<nevcairiel> (which stream has forced subs, that is)
<Marth64> which is why i was thinking make a bsf and if user wants to extract them while still doing streamcopy, user can decide
<Marth64> easiest solution i think
<Marth64> or do processing after initial demux
<nevcairiel> a bsf to filter out only forced subs would certainly be useful, although it has a few intricate entanglements to do it clean
vipyne has quit [Ping timeout: 252 seconds]
<Marth64> do tell if you get a chance, as i probably will write one
<Marth64> unless i find a different solution
<Marth64> i was thinking firstly pgs need a header parser instead of only decoder
<nevcairiel> i would have to lookup the details, but what I do remember is that its not as simple as deleting some frames, but need to keep track of state and sometimes need to rewrite some parts, especially if normal and forced are on the screen at the same time
<Marth64> ouch...ok
<Marth64> i do not think it is showstopper for bd demuxer not to have this but its too useful to not attempt
<Marth64> it can always come later postprocessed off the original track
<nevcairiel> its really an unrelated feature, we could demux plain m2ts files from blu-ray before that contained such tracks
<Marth64> other demuxers have it as a feature, agreed its not related but certainly after using it hard to go back
<Marth64> kind of like backup camera in a car
<Marth64> but not really lol
<Marth64> i think of user friendliness and see extracting of forced subs as a tedious task that should be automated
feiw1 has quit [Ping timeout: 252 seconds]
feiw1 has joined #ffmpeg-devel
Traneptora has quit [Quit: Quit]
cone-495 has quit [Quit: transmission timeout]