[FFmpeg-devel] [PATCH 2/5] avcodec/ffv1: Add YAF16 support

2025-03-15 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1_parse.c | 6 -- libavcodec/ffv1dec.c| 4 ++-- libavcodec/ffv1enc.c| 33 + 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/libavcodec/ffv1_parse.c

[FFmpeg-devel] [PATCH v2 01/13] avcodec/sanm: disable left/top for fullscreen codecs

2025-03-15 Thread Manuel Lauss
The block-based codecs 37/47/48 work on the full frame, and there's no existing LucasArts game video that uses left/top offsets for these, as it doesn't make sense. Ignore the left/top parameters for these codecs. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 32 +++

[FFmpeg-devel] [PATCH v2 04/13] avcodec/sanm: better ANIMv1 engine support

2025-03-15 Thread Manuel Lauss
- clear the front buffer with color 0 on the first FOBJ. Fixes a lot of Rebel Assault 1 videos and Rebel Assault 2 space scenes (e.g. 08PLAY.SAN which consists only of codec1/2/21 objects which only ever touch parts of the buffer). - for ANIMv1 (Rebel Assault 1): set palette index 0 to all ze

[FFmpeg-devel] [PATCH 4/5] avcodec/ffv1enc: Fix signed type handling with remap

2025-03-15 Thread Michael Niedermayer
Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 3879d1b19a1..b3fb6560e5a 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c

[FFmpeg-devel] [PATCH v2 08/13] avcodec/sanm: codec21 decoder

2025-03-15 Thread Manuel Lauss
similar to codec23, this one alternatingly skips and writes bytes. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 45 + 1 file changed, 45 insertions(+) diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index aca5bf49ec..6080144235 100644 --- a/

[FFmpeg-devel] [PATCH] ffmpeg: add per-stream input option drop_changed

2025-03-15 Thread Gyan Doshi
This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that leads to loss of state in the filtergraph potentially leading to broken or aborted output, e.

Re: [FFmpeg-devel] [PATCH] avutil/vulkan: Remove unused ff_vk_create_avbuf()

2025-03-15 Thread Lynne
On 09/03/2025 17:53, Andreas Rheinhardt wrote: Patch attached. - Andreas LGTM. Buffer pools should be used instead of making individual buffers. And for buffers we import, I've added a new function which takes care of this in my FFv1 patchset. ___

[FFmpeg-devel] [PATCH 2/2] avcodec/ffv1dec_template: wrap around in fltmap table

2025-03-15 Thread Michael Niedermayer
Avoids out of array access Another solution may be choosen later if something else turns out to fit naturally into the decoder. But for now dont crash Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec_template.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/

Re: [FFmpeg-devel] [PATCH] Include field_mode information in NUT stream info

2025-03-15 Thread Anders Rein
Hi! Thanks for the feedback.I have no problem adding the "X-" prefix to the field order key, however I was just following the way "r_frame_rate" was passed. As far as I can see this field is not mentioned in nut.txt either and should also be using the X- prefix. Or am I missing something? On Mon,

Re: [FFmpeg-devel] [PATCH v4 2/3] avcodec/sanm: fobj left/top are signed

2025-03-15 Thread Michael Niedermayer
Hi On Sun, Mar 09, 2025 at 04:52:25PM +0100, Manuel Lauss wrote: > Hi Michael, > > On Sat, Mar 8, 2025 at 8:11 PM Michael Niedermayer > wrote: > > > > Hi Manuel > > > > On Tue, Mar 04, 2025 at 06:07:18PM +0100, Manuel Lauss wrote: > > > The left and top parameters of an FOBJ are signed values. >

Re: [FFmpeg-devel] [PATCH] avcodec/aom_film_grain: Cast const away to suppress compiler, warning

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply. - Andreas ___ 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.

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/pcm: Remove always-false check

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

[FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread James Almer
Regression since 0e917389fe73c932049635d947bba076f1709589. This change also reverts commit 431805c096738da7661a0baee2b12fe9724dcc95. Signed-off-by: James Almer --- libavcodec/exr.c | 38 -- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/libavco

Re: [FFmpeg-devel] [PATCH] ffmpeg: add per-stream input option drop_changed

2025-03-15 Thread Marton Balint
On Sat, 15 Mar 2025, Gyan Doshi wrote: This is a replacement in ffmpeg for the deprecated avcodec flag AV_CODEC_FLAG_DROPCHANGED. This option is meant to be used when the filtergraph should not be reinited upon input parameter changes as that leads to loss of state in the filtergraph potent

[FFmpeg-devel] [PATCH 1/3] avcodec/decode: Move is_open check to, avcodec_receive_frame()

2025-03-15 Thread Andreas Rheinhardt
Patches attached. - Andreas From 9636bd44f005059938e9f8526eba4a3a9af38914 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 10 Mar 2025 16:14:26 +0100 Subject: [PATCH 1/3] avcodec/decode: Move is_open check to avcodec_receive_frame() It also applies to scenarios where ff_encode_recei

[FFmpeg-devel] [PATCH] swscale/swscale_unscaled: account for semi planar formats with data in the msb

2025-03-15 Thread James Almer
Fixes fate failures introduced by recent tests that exercise the faulty code. Signed-off-by: James Almer --- libswscale/swscale_unscaled.c | 74 ++- tests/ref/pixfmt/p410-nv24| 2 +- tests/ref/pixfmt/p410-p412be | 2 +- tests/ref/pixfmt/p410-p412le | 2 +-

Re: [FFmpeg-devel] [PATCH] libavfilter: guard against ff_draw_init/ff_draw_init2 failures

2025-03-15 Thread Michael Niedermayer
Hi On Mon, Mar 10, 2025 at 10:18:44AM -0400, Nil Fons Miret via ffmpeg-devel wrote: > Thanks for the clarification, attaching an updated patch. The only > change is the one comment on qrencode.c. will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread James Almer
On 3/15/2025 8:35 PM, Michael Niedermayer wrote: Hi On Thu, Mar 13, 2025 at 11:08:09PM -0300, James Almer wrote: Regression since 0e917389fe73c932049635d947bba076f1709589. This change also reverts commit 431805c096738da7661a0baee2b12fe9724dcc95. Signed-off-by: James Almer --- libavcodec/exr

Re: [FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread Michael Niedermayer
Hi On Thu, Mar 13, 2025 at 11:08:09PM -0300, James Almer wrote: > Regression since 0e917389fe73c932049635d947bba076f1709589. > This change also reverts commit 431805c096738da7661a0baee2b12fe9724dcc95. > > Signed-off-by: James Almer > --- > libavcodec/exr.c | 38 +

Re: [FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread Michael Niedermayer
Hi On Sat, Mar 15, 2025 at 08:36:33PM -0300, James Almer wrote: > On 3/15/2025 8:35 PM, Michael Niedermayer wrote: > > Hi > > > > On Thu, Mar 13, 2025 at 11:08:09PM -0300, James Almer wrote: > > > Regression since 0e917389fe73c932049635d947bba076f1709589. > > > This change also reverts commit 431

Re: [FFmpeg-devel] [PATCH v8 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams

2025-03-15 Thread Romain Beauxis
Hi all! Le jeu. 13 mars 2025 à 08:43, Michael Niedermayer a écrit : > > Hi Romain > > On Tue, Mar 11, 2025 at 11:56:37AM -0500, Romain Beauxis wrote: > > Le mar. 11 mars 2025 à 11:55, Romain Beauxis > > a écrit : > > > > > > This is a series of patches to allow proper decoding of ogg metadata i

Re: [FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread James Almer
On 3/15/2025 8:42 PM, Michael Niedermayer wrote: Hi On Sat, Mar 15, 2025 at 08:36:33PM -0300, James Almer wrote: On 3/15/2025 8:35 PM, Michael Niedermayer wrote: Hi On Thu, Mar 13, 2025 at 11:08:09PM -0300, James Almer wrote: Regression since 0e917389fe73c932049635d947bba076f1709589. This ch

Re: [FFmpeg-devel] [PATCH v3] ffbuild: read library linker objects from a file

2025-03-15 Thread Gyan Doshi
On 2025-03-13 06:32 pm, Gyan Doshi wrote: The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now stored in a file and passed to the linker. --- v3: for reasons unknown to me, static linking doesn't appear to work on linux wi

[FFmpeg-devel] [PATCH v2 09/13] avcodec/sanm: codec4/5/33/34 decoder

2025-03-15 Thread Manuel Lauss
This codec works on 4x4 pixel tiles, which can be generated and also read from the datastream. Codec5 does not recognize the "skip-block" command; codecs33/34 are the same as 4/5 but with a different tileset generator. Signed-off-by: Manuel Lauss --- v2: had left+top swapped resulted in weird vi

[FFmpeg-devel] [PATCH v2 06/13] avcodec/sanm: codec2 decoder

2025-03-15 Thread Manuel Lauss
this codec consists of 4 byte packets: 2bytes delta-x, 1 byte delta-y and 1 byte color to put at that spot. Used in Rebel Assault 1 only. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 20 1 file changed, 20 insertions(+) diff --git a/libavcodec/sanm.c b/libavcodec/san

[FFmpeg-devel] [PATCH v2 03/13] avcodec/sanm: better frame size detection for old codecs

2025-03-15 Thread Manuel Lauss
The size of the video frame (FOBJ) of the old codecs (ANIMv0/1/2) can very reliably be determined: - ANIMv0/1 (=Rebel Assault 1) uses a 384x242 internal buffer for everything. The codec parameters only describe the size and offset of the specific FOBJ on that buffer. - ANIMv2 titles usually us

[FFmpeg-devel] [PATCH v2 07/13] avcodec/sanm: codec23 decoder

2025-03-15 Thread Manuel Lauss
This codec alternatingly skips and changes existing pixels. A second 16bit parameter in the FOBJ header indicates how to do the pixel changes: either by specifying a LUT in the codec datastream or by adding a constant value to the pixel. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 66 +++

[FFmpeg-devel] [PATCH v2 05/13] avcodec/sanm: fix codec3

2025-03-15 Thread Manuel Lauss
codec3 is codec1 which writes zero values instead of skipping them. This fixes a lot of RA1 videos. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index 069bc0400a..0c8ca73508 100

[FFmpeg-devel] [PATCH v2 13/13] MAINTAINERS: add Manuel Lauss as sanm.c/smush.c Maintainer

2025-03-15 Thread Manuel Lauss
As requested by Michael Niedermayer. Signed-off-by: Manuel Lauss --- v2: newly added. MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9714581c6b..917eca458e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -244,6 +244,7 @@ Codecs: rpza.c

[FFmpeg-devel] [PATCH v2 12/13] avcodec/sanm: ignore codec45

2025-03-15 Thread Manuel Lauss
Codec45 is used in some RA2 videos on top of codec37. It consists of 2 tables (768 and 32768 bytes), and datapackets like codec2 (delta-x, delta-y) with a pixel counter instead of a color value. It then reads the 4 surrounding pixels, looks up 3 separate values for each in table1, adds them togeth

[FFmpeg-devel] [PATCH v2 00/13] avcodec/sanm: various improvements

2025-03-15 Thread Manuel Lauss
This patchset improves especially support for SMUSHv1 (Rebel Assault 1), adds missing codecs and functions and improves reliability of SMUSHv1/v2. Changes in v2: - reordered first 3 patches as some regressed things without the following patch applied. - fixed codec4 left/top being swapped, resul

[FFmpeg-devel] [PATCH v2 11/13] avcodec/sanm: implement STOR/FTCH for ANIMv1

2025-03-15 Thread Manuel Lauss
Handle STOR/FTCH the same way the RA1 game engine does: On STOR, save the next following FOBJ (not the decoded image) in a buffer; decode it on FTCH. The RA1 codecs and the fobj handler now take an explicit GetByteContext in order to be able to replay stored data. Used extensively by Rebel Assault

[FFmpeg-devel] [PATCH v2 10/13] avcodec/sanm: codec37: reimplement comp4

2025-03-15 Thread Manuel Lauss
Compression 4 code 0 means copy from delta buffer without mv, AND start of a skip run. This gets rid of the extra case and column index manipulation and implements this as it is implemented in the original game exe, i.e. as a special case for after mv copy. Signed-off-by: Manuel Lauss --- libav

[FFmpeg-devel] [PATCH v2 02/13] avcodec/sanm: FOBJ left/top are signed values

2025-03-15 Thread Manuel Lauss
The left/top parameters of a FOBJ are signed values. Adjust codec1 code accordingly to not draw outside the buffer area. Rebel Assault 1 makes heavy use of this. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 33 ++--- 1 file changed, 18 insertions(+), 15 deleti

Re: [FFmpeg-devel] [PATCH 03/30] avcodec: remove deprecated FF_API_DROPCHANGED

2025-03-15 Thread Gyan Doshi
On 2025-02-24 03:14 pm, Gyan Doshi wrote: On 2025-02-24 03:36 am, James Almer wrote: Deprecated since 2023-07-15. Can you wait to push till I port this to ffmpeg_dec? Patch for replacement posted at https://ffmpeg.org/pipermail/ffmpeg-devel/2025-March/341210.html Regards, Gyan Re

Re: [FFmpeg-devel] Subject: [PATCH 01/17] avcodec/vlc: Merge VLCElem and RL_VLC_ELEM

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mpeg12dec: Use saturated addition when combining, error_count

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, v

Re: [FFmpeg-devel] [PATCH] avcodec: Mark init and close functions as av_cold

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> Patch attached. >> >> - Andreas >> > > Now truely attached. > > - Andreas > Will apply this patch tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http

[FFmpeg-devel] [PATCH] avcodec/exr: deprecate gamma and apply_trc options

2025-03-15 Thread James Almer
Decoders should not modify sample values, as that's the job of a library like swscale. Signed-off-by: James Almer --- libavcodec/exr.c | 38 ++ libavcodec/version_major.h | 1 + 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/libav

Re: [FFmpeg-devel] [FFmpeg-cvslog] swscale: use 16-bit intermediate precision for RGB/XYZ conversion

2025-03-15 Thread Michael Niedermayer
Hi On Fri, Mar 14, 2025 at 09:44:22PM +0100, Niklas Haas wrote: > On Fri, 14 Mar 2025 01:09:30 +0100 Niklas Haas wrote: > > On Fri, 14 Mar 2025 00:54:25 +0100 Michael Niedermayer > > wrote: > > > Hi > > > > > > On Sun, Jan 26, 2025 at 07:26:59PM +0100, Michael Niedermayer wrote: > > > > On Thu,

Re: [FFmpeg-devel] [PATCH] avcodec/exrdec: restore applying color transfer characteristics for float16 samples

2025-03-15 Thread Michael Niedermayer
On Sat, Mar 15, 2025 at 09:09:08PM -0300, James Almer wrote: > On 3/15/2025 8:42 PM, Michael Niedermayer wrote: > > Hi > > > > On Sat, Mar 15, 2025 at 08:36:33PM -0300, James Almer wrote: > > > On 3/15/2025 8:35 PM, Michael Niedermayer wrote: > > > > Hi > > > > > > > > On Thu, Mar 13, 2025 at 11:

[FFmpeg-devel] [PATCH] hwcontext_vulkan: add support for mapping multiplane images into CUDA

2025-03-15 Thread Lynne
This patch refactors the CUDA import code to allow for Vulkan images with multiple planes to be mapped. --- libavutil/hwcontext_vulkan.c | 262 +-- 1 file changed, 160 insertions(+), 102 deletions(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_v

[FFmpeg-devel] [PATCH 4/6] avformat/flvdec: Remove one level of indentation

2025-03-15 Thread Zhao Zhili
From: Zhao Zhili Also remove the condition of AMF_DATA_TYPE_BOOL when parse color info. There is no AMF_DATA_TYPE_BOOL type in color info. --- libavformat/flvdec.c | 66 +--- 1 file changed, 31 insertions(+), 35 deletions(-) diff --git a/libavformat/flvde

[FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-15 Thread Leandro Santiago
This is a POC/prototype that aims to enable out of tree filters on FFmpeg. Here I name them "extra filters". It introduces the program `jq` as a new build dependency. To test it, create a directory, for instance, /tmp/my-shiny-filter/ and inside it, create the following files: `filter.json`, wi

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/pcm: Remove always-false check

2025-03-15 Thread Ramiro Polla
On 3/13/25 06:49, Andreas Rheinhardt wrote: Patches attached. [PATCH 2/7] avcodec/pcm: Cache sample_size value diff --git a/libavcodec/pcm.c b/libavcodec/pcm.c index 5d8dcb8ff0..620acf0f46 100644 --- a/libavcodec/pcm.c +++ b/libavcodec/pcm.c @@ -328,17 +335,14 @@ static int pcm_decode_fram

Re: [FFmpeg-devel] [PATCH v4 15/16] FFHWAccel: add buffer_ref argument to start_frame

2025-03-15 Thread Lynne
On 13/03/2025 23:08, Andreas Rheinhardt wrote: Lynne: This commit adds a reference to the buffer as an argument to start_frame, and adapts all existing code. This allows for asynchronous hardware accelerators to skip copying packet data by referencing it. --- diff --git a/libavcodec/hevc/

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/{h263, ituh263, msmpeg4, snow}dec: Use proper, logcontext

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vis

Re: [FFmpeg-devel] [PATCH] ffbuild: read library linker objects from a file

2025-03-15 Thread Gyan Doshi
On 2025-03-12 03:12 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: On 2025-03-12 01:29 pm, Martin Storsjö wrote: On Wed, 12 Mar 2025, Gyan Doshi wrote: The linker command can exceed the maximum argument limit on MinGW, especially for libavcodec. The objects list is now s

Re: [FFmpeg-devel] [RFC] FFV1 float support

2025-03-15 Thread Jerome Martinez
Le 06/03/2025 à 17:37, Michael Niedermayer a écrit : On Thu, Mar 06, 2025 at 03:14:49AM +0100, Lynne wrote: On 06/03/2025 01:15, Michael Niedermayer wrote: Hi everyone Current FFv1 code with my patchset supports 16bit floats. The implementation is quite simple. Which is good I have tried impr

Re: [FFmpeg-devel] [PATCH FFmpeg 1/15] libavutil: add detectionbbox util functions

2025-03-15 Thread Lynne
On 08/03/2025 15:58, m.kaindl0...@gmail.com wrote: Those functions will be used by classify in the upcoming patches. Try the new filters using my Github Repo https://github.com/MaximilianKaindl/DeepFFMPEGVideoClassification. Any Feedback is appreciated! Signed-off-by: MaximilianKaindl ---

Re: [FFmpeg-devel] [PATCH v6 4/8] fftools/ffmpeg_filter: Move some declaration to new header file

2025-03-15 Thread Stefano Sabatini
On date Saturday 2025-03-08 20:16:30 +, softworkz wrote: > From: softworkz > > to allow print_graph to access the information. > > Signed-off-by: softworkz > --- > fftools/ffmpeg_filter.c | 188 +--- > fftools/ffmpeg_filter.h | 232 ++

[FFmpeg-devel] [PATCH 3/6] avformat/flvdec: Put FLVMetaVideoColor inside FLVContext directly

2025-03-15 Thread Zhao Zhili
From: Zhao Zhili 1. Rename metaVideoColor to meta_color_info 2. Allocated FLVMetaVideoColor together with FLVContext 3. Improve the use of meta_color_info_flag. Do a sequence of strcmp only if meta_color_info_flag is FLV_COLOR_INFO_FLAG_PARSING. 4. Check return value of amf_parse_object(). --- l

Re: [FFmpeg-devel] FFmpeg 4.4.6 and 4.2.11

2025-03-15 Thread Michael Niedermayer
On Wed, Mar 12, 2025 at 02:17:32PM +0100, Michael Niedermayer wrote: > On Mon, Mar 03, 2025 at 02:10:49AM +0100, Michael Niedermayer wrote: > > Hi all > > > > As ive already backported and somewhat tested release/4.3 i intend to > > make the next point release from that and after that next is > >

Re: [FFmpeg-devel] [PATCH 00/12] avcodec/sanm: various improvements

2025-03-15 Thread Michael Niedermayer
On Fri, Mar 14, 2025 at 08:07:08AM +0100, Manuel Lauss wrote: > Hi Michael, > > On Fri, Mar 14, 2025 at 1:06 AM Michael Niedermayer > wrote: > > > > Hi Manuel > > > > please add yourself to the MAINTAINER file for sanm with a patch > > you are already maintaining sanm, its just not written in the

[FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc_template: Be a bit more verbose on error

2025-03-15 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/ffv1enc_template.c b/libavcodec/ffv1enc_template.c index d8160282b2e..8b2d938770f 100644 --- a/libavcodec/ffv1enc_template.c +++ b/libavcodec/ffv

Re: [FFmpeg-devel] [PATCH] avfilter: POC: enable out-of-tree filters

2025-03-15 Thread Michael Niedermayer
Hi On Thu, Mar 13, 2025 at 01:18:49PM +0100, Leandro Santiago wrote: > This is a POC/prototype that aims to enable out of tree filters on > FFmpeg. > > Here I name them "extra filters". > > It introduces the program `jq` as a new build dependency. I dont think this dependency is needed to achi

[FFmpeg-devel] [PATCH v3 3/4] fftools: Provide a log formatting callback for context prefixes

2025-03-15 Thread softworkz
From: softworkz This allows to print logical ids instead of memory addresses. The benefits are: - Smaller log file sizes - The disambiguation is much easier to recognize and to follow - It eventually allows comparing and viewing log file diffs without almost every line being different due to t

Re: [FFmpeg-devel] [PATCH 00/31] Major library soname bump

2025-03-15 Thread Andreas Rheinhardt
James Almer: > It's been a year since the last bump, so lets get rid of old deprecated API > in time for ffmpeg 8.0 > Two more patches. - Andreas From 1c0532d20ce6f56902c94913dc6d8b5d7a714de9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 15 Mar 2025 22:10:44 +0100 Subject: [PATCH

Re: [FFmpeg-devel] [PATCH v4 00/16] Add a Vulkan compute based FFv1 hwaccel

2025-03-15 Thread Lynne
On 13/03/2025 18:03, Lynne wrote: This series of commits adds a fully compliant version 3 and 4 hardware accelerator code for FFv1 written in Vulkan. Changes from the previous version: - Use the exported host_map code in hwcontext_vulkan.c - Add a buffer_ref argument to FFHWAccel.start_frame

Re: [FFmpeg-devel] [PATCH 1/9] avcodec/msmpeg4enc: Inline constant

2025-03-15 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply this patchset tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, vi

Re: [FFmpeg-devel] [PATCH] avformat/avio: Add max_pkt_size option

2025-03-15 Thread Marton Balint
On Fri, 14 Mar 2025, Zhao Zhili wrote: On Mar 14, 2025, at 04:03, Marton Balint wrote: On Thu, 13 Mar 2025, Zhao Zhili wrote: From: Zhao Zhili Optimizing memory footprint in memory-constrained systems. Signed-off-by: Zhao Zhili --- libavformat/avio.c| 2 ++ libavformat/version.h

Re: [FFmpeg-devel] [PATCH] swscale/swscale_unscaled: account for semi planar formats with data in the msb

2025-03-15 Thread James Almer
On 3/14/2025 11:52 AM, James Almer wrote: Fixes fate failures introduced by recent tests that exercise the faulty code. Signed-off-by: James Almer --- libswscale/swscale_unscaled.c | 74 ++- tests/ref/pixfmt/p410-nv24| 2 +- tests/ref/pixfmt/p410-p412be

[FFmpeg-devel] [PATCH] avcodec/ffv1dec: set the FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM capability

2025-03-15 Thread James Almer
Will prevent decoding frame data during probing. Signed-off-by: James Almer --- libavcodec/ffv1dec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index b731f11297..998b981a33 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -6

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: set the FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM capability

2025-03-15 Thread Lynne
On 15/03/2025 20:10, James Almer wrote: Will prevent decoding frame data during probing. Signed-off-by: James Almer --- libavcodec/ffv1dec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index b731f11297..998b981a33 100644 --- a/libavcode