Re: [FFmpeg-devel] [PATCH] libavcodec/libfdk-aacnc: send encoder delay/padding in packet side data

2023-03-01 Thread Martin Storsjö
On Tue, 28 Feb 2023, JonHGee wrote: Signed-off-by: JonHGee --- libavcodec/libfdk-aacenc.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c index 54549de473..954ddab07f 100644 --- a/libavcodec/lib

Re: [FFmpeg-devel] [PATCH v2 1/4] avcodec/eac3dec: add detection of Atmos spatial extension profile

2023-03-01 Thread Hendrik Leppkes
On Sat, Feb 18, 2023 at 8:43 PM Marth64 wrote: > > Signed-off-by: Marth64 The entire set looks good to me now. If there are no further objections or comments, I'll apply it in a day or two. - Hendrik ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.o

Re: [FFmpeg-devel] [PATCH 5/8] lavc/libvpxenc: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE

2023-03-01 Thread Anton Khirnov
Quoting James Zern (2023-02-28 22:11:29) > On Tue, Feb 28, 2023 at 4:01 AM Anton Khirnov wrote: > > diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c > > index 77921badba..af16e53deb 100644 > > --- a/libavcodec/libvpxenc.c > > +++ b/libavcodec/libvpxenc.c > > @@ -68,6 +68,14 @@ struct F

Re: [FFmpeg-devel] [PATCH 5/8] lavc/libvpxenc: handle frame durations and AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE

2023-03-01 Thread Anton Khirnov
Quoting James Almer (2023-03-01 00:30:25) > On 2/28/2023 9:01 AM, Anton Khirnov wrote: > > +#if FF_API_REORDERED_OPAQUE > > +FF_DISABLE_DEPRECATION_WARNINGS > > +avctx->reordered_opaque = fd.reordered_opaque; > > +FF_ENABLE_DEPRECATION_WARNINGS > > +#endif > > If this was not being set before

Re: [FFmpeg-devel] [PATCH 8/8] lavc/libvpxenc: drop FrameListData.duration

2023-03-01 Thread Anton Khirnov
Quoting James Zern (2023-02-28 22:16:39) > On Tue, Feb 28, 2023 at 4:02 AM Anton Khirnov wrote: > > > > It is write-only. > > --- > > libavcodec/libvpxenc.c | 3 --- > > 1 file changed, 3 deletions(-) > > > > libaomenc.c transfers this to AVPacket. You added this in: > 7cf161abe5 lavc/libaomen

Re: [FFmpeg-devel] [PATCH 1/3] decklink: Don't take for granted that first frame to decklink output will be PTS 0

2023-03-01 Thread Devin Heitmueller
On Tue, Feb 28, 2023 at 3:46 PM Marton Balint wrote: > And what if first packet pts is 0? Then the second packet pts will be > assigned to first pts? Maybe you should use AV_NOPTS_VALUE for the default > first_pts value and check for that instead. That's a good point. I never noticed that, but n

Re: [FFmpeg-devel] [PATCH] lavfi/buffersrc: issue more specific error in case of invalid parameters

2023-03-01 Thread Anton Khirnov
Quoting Stefano Sabatini (2023-03-01 01:05:29) > On date Wednesday 2023-03-01 01:01:26 +0100, Stefano Sabatini wrote: > > --- > > libavfilter/buffersrc.c | 13 ++--- > > 1 file changed, 10 insertions(+), 3 deletions(-) > > > > diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c

Re: [FFmpeg-devel] [PATCH] lavfi/buffersrc: issue more specific error in case of invalid parameters

2023-03-01 Thread Anton Khirnov
Quoting Stefano Sabatini (2023-03-01 01:01:26) > --- > libavfilter/buffersrc.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c > index ba17450b93..ea9556d691 100644 > --- a/libavfilter/buffersrc.c > +++ b/li

Re: [FFmpeg-devel] [PATCH] avcodec/aacps_tablegen: fix build error after 21814a7

2023-03-01 Thread Anton Khirnov
Quoting Zhao Zhili (2023-02-28 19:23:00) > From: Zhao Zhili > > Fix tickets #10225 > > DECLARE_ALIGNED has been moved to mem_internal.h. > > Signed-off-by: Zhao Zhili > --- > libavcodec/aacps_tablegen.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/aacps

