Quoting Zhao Zhili (2023-01-04 17:12:56)
> > It is currently an API guarantee that all encoders return valid DTS
> > values, so this encoder is behaving in an invalid way.
>
> It's an reasonable requirement, but could you elaborate on where is the doc
> explicitly says that?
I am not aware of thi
From: Zhao Zhili
---
libavcodec/hevc_parse.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/hevc_parse.c b/libavcodec/hevc_parse.c
index 29dfd479f3..dddb293df6 100644
--- a/libavcodec/hevc_parse.c
+++ b/libavcodec/hevc_parse.c
@@ -37,8 +37,6 @@ static int hevc_decode_nal_units(c
From: Zhao Zhili
This is a POC for adding hevc alpha layer decoding support. I'd like to
know:
1. Is there any plan/interesting to add fullly support inside our hevc
decoder? If the answer is yes, then the patchset is less useful.
2. What does the current method break?
3. Any idea to improve the
From: Zhao Zhili
It can be used to decode selected independent non-base layer. One
use case is alpha layer decoding.
Signed-off-by: Zhao Zhili
---
libavcodec/hevcdec.c | 20 +++-
libavcodec/version.h | 2 +-
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/libav
From: Zhao Zhili
---
libavcodec/cbs_h2645.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 4ee06003c3..b12abede29 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -477,9 +477,6 @@ static int
cbs_h2645_fragment_add_n
From: Zhao Zhili
Extract NALUs with the specified nuh_layer_id and rewrite as base
layer. For example, to extract alpha layer with nuh_layer_id equal
to 1:
./ffmpeg -i alpha.mp4 \
-an -c:v copy \
-bsf:v hevc_mp4toannexb,hevc_metadata=nuh_layer_id=1 \
alpha.hevc
---
doc/b
On Ma, 2023-01-02 at 19:32 +, Aman Karmani wrote:
> From: Aman Karmani
>
> Signed-off-by: Aman Karmani
> ---
> avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI
>
> Published-As:
> https://github.com/ffstaging/FFmpeg/releases/tag/pr-ffstaging-46%2Ftmm1%2Fvaapi-a53cc-v
From: Zhao Zhili
Signed-off-by: Zhao Zhili
---
libavcodec/mediacodecenc.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c
index 4c1809093c..7a498f039e 100644
--- a/libavcodec/mediacodecenc.c
+++ b/libavcodec/m
> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian
> wrote:
>
> Allow specifying the movie_timescale options to AVIF ouptut.
>
> This also makes sure that when movie_timescale is not specified,
> the default value of 1000 is used instead of 0. Animated AVIF
> files which don't specify th
> On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian
> wrote:
>
> The HEIF specification permits specifying the looping behavior of
> animated sequences by using the EditList (elst) box. The track
> duration will be set to the total duration of all the loops (or
> infinite) and the duration
From: Dmitrii Ovchinnikov
This change improves the performance and multicore
scalability of the vp9 codec for streaming single-pass encoded videos. The
current thread limit for ffmpeg codecs is 16 (MAX_AUTO_THREADS in
pthread_internal.h) due to a limitation in H.264 codec that prevents more
t
---
libavcodec/qsvdec.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 92bfea196e..6bc85116ad 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -128,7 +128,9 @@ static int qsv_get_continuous_buffer(AVCodecContext *
Make sure no frames with invalid parameters will be seen by the caller.
---
libavcodec/decode.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 56ba06d5d5..0abc88737b 100644
--- a/libavcodec/decode.c
+++ b/libavco
---
libavcodec/decode.c | 19 +--
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 3e5be501b9..56ba06d5d5 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -685,10 +685,8 @@ int ff_decode_receive_frame(AVCode
---
libavcodec/ac3dec.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 1f2949dcfd..0b120e6140 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1716,6 +1716,11 @@ skip:
avctx->bit_rate= s->bit_rate + s->prev_bit_ra
Quoting Michael Niedermayer (2023-01-05 01:46:45)
> On Wed, Jan 04, 2023 at 05:42:40PM +0100, Anton Khirnov wrote:
> > Use the decoded frame's sample_rate instead, which is the authoritative
> > value.
> >
> > Drop a now-obsolete check validating AVCodecContext.sample_rate.
> > ---
> > fftools/ff
LGTM
___
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".
On 1/5/2023 1:14 PM, Zhao Zhili wrote:
From: Zhao Zhili
---
libavcodec/cbs_h2645.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 4ee06003c3..b12abede29 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -477,9 +47
On 1/5/2023 1:14 PM, Zhao Zhili wrote:
From: Zhao Zhili
It can be used to decode selected independent non-base layer. One
use case is alpha layer decoding.
Signed-off-by: Zhao Zhili
---
libavcodec/hevcdec.c | 20 +++-
libavcodec/version.h | 2 +-
2 files changed, 20 inser
> On Jan 5, 2023, at 19:21, James Almer wrote:
>
> On 1/5/2023 1:14 PM, Zhao Zhili wrote:
>> From: Zhao Zhili
>> It can be used to decode selected independent non-base layer. One
>> use case is alpha layer decoding.
>> Signed-off-by: Zhao Zhili
>> ---
>> libavcodec/hevcdec.c | 20 +++
> On Jan 5, 2023, at 19:18, James Almer wrote:
>
> On 1/5/2023 1:14 PM, Zhao Zhili wrote:
>> From: Zhao Zhili
>> ---
>> libavcodec/cbs_h2645.c | 3 ---
>> 1 file changed, 3 deletions(-)
>> diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
>> index 4ee06003c3..b12abede29 100644
>>
Camille Oudot (12023-01-04):
> So does it still makes sense to have a patch to pass through a RTP
> "reuseaddr" option to the underlying UDP URL "reuse" option?
Yes, totally. But let us make it the right way: not just add this option
and forward code, but correctly set up the objects so that all o
Patch attached.
From 9c4cd60e2dd41cf98d693c8251f4cfade0807073 Mon Sep 17 00:00:00 2001
From: Paul B Mahol
Date: Thu, 5 Jan 2023 13:40:12 +0100
Subject: [PATCH] libswresample/swresample: avoid s16p internal transfer format
Instead use float one by default for sample rate conversions.
The s16p inte
fre 2023-01-06 klockan 00:58 +0800 skrev Zhao Zhili:
> From: Zhao Zhili
>
> Signed-off-by: Zhao Zhili
> ---
> libavcodec/mediacodecenc.c | 10 +-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c
> index 4c1809093c
tor 2023-01-05 klockan 11:41 +0100 skrev Dmitrii Ovchinnikov:
> From: Dmitrii Ovchinnikov
>
> This change improves the performance and multicore
> scalability of the vp9 codec for streaming single-pass encoded
> videos. The
> current thread limit for ffmpeg codecs is 16 (MAX_AUTO_THREADS in
>
On Thu, Jan 5, 2023 at 1:34 AM "zhilizhao(赵志立)" wrote:
>
>
>
> > On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian
> > wrote:
> >
> > Allow specifying the movie_timescale options to AVIF ouptut.
> >
> > This also makes sure that when movie_timescale is not specified,
> > the default value of
On Thu, Jan 5, 2023 at 1:45 AM "zhilizhao(赵志立)" wrote:
>
>
>
> > On Jan 5, 2023, at 06:16, Vignesh Venkatasubramanian
> > wrote:
> >
> > The HEIF specification permits specifying the looping behavior of
> > animated sequences by using the EditList (elst) box. The track
> > duration will be set t
On 12/28/2022 4:28 PM, Derek Buitenhuis wrote:
> ---
> libavformat/mov.c | 14 ++
> 1 file changed, 14 insertions(+)
Ping.
- Derek
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To un
On Wed, Jan 04, 2023 at 05:59:14PM +0100, Paul B Mahol wrote:
> Patches attached.
[...]
> af_aresample.c | 10 --
> 1 file changed, 4 insertions(+), 6 deletions(-)
> e517e6bf054deb40fe9ff16f6ce6585c6a1fb284
> 0001-avfilter-af_aresample-switch-to-convert-frame-API.patch
> From fe951a82
On Wed, Jan 04, 2023 at 05:59:14PM +0100, Paul B Mahol wrote:
> Patches attached.
> af_aresample.c |6 ++
> 1 file changed, 6 insertions(+)
> 94dacb46103e2bb9fbb6e1ca40675243d15069cd
> 0003-avfilter-af_aresample-if-frame-parameters-change-upd.patch
> From 3959bcb707f52339bac41acc9aec856
On Thu, Jan 5, 2023 at 9:34 PM Michael Niedermayer
wrote:
> On Wed, Jan 04, 2023 at 05:59:14PM +0100, Paul B Mahol wrote:
> > Patches attached.
>
> > af_aresample.c |6 ++
> > 1 file changed, 6 insertions(+)
> > 94dacb46103e2bb9fbb6e1ca40675243d15069cd
> 0003-avfilter-af_aresample-if-fra
On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote:
> Patch attached.
> swresample.c |3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> eee7a0685b44aa867562138a2e2437ecb8844612
> 0001-libswresample-swresample-avoid-s16p-internal-transfe.patch
> From 9c4cd60e2dd41cf98d693c8
When writing a subtitle SSA/ASS subtitle file, the
AVCodecParameters::extradata buffer is written directly to the output,
including the null terminating character of the buffer. This appears to
be a simple off by one bug, which is fixed by the subsequent patch.
Tim Angus (1):
avformat/assenc: fi
Signed-off-by: Tim Angus
---
libavformat/assenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 1600f0a02b..07b6e3a171 100644
--- a/libavformat/assenc.c
+++ b/libavformat/assenc.c
@@ -69,7 +69,7 @@ static int write_header(AVF
On Thu, Jan 05, 2023 at 09:44:46PM +0100, Paul B Mahol wrote:
> On Thu, Jan 5, 2023 at 9:34 PM Michael Niedermayer
> wrote:
>
> > On Wed, Jan 04, 2023 at 05:59:14PM +0100, Paul B Mahol wrote:
> > > Patches attached.
> >
> > > af_aresample.c |6 ++
> > > 1 file changed, 6 insertions(+)
>
Tim Angus:
> Signed-off-by: Tim Angus
> ---
> libavformat/assenc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/assenc.c b/libavformat/assenc.c
> index 1600f0a02b..07b6e3a171 100644
> --- a/libavformat/assenc.c
> +++ b/libavformat/assenc.c
> @@ -69,7 +69,7
On 05/01/2023 16:14, Zhao Zhili wrote:
From: Zhao Zhili
Extract NALUs with the specified nuh_layer_id and rewrite as base
layer. For example, to extract alpha layer with nuh_layer_id equal
to 1:
./ffmpeg -i alpha.mp4 \
-an -c:v copy \
-bsf:v hevc_mp4toannexb,hevc_metadata=nuh_l
On 05/01/2023 21:11, Andreas Rheinhardt wrote:
Tim Angus:
Signed-off-by: Tim Angus
---
libavformat/assenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/assenc.c b/libavformat/assenc.c
index 1600f0a02b..07b6e3a171 100644
--- a/libavformat/assenc.c
+++ b/
On Thu, Jan 5, 2023 at 9:53 PM Michael Niedermayer
wrote:
> On Thu, Jan 05, 2023 at 01:44:10PM +0100, Paul B Mahol wrote:
> > Patch attached.
>
> > swresample.c |3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> > eee7a0685b44aa867562138a2e2437ecb8844612
> 0001-libswresample-swresa
Tim Angus:
>
>
> On 05/01/2023 21:11, Andreas Rheinhardt wrote:
>> Tim Angus:
>>> Signed-off-by: Tim Angus
>>> ---
>>> libavformat/assenc.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/libavformat/assenc.c b/libavformat/assenc.c
>>> index 1600f0a02b..07b6e3a1
On 05/01/2023 22:03, Andreas Rheinhardt wrote:
Yes I did; no failures locally, though I see there are failures in this
"patchwork" thingy, presumably that is running extra tests?
Did you run FATE with samples or without?
No idea, I just ran "make fate" as per the submission checklist.
__
On 26/12/2022 06:59, Jean Jogh wrote:
see https://github.com/intel/libva/pull/664
Signed-off-by: jianfeng.zheng
---
configure | 13 +
libavcodec/h264_slice.c| 6 ++
libavcodec/vaapi_decode.c | 10 ++
libavcodec/vaapi_encode_h264.c
From: Pierre-Anthony Lemieux
---
doc/demuxers.texi | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 2b6dd86c2a..75c142935e 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -289,7 +289,15 @@ This demuxer accepts the
From: Pierre-Anthony Lemieux
---
libavformat/imfdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/imfdec.c b/libavformat/imfdec.c
index 03de9ce151..a92686e93b 100644
--- a/libavformat/imfdec.c
+++ b/libavformat/imfdec.c
@@ -1018,7 +1018,7 @@ static const AVCla
From: Pierre-Anthony Lemieux
---
tests/fate/imf.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fate/imf.mak b/tests/fate/imf.mak
index feb54d1361..d64882f89e 100644
--- a/tests/fate/imf.mak
+++ b/tests/fate/imf.mak
@@ -1,5 +1,5 @@
FATE_IMF += fate-imf-cpl-with-rep
On Do, 2023-01-05 at 12:07 +0100, Anton Khirnov wrote:
> ---
> libavcodec/qsvdec.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
> index 92bfea196e..6bc85116ad 100644
> --- a/libavcodec/qsvdec.c
> +++ b/libavcodec/qsvdec.c
>
From: Zhao Zhili
For example, to extract alpha layer with nuh_layer_id equal
to 1:
./ffmpeg -i alpha.mp4 \
-an -c:v copy \
-bsf:v hevc_extract_layer=nuh_layer_id=1 \
output.mp4
Signed-off-by: Zhao Zhili
---
configure | 1 +
doc/bitstream_fil
From: Zhao Zhili
It can be used to decode selected independent non-base layer. One
use case is alpha layer decoding.
Partially fix #7965.
Signed-off-by: Zhao Zhili
---
libavcodec/hevcdec.c | 56 +++-
libavcodec/version.h | 2 +-
2 files changed, 56 ins
From: Zhao Zhili
Signed-off-by: Zhao Zhili
---
libavcodec/cbs_h2645.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c
index 4ee06003c3..b12abede29 100644
--- a/libavcodec/cbs_h2645.c
+++ b/libavcodec/cbs_h2645.c
@@ -477,9 +477,6 @@ static in
From: Zhao Zhili
Signed-off-by: Zhao Zhili
---
libavcodec/hevc_parse.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavcodec/hevc_parse.c b/libavcodec/hevc_parse.c
index 29dfd479f3..dddb293df6 100644
--- a/libavcodec/hevc_parse.c
+++ b/libavcodec/hevc_parse.c
@@ -37,8 +37,6 @@ static
From: Zhao Zhili
v2:
1. Check vps_max_layers and vps_max_layer_id inside hevc decoder
2. Add hevc_extract_layer bsf to do the job rather than modifing hevc_metadata,
3. Check vps_max_layers_minus1 and vps_max_layer_id inside bsf
4. Update vps_max_layers_minus1 and vps_max_layer_id when rewrite as
51 matches
Mail list logo