Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread Michael Niedermayer
Hi On Sun, Nov 10, 2024 at 07:44:11PM +0100, Michael Niedermayer wrote: > Hi all > > On Sat, Nov 09, 2024 at 05:18:08PM +0100, Michael Niedermayer wrote: > > Hi all > > > > Should we disable git accounts for developers who have not been active since > > a long time (like 10 years) ? > > > > (if

[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] [PATCH v3] avcodec/vc2enc: Initial vulkan VC2 encoder

2024-11-13 Thread Michael Niedermayer
On Wed, Oct 30, 2024 at 05:06:55AM +0200, IndecisiveTurtle wrote: > Implements a Vulkan based dirac encoder. Supports Haar and Legall wavelets > and should work with all wavelet depths. > > Performance wise, encoding a 1080p 1-minute video is performed in about 2.5 > minutes with the cpu encoder

[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 1/3] configure: Add wasm as a fake arch

2024-11-13 Thread Zhao Zhili
From: Zhao Zhili And add wasm simd128 flag, so we can add simd128 optimizations. It can be enabled by put -msimd128 to extra cflags. There is no runtime detection on simd128 support yet. I think that needs to be done with JavaScript. --- Makefile | 3 ++- configure

[FFmpeg-devel] [PATCH 2/3] tests/checkasm: Add partial support for wasm

2024-11-13 Thread Zhao Zhili
From: Zhao Zhili WASI mssing signal and siglongjmp support. This patch workaround build error and add simd128 flag. Please note that many tests use large array on stack, so you need to increase the stack size when build checkasm, e.g., --extra-ldflags='-Wl,-z,stack-size=10485760' --- tests/check

Re: [FFmpeg-devel] [PATCH 01/15] libavformat: Increase probe buffer to 16MB

2024-11-13 Thread Tomas Härdin
ons 2024-11-13 klockan 14:40 +0100 skrev Michael Niedermayer: > Hi > > On Tue, Oct 29, 2024 at 03:44:30PM +0100, Tomas Härdin wrote: > > Needs a sample. An option or setting for probe size might be a good > > idea > > > > Spotify comments > > > > In mp3 files, id3v2 tag with huge

Re: [FFmpeg-devel] [PATCH] enc_recon_frame_test: don't print an error on EOF.

2024-11-13 Thread Ronald S. Bultje
Hi, On Mon, Nov 11, 2024 at 9:06 AM Ronald S. Bultje wrote: > On Fri, Nov 8, 2024 at 10:38 AM Ronald S. Bultje > wrote: > >> Before: >> $ make tools/enc_recon_frame_test >> $ tools/enc_recon_frame_test ~/Movies/cif/bus_cif.y4m libx264 'tune=psnr' >> Error submitting a frame for encoding >> >> A

[FFmpeg-devel] [PATCH 3/3] avcodec/hevc: Add wasm simd128 idct

2024-11-13 Thread Zhao Zhili
From: Zhao Zhili We don't use intrinsics normally for performance reasons. However, WASM isn't machine instruction. I suspect that in this scenario, handwritten assembly may not bring much performance compared with intrinsics. And I don't want to dig into the WASM ABI. So this patch is implemente

Re: [FFmpeg-devel] [PATCH 03/15] libaformat/mp3dec: Register the MIME type "audio/mpeg" to the mp3 decoder.

2024-11-13 Thread Tomas Härdin
tis 2024-10-29 klockan 15:45 +0100 skrev Tomas Härdin: > Reasonable enough > > Spotify comments > > mp3 input misdetected as mpeg ps and fails to decode > > Possible other solutions: >     • Improve mp3 probe code to give higher score >     • Improve mpeg ps probe code to give lo

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/hevc: Add wasm simd128 idct

2024-11-13 Thread Rémi Denis-Courmont
Le 13 novembre 2024 16:16:36 GMT+02:00, Zhao Zhili a écrit : >From: Zhao Zhili > >We don't use intrinsics normally for performance reasons. However, >WASM isn't machine instruction. I don't think that's relevant to the matter. What may be relevant is that WASM is an infinite register ISA, so

Re: [FFmpeg-devel] [PATCH 01/15] libavformat: Increase probe buffer to 16MB

2024-11-13 Thread Mattias Wadman
On Wed, Nov 13, 2024 at 3:26 PM Tomas Härdin wrote: > ons 2024-11-13 klockan 14:40 +0100 skrev Michael Niedermayer: > > Hi > > > > On Tue, Oct 29, 2024 at 03:44:30PM +0100, Tomas Härdin wrote: > > > Needs a sample. An option or setting for probe size might be a good > > > idea > > > > > > Spotify

Re: [FFmpeg-devel] [PATCH] avcodec/jpeg2000: Fix undefined behaviour in left shift operations

2024-11-13 Thread Pierre-Anthony Lemieux
On Mon, Nov 11, 2024 at 12:35 AM Osamu Watanabe wrote: > > This patch fixes undefined behaviour error in left shift > operations in jpeg2000dec.c and jpeg2000htdec.c. > > Signed-off-by: Osamu Watanabe > --- > libavcodec/jpeg2000dec.c | 6 +++--- > libavcodec/jpeg2000htdec.c | 6 +++--- > 2 fil

Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread Leo Izen
On 11/9/24 11:18 AM, Michael Niedermayer wrote: Hi all Should we disable git accounts for developers who have not been active since a long time (like 10 years) ? (if these developers come back, the account would then be enabled again) but disabling such accounts may improve security (lots of "i

Re: [FFmpeg-devel] root access voting

2024-11-13 Thread Rémi Denis-Courmont
Le 13 novembre 2024 00:51:23 GMT+02:00, compn a écrit : >> That is a major red flag, very similar to what you yourself claimed >> as motivation to reject Josh - precarious employment situation. > >are you talking about the same Josh who asked not to have their photo >taken during vdd? > >you wan

[FFmpeg-devel] [PATCH] doc/infra: Document gitolite

2024-11-13 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/infra.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/infra.txt b/doc/infra.txt index 4ef6ccf736d..dfb13eda7b1 100644 --- a/doc/infra.txt +++ b/doc/infra.txt @@ -73,6 +73,9 @@ Github mirrors are redundantly synced by multiple people You

Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread Michael Niedermayer
Hi Traneptora On Wed, Nov 13, 2024 at 12:29:22PM -0500, Leo Izen wrote: > On 11/9/24 11:18 AM, Michael Niedermayer wrote: > > Hi all > > > > Should we disable git accounts for developers who have not been active since > > a long time (like 10 years) ? > > > > (if these developers come back, the

Re: [FFmpeg-devel] [PATCH 01/15] libavformat: Increase probe buffer to 16MB

2024-11-13 Thread Michael Niedermayer
Hi On Tue, Oct 29, 2024 at 03:44:30PM +0100, Tomas Härdin wrote: > Needs a sample. An option or setting for probe size might be a good > idea > > Spotify comments > > In mp3 files, id3v2 tag with huge cover art causes the probe code to > not identify valid mp3 files as mp3. Incre

Re: [FFmpeg-devel] [PATCH] remove arpi from MAINTAINERS

2024-11-13 Thread Michael Niedermayer
Hi On Mon, Nov 11, 2024 at 06:06:07PM -1000, compn wrote: [...] > anyone know how to contact tim nicholson? his mails are > bouncing. https://uk.linkedin.com/in/tim-nicholson-7a2a3963 I have successfully re-established contact with tim (through linkedin) and have a new working email address thx

Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread compn
On Wed, 13 Nov 2024 12:29:22 -0500 Leo Izen wrote: > Yes, clearly, but an issue has come up that apparently we don't know > who has access to our infrastructure. How do we not know this? no. the server admins know who has access. the access list isnt a public document. some developers want it t

[FFmpeg-devel] [PATCH v2 1/3] checkasm/diracdsp: test add_dirac_obmc

2024-11-13 Thread Kyosuke Kawakami
Signed-off-by: Kyosuke Kawakami --- tests/checkasm/Makefile | 1 + tests/checkasm/checkasm.c | 3 ++ tests/checkasm/checkasm.h | 1 + tests/checkasm/diracdsp.c | 81 +++ tests/fate/checkasm.mak | 1 + 5 files changed, 87 insertions(+) create mode 10064

[FFmpeg-devel] [PATCH v2 2/3] avcodec/x86/diracdsp: migrate last remaining MMX function to SSE2

2024-11-13 Thread Kyosuke Kawakami
The add_dirac_obmc8_mmx function was the only MMX function left. This patch migrates it to SSE2. Here is checkasm benchmark results: diracdsp.add_dirac_obmc_8_c:2299.1 ( 1.00x) diracdsp.add_dirac_obmc_8_mmx: 237.6 ( 9.68x) diracdsp.add_dirac_obmc_8_sse2: 109.1 (21.07x) Signed-off-by: Kyos

[FFmpeg-devel] [PATCH v2 3/3] avcodec/x86/diracdsp_init: remove unused macro

2024-11-13 Thread Kyosuke Kawakami
PIXFUNC macro is unused since d29a9c2aa68fc3eb6d61ff95c698e29316037583. Signed-off-by: Kyosuke Kawakami --- libavcodec/x86/diracdsp_init.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavcodec/x86/diracdsp_init.c b/libavcodec/x86/diracdsp_init.c index 08247133e1..ef01ebdf2e 100644 -

Re: [FFmpeg-devel] [PATCH v2 3/6] ffv1enc: split off encoder initialization into a separate function

2024-11-13 Thread Michael Niedermayer
On Mon, Nov 11, 2024 at 04:40:15AM +0100, Lynne via ffmpeg-devel wrote: > --- > libavcodec/ffv1enc.c | 354 +++ > libavcodec/ffv1enc.h | 30 > 2 files changed, 217 insertions(+), 167 deletions(-) > create mode 100644 libavcodec/ffv1enc.h > > diff --g

Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread Ronald S. Bultje
Hi, On Wed, Nov 13, 2024 at 3:45 PM compn wrote: > people are using XV as an example, sure. > (I think you meant xz.) Ronald ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit

Re: [FFmpeg-devel] [PATCH 01/15] libavformat: Increase probe buffer to 16MB

2024-11-13 Thread Michael Niedermayer
On Wed, Nov 13, 2024 at 03:26:40PM +0100, Tomas Härdin wrote: > ons 2024-11-13 klockan 14:40 +0100 skrev Michael Niedermayer: > > Hi > > > > On Tue, Oct 29, 2024 at 03:44:30PM +0100, Tomas Härdin wrote: > > > Needs a sample. An option or setting for probe size might be a good > > > idea > > > > >

[FFmpeg-devel] [PATCH] delete unused variable ret in libavutil

2024-11-13 Thread 唐莎
0001-delete-unused-variable-ret.patch Description: Binary data ___ 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 subjec

[FFmpeg-devel] patchwork.ffmpeg.org is down

2024-11-13 Thread Dennis Mungai
Currently returning 504 Gateway Timeout for the last ~3 hours. ___ 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] patchwork.ffmpeg.org is down

2024-11-13 Thread Sean McGovern
Hi, On Wed, Nov 13, 2024, 20:33 Dennis Mungai wrote: > Currently returning 504 Gateway Timeout for the last ~3 hours. > Confirming I see the same error here. ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listi

[FFmpeg-devel] [PATCH] configure: add rv60 decoder golomb dependency

2024-11-13 Thread Peter Ross
Fixes standalone compilation of the rv60 decoder. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0e9ed6dc3c..3a614c76c1 100755 --- a/configure +++ b/configure @@ -3071,7 +3071,7 @@ rv20_decoder_select="h263_decoder" rv20_encoder_selec

Re: [FFmpeg-devel] [PATCH] delete unused variable ret in libavutil

2024-11-13 Thread Steven Liu
唐莎 于2024年11月14日周四 09:18写道: looks ok, the ret is unused. Thanks Steven > > ___ > 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..

Re: [FFmpeg-devel] [PATCH] delete unused variable ret in libavutil

2024-11-13 Thread Timo Rothenpieler
It's not down, just incredibly slow. I installed the latest update, and it's sending some new hyper-complex queries to the DB that are apparently super slow to handle. Added some indexes and optimized some settings now. It's a lot more responsive now, but still can take multiple seconds to rep

Re: [FFmpeg-devel] [PATCH] delete unused variable ret in libavutil

2024-11-13 Thread Timo Rothenpieler
On 14.11.2024 03:27, Timo Rothenpieler wrote: It's not down, just incredibly slow. I installed the latest update, and it's sending some new hyper-complex queries to the DB that are apparently super slow to handle. Added some indexes and optimized some settings now. It's a lot more responsive n

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

2024-11-13 Thread Scott Theisen
When attempting to upstream this MythTV change in September 2022, it was recommended to use AV_CHANNEL_ORDER_CUSTOM with two AV_CHAN_FRONT_CENTER channels. See https://patchwork.ffmpeg.org/project/ffmpeg/patch/20220921192611.3241-1-scott.the@gmail.com/ --- libavcodec/audiotoolboxdec.c| 4

[FFmpeg-devel] [PATCH] libavcodec/h264_refs.c: respect ref_frame_count when adding short term refs after a frame num gap

2024-11-13 Thread Scott Theisen
From: Janne Grunau this silences the "number of reference frames exceeds max (probably corrupt input), discarding one" message in the uninteresting cases, i.e. after seeking, playback start originally from: https://github.com/MythTV/mythtv/commit/53257097eb6c1fd4259d20bc92f8820a023ec953 referen

Re: [FFmpeg-devel] [PATCH v2 4/6] ffv1enc: move plane info init into a separate function

2024-11-13 Thread Michael Niedermayer
On Mon, Nov 11, 2024 at 04:40:16AM +0100, Lynne via ffmpeg-devel wrote: > --- > libavcodec/ffv1enc.c | 40 > libavcodec/ffv1enc.h | 2 ++ > 2 files changed, 26 insertions(+), 16 deletions(-) should be ok thx [...] -- Michael GnuPG fingerprint: 9FF2

Re: [FFmpeg-devel] [PATCH] lavu/common: Fix AV_CEIL_RSHIFT for unsigned LHS

2024-11-13 Thread Michael Niedermayer
Hi Nuo Mi On Sun, Nov 10, 2024 at 08:17:06PM +0800, Nuo Mi wrote: > On Mon, Oct 21, 2024 at 2:30 AM Michael Niedermayer > wrote: > > > On Fri, Oct 18, 2024 at 06:48:40PM +0100, Frank Plowman wrote: > > > On 15/10/2024 21:23, Frank Plowman wrote: > > > > On 14/10/2024 23:26, Michael Niedermayer w

Re: [FFmpeg-devel] [RFC] dormant git accounts

2024-11-13 Thread Leo Izen
On 11/13/24 1:15 PM, Michael Niedermayer wrote: so there are no unlabeled keys, its all there just not in an machiene parsable list for example your key addition looks like this: I see. If everyone who has access is known then I don't see any issue with disabling push access to accounts tha

[FFmpeg-devel] [PATCH] libavcodec/mediacodec: MythTV Fix for incorrect stride with amazon fire stick

2024-11-13 Thread Scott Theisen
From: Peter Bennett With 1080i MPEG2 video, amazon fire stick uses a different stride from what is returned. --- libavcodec/mediacodecdec_common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index 84c34ac270..b739a4

[FFmpeg-devel] [PATCH] libavformat/mpeg.c: add support for AAC LATM

2024-11-13 Thread Scott Theisen
ISO/IEC 13818-1:2021 Table 2-34 – Stream type assignments defines 0x11 as ISO/IEC 14496-3 Audio with the LATM transport syntax as defined in ISO/IEC 14496-3. This table applies to both Transport Streams and Program Streams. --- libavformat/mpeg.c | 3 +++ libavformat/mpeg.h | 1 + 2 files changed

[FFmpeg-devel] [PATCH] libavcodec/mpeg12dec.c: add CC format for user_data 0x05 0x02

2024-11-13 Thread Scott Theisen
Originally from: Fixes #2481, by applying patch from kenny at the-b org. This adds dec… https://github.com/MythTV/mythtv/commit/49d3294c9a4ef20a699c2bb2da08f33b294c86b3 Referencing: Trac #2481 (Closed Captioning contained in MPEG user data fields) – MythTV https://code.mythtv.org/trac/ticket/2481

[FFmpeg-devel] [PATCH v2 0/3] avcodec/x86/diracdsp: migrate last remaining MMX function to SSE2

2024-11-13 Thread Kyosuke Kawakami
This series of patch migrates the last remaining MMX function in diracdsp to SSE2. Changes from v1 are basically two things: - fix fate test failure - add a checkasm test case (thanks Ronald for suggestion!) ___ ffmpeg-devel mailing list ffmpeg-devel@ff

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

2024-11-13 Thread Scott Theisen
I don't know if any of these are still necessary since I have reduced MythTV's modifications to FFmpeg and replaced all uses of internal functions. Regards, Scott Theisen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman

[FFmpeg-devel] [PATCH 2/2] lavc/dvbsubdec.c: fix parsing of Display Definition Segment in DVB subtitles

2024-11-13 Thread Scott Theisen
From: Mark Kendall from https://github.com/MythTV/mythtv/commit/14bea9593c44a8cd4c7c60bb6c0e1c85147ceb07 references https://code.mythtv.org/trac/ticket/8061 --- libavcodec/avcodec.h | 4 libavcodec/dvbsubdec.c | 20 2 files changed, 16 insertions(+), 8 deletions(-)

[FFmpeg-devel] [PATCH 1/2] libavcodec/dvbsubdec.c: set color to black if fully transparent

2024-11-13 Thread Scott Theisen
From: Isaac Richards from: If a dvbsub palette is transparent, force it to be black. Fixes color creep on the one DVB sample I have. https://github.com/MythTV/mythtv/commit/e7fdb7a3a7f1bcf2fb54a1fc186243ee07db509b --- libavcodec/dvbsubdec.c | 5 +++ tests/ref/fate/sub-dvb | 72

Re: [FFmpeg-devel] [PATCH v2 3/6] ffv1enc: split off encoder initialization into a separate function

2024-11-13 Thread Lynne via ffmpeg-devel
On 11/14/24 00:46, Michael Niedermayer wrote: On Mon, Nov 11, 2024 at 04:40:15AM +0100, Lynne via ffmpeg-devel wrote: --- libavcodec/ffv1enc.c | 354 +++ libavcodec/ffv1enc.h | 30 2 files changed, 217 insertions(+), 167 deletions(-) create mo

[FFmpeg-devel] libavcodec/dvbsubdec.c: MythTV changes

2024-11-13 Thread Scott Theisen
These changes are from MythTV. I don't know if the change to AVSubtitleRect breaks the API. Regards, Scott Theisen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link abov

[FFmpeg-devel] [PATCH 1/3] libavformat/demux.c: compute_frame_duration() add null check

2024-11-13 Thread Scott Theisen
from https://github.com/MythTV/mythtv/commit/28d2b3e87763c6102d20cfe959547b1a5f5cd609 --- libavformat/demux.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/demux.c b/libavformat/demux.c index cba1f2e4df..b4fa7f912d 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @

[FFmpeg-devel] [PATCH 2/3] libavformat/demux.c: handle_new_packet() add null check

2024-11-13 Thread Scott Theisen
originally from: https://github.com/MythTV/mythtv/commit/c94d503eaef122566e88af200d5079353faf856b https://github.com/MythTV/mythtv/commit/3702a35152fc1e63c04fbc514b96dff21f8b3468 --- libavformat/demux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/demux.c b/libavformat/demux.

[FFmpeg-devel] [PATCH 3/3] libavformat/demux.c: update_initial_timestamps() add null check

2024-11-13 Thread Scott Theisen
originally from https://github.com/MythTV/mythtv/commit/1a9ae8fa0665b1c8928974f9a2176eb3aa27a7e5 --- libavformat/demux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/demux.c b/libavformat/demux.c index de792ceb3f..cbb8e37d45 100644 --- a/libavformat/demux.c +++ b/libavformat