Re: [FFmpeg-devel] [PATCH] Add init_program_date_time so start time can be specified

2023-10-17 Thread David Johansen
On Tue, Oct 17, 2023 at 7:09 PM wrote: > > > On 17 Oct 2023, at 17:51, Dave Johansen wrote: > > > --- > > doc/muxers.texi | 3 +++ > > libavformat/hlsenc.c | 7 ++- > > 2 files changed, 9 insertions(+), 1 deletion(-) > > > > diff --git a/doc/muxers.texi b/doc/muxers.texi > > index f6071

Re: [FFmpeg-devel] [PATCH] Add init_program_date_time so start time can be specified

2023-10-17 Thread epirat07
On 17 Oct 2023, at 17:51, Dave Johansen wrote: > --- > doc/muxers.texi | 3 +++ > libavformat/hlsenc.c | 7 ++- > 2 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index f6071484ff..87c19a5cb9 100644 > --- a/doc/muxers.texi > +++ b/doc

Re: [FFmpeg-devel] [RFC] A file format to store generic raw image/video files

2023-10-17 Thread Lynne
Oct 18, 2023, 00:12 by ffmpeg-devel@ffmpeg.org: > # RFC: A file format to store generic raw image/video files > > Context: Developers and researchers often want to use raw image/video > files, as they avoid the effects of encoding. Dealing with raw > image/video files is typically done using raw f

[FFmpeg-devel] [PATCH 2/2] avcodec/hevc_ps: Dont leave invalid cpb_cnt_minus1 in the context

2023-10-17 Thread Michael Niedermayer
Fixes: index 32 out of bounds for type 'uint32_t [32]' Fixes: 63003/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-4685160840560640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hevc_p

[FFmpeg-devel] [PATCH 1/2] avformat/mxfdec: Check klv offset

2023-10-17 Thread Michael Niedermayer
Fixes: Assertion klv_offset >= mxf->run_in failed at libavformat/mxfdec.c:736 Fixes: 62936/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_fuzzer-5778404366221312.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niederm

Re: [FFmpeg-devel] [RFC] A file format to store generic raw image/video files

2023-10-17 Thread Nicolas George
Chema Gonzalez via ffmpeg-devel (12023-10-17): > # RFC: A file format to store generic raw image/video files > > Context: Developers and researchers often want to use raw image/video > files, as they avoid the effects of encoding. Dealing with raw Looks like a XY problem. > We propose a new raw

[FFmpeg-devel] [RFC] A file format to store generic raw image/video files

2023-10-17 Thread Chema Gonzalez via ffmpeg-devel
# RFC: A file format to store generic raw image/video files Context: Developers and researchers often want to use raw image/video files, as they avoid the effects of encoding. Dealing with raw image/video files is typically done using raw files. This is an operational pain point, as the metadata a

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread Michael Niedermayer
On Tue, Oct 17, 2023 at 11:57:45PM +0200, Michael Niedermayer wrote: > On Tue, Oct 17, 2023 at 09:50:41PM +0300, Rémi Denis-Courmont wrote: [...] > > If the revenue and balance were much higher, you could > > hire all of them. But you can't, and then the simplest and safest way to > > avoid > > m

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread Michael Niedermayer
On Tue, Oct 17, 2023 at 09:50:41PM +0300, Rémi Denis-Courmont wrote: > Le perjantaina 13. lokakuuta 2023, 22.19.34 EEST Michael Niedermayer a écrit : > > But some goals would probably be to make sws > > * pleasent to work with > > * similar speed or faster > > * proper multithreading > > * proper f

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: Fix for windows imprecise sleep

2023-10-17 Thread Kacper Michajlow
On Tue, 17 Oct 2023 at 19:34, Evgeny Pavlov wrote: > > The reason for using av_usleep() here is that AMF API doesn’t provide an > API for explicit wait. There are two modes to get output from encoder: > > 1. Polling with some sleep to avoid CPU thrashing – currently used in FFmpeg > > 2. Set timeo

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread Rémi Denis-Courmont
Le perjantaina 13. lokakuuta 2023, 22.19.34 EEST Michael Niedermayer a écrit : > But some goals would probably be to make sws > * pleasent to work with > * similar speed or faster > * proper multithreading > * proper full colorspace convertion not ignoring gamma, primaries, ... > * clean / understa

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread James Almer
On 10/14/2023 2:53 PM, Stefano Sabatini wrote: On date Friday 2023-10-13 21:19:34 +0200, Michael Niedermayer wrote: Hi everyone I propose using 15k$ from SPI for funding sws cleanup work. this is substantially less than what people belive this needs (see IRC logs from yesterday or so) So it re

