Hi.
We currently have a build failure on Debian Testing (and certainly
Unstable):
CC libavformat/adtsenc.o
src/libavcodec/x86/mathops.h: Assembler messages:
×19 src/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
make: *** [src/ffbuild/common.
If nobody has further comments, I intend to push the patch tomorrow.
--
Anton Khirnov
___
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...
It is immediately followed by avio_close(), which is documented to flush
the buffers.
---
fftools/ffmpeg_demux.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index a6df2a1904..40bbfa0c0e 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_
Also, check the return code of avio_close().
---
fftools/ffmpeg_demux.c | 19 ---
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 40bbfa0c0e..498830098d 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_dem
---
fftools/ffmpeg_mux_init.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 6ab541d7c5..8a3e7b98cf 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -2380,7 +2380,7 @@ int of_
Makes it more clear what was written where.
---
fftools/ffmpeg_demux.c | 4
1 file changed, 4 insertions(+)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 498830098d..ab99daf9f8 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -1288,6 +1288,10 @@ static
---
fftools/ffmpeg.h | 2 +-
fftools/ffmpeg_demux.c| 4 +++-
fftools/ffmpeg_mux_init.c | 11 ---
fftools/ffmpeg_opt.c | 12 +++-
4 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 3201163a4f..30020cd0f8 100
This line was added in c30a4489b44 along with
AVStream.sample_aspect_ratio. However, configuring SAR for video
encoding is now done after this code (specifically in enc_open(), which
is called when the first video frame to be encoded is obtained), so this
line cannot have any meaningful effect.
---
* return error codes instead of aborting
* avoid leaking the AVIOContext on failure
* check the return code of avio_read()
---
fftools/ffmpeg_mux_init.c | 44 +++
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/
When no frames were passed from a filtergraph to an encoder, but the
filtergraph is configured (i.e. has output parameters), encoder flush
code will use those parameters to initialize the encoder in a last-ditch
effort to produce some useful output.
Rework this process so that it is triggered by t
ost_add() has a very large variable declaration prologue, performing
"active" actions that can fail in there is confusing.
---
fftools/ffmpeg_mux_init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 8e640610cd..bd4
Mainly concerns new_stream_*() and their callees.
---
fftools/ffmpeg_mux_init.c | 126 --
1 file changed, 79 insertions(+), 47 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 2bd152039d..4b7961b833 100644
--- a/fftools/ffmp
---
fftools/ffmpeg_mux_init.c | 88 +++
1 file changed, 53 insertions(+), 35 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index bd4c0a9f97..8ad799f951 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -
---
fftools/ffmpeg_mux_init.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 4d40ceda05..dbc58abea8 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -1558,7 +1558,7 @@ static void o
---
fftools/ffmpeg_demux.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index 5d3e043793..a6df2a1904 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -1349,7 +1349,7 @@ int ifile_open(const
---
fftools/ffmpeg.h | 2 +-
fftools/ffmpeg_dec.c | 4 +++-
fftools/ffmpeg_enc.c | 16
3 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index fdee20d6b2..bcd9cc584e 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -8
ffmpeg CLI pixel format selection for filtering currently special-cases
MJPEG encoding, where it will restrict the supported list of pixel
formats depending on the value of the -strict option. In order to get
that value it will apply it from the options dict into the encoder
context, which is a hig
---
fftools/ffmpeg_mux_init.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index f85357d8e4..7a8c935795 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -2245,8 +2245,8 @@ static in
---
fftools/ffmpeg_mux_init.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 8ad799f951..f85357d8e4 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -2089,7 +2089,7 @@ static int
Read the timebase from FrameData rather than the input stream. This
should fix #10393 and generally be more reliable.
Replace the use of '-1' to indicate demuxing timebase with the string
'demux'. Also allow to request filter timebase with
'-enc_time_base filter'.
---
doc/ffmpeg.texi |
Replace duplicated(!) and broken* custom string parsing with
av_dict_parse_string(). Return error codes instead of aborting.
* e.g. it treats NULL returned from av_get_token() as "separator not
found", when in fact av_get_token() only returns NULL on memory
allocation failure
---
fftools/ffmp
---
fftools/ffmpeg_mux_init.c | 92 +++
1 file changed, 55 insertions(+), 37 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 47b6f826b6..8e640610cd 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -
Stop claiming the argument is always a floating point number, which
* confuses floating point and decimal numbers
* is not always true even accounting for the above point
---
doc/ffmpeg.texi | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.tex
---
fftools/ffmpeg_demux.c | 70 ++
1 file changed, 43 insertions(+), 27 deletions(-)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index bc915178ec..9e7f13a2b4 100644
--- a/fftools/ffmpeg_demux.c
+++ b/fftools/ffmpeg_demux.c
@@ -964,8 +964,8
None are returned for now, but that will change in future commits.
---
fftools/ffmpeg.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 68924d21e0..dd7cfcf632 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1103,6 +110
---
fftools/ffmpeg_mux_init.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 7a8c935795..3a327048bb 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -2342,7 +2342,7 @@ static int pr
---
fftools/ffmpeg_mux_init.c | 63 ---
1 file changed, 39 insertions(+), 24 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index b0befb8924..2bd152039d 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -
---
fftools/ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 96638242f3..68924d21e0 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1094,7 +1094,7 @@ static int process_input(int file_index)
av_log(ifile, A
It should not be accessed from outside of filtering code.
---
fftools/ffmpeg.h| 1 -
fftools/ffmpeg_filter.c | 18 ++
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index bcd9cc584e..bd6b0ed6d1 100644
--- a/fftools/ffmpe
---
fftools/ffmpeg.h | 2 +-
fftools/ffmpeg_mux.c | 20
2 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 30020cd0f8..fdee20d6b2 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -826,7 +826,7 @@ void of_output
When -pix_fmt designates a BE/LE pixel format, it gets translated into
the native one by av_get_pix_fmt(). This may not always be the best
choice, as the encoder might only support one endianness. In such a
case, explicitly choose the endianness supported by the encoder.
While this is currently re
When the user explicitly specifies a pixel format that is not supported
by the encoder, ffmpeg CLI will currently use some heuristics to pick
another supported format. This is wrong and the correct action here is
to fail.
Surprisingly, a number of FATE tests are affected by this and actually
use a
It now contains data from multiple sources, so group those items that
always come from the decoder. Also, initialize them to invalid values,
so that frames that did not originate from a decoder can be
distinguished.
---
fftools/ffmpeg.c | 8 +++-
fftools/ffmpeg.h | 10 +++---
ffto
Otherwise this has no effect.
Will be useful in following commits.
---
fftools/ffmpeg_filter.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index f8e64ce6cc..4955fe38dd 100644
--- a/fftools/ffmpeg_filter.c
+++ b/ffto
This is possible now that enc_open() is always called with a non-NULL
frame for audio/video.
Previously the code would directly reach into the buffersink, which is a
layering violation.
---
fftools/ffmpeg_enc.c | 35 +--
1 file changed, 21 insertions(+), 14 deletio
On 7/13/2023 7:06 AM, Nicolas George wrote:
Hi.
We currently have a build failure on Debian Testing (and certainly
Unstable):
CC libavformat/adtsenc.o
src/libavcodec/x86/mathops.h: Assembler messages:
×19 src/libavcodec/x86/mathops.h:125: Error: operand type mismatch
> On Jul 13, 2023, at 18:55, Anton Khirnov wrote:
>
> ---
> fftools/ffmpeg_mux_init.c | 16
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
> index 6ab541d7c5..8a3e7b98cf 100644
> --- a/fftools/ffmpeg_mux_
Quoting zhilizhao(赵志立) (2023-07-13 14:01:48)
>
>
> > On Jul 13, 2023, at 18:55, Anton Khirnov wrote:
> >
> > ---
> > fftools/ffmpeg_mux_init.c | 16
> > 1 file changed, 8 insertions(+), 8 deletions(-)
> >
> > diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
>
Hi, Martin,
Thanks for your comments.
I have now amended the unreasonable parts of ldp/stp that I have seen.
And I updated patch 3 and patch 5. (Although I have attached all 5 patches)
In addition, I thought that q8-q15 was required to be saved according to
the calling convention before, but
On 2023-07-12 07:14 pm, Anton Khirnov wrote:
Quoting Gyan Doshi (2023-07-12 15:31:57)
On 2023-07-12 06:51 pm, James Almer wrote:
On 7/12/2023 10:14 AM, Gyan Doshi wrote:
On 2023-07-12 06:12 pm, James Almer wrote:
On 7/9/2023 9:57 AM, Anton Khirnov wrote:
This decoding flag makes decoders
On Fri, Jul 7, 2023 at 2:31 PM David Lemler wrote:
>
> Prevent the fifo used in encoding VPx videos from filling up and
> stopping encode when it reaches 21845 items, which happens when the
> video has more than that number of frames.
>
> Incorporated suggestion from James Zern to prevent calling
On Thu, Jul 13, 2023 at 01:36:53AM +0200, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer
> ---
> libavradio/rds.c | 3 +++
> 1 file changed, 3 insertions(+)
will apply
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally aris
will apply.
___
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 "unsubscribe".
This increases the group multiplier as per T-Head C910 benchmarks:
inverse_coupling_c: 4597.0
inverse_coupling_rvv_i32: 1312.7 (m1)
inverse_coupling_rvv_i32: 1116.7 (m2)
inverse_coupling_rvv_i32: 732.2 (m4)
inverse_coupling_rvv_i32: 898.0 (m8)
---
libavcodec/riscv/vorbisdsp_rvv.S | 2 +-
1 file
This increases the group multiplier as per T-Head C910 benchmarks:
alac_append_extra_bits_mono_c: 803.0
alac_append_extra_bits_stereo_c: 1604.2
alac_decorrelate_stereo_c: 1077.5
LMUL=1
alac_append_extra_bits_mono_rvv_i32: 418.2
alac_append_extra_bits_stereo_rvv_i32: 693.2
alac_decorrelate_stereo_
Quoting Gyan Doshi (2023-07-13 21:20:32)
>
>
> On 2023-07-12 07:14 pm, Anton Khirnov wrote:
> > Quoting Gyan Doshi (2023-07-12 15:31:57)
> >>
> >> On 2023-07-12 06:51 pm, James Almer wrote:
> >>> On 7/12/2023 10:14 AM, Gyan Doshi wrote:
>
> On 2023-07-12 06:12 pm, James Almer wrote:
> >
On Wed, Jun 28, 2023 at 4:27 PM James Almer wrote:
>
> On 6/28/2023 8:25 PM, Ronald S. Bultje wrote:
> > Hi,
> >
> > On Wed, Jun 28, 2023 at 12:48 PM Vignesh Venkat <
> > vigneshv-at-google@ffmpeg.org> wrote:
> >
> >> i will update the upstream bug to clarify this part. but in the
> >> meantim
Hi,
On Thu, Jul 13, 2023 at 5:13 PM Vignesh Venkat <
vigneshv-at-google@ffmpeg.org> wrote:
> On Wed, Jun 28, 2023 at 4:27 PM James Almer wrote:
> >
> > On 6/28/2023 8:25 PM, Ronald S. Bultje wrote:
> > > Hi,
> > >
> > > On Wed, Jun 28, 2023 at 12:48 PM Vignesh Venkat <
> > > vigneshv-at-goog
On Thu, Jul 13, 2023 at 12:55:45PM +0200, Anton Khirnov wrote:
> When the user explicitly specifies a pixel format that is not supported
> by the encoder, ffmpeg CLI will currently use some heuristics to pick
> another supported format. This is wrong and the correct action here is
> to fail.
>
> S
On Thu, Jul 13, 2023 at 12:55:36PM +0200, Anton Khirnov wrote:
> Replace duplicated(!) and broken* custom string parsing with
> av_dict_parse_string(). Return error codes instead of aborting.
>
> * e.g. it treats NULL returned from av_get_token() as "separator not
> found", when in fact av_get_t
50 matches
Mail list logo