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
mateo` has quit [Ping timeout: 276 seconds]
OctopusET has quit [Ping timeout: 248 seconds]
OctopusET has joined #ffmpeg-devel
programmerjake has joined #ffmpeg-devel
iive has quit [Quit: They came for me...]
<programmerjake> Hi, I'm thinking of working on the .mcc decoder and was wondering if you think I should add an option to convert between 30fps and 29.97fps inside the decoder, because for some reason other programs like to use the wrong fps when creating .mcc files, e.g. I have a 30fps .mcc that corresponds to a 29.97fps .mp4. to be clear the conversion would be
<programmerjake> making the file duration change, not duplicating/dropping packets.
<programmerjake> I did try using the setts bitstream filter but it's definitely not intuitive and tbh I'm still not sure I got it to work correctly, whereas changing that in the demuxer itself would be trivial
<programmerjake> *relatively trivial
<Lynne> no, output exactly what's in the file
<Lynne> use setpts if you want to convert
<Lynne> or a bitstream filter to change properties
mateo` has joined #ffmpeg-devel
<programmerjake> ok, what about adding an option to make it output the full vanc data instead of the EIA-608 captions data? or just make it only output vanc data and add a bitstream filter to extract EIA-608 captions data? does ffmpeg allow auto-inserting bitstream filters on the demux side?
<programmerjake> as mentioned on the mailing list, I think adding a new codec id for mxf vbi vanc smpte 436m could work for having a common vanc format in ffmpeg
<programmerjake> also, does ffmpeg support chaining multiple bitstream filters? or would I need to have a merged change fps and decode vanc filter?
<programmerjake> seems as though it does support chaining at least in the ffmpeg tools, though afaict it only supports one filter per stream with ff_stream_add_bitstream_filter
<Lynne> yes, you can specify multiple filters as -bsf:v filt1,filt2 etc.
<programmerjake> ff_stream_add_bitstream_filter has av_assert0(!sti->bsfc); so unless I'm missing something you can't add multiple filters per stream from a muxer
<Lynne> why would you want to apply a setts from a muxer?
<programmerjake> idk, maybe if there's also a video stream or something where you know what frame rate the output should be but the vanc stream has the wrong framerate because apparently the standard says you can ignore the difference between 30fps and 29.97fps for vanc (seems very shortsighted to me)
<programmerjake> and you also need another filter for format conversion
<programmerjake> (i'm also working on a .mcc encoder in case you were wondering)
<programmerjake> in the .mcc encoder, so far I haven't figured out a reliable way to get the actual frame rate of the input, seems like everything other than time_base isn't actually set before calling write_header
<programmerjake> so for now I just added an option to select your own frame rate
<Lynne> if you're a muxer you can literally just alter the timestamps directly
<programmerjake> guess that's true...
<programmerjake> I do also want to get .mcc input to mux into a .mxf file...
<programmerjake> would adding the new codec id for mxf vbi vanc smpte 436m and then changing the mxf decoder/encoder to use that new codec id instead of AV_CODEC_ID_NONE be considered a breaking change that needs a major version bump?
cone-626 has quit [Quit: transmission timeout]
<Lynne> not according to me
<programmerjake> k, thx!
Chagall has quit [Ping timeout: 245 seconds]
System_Error has quit [Remote host closed the connection]
jamrial has quit []
System_Error has joined #ffmpeg-devel
programmerjake has left #ffmpeg-devel [#ffmpeg-devel]
<Lynne> ePirat: could you decode a single frame from https://files.lynne.ee/P1000520.MOV and https://files.lynne.ee/P1000521.MOV ?
<Lynne> or maybe all of them, there are only a few frames there and it would help to average out
<Lynne> same input, prores raw vs prores raw hq, if we know the difference between quantized coeffs for each and dequantized coeffs, then it should be possible to figure out the dequant method
zsoltiv__ has quit [Ping timeout: 252 seconds]
zsoltiv has quit [Ping timeout: 276 seconds]
bwu25 has joined #ffmpeg-devel
Compn has quit [Quit: Leaving]
Compn 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
TheVibeCoder has joined #ffmpeg-devel
bwu25 has quit [Ping timeout: 260 seconds]
bwu25 has joined #ffmpeg-devel
TheVibeCoder has quit [Changing host]
TheVibeCoder has joined #ffmpeg-devel
MisterMinister has quit [Ping timeout: 248 seconds]
<fflogger> [newticket] rabcor: Ticket #11665 ([undetermined] Input pattern recognition broken when using avif format) created https://trac.ffmpeg.org/ticket/11665
ngaullier has joined #ffmpeg-devel
bwu25 has quit [Ping timeout: 252 seconds]
mkver has joined #ffmpeg-devel
bwu25 has joined #ffmpeg-devel
<fflogger> [newticket] programmerjake: Ticket #11666 ([avformat] mxfenc assertion failure) created https://trac.ffmpeg.org/ticket/11666
bwu25 has quit [Quit: bwu25]
mkver has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
mkver has quit [Remote host closed the connection]
mkver has joined #ffmpeg-devel
<kasper93> Traneptora: do you have some time to take a look at jxl sample? It seemms to hang on decoding. https://0x0.st/8DSy.bin
<kasper93> with libjxl it errors without a delay
<kasper93> JXL_FAILURE: F16 infinity or NaN are not supported
<kasper93> with native it takes loong
realies9 has quit [Ping timeout: 272 seconds]
mkver has quit [Ping timeout: 268 seconds]
beastd has quit [Ping timeout: 245 seconds]
beastd has joined #ffmpeg-devel
Chagall has joined #ffmpeg-devel
jamrial has joined #ffmpeg-devel
mkver has joined #ffmpeg-devel
<fflogger> [newticket] rabcor: Ticket #11667 ([undetermined] .avif conversion to other container only encodes the first frame.) created https://trac.ffmpeg.org/ticket/11667
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
minimal has joined #ffmpeg-devel
cone-284 has joined #ffmpeg-devel
<cone-284> ffmpeg Andreas Rheinhardt master:d19b88f570e0: avcodec/bytestream: Add const where appropriate
<cone-284> ffmpeg Andreas Rheinhardt master:d20a4ef93c4b: avcodec/vvc/dec: Don't use GetBit-API when byte-aligned
<cone-284> ffmpeg Andreas Rheinhardt master:ba2c9acedb13: avcodec/get_bits: Remove GetBitContext.buffer_end
<cone-284> ffmpeg Andreas Rheinhardt master:367cf961ea1c: avcodec/get_bits: Add get_bits_bytesize()
<cone-284> ffmpeg Andreas Rheinhardt master:66f29ae9b6ae: avcodec/opus/dec: Don't call function multiple times in FFMAX
<cone-284> ffmpeg Andreas Rheinhardt master:faf0d813094d: avcodec/opus/dec: Remove unused parameters
<cone-284> ffmpeg Andreas Rheinhardt master:9139edfdd346: avcodec/opus/dec: Simplify resetting AVAudioFifo
<cone-284> ffmpeg Andreas Rheinhardt master:fadadb56e665: avcodec/mpegvideo_dec: Avoid implicit NULL + offset
MisterMinister has joined #ffmpeg-devel
<cone-284> ffmpeg Marvin Scholz master:c425951c0535: avformat/rtsp: fix misleading indentation
<cone-284> ffmpeg Marvin Scholz master:c4e8ac3d0ebb: avformat/rtsp: use av_unreachable
<cone-284> ffmpeg Marvin Scholz master:7c91ae94198f: avformat/rtsp: check copy_tls_opts_dict
<fflogger> [editedticket] StevenAllanSpielber: Ticket #11653 ([undetermined] -c copy does not copy track names) updated https://trac.ffmpeg.org/ticket/11653#comment:6
jdarnley has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
<BtbN> Did something break with the graph css generation logic again? It keeps re-generating it, and then re-linking, for no obvious reason.
<BtbN> Nothing had changed
<BtbN> a simple "make fate" relinked...
<TheVibeCoder> graph css?
<BtbN> The Graph Printing stuff that embeds html and css into ffmpeg
<TheVibeCoder> librempeg does not have such "feature"
<ePirat> BtbN, btw it seems the ml archive transform email addresses into links to the archive
<BtbN> https://bpa.st/KIQQ wtf is this fate failure I'm getting. I can't see any of my patches to be causing this oO
<ePirat> on master?
<BtbN> I haven't tested plain master yet
<BtbN> I wanted to verify my new pix_fmt once again (it lalready passed fate for me before)
<BtbN> and this popped up
<BtbN> after rebasing it
<BtbN> hm, only happens when testing the mingw builds
<BtbN> native linux build comes back clean
<BtbN> I'm gonna write this off as mingw on WSL noise. But really really odd, it's just processing a bit more of the subs there
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
<jamrial> BtbN: i think that test randomly fails on some targets
lemourin has joined #ffmpeg-devel
<BtbN> yeah, I re-ran fate, and now it passed on mingw@WSL as well
<TheVibeCoder> found out gif samples that fails to decode with ffmpeg/ffplay
<cone-284> ffmpeg Timo Rothenpieler master:2c7e117fe0bd: avformat/tls: move whip specific init out of generic tls code
<cone-284> ffmpeg Timo Rothenpieler master:af04a2789384: avformat/udp: make recv addr of each packet available
<cone-284> ffmpeg Timo Rothenpieler master:585cae13fab1: avformat/udp: separate rx and tx fifo
<cone-284> ffmpeg Timo Rothenpieler master:2604c86c1f8e: avformat/udp: add function to set remote address directly
<cone-284> ffmpeg Timo Rothenpieler master:6af099522e59: avformat/tls: make passing an external socket universal
<cone-284> ffmpeg Timo Rothenpieler master:90fa9636efff: avformat/tls_schannel: add DTLS support
<cone-284> ffmpeg Timo Rothenpieler master:9cd86c431bad: avformat/tls_schannel: add option to load server certificate from store
<cone-284> ffmpeg Timo Rothenpieler master:9b6638e12561: avformat/tls_schannel: fix non-blocking write breaking TLS sessions
<cone-284> ffmpeg Jorge Estrada master:cd914691145e: avfilter/overlay_cuda: add timeline editing support
<cone-284> ffmpeg Timo Rothenpieler master:e93de9948d89: avutils/pixfmt: add YUV444/GBRP 10 and 12 bit MSB formats
<cone-284> ffmpeg Timo Rothenpieler master:02a7c85753ad: swscale: add support for new 10/12 bit MSB formats
<cone-284> ffmpeg Timo Rothenpieler master:8304a1abc79a: avcodec/nvenc: add support for new 10 bit MSB pixel formats
<cone-284> ffmpeg Timo Rothenpieler master:3ce348063c94: avcodec/nvdec: switch to proper pixfmts on next major bump
<fflogger> [editedticket] tfoucu: Ticket #11418 ([undetermined] stack-buffer-overflow on libavcodec/aacenc_tns.c) updated https://trac.ffmpeg.org/ticket/11418#comment:4
bsFFFFFF has joined #ffmpeg-devel
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ffmpeg-devel
ngaullier has quit [Remote host closed the connection]
<fflogger> [editedticket] mkver: Ticket #11169 ([avformat] Linking VapourSynth suddenly fails in MSYS2/MinGW64/GCC 14.2) updated https://trac.ffmpeg.org/ticket/11169#comment:1
<BtbN> Just did another attempt at fixing the dmarc nonsense on ffmpeg.org, let me know if mails still work I guess
<fflogger> [editedticket] ePirat: Ticket #11653 ([undetermined] -c copy does not copy track names) updated https://trac.ffmpeg.org/ticket/11653#comment:7
<kasper93> +1 for removal of hlsproto, I have at least two oss-fuzz reports about it, some timeouts iirc
<kasper93> would clear those out ;p
<ePirat> kasper93, ok, will send a v2 with changelog added and RFC removed
cone-284 has quit [Quit: transmission timeout]
<BtbN> ePirat: seems like your gmail mail came through fine
<ePirat> nice
<BtbN> Set up postsrsd
<BtbN> I still don't fully understand what it does, but it does seem to work
<ePirat> BtbN, do you know if the email replacement in the archive is tweakable?
<BtbN> no idea, but it might be a non-issue now?
<jamrial> ePirat: new entries in changelog for next release are oldest to youngest
<ePirat> whoops
<ePirat> well I wont send a new version for that now, will just fix it locally
<jamrial> yeah, that's fine
<ePirat> BtbN, I meant it replacing foo@example.com with foo at example.com
<BtbN> oh that
<BtbN> I think that's an intentional anti-spam feature?
<ePirat> BtbN, its too eager and also replaces -@something
<ePirat> breaking patches like here
<ePirat> err +@something but yeah
<BtbN> I don't immediately see that being configurable
<ePirat> ok, expected that :P
<BtbN> Not saying it isn't, but I can't find anything about it on short notice at least
<ePirat> BtbN, we are still on mailman2?
<BtbN> yes, otherwise the archives would be hyperkitty
<ePirat> yeah
<ePirat> have the same issue for xiph...
<BtbN> The more I look at mailman3, I think I prefer mailman2 and pipermail
<BtbN> it's just dead unfortunately
<BtbN> and needs python2
<ePirat> I think mailman itself is fine just the archiver is meh
<Lynne> ePirat: ping
<ePirat> (well as fine as mailman can be...)
<ePirat> Lynne pong
<Lynne> could you decode the 2 files I linked?
<ePirat> Lynne, what output format?
<Lynne> bayer_rggb16 in nut
<BtbN> Can anyone actually get the OpenSSL dtls implementation to actually _work_?
<ePirat> Lynne, ok, will take a while as I need to adjust the code to work with more than one frame
<Lynne> ePirat: actually, could you do raw 16-bit ints?
<BtbN> With my schannel one I can stream from one ffmpeg to another
<BtbN> but with openssl it always fails with various errors
<BtbN> Sounds to me like it was only ever tested in whip
<Lynne> not nut, I need to write some code to manually parse and compare the differences
<ePirat> ok, that makes it a lot easier
<Lynne> what was the alternative? was it 32-bit floats rggb16?
<Lynne> meh, 16-bit ints should be fine
<ePirat> Lynne, kCVPixelFormatType_16VersatileBayer, kCVPixelFormatType_128RGBAFloat
<ePirat> the former was the one that looked kinda dark-ish
<Lynne> if its not too difficult, just do both, I'll have to do a forward transform
<TheVibeCoder> Lynne: you wrote encoder?
<Lynne> no, but if you do a forward transform, you'll get the dequant coeffs
<TheVibeCoder> yes
<Lynne> then you can compare them with the quant coeffs you have, and the qscale, and figure out what changed
<Lynne> having both hq and non-hq (different quant) gives you some knowledge about the qscale and the dequant process
<Lynne> the 16-bit int bayer version may be too dark with precision gone so if you transform it, you wouldn't get enough bits to work with
<Lynne> the float version won't have such problems
iive has joined #ffmpeg-devel
<fflogger> [newticket] RavenWorks: Ticket #11668 ([undetermined] Audio being much longer than video will make -shortest clamp to 1 second) created https://trac.ffmpeg.org/ticket/11668
<fflogger> [editedticket] RavenWorks: Ticket #11668 ([undetermined] Audio being much longer than video will make -shortest clamp to 1 second) updated https://trac.ffmpeg.org/ticket/11668#comment:1
<fflogger> [editedticket] RavenWorks: Ticket #11668 ([undetermined] Audio being much longer than video will make -shortest clamp to 1 second) updated https://trac.ffmpeg.org/ticket/11668#comment:2
bsFFFFFF has quit [Quit: bsFFFFFF]
bsFFFFFF has joined #ffmpeg-devel
bsFFFFFF has quit [Ping timeout: 276 seconds]
bsFFFFFF has joined #ffmpeg-devel
E81l7HT8T7sF9JdA has joined #ffmpeg-devel
Nw6mLRq1TuIuHsNd has joined #ffmpeg-devel
E81l7HT8T7sF9JdA has quit [Ping timeout: 252 seconds]
Nw6mLRq1TuIuHsNd has quit [Ping timeout: 245 seconds]
E81l7HT8T7sF9JdA has joined #ffmpeg-devel
Nw6mLRq1TuIuHsNd has joined #ffmpeg-devel
E81l7HT8T7sF9JdA has quit [Ping timeout: 252 seconds]
Nw6mLRq1TuIuHsNd has quit [Ping timeout: 245 seconds]
bsFFFFFF has quit [Quit: bsFFFFFF]
mkver has quit [Ping timeout: 265 seconds]
<BtbN> The OpenSSL DTLS code is _completely_ busted, and I cannot even tell why oO
<BtbN> It fails with an obscure error, saying "Handshake failed to do SYSCALL error", while it never tried to read/write anything even once
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
TheVibeCoder has quit [Ping timeout: 248 seconds]
<ePirat> BtbN, OpenSSL is quite cursed...
<BtbN> Well, I mean specifically our tls_openssl.c though
<BtbN> Why does it explicitly set a cipher?
<ePirat> yeah I know, just saying their APIs are very easy to hold wrong :D
<BtbN> Why does it use DTLS_method() and then later sets the server or client state, vs. just using DTLS_client_method and _server_method, like the normal TLS code does?
<ePirat> I dont really know how DTLS works so I didnt look at the code for that much yet
<ePirat> but some of the things done in our tls_openssl for it seemed somewhat weird even without knowing details
<BtbN> The code is written like it's part of whip.c
<ePirat> BtbN, is there an easy way to test the implementation?
<BtbN> ./ffmpeg -v debug -listen 1 -cert_file ~/DTLS-Test/server-cert.pem -key_file ~/DTLS-Test/server-key.pem -i dtls://127.0.0.1:4444 -c copy -y out.mp4
<BtbN> ./ffmpeg -v trace -f lavfi -re -i testsrc2=duration=10:size=1920x1080:rate=60 -an -sn -c:v hevc_nvenc -f mpegts dtls://127.0.0.1:4444
<BtbN> is what I've been doing
<BtbN> It works great with schannel
<BtbN> it fails miserably with OpenSSL
<ePirat> thanks
<BtbN> You also need some obvious patches to the code for it to even have a chance at working
<BtbN> Like, openssl_init_ca_key_cert will just bail our hard if no cert and key is set
<BtbN> But only in dtls mode
<BtbN> Like it completely ignored the possibility of the code being used in client mode
<BtbN> implemented the missing BIO methods, cause I suspected it might be trying to call one we don't implement for DTLS, but that wasn't it
sepro5 has joined #ffmpeg-devel
sepro has quit [Ping timeout: 244 seconds]
sepro5 is now known as sepro
s55 has quit [Quit: Bye]
s55 has joined #ffmpeg-devel
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel
lemourin has quit [Client Quit]
lemourin has joined #ffmpeg-devel
lemourin has quit [Quit: The Lounge - https://thelounge.chat]
lemourin has joined #ffmpeg-devel