Re: [FFmpeg-devel] [PATCH avcodec/amfenc: 10 bit support, v4, 1/3] avcodec/amfenc: Fixes the color information in the output.

2023-10-17 Thread Evgeny Pavlov
On Mon, Oct 16, 2023 at 11:41 PM Mark Thompson wrote: > On 09/10/2023 10:52, Evgeny Pavlov wrote: > > From: Michael Fabian 'Xaymar' Dirks > > > > added 10 bit support for amf hevc. > > > > before: > > > > command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va > -hwaccel_output_format d3d11 -i tes

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: Fix for windows imprecise sleep

2023-10-17 Thread Evgeny Pavlov
The reason for using av_usleep() here is that AMF API doesn’t provide an API for explicit wait. There are two modes to get output from encoder: 1. Polling with some sleep to avoid CPU thrashing – currently used in FFmpeg 2. Set timeout parameter on AMF encoder and QueryOutput call will block till

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread Cosmin Stejerean via ffmpeg-devel
> On Oct 17, 2023, at 7:36 AM, Michael Niedermayer > wrote: > > On Sat, Oct 14, 2023 at 07:53:04PM +0200, Stefano Sabatini wrote: >> >> It would be useful at this point to define the process to accept the >> proposal and potential candidates. We have a technical committee which >> might take

[FFmpeg-devel] [PATCH] Add init_program_date_time so start time can be specified

2023-10-17 Thread Dave Johansen
--- doc/muxers.texi | 3 +++ libavformat/hlsenc.c | 7 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index f6071484ff..87c19a5cb9 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1086,6 +1086,9 @@ seeking. This flag should be use

Re: [FFmpeg-devel] SWS cleanup / SPI Funding Suggestion

