On 13/03/2025 02:24, Andreas Rheinhardt wrote:
Lynne:
On 10/03/2025 18:42, Lynne wrote:
On 10/03/2025 04:14, Andreas Rheinhardt wrote:
Lynne:
---
libavcodec/ffv1.h | 3 +++
libavcodec/ffv1dec.c | 19 +--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --gi
姚靖威 (HE12025-03-13):
> The purpose of this patch is to modify the default buffer size of the avio
> module during compilation.
No, that is not the purpose, that is only what it does.
> On some resource-constrained devices to save memory, the current default
> value (32K), it can also be set to a
On Mon, Mar 10, 2025 at 11:46:10PM +0100, Anders Rein wrote:
> This will make it possible to transmit raw video over NUT without losing
> the field order information.
> ---
> libavformat/nut.c| 36 ++
> libavformat/nut.h| 3 +
> libavforma
From: Zhao Zhili
Optimizing memory footprint in memory-constrained systems.
Signed-off-by: Zhao Zhili
---
libavformat/avio.c| 2 ++
libavformat/version.h | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index d109f3adff..e1b959ed
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 in
> > > c
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.
Used extensively by Rebel Assault 1 for e.g. the cockpit: A STOR-ed
codec21 object which only covers parts of the buffer is FTCHed
as last object in
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 with escaped variables, so removed those.
Someone
From: softworkz
---
doc/fftools-common-opts.texi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi
index f6d452c40e..756c843c02 100644
--- a/doc/fftools-common-opts.texi
+++ b/doc/fftools-common-opts.texi
@@ -230,6 +230,8 @@ log to
In order do properly support the ANIM STOR/FTCH system, the FTCH
must replay a stored FOBJ and change the SANMContext's "GetByteContext"
member temporarily.
Signed-off-by: Manuel Lauss
---
libavcodec/sanm.c | 394 +++---
1 file changed, 198 insertions(+),
This is a follow-up to the my previous message:
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-March/340895.html
On 3/13/25 13:18, 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 pro
On Wed, Mar 12, 2025 at 04:04:20AM +, softworkz wrote:
> From: softworkz
>
> Signed-off-by: softworkz
> ---
> fftools/Makefile | 12 +
> fftools/ffprobe.c | 1849 -
> 2 files changed, 142 insertions(+), 1719 deletions(-)
breaks build for x86-3
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 stored in a file and passed to the linker.
---
ffbuild/library.mak | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/f
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.
> ---
> libavcodec/av1dec.c | 3 ++-
> libavcodec/d3d12va_av1.c
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 in
> > chained
> > `ogg/vorbis, `ogg/flac` and `ogg/opus` streams.
> >
> > ## Changes
On 13/03/2025 05:57, Andreas Rheinhardt wrote:
Lynne:
On 13/03/2025 02:24, Andreas Rheinhardt wrote:
Lynne:
On 10/03/2025 18:42, Lynne wrote:
On 10/03/2025 04:14, Andreas Rheinhardt wrote:
Lynne:
---
libavcodec/ffv1.h | 3 +++
libavcodec/ffv1dec.c | 19 +--
2
On Mar 13, 2025, at 19:30, 姚靖威 wrote:
>
> protocols like local socket and local file. In our product, I set
> avio-buffer-size
> value to 1024 in order to reduce memory.The OS we use is based on nuttx, it
> can be used in very small resource chips.
How about runtime option like this?
https://f
> On Mar 13, 2025, at 17:40, 姚靖威 wrote:
>
> The purpose of this patch is to modify the default buffer size of the avio
> module during compilation.
> On some resource-constrained devices to save memory, the current default
> value (32K), it can also be set to a smaller value.
Which protocol? A
Zhao Zhili 于2025年3月13日周四 20:50写道:
> On Mar 13, 2025, at 19:30, 姚靖威 wrote:
> >
> > protocols like local socket and local file. In our product, I set
> > avio-buffer-size
> > value to 1024 in order to reduce memory.The OS we use is based on nuttx,
> it
> > can be used in very small resource chips
This is useful elsewhere.
---
libavutil/vulkan.c | 163 -
libavutil/vulkan.h | 18 -
2 files changed, 178 insertions(+), 3 deletions(-)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 99c6af7e48..235c76d1d0 100644
--- a/libavutil/vulkan.
---
libavutil/vulkan.c | 51 ++
libavutil/vulkan.h | 7 +++
2 files changed, 58 insertions(+)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 3020f01bee..99c6af7e48 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -1560,6 +156
---
libavutil/hwcontext_vulkan.c | 190 ++-
1 file changed, 54 insertions(+), 136 deletions(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index fcff34b5e2..1104e02cfd 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_
This commit adds a 32-bit *integer* planar RGBA format.
Vulkan FFv1 decoding is best performed on separate planes, rather than
packed RGBA (i.e. RGBA128), hence this is useful as an intermediate format.
---
libavutil/pixdesc.c | 28
libavutil/pixfmt.h | 4
2 fil
---
libavutil/vulkan.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 235c76d1d0..e517a42b86 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -1719,6 +1719,29 @@ static VkFormat map_fmt_to_rep(VkFormat fmt, en
Enables non-monochrome video decoding using all our existing functions
in the context of an SDR decoder.
---
libavcodec/vulkan_av1.c| 4 +-
libavcodec/vulkan_decode.c | 90 --
libavcodec/vulkan_decode.h | 12 ++---
libavcodec/vulkan_h264.c | 4 +-
libavc
The shaders were written to support sharing, but needed slight
tweaking.
---
libavcodec/Makefile | 2 +-
libavcodec/ffv1_vulkan.c | 123 ++
libavcodec/ffv1_vulkan.h | 60 +++
libavcodec/ffv1enc_vulkan.c | 234 +---
This caps the number of contexts we create based on thread count.
This saves VRAM and filters out cases where more async is of lesser
benefit.
---
libavcodec/vulkan_decode.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulka
---
libavcodec/ffv1_vulkan.h| 1 +
libavcodec/ffv1enc_vulkan.c | 2 ++
libavcodec/vulkan/ffv1_enc_rct.comp | 17 ++---
libavutil/vulkan.c | 38 +
libavutil/vulkan.h | 6 +
5 files changed, 54 insertion
This adds a function which adds a regular timeline semaphore
as a wait-only dependency.
---
libavutil/vulkan.c | 28
libavutil/vulkan.h | 3 +++
2 files changed, 23 insertions(+), 8 deletions(-)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index b7cdc3a086..0
---
libavutil/hwcontext_vulkan.c | 1 +
libavutil/vulkan.c | 12 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 1104e02cfd..9720f427c4 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil
This patch adds a fully-featured level 3 and 4 decoder for FFv1,
supporting Golomb and all Range coding variants, all pixel formats,
and all features, except for the newly added floating-point formats.
On a 6000 Ada, for 3840x2160 bgr0 content at 50Mbps (standard desktop
recording), it is able to
---
libavcodec/vulkan_decode.c | 194 +++--
libavcodec/vulkan_decode.h | 11 +++
2 files changed, 154 insertions(+), 51 deletions(-)
diff --git a/libavcodec/vulkan_decode.c b/libavcodec/vulkan_decode.c
index c57998108c..594764a904 100644
--- a/libavcodec/vulkan_de
---
libavutil/vulkan.c | 34 +-
libavutil/vulkan.h | 8
2 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 8f6ee8a276..3020f01bee 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -2355,
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
- Various optimizations in the shade
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.
---
libavcodec/av1dec.c | 3 ++-
libavcodec/d3d12va_av1.c | 5 -
libavcode
This commit adds support for hardware accelerated decoding to
the decoder.
The previous commits already refactored the decoder, this commit
simply adds calls to hooks to decode.
---
libavcodec/ffv1.h| 2 ++
libavcodec/ffv1dec.c | 81 +++-
2 files change
Lynne:
> On 13/03/2025 05:57, Andreas Rheinhardt wrote:
>> Lynne:
>>>
>>>
>>> On 13/03/2025 02:24, Andreas Rheinhardt wrote:
Lynne:
> On 10/03/2025 18:42, Lynne wrote:
>> On 10/03/2025 04:14, Andreas Rheinhardt wrote:
>>> Lynne:
---
libavcodec/ffv1.h | 3 +
On 13/03/2025 18:48, Andreas Rheinhardt wrote:
Lynne:
On 13/03/2025 05:57, Andreas Rheinhardt wrote:
Lynne:
On 13/03/2025 02:24, Andreas Rheinhardt wrote:
Lynne:
On 10/03/2025 18:42, Lynne wrote:
On 10/03/2025 04:14, Andreas Rheinhardt wrote:
Lynne:
---
libavcodec/ffv1.h | 3
This matches how the libspeex decoder is calculating frame size (except in
clamp form).
Fixes #11495
---
libavcodec/speexdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c
index b335e2fbe8..0990338341 100644
--- a/libavcodec/sp
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, Dec 26, 2024 at 07:33:23PM +, Niklas Haas wrote:
> > > ffmpeg | branch: master | Niklas Haas | Mon Dec 16
> > > 14:49:39 2024 +0100| [af6d
Thank you for taking a look.
On Tue, Mar 11, 2025 at 4:45 PM Andreas Rheinhardt <
andreas.rheinha...@outlook.com> wrote:
> Pranav Kant via ffmpeg-devel:
> > By default, all globals in C/C++ compiled by clang are allocated
> > in non-large data sections. See [1] for background on code models.
> >
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
On Tue, Mar 11, 2025 at 02:04:30PM +0100, Michael Niedermayer wrote:
> and call it from ff_ffv1_encode_init()
>
> setting micro version from code writing the extradata is messy, this should
> be cleaner
>
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/ffv1enc.c | 27 +++
On Sun, Mar 09, 2025 at 11:58:03PM +0100, Michael Niedermayer wrote:
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavcodec/ffv1enc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c
> inde
Hi
On Sun, Jan 26, 2025 at 07:26:59PM +0100, Michael Niedermayer wrote:
> On Thu, Dec 26, 2024 at 07:33:23PM +, Niklas Haas wrote:
> > ffmpeg | branch: master | Niklas Haas | Mon Dec 16
> > 14:49:39 2024 +0100| [af6d52eec66961f6a502b0f2f390c12226d087cd] |
> > committer: Niklas Haas
> >
> >
Hi Jerome
On Tue, Mar 11, 2025 at 04:33:11PM +0100, Jerome Martinez wrote:
> Le 11/03/2025 à 15:04, Michael Niedermayer a écrit :
> > Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Implement jeromes idea of making
> > remap flip optional
>
> Thanks.
>
>
> > -if (sc->remap > 1U ||
> > -
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
https:/
From: softworkz
This gets fftools its own management of log level and flags for and
provides an fftools-specific logging callback.
This makes it easier to implement specific logging behaviors which are
incompatible with direct use of the av libs and cannot be done in
libavutil.
Signed-off-by: so
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 | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/avio.c b/lib
Hi Manuel
On Thu, Mar 13, 2025 at 12:14:53PM +0100, Manuel Lauss wrote:
> This patchset improves especially support for SMUSHv1 (Rebel Assault 1),
> adds missing codecs and functions and improves reliability of SMUSHv1/v2.
>
> #1 improves frame size detection.
> #3 changes the left/top values to
Manuel Lauss:
> This codec works on 4x4 pixel tiles, which can be generated and read
> from the datastream. They're both identical, codec5 misses a tile
> index to skip the current tile.
> Codecs33/34 are the same as 4/5 but with a different tileset generator.
> Used only in Rebel Assault 1.
>
>
On 14/03/2025 00:03, Lynne wrote:
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.
--
> 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 | 2 +-
>> 2
..and individual numbering. 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 those addresses
Before
==
[hevc @ 018e
From: softworkz
This commit adds the memaddresses log flag.
When specifying this flag at the command line, context prefixes will
be printed with memory addresses like in earlier ffmpeg versions.
Memory addresses are no longer printed by default.
The benefits are:
- Smaller log file sizes
- The
The purpose of this patch is to modify the default buffer size of the avio
module during compilation.
On some resource-constrained devices to save memory, the current default
value (32K), it can also be set to a smaller value.
Nicolas George 于2025年3月11日周二 19:55写道:
> joney...@gmail.com (HE12025-0
> On Mar 11, 2025, at 22:46, Zhao Zhili
> wrote:
>
>
>> 在 2025年3月11日,下午6:16,Wang Bin 写道:
>>
>> Zhao Zhili 于2025年3月11日周二 16:45写道:
>>
>>>
>>>
> On Mar 11, 2025, at 14:20, Wang Bin wrote:
supported by apple silicon
---
libavcodec/videotoolboxenc.c | 10 ++
Hi Gyan
On Wed, Mar 12, 2025 at 08:22:56PM +0530, 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.
> ---
> v2:
>static linking also switched to use a file
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 patchset improves especially support for SMUSHv1 (Rebel Assault 1),
adds missing codecs and functions and improves reliability of SMUSHv1/v2.
#1 improves frame size detection.
#3 changes the left/top values to signed, as RA1 makes heavy use of
negative offsets.
#4 adds workarounds for RA1
This codec works on 4x4 pixel tiles, which can be generated and read
from the datastream. They're both identical, codec5 misses a tile
index to skip the current tile.
Codecs33/34 are the same as 4/5 but with a different tileset generator.
Used only in Rebel Assault 1.
Signed-off-by: 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 +++
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 67963bb5d3..bf2ec40df4 100644
--- a/
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 fbb6e7231a..d4a84febc7 100
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
- clear the front buffer with color 0 when processing data.
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
protocols like local socket and local file. In our product, I set
avio-buffer-size
value to 1024 in order to reduce memory.The OS we use is based on nuttx, it
can be used in very small resource chips.
[image: image.png]
Zhao Zhili 于2025年3月13日周四 18:26写道:
>
>
> > On Mar 13, 2025, at 17:40, 姚靖威
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 | 36 +--
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
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
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Michael Niedermayer
> Sent: Freitag, 14. März 2025 01:28
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH] avcodec/vlc: Reduce debug logging
>
> Hi
>
> On Wed, Mar 12, 2025 at 03:48:20AM +00
70 matches
Mail list logo