Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-23 Thread Anton Khirnov
the reins and I've wasted enough of my life on it. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-22 Thread Anton Khirnov
asking more people to volunteer, because we didn't have enough candidates (which by the way you did as well). And the cherry on the cake is that after spuriously accusing me of fraud you claim that we need friendly smiles and mutual respect. How about you start? [1] https://lists.ffmpeg.org

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-22 Thread Anton Khirnov
s your way. Or put differently, all our democracy is just pretend and in the end it's you personally who calls the shots. In that case you should have the guts to come out and say so directly instead of hiding behind walls of fallacious arguments. Then I wouldn't need to waste time

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-19 Thread Anton Khirnov
7;s not "unfriendly people". It's you. It's always been you. Other projects do not have these problems at such a regular basis. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/lis

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-19 Thread Anton Khirnov
Quoting compn (2024-12-19 17:32:26) > On Thu, 19 Dec 2024 14:58:34 +0100, Anton Khirnov wrote: > > > Quoting James Almer (2024-12-19 14:04:53) > > > On 12/19/2024 6:34 AM, Anton Khirnov wrote: > > > > Quoting Kieran Kunhya via ffmpeg-devel (2024

Re: [FFmpeg-devel] [PATCH 1/2] swscale/unscaled: correctly copy semiplanar formats

2024-12-19 Thread Anton Khirnov
ixes conversions such as nv12 -> nv12, gray8 -> nv12, nv20le -> nv20be, etc. > > Fixes: ticket #11239 > Signed-off-by: Niklas Haas > Sponsored-by: Sovereign Tech Fund > --- > libswscale/swscale_unscaled.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-19 Thread Anton Khirnov
Quoting James Almer (2024-12-19 14:04:53) > On 12/19/2024 6:34 AM, Anton Khirnov wrote: > > Quoting Kieran Kunhya via ffmpeg-devel (2024-12-19 09:58:14) > >> Hello, > >> > >> My messages are being blocked on the mailing list. How is this fair that > >

Re: [FFmpeg-devel] Fwd: Your message to ffmpeg-devel awaits moderator approval

2024-12-19 Thread Anton Khirnov
subscribed people). -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] vulkan_decode: support software-defined decoders

2024-12-18 Thread Anton Khirnov
is could really use some more explanation. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 04/14] avformat/flvenc: remove !size check for audio packets

2024-12-17 Thread Anton Khirnov
Quoting James Almer (2024-12-16 00:13:43) > On 12/14/2024 5:49 PM, Timo Rothenpieler wrote: > > On 14.12.2024 10:16, Anton Khirnov wrote: > >> This could use some explanation. > > > > I unfortunately don't remember the exact reason, but it ran into this >

Re: [FFmpeg-devel] [PATCH 02/14] avformat/flvdec: add support for demuxing multi-track FLV

2024-12-17 Thread Anton Khirnov
Quoting Timo Rothenpieler (2024-12-14 22:48:17) > On 14.12.2024 10:17, Anton Khirnov wrote: > > Quoting Timo Rothenpieler (2024-12-12 20:55:27) > >> From: Dennis Sädtler > >> > >> Based on enhanced-rtmp v2 spec published by Veovera: > >> https://

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-17 Thread Anton Khirnov
Hi all, the poll has concluded, with 30 votes out of 52. Results are available at [1], the winning committee is: * Martin Storsjö * Michael Niedermayer * Anton Khirnov * Niklas Haas * Jan Ekström Raw ballots in CSV format are attached for posterity. CCing root - please update the tc@ mailbox

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

2024-12-16 Thread Anton Khirnov
Quoting Marton Balint (2024-12-16 09:47:39) > > > On Mon, 16 Dec 2024, Anton Khirnov wrote: > > > Quoting Marton Balint (2024-12-15 01:02:42) > >> Signed-off-by: Marton Balint > >> --- > >> doc/APIchanges | 3 +++ > >> liba

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-16 Thread Anton Khirnov
Hi all, the vote has been started. If you are in the GA (the tools/general_assembly.pl script lists your name), you should have received an email by now. If you did not, complain in this thread. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/frame: add AV_FRAME_FLAG_LOSSLESS