2023-10-17 Thread Michael Niedermayer
On Sat, Oct 14, 2023 at 07:53:04PM +0200, Stefano Sabatini wrote: > On date Friday 2023-10-13 21:19:34 +0200, Michael Niedermayer wrote: > > Hi everyone > > > > I propose using 15k$ from SPI for funding sws cleanup work. > > this is substantially less than what people belive this needs (see IRC lo

[FFmpeg-devel] [PATCH v4 3/3] lavc/libaribcaption.c: rename `-replace_fullwidth_ascii` option

2023-10-17 Thread TADANO Tokumei
This patch renames `-replace_fullwidth_ascii` option to `-replace_msz_ascii` to clarify option meaning. Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 12 ++-- libavcodec/libaribcaption.c | 8 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc

[FFmpeg-devel] [PATCH v4 2/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
This patch add MSZ (Middle Size; half width) characters related options. * add `-replace_msz_japanese` option introduced in version 1.0.1 of libaribcaption. * add `-replace_msz_glyph` option introduced in version 1.1.0 of libaribcaption. If specified fonts contain half-width glyphs (e.g., BIZ

[FFmpeg-devel] [PATCH v4 1/3] lavc/libaribcaption.c: FIX: change all `boot` option var to `int`

2023-10-17 Thread TADANO Tokumei
This patch fixes a bug in curret version. On some environments, a `bool` variable is small space than `int`. If a `bool` option was specified by command line, following variables would be filled and may be destroyed by av_opt_copy(). This patch change all the `bool` option variables in `ARIBCapti

[FFmpeg-devel] [PATCH v4 0/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
Re-send the patchset. The patches are same as v3, but its thread were corrupted. - This patch add MSZ (Middle Size; half width) characters related options and some fixes. As Jan suggested to PATCH v2, I split it into 3 patches, drop `#if`s, and bump required libaribcaption version to 1.1.1 (a

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: fix static building

2023-10-17 Thread Tomas Härdin
tis 2023-09-19 klockan 17:12 +0200 skrev Michael Riedl: > MXF muxer requires rangecoder otherwise static linking fails. > > Signed-off-by: Michael Riedl Pushed /Tomas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/lis

Re: [FFmpeg-devel] [PATCH v1] avcodec/cbs: Keep ff_cbs_trace_syntax_element

2023-10-17 Thread Dai, Jianhui J
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Tuesday, October 17, 2023 5:14 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/cbs: Keep > ff_cbs_trace_syntax_element > > On 10/10/2023 04:30, Dai, Jianhui J wrote: > >> --

Re: [FFmpeg-devel] [PATCH v2] doc: add spi.txt

2023-10-17 Thread epirat07
On 17 Oct 2023, at 9:29, Stefano Sabatini wrote: > On date Monday 2023-10-16 06:34:45 +0200, Lynne wrote: >> Oct 16, 2023, 00:50 by mich...@niedermayer.cc: >> >>> This explains how to request refunds and what can be funded by SPI >>> >>> Co-Author: Stefano Sabatini >>> --- >>> doc/spi.txt | 7

[FFmpeg-devel] [PATCH 4/5] aarch64: Manually tweak vertical alignment/indentation in tx_float_neon.S

2023-10-17 Thread Martin Storsjö
Favour left aligned columns over right aligned columns. In principle either style should be ok, but some of the cases easily lead to incorrect indentation in the surrounding code (see a couple of cases fixed up in the preceding patch), and show up in automatic indentation correction attempts. ---

[FFmpeg-devel] [PATCH 3/5] aarch64: Make the indentation more consistent

2023-10-17 Thread Martin Storsjö
Some functions have slightly different indentation styles; try to match the surrounding code. libavcodec/aarch64/vc1dsp_neon.S is skipped here, as it intentionally uses a layered indentation style to visually show how different unrolled/interleaved phases fit together. --- libavcodec/aarch64/h264

[FFmpeg-devel] [PATCH 2/5] aarch64: Lowercase UXTW/SXTW and similar flags

2023-10-17 Thread Martin Storsjö
--- libavcodec/aarch64/h264cmc_neon.S | 4 +- libavcodec/aarch64/h264idct_neon.S| 2 +- libavfilter/aarch64/vf_bwdif_neon.S | 6 +- libavfilter/aarch64/vf_nlmeans_neon.S | 8 +- libswscale/aarch64/hscale.S | 176 +- libswscale/aarch64/yuv2rgb_neo

[FFmpeg-devel] [PATCH v3 3/3] lavc/libaribcaption.c: rename `-replace_fullwidth_ascii` option

2023-10-17 Thread TADANO Tokumei
This patch renames `-replace_fullwidth_ascii` option to `-replace_msz_ascii` to clarify option meaning. Signed-off-by: TADANO Tokumei --- doc/decoders.texi | 12 ++-- libavcodec/libaribcaption.c | 8 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc

[FFmpeg-devel] [PATCH v3 2/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
This patch add MSZ (Middle Size; half width) characters related options. * add `-replace_msz_japanese` option introduced in version 1.0.1 of libaribcaption. * add `-replace_msz_glyph` option introduced in version 1.1.0 of libaribcaption. If specified fonts contain half-width glyphs (e.g., BIZ

[FFmpeg-devel] [PATCH v3 1/3] lavc/libaribcaption.c: FIX: change all `boot` option var to `int`

2023-10-17 Thread TADANO Tokumei
This patch fixes a bug in curret version. On some environments, a `bool` variable is small space than `int`. If a `bool` option was specified by command line, following variables would be filled and may be destroyed by av_opt_copy(). This patch change all the `bool` option variables in `ARIBCapti

[FFmpeg-devel] [PATCH v3 0/3] lavc/libaribcaption.c: add MSZ characters related options

2023-10-17 Thread TADANO Tokumei
This patch add MSZ (Middle Size; half width) characters related options and some fixes. As Jan suggested to PATCH v2, I split it into 3 patches, drop `#if`s, and bump required libaribcaption version to 1.1.1 (author preferred version). TADANO Tokumei (3): lavc/libaribcaption.c: FIX: change all

Re: [FFmpeg-devel] [PATCH v2] doc: add spi.txt

2023-10-17 Thread Stefano Sabatini
On date Monday 2023-10-16 06:34:45 +0200, Lynne wrote: > Oct 16, 2023, 00:50 by mich...@niedermayer.cc: > > > This explains how to request refunds and what can be funded by SPI > > > > Co-Author: Stefano Sabatini > > --- > > doc/spi.txt | 73 +

Re: [FFmpeg-devel] [PATCH v2] doc: add spi.txt

2023-10-17 Thread Stefano Sabatini
On date Monday 2023-10-16 00:49:56 +0200, Michael Niedermayer wrote: > This explains how to request refunds and what can be funded by SPI > > Co-Author: Stefano Sabatini > --- > doc/spi.txt | 73 + > 1 file changed, 73 insertions(+) > create m