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
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 +++
- 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
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
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/
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.
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.
___
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/
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,
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.
>
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.
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
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
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
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
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 +-
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
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
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 +
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
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
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
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
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
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
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
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 +++
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
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
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
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
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
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
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
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
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
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
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
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
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,
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:
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
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
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
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
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/
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
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
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
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
---
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 ++
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
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
> >
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
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
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
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
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
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
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
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
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
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
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
64 matches
Mail list logo