Re: [FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread Anton Khirnov
Quoting jackarain (2023-02-28 16:44:20) > -static void customize_fd(void *ctx, int fd) > +static int customize_fd(void *ctx, int fd) > { > TCPContext *s = ctx; > + > +if (s->local_addr || s->local_port) { > +struct addrinfo hints = { 0 }, *ai; > +int ret; > + > +hi

Re: [FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Ok, thanks. Anton Khirnov 于2023年3月1日周三 22:44写道: > Quoting jackarain (2023-02-28 16:44:20) > > -static void customize_fd(void *ctx, int fd) > > +static int customize_fd(void *ctx, int fd) > > { > > TCPContext *s = ctx; > > + > > +if (s->local_addr || s->local_port) { > > +struct

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 + libavformat/network.c | 14 libavformat/network.h | 2 +- libavformat/tcp.c | 53 ++- 4 files changed, 69 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b/doc/p

Re: [FFmpeg-devel] [PATCH 3/3] ffmpeg: respect AV_CODEC_CAP_SINGLE_SUB_RECT

2023-03-01 Thread TADANO Tokumei
On 2023/02/21 9:25, rcombs wrote: Fixes ASS output when multiple rects are present. --- fftools/ffmpeg.c | 28 ++-- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 9884e0c6c6..23eac52438 100644 --- a/fftools/ffmp

[FFmpeg-devel] [PATCH] libavformat/tcp: add local_addr/local_port for network option

2023-03-01 Thread jackarain
Signed-off-by: jackarain --- doc/protocols.texi| 6 + libavformat/network.c | 14 libavformat/network.h | 2 +- libavformat/tcp.c | 53 ++- 4 files changed, 69 insertions(+), 6 deletions(-) diff --git a/doc/protocols.texi b/doc/p

Re: [FFmpeg-devel] [PATCH v2] avcodec: add D3D12VA hardware accelerated H264, HEVC, VP9, and AV1 decoding

2023-03-01 Thread Anton Khirnov
Quoting Wu Jianhua (2022-12-23 19:01:01) > diff --git a/libavutil/hwcontext.h b/libavutil/hwcontext.h > index 7ff08c8608..691c49087c 100644 > --- a/libavutil/hwcontext.h > +++ b/libavutil/hwcontext.h > @@ -33,6 +33,7 @@ enum AVHWDeviceType { > AV_HWDEVICE_TYPE_QSV, > AV_HWDEVICE_TYPE_VIDE

Re: [FFmpeg-devel] [PATCH v2] avcodec: add D3D12VA hardware accelerated H264, HEVC, VP9, and AV1 decoding

2023-03-01 Thread Hendrik Leppkes
On Fri, Dec 23, 2022 at 7:01 PM Wu Jianhua wrote: > > [PATCH v2] avcodec: add D3D12VA hardware accelerated H264, HEVC, VP9, and AV1 > decoding > > Patches attached. > The naming scheme on this seems to be rather inconsistent. Both "d3d12dec" and "d3d12va" seem to be used in different places - pl

Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: remove forgotten deprecation warning wrappers

2023-03-01 Thread Anton Khirnov
Quoting James Almer (2023-02-28 13:07:45) > Missed in e0786a8e. > > Signed-off-by: James Almer > --- > libavcodec/pthread_frame.c | 2 -- > 1 file changed, 2 deletions(-) Looks obviously ok. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-deve

[FFmpeg-devel] [PATCH] libavcodec/h264dec: avoid arithmetic on null pointers

2023-03-01 Thread Jeremy Dorfman
null pointer arithmetic is undefined behavior in C. --- libavcodec/h264dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 2d691731c5..ef698f2630 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264dec.c @@ -912,8 +912,

Re: [FFmpeg-devel] [PATCH] libavcodec/h264dec: avoid arithmetic on null pointers

2023-03-01 Thread James Almer
On 3/1/2023 3:50 PM, Jeremy Dorfman wrote: null pointer arithmetic is undefined behavior in C. --- libavcodec/h264dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 2d691731c5..ef698f2630 100644 --- a/libavcodec/h264d

Re: [FFmpeg-devel] [PATCH] libavcodec/h264dec: avoid arithmetic on null pointers

2023-03-01 Thread Jeremy Dorfman
On Wed, Mar 1, 2023 at 2:07 PM James Almer wrote: > > On 3/1/2023 3:50 PM, Jeremy Dorfman wrote: > > null pointer arithmetic is undefined behavior in C. > > --- > > libavcodec/h264dec.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavcodec/h264dec.c b/lib

Re: [FFmpeg-devel] [PATCH] libavcodec/h264dec: avoid arithmetic on null pointers

2023-03-01 Thread Jeremy Dorfman
On Wed, Mar 1, 2023 at 3:22 PM Jeremy Dorfman wrote: > > On Wed, Mar 1, 2023 at 2:07 PM James Almer wrote: > > > > On 3/1/2023 3:50 PM, Jeremy Dorfman wrote: > > > null pointer arithmetic is undefined behavior in C. > > > --- > > > libavcodec/h264dec.c | 4 ++-- > > > 1 file changed, 2 inserti

Re: [FFmpeg-devel] [PATCH] Use https for repository links

2023-03-01 Thread Michael Niedermayer
On Tue, Feb 28, 2023 at 11:44:45PM +0100, Stefano Sabatini wrote: > On date Tuesday 2023-02-28 20:27:12 +0100, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > CREDITS| 4 ++-- > > doc/authors.texi | 4 ++-- > > doc/git-howto.texi | 2 +- > > 3 files cha

[FFmpeg-devel] [PATCH] libavcodec/qsvenc: Add dynamic setting support of low_delay_brc to av1_qsv

2023-03-01 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Signed-off-by: Wenbin Chen --- doc/encoders.texi | 2 +- libavcodec/qsvenc.c | 5 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index b02737b9df..e9b34010ed 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@

[FFmpeg-devel] [PATCH] doc/examples/qsv_transcode: Fix a bug when use more than one parameter set

2023-03-01 Thread wenbin . chen-at-intel . com
From: Wenbin Chen Signed-off-by: Wenbin Chen --- doc/examples/qsv_transcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/qsv_transcode.c b/doc/examples/qsv_transcode.c index 7ea3ef5674..48128b200c 100644 --- a/doc/examples/qsv_transcode.c +++ b/doc/examples