2024-12-16 Thread Anton Khirnov
dd AV_FRAME_FLAG_LOSSLESS. I feel ambivalent about this. This is really a decoder property, and attaching it to frames allows it propagate far away to places where it makes no sense (the same holds for other existing AVFrame fields, but I'd prefer for them to be removed). -- Anton Khirno

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-15 Thread Anton Khirnov
Hi all, this is a reminder that the CC election starts tomorrow morning (CET), with the following candidates: * Vittorio Giovara * James Almer * Marth64 * Anton Khirnov * compn * Jean-Baptiste Kempf * Rémi Denis-Courmont Cheers, -- Anton Khirnov

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-14 Thread Anton Khirnov
Quoting Gyan Doshi (2024-12-14 13:43:52) > > > On 2024-12-14 06:00 pm, Anton Khirnov wrote: > > Hi all, > > this is a reminder that the vote closes some time after Sunday midnight > > (CET). So far we have just 24 votes out of 52, so please vote ASAP if > > y

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-14 Thread Anton Khirnov
Hi all, this is a reminder that the vote closes some time after Sunday midnight (CET). So far we have just 24 votes out of 52, so please vote ASAP if you have not done so yet. Cheers, -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 0/3] Make fate tests succeed with zlib-ng

2024-12-14 Thread Anton Khirnov
tests. This seems like a hack to me. We should not be testing for bitexact output from code that is not under our control and does not guarantee bitexactness. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] libavfilter/af_amix: fixed amix format when graph load

2024-12-14 Thread Anton Khirnov
> libavfilter/af_amix: fixed amix format when graph load This needs a better explanation of what is being done and why. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avutil/file: fix av_file_map file mapping on Windows

2024-12-14 Thread Anton Khirnov
). > > This commit fixes libavutil\tests\file.c test, which would crash when > trying to write to a read-only memory page. > > Signed-off-by: Kacper Michajłow > --- > libavutil/file.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Queued, will push

Re: [FFmpeg-devel] [PATCH WIP 4/5] avcodec/hevc/sei: Add support for alpha channel information

2024-12-14 Thread Anton Khirnov
alpha_channel_clip_flag; > +uint8_t alpha_channel_clip_type_flag; We generally prefer not to duplicate the bitstream values/spec names verbatim, because they are optimized for a different purpose. Specifically * 'alpha' in names is redundant with the struct name * _flag is redundant * store

Re: [FFmpeg-devel] [PATCH WIP 5/5] avcodec/hevc: Add alpha layer support

2024-12-14 Thread Anton Khirnov
ary picture with AuxId=AUX_ALPHA. Also, I'd prefer the interaction with multiview to be clearer, with e.g. a warning message when both are present, and fewer assumptions about only one of them being present spread over the code. -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH WIP 0/5] avcodec/hevc: Add alpha video decoding support

2024-12-14 Thread Anton Khirnov
ly appreciate it if someone could help implement it. Do we need a complete implementation, when we do not intend to support all the possible combinations of all the possible multi-layer types? I'd prefer not to handle all the insanity until we really need to. -- Anton Khirnov _

Re: [FFmpeg-devel] [PATCH 01/14] avformat/flvenc: implement support for multi-track video

2024-12-14 Thread Anton Khirnov
Quoting Timo Rothenpieler (2024-12-13 20:17:07) > I intend to push this series soon. > It's been tested to work, and no major changes to the spec have happened. Some tests sure would be nice. -- Anton Khirnov ___ ffmpeg-devel mailing list f

Re: [FFmpeg-devel] [PATCH 02/14] avformat/flvdec: add support for demuxing multi-track FLV

2024-12-14 Thread Anton Khirnov
XTRADATA, > + flv->mt_extradata[track_idx], > + flv->mt_extradata_sz[track_idx]); > +if (ret >= 0) { This should fail when ret < 0 -- Anton Khirnov ___

Re: [FFmpeg-devel] [PATCH 04/14] avformat/flvenc: remove !size check for audio packets

2024-12-14 Thread Anton Khirnov
This could use some explanation. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

Re: [FFmpeg-devel] [PATCH] libavcodec/mpeg12dec.c: append CC data to a53_buf_ref

2024-12-14 Thread Anton Khirnov
ytes. > > I think it is reasonable to concatenate the CC data until a frame can be > exported. > Since I don't know if there is a frame exported when all of the video > frame's data slices > have been skipped (e.g. B frame with open GOP), what exactly do you mean by &#x

Re: [FFmpeg-devel] [PATCH] compat/w32pthreads: change pthread_t into pointer to malloced struct

2024-12-12 Thread Anton Khirnov
Quoting Martin Storsjö (2024-12-12 18:40:27) > On Thu, 12 Dec 2024, Anton Khirnov wrote: > > > pthread_t is currently defined as a struct, which gets placed into > > caller's memory and filled by pthread_create() (which accepts a > > pthread_t*). > > > &g

[FFmpeg-devel] [PATCH] compat/w32pthreads: change pthread_t into pointer to malloced struct

2024-12-12 Thread Anton Khirnov
pthread_t is currently defined as a struct, which gets placed into caller's memory and filled by pthread_create() (which accepts a pthread_t*). The problem with this approach is that pthread_join() accepts pthread_t itself rather than a pointer to it, so it gets a _copy_ of this structure. This ca

Re: [FFmpeg-devel] [PATCH 0/7] RFC: complete rework of s337m support

2024-12-12 Thread Anton Khirnov
Hi Nicolas, Quoting Nicolas Gaullier (2024-12-06 10:37:03) > >De : Anton Khirnov > >Envoyé : jeudi 5 décembre 2024 15:06 > >Hi, > >I believe a similar approach was tried by Gyan earlier this year and > >unanimously rejected by the TC [1-3]. > > > >[1

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudio_parser.c: differentiate MPEG audio dual mono

2024-12-11 Thread Anton Khirnov
Quoting James Almer (2024-11-30 14:41:20) > with no speaker location implied Also, is it really the case that no speaker location is implied? I'd think mono (as opposed to just "1 channel") does carry the implication is is the center channel.

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudio_parser.c: differentiate MPEG audio dual mono

2024-12-11 Thread Anton Khirnov
Quoting Scott Theisen (2024-12-10 21:42:06) > On 12/9/24 02:31, Anton Khirnov wrote: > > Quoting Scott Theisen (2024-11-30 08:38:54) > >> On 11/25/24 00:42, Anton Khirnov wrote: > >>> Quoting Scott Theisen (2024-11-14 05:37:49) > >>>>

[FFmpeg-devel] [PATCH 3/5] lavc/packet: add API for an AVPacket-based AVContainerFifo

2024-12-11 Thread Anton Khirnov
--- doc/APIchanges | 3 +++ libavcodec/packet.c | 33 + libavcodec/packet.h | 7 +++ libavcodec/version.h | 2 +- 4 files changed, 44 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 5d75b6077d..31b9ed175b 100644 --- a/

[FFmpeg-devel] [PATCH 2/5] lavc/container_fifo: move to lavu and make public

2024-12-11 Thread Anton Khirnov
This can be useful in other places, e.g. it can replace objpool in fftools. The API is modified in the following nontrivial ways: * opaque pointers can be passed through to all user callbacks * read and write were previously separate callbacks in order to accomodate the caller wishing to write a

[FFmpeg-devel] [PATCH 5/5] fftools/sync_queue: switch from AVFifo+ObjPool to AVContainerFifo

2024-12-11 Thread Anton Khirnov
Remove now-unused objpool. --- fftools/Makefile | 1 - fftools/objpool.c| 131 --- fftools/objpool.h| 37 fftools/sync_queue.c | 93 ++ 4 files changed, 29 insertions(+), 233 deletions(-) delete mode

[FFmpeg-devel] [PATCH 4/5] fftools/thread_queue: switch from AVFifo+ObjPool to AVContainerFifo

2024-12-11 Thread Anton Khirnov
The queue needs to track each frame/packet's stream index, this is achieved by maintaining a parallel AVFifo instance for that purpose. This is simpler than implementing custom AVContainerFifo callbacks. --- fftools/ffmpeg_sched.c | 14 ++--- fftools/ffmpeg_utils.h | 10 -- fftools/thread_

Re: [FFmpeg-devel] [PATCH] avcodec: uninit hwaccel in case of software decoder

2024-12-10 Thread Anton Khirnov
RC, and she's working on removing the need for that from vulkan decoding, which should be a more proper fix here. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-09 Thread Anton Khirnov
Hi all, the vote has been started (with a slight delay due to server issues). If you are in the GA (the tools/general_assembly.pl script lists your name), you should receive an email soon. If you do not, complain in this thread. -- Anton Khirnov

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodecenc: Check fifo write result and simplify fifo operation

2024-12-08 Thread Anton Khirnov
Looks good, thank you. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudio_parser.c: differentiate MPEG audio dual mono

2024-12-08 Thread Anton Khirnov
Quoting Scott Theisen (2024-11-30 08:38:54) > On 11/25/24 00:42, Anton Khirnov wrote: > > Quoting Scott Theisen (2024-11-14 05:37:49) > >> @@ -85,7 +85,13 @@ static int mpegaudio_parse(AVCodecParserContext *s1, > >> if (s->h

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudio_parser.c: differentiate MPEG audio dual mono

2024-12-08 Thread Anton Khirnov
= sr; > > av_channel_layout_uninit(&avctx->ch_layout); > > -av_channel_layout_default(&avctx->ch_layout, > > channels); > > +if (dual_mono) { > > +

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-08 Thread Anton Khirnov
Quoting James Almer (2024-12-08 17:46:18) > On 12/7/2024 9:25 PM, Lynne via ffmpeg-devel wrote: > > On 06/12/2024 02:01, Lynne via ffmpeg-devel wrote: > >> On 28/11/2024 23:29, Anton Khirnov wrote: > >>> Hi all, > >>> the current Technical Commit

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-08 Thread Anton Khirnov
Hi all, we currently have 5 candidates for CC: - Vittorio Giovara - James Almer - Marth64 - Anton Khirnov - compn A the number of candidates equals the number of CC members, there is no point in holding a vote. I therefore propose to wait a week. If any new candidates appear in that time, we hold

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-08 Thread Anton Khirnov
Hi all, since yesterday, one candidacy was withdrawn and one added, so we are still at 6 candidates: - Michael Niedermayer - Martin Storsjö - Anton Khirnov - Niklas Haas - Jan Ekström - Alexander Strasser I intend to start the vote tomorrow (2024-12-09) morning (CET). Current GA as generated by

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-07 Thread Anton Khirnov
Hi all, we only have 4 volunteers for the CC so far, so need at least one more person. Ideally several, since elections are better when they are competitive. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-07 Thread Anton Khirnov
Hi all, we have 6 volunteers for the TC, so I think the vote can start on Monday as previously announced. If someone else still wants to volunteer, please do so ASAP. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-12-07 Thread Anton Khirnov
matter who it comes from. 2) CC should look at patterns of behaviour rather than strictly focus on individual infractions. 3) Enforcement should be consistent and publicly announced. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 0/7] RFC: complete rework of s337m support

2024-12-05 Thread Anton Khirnov
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-February/321564.html [3] Message-Id <20240412122920.gb3...@haasn.xyz> https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325588.html -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

[FFmpeg-devel] [PATCH] lavc: improve AVCodecContext.extradata/subtitle_header documentation

2024-12-05 Thread Anton Khirnov
Mention they are always owned and freed by the codec, except when using deprecated avcodec_close(). Reported-By: DEATH on IRC --- libavcodec/avcodec.h | 40 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/a

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-12-05 Thread Anton Khirnov
I hereby volunteer for the TC. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v2 00/11] fix broken CC detection and ffprobe fields (cover letter)

2024-12-03 Thread Anton Khirnov
a "property", like captions or film grain parameters. Therefore it's > not a field used for initialization. That semantics would be useless, since you can just as well extract the same information from the frame itself. -- Anton Khirnov _

Re: [FFmpeg-devel] How to support audio data placed within video data

2024-11-30 Thread Anton Khirnov
Quoting Manuel Lauss (2024-11-28 21:58:09) > On Thu, Nov 28, 2024 at 3:19 PM Anton Khirnov wrote: > > > > Quoting Manuel Lauss (2024-11-26 15:25:30) > > > Hello, > > > > > > I'd like to add some audio support for the old libavformat/smush >

Re: [FFmpeg-devel] [RFC] infrastructure documentation

2024-11-28 Thread Anton Khirnov
ublic list. Suggestions > anyone > how/where to handle that ? A text file in a git repo accessible to e.g. * current GA members * current TC and CC members -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpe

Re: [FFmpeg-devel] libavformat/demux.c: MythTV added NULL checks

2024-11-28 Thread Anton Khirnov
e with the relevant pointer being NULL. If you have a way of actually triggering any of these, I'd like to see it. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscri

[FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2024-11-28 Thread Anton Khirnov
conduct violationd and other personal conflicts in the project. If you would like to be a CC member, please say so in a reply to this email. Cheers, -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

[FFmpeg-devel] [ANNOUNCE] upcoming vote: TC election

2024-11-28 Thread Anton Khirnov
technical disputes. If you would like to be a TC member, please say so in a reply to this email. Cheers, -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

Re: [FFmpeg-devel] How to support audio data placed within video data

2024-11-28 Thread Anton Khirnov
frame). > > What is the best way to support this scenario? Meaning you have to parse the coded bytestream to get the audio? Is there at least some signalling that audio is present at al? The options I can think of are: * parse the bytestream in the demuxer * write a bitstream filter -- Anto

Re: [FFmpeg-devel] [PATCH V7] Patch to add interlaced HEVC decoding to HEVCDEC

2024-11-28 Thread Anton Khirnov
ei.h | 129 +++- > 5 files changed, 583 insertions(+), 25 deletions(-) This seems like way too much complexity for what essentially seems to be just weave inside a decoder. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmp

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/sanm: clear codec47 diff buffers with specific color

2024-11-28 Thread Anton Khirnov
vember/335757.html > > Cover letter with links to videos showing before/after: > https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-November/335755.html Pushed all of these. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ff

Re: [FFmpeg-devel] [PATCH 2/2] doc/encoders: very basic FFv1 documentation

2024-11-28 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-11-27 23:18:25) > Hi > > On Tue, Nov 26, 2024 at 11:48:54AM +0100, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2024-10-15 00:46:50) > > > +@item qtable > > > +-1 (default, automatic), 0 use 8bit default, 1, use >8bit

Re: [FFmpeg-devel] [PATCH] avcodec/ac3dec: fix build when eac3 decoder is disabled

2024-11-28 Thread Anton Khirnov
Quoting Nicolas Gaullier (2024-10-27 01:01:23) > Signed-off-by: Nicolas Gaullier > --- > libavcodec/ac3dec_fixed.c | 3 +++ > libavcodec/ac3dec_float.c | 2 ++ > 2 files changed, 5 insertions(+) Will push soonish. -- Anton Khirnov _

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread Anton Khirnov
Quoting James Almer (2024-11-28 13:58:46) > On 11/28/2024 9:57 AM, Anton Khirnov wrote: > > Quoting James Almer (2024-11-27 14:31:35) > >> @@ -222,10 +223,25 @@ static int dovi_rpu_init(AVBSFContext *bsf) > >> > >> s-&g

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpu: make ff_dovi_configure_ext() take an AVCodecContext as input argument

2024-11-28 Thread Anton Khirnov
; +ret = avcodec_parameters_from_context(bsf->par_out, avctx); This still seems a bit too scorched-earth to me. I'd prefer to give ff_dovi_configure_ext() a side data list as a parameter and have it modify that. -- Anton Khirnov

Re: [FFmpeg-devel] [RFC] github assembly course ?

2024-11-28 Thread Anton Khirnov
s to the gas-preprocessor repo.) > > github is a little messy it seems. We have a members team that gives write > access > to 5 repositories but even though we have 3 "members" only one was in the > members team, sorry about that. everyone on github should now have write > access > to teh repositories (if they did not have already). > btbn has further admin access as he needed that for some things Sounds like something that should be documented in infra.txt. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodecenc: add async mode support

2024-11-27 Thread Anton Khirnov
we called > pthread_mutex_unlock(), and then called pthread_cond_signal(); that is, we > first unlocked > the mutex associated with the shared variable, and then signaled the > corresponding > condition variable. We could have reversed these two steps; SUSv3 permits > them to &

Re: [FFmpeg-devel] ID3v2 demuxer

2024-11-26 Thread Anton Khirnov
Quoting Tomas Härdin (2024-11-22 17:10:10) > fre 2024-11-22 klockan 15:50 +0100 skrev Anton Khirnov: > > Quoting Tomas Härdin (2024-11-22 10:51:21) > > > Hi all > > > > > > So after looking at options for how to better deal with ID3v2 I'm > > &

Re: [FFmpeg-devel] [PATCH v13 2/8] avcodec/webp: separate VP8 decoding

2024-11-26 Thread Anton Khirnov
Quoting Thilo Borgmann via ffmpeg-devel (2024-11-15 19:52:05) > Am 21.06.24 um 13:52 schrieb Anton Khirnov: > > Quoting Thilo Borgmann via ffmpeg-devel (2024-06-21 12:43:17) > >> From: Thilo Borgmann via ffmpeg-devel > >> > >&g

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mediacodecenc: add async mode support

2024-11-26 Thread Anton Khirnov
queueOutputBuffer(codec, out_info, > timeout_us); > +return 0; > +} > + > +ff_mutex_lock(&s->output_mutex); > + > +n = -1; > +while (n < 0 && !s->encode_status) { > +if (av_fifo_can_read(s->output_index)) { &g

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mjpegdec: silently ignore APPx stubs

2024-11-26 Thread Anton Khirnov
this silently errors on the ones it doesnt ignore, it was more informative > > before > > It still prints the error message after returning AVERROR_INVALIDDATA > from mjpeg_decode_app(): > [mjpeg @ 0x7fc4a0002dc0] unable to decode APP fields: Invalid data > found when proces

Re: [FFmpeg-devel] [PATCH] avcodec/bsf/dovi_rpu: remove EL when stripping dovi metadata

2024-11-26 Thread Anton Khirnov
d, 6 insertions(+), 1 deletion(-) Approved by Niklas on IRC, will push soonish. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or em

Re: [FFmpeg-devel] [PATCH 2/2] doc/encoders: very basic FFv1 documentation

2024-11-26 Thread Anton Khirnov
Quoting Michael Niedermayer (2024-10-15 00:46:50) > +@item qtable > +-1 (default, automatic), 0 use 8bit default, 1, use >8bit default int seems like the wrong type then. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.

Re: [FFmpeg-devel] apsnr's PSNR formula is different from Wikipedia's formula

2024-11-26 Thread Anton Khirnov
ion (nb_samples / s->chs[ch].uv) is the inverse of MSE. > Therefore, when the error is larger, the final logarithm result will be > lower. This is backwards from the usual interpretation that more error has > a lower signal-to-noise ratio. > > Is there interest in changing the

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudio_parser.c: differentiate MPEG audio dual mono

2024-11-24 Thread Anton Khirnov
_layout_uninit(&avctx->ch_layout); > -av_channel_layout_default(&avctx->ch_layout, > channels); > +if (dual_mono) { > +av_channel_layout_custom_init(&avctx->ch_layout, > 2); This can fai

Re: [FFmpeg-devel] [PATCH] fate/jpeg2000dec: add missing ISO/IEC 15444-4 conformance tests

2024-11-24 Thread Anton Khirnov
al files and using the PSNR value in FATE > > will be an option. > > The original files are approximately 10 MB. Any objection/concerns to > adding them to FATE, which can then apply the conformance requirements > specified in the standard? IMO it should not be a problem,

Re: [FFmpeg-devel] ANN: FATE RISC-V Vector enabled

2024-11-24 Thread Anton Khirnov
o:=- :_\/_:'.:::. /)\*''* .|.* '.\'/.'_\(/_'.':'.' : /\ : : '*_\/_* | | -= o =- /)\' * '..' ':::' * /\ * |'| .'/.\'. '._ *__*..* | | : |. |' .---"| _* .-' '-. | | .--'| || | _|| .-'| _.| |||

Re: [FFmpeg-devel] [PATCH] avcodec: deprecate sonic

2024-11-24 Thread Anton Khirnov
> > index 161442df95..97e4c47d45 100644 > > --- a/libavcodec/version_major.h > > +++ b/libavcodec/version_major.h > > @@ -57,5 +57,9 @@ > > > > // reminder to remove CrystalHD decoders on next major bump > > #define FF_CODEC_CRYSTAL_HD(LIBAVCODEC_VERSION_MAJ

Re: [FFmpeg-devel] [PATCH] avformat: add AV1 RTP depacketizer and packetizer

2024-11-24 Thread Anton Khirnov
Your mailer mangled the newlines in the patch. Consider a different mailer or sending it as an attachment. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/sanm: clear codec47 diff buffers with specific color

2024-11-24 Thread Anton Khirnov
Your patch seems to be against something other than git master, and fails to apply. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [RFC] libpostproc splitout

2024-11-24 Thread Anton Khirnov
d like to use the project's resources while avoiding scrutiny and oversight. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-devel] [RFC] libpostproc splitout

2024-11-24 Thread Anton Khirnov
mythical beast? -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [RFC] libpostproc splitout

2024-11-24 Thread Anton Khirnov
would scan ~/.ffmpeg/plugins/ or something like that > and load all compatible ones. > A restriction to a simple 1 input link, 1 output link with possibility of > future extension would already cover likely 90% of use cases. > > anton, would you be interrested to implement something

[FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg_sched: signal the main thread when a task fails

2024-11-23 Thread Anton Khirnov
Avoids a useless -stats_period wait before exiting. Reported-by: names_are_hard --- fftools/ffmpeg_sched.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c index 318ec44b73..6a58661a5c 100644 --- a/fftools/ff

[FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_sched: rename mux_done_{lock, cond} into finish_*

2024-11-23 Thread Anton Khirnov
Their semantics will be changed in the following commit to not be limited to muxing. --- fftools/ffmpeg_sched.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/fftools/ffmpeg_sched.c b/fftools/ffmpeg_sched.c index b8ed8ae3f8..318ec44b73 100644 --- a/f

[FFmpeg-devel] [PATCH 1/2] tools/general_assembly: add a mechanism for excluding people from GA list

2024-11-22 Thread Anton Khirnov
To be used at their own request, when they do not wish to receive vote emails. --- tools/general_assembly.pl | 9 + 1 file changed, 9 insertions(+) diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl index 0dafa82e27..7e0f46093c 100755 --- a/tools/general_assembly.pl +++ b/

[FFmpeg-devel] [PATCH 2/2] tools/general_assembly: exclude Derek from GA emails

2024-11-22 Thread Anton Khirnov
At his own request, he can remove the entry whenever he likes. --- tools/general_assembly.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/general_assembly.pl b/tools/general_assembly.pl index 7e0f46093c..bfcb67d988 100755 --- a/tools/general_assembly.pl +++ b/tools/general_assembly.pl

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/dnxuc_parser: rework DNXUC parser

2024-11-22 Thread Anton Khirnov
the semantics of the codec ID. I suppose it's not a problem in practice as nobody is likely to be using it, but it probably deserves at least a minor bump. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

Re: [FFmpeg-devel] ID3v2 demuxer

2024-11-22 Thread Anton Khirnov
d this improve for our callers. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] Fwd: [RFC] libpostproc splitout

2024-11-22 Thread Anton Khirnov
ame thought when looking at that thread, and the only reason I did not send it to ML was my being on vacation. So let me correct that now: Splitting out libpostproc is easy and not worth even remotely close to 5K euro. -- Anton Khirnov ___ ffmpeg-dev

Re: [FFmpeg-devel] [PATCH 2/3] doc/developer: Document how disagreements should be handled

2024-11-17 Thread Anton Khirnov
te > access to > the specific repository. > > +In actively maintained areas, the maintainer has the last word in case of a > technical disagreement. Strongly against. It would lead to the project partitioning into walled gardens each w

Re: [FFmpeg-devel] [PATCH] lavu/get_video_buffer: also align data pointers

2024-11-16 Thread Anton Khirnov
am in favor of this patch. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] Patch for libx265 memory leak

2024-11-15 Thread Anton Khirnov
ncoder > > instance, > > right? > > > x265 already crashes when trying to run two encodes with different settings > in > the same process, because it's storing some instance specific data in > global variables > that are overwr

Re: [FFmpeg-devel] root access voting

2024-11-15 Thread Anton Khirnov
chanism for giving such people voting power, but it's not obvious how to make it automatic. Practical suggestions are welcome, I guess. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpe

Re: [FFmpeg-devel] [PATCH] lavu/get_video_buffer: also align data pointers (v2)

2024-11-15 Thread Anton Khirnov
frame.h | 7 --- > 2 files changed, 7 insertions(+), 4 deletions(-) I think this warrants a micro bump and an APIchanges entry, so external callers can reliably depend on this. Otherwise looks good. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] root access voting

2024-11-15 Thread Anton Khirnov
surprise you that noone spends their time on work that will not be appreciated. > Also to ask people to come, not even knowing why specific people dont come. > And then assume everyone not coming, did so by their 100% free choice is > anoth

Re: [FFmpeg-devel] root access voting

2024-11-15 Thread Anton Khirnov
raise the point that our infrastructure situation is highly opaque * you reply to it saying that everything is perfectly clear Consider the possibility that it only looks clear to you because you are the sole person with full access to everything. Consider also that because thise keeps getting raised r

[FFmpeg-devel] [PATCH 1/3] lavc/pthread_frame: separate child decoders from thread state

2024-11-13 Thread Anton Khirnov
Should have no functional effect on its own, but will be useful in following commits. --- libavcodec/pthread_frame.c | 253 +++-- 1 file changed, 155 insertions(+), 98 deletions(-) diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c index 1b1b96623

[FFmpeg-devel] [PATCH 3/3] lavc/pthread_frame: rework the logic for updating thread contexts

2024-11-13 Thread Anton Khirnov
Propagating decoder state between per-thread contexts with frame threading currently works as follows: 0) Every frame thread has its own "child" decoder context, 1) Frame thread T0 decodes the frame header and updates its context accordingly. At most one frame thread can be in this stage at a

[FFmpeg-devel] [PATCH 2/3] lavc/pthread_frame: allow ff_thread_finish_setup() to return errors

2024-11-13 Thread Anton Khirnov
Will be useful in following commits. --- libavcodec/cfhd.c | 4 +++- libavcodec/ffv1dec.c | 4 +++- libavcodec/h263dec.c | 14 ++ libavcodec/h264dec.c | 5 - libavcodec/hevc/hevcdec.c | 7 +-- libavcodec/mimic.c | 4 +++- libavcodec/mpeg

Re: [FFmpeg-devel] root access voting

2024-11-06 Thread Anton Khirnov
a open dialoge, a calm discussion about what the underlaying > issues are (if there are any). And to work towards correcting them. How can we have a discussion that includes you when you refuse to acknowledge there is something to discuss? -- Anton Khirnov ___

  1   2   3   4   5   6   7   8   9   10   >