Re: [FFmpeg-devel] [PATCH 2/3] avformat/aiffdec: sanity check block_align

2021-10-31 Thread Paul B Mahol
lgtm, could also change return values in next commits. ___ 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 "unsubs

Re: [FFmpeg-devel] [PATCH 3/3] avformat/aiffdec: Use av_rescale() for bitrate

2021-10-31 Thread Paul B Mahol
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".

Re: [FFmpeg-devel] [PATCH 1/3] avformat/aiffdec: Check sample_rate

2021-10-31 Thread Paul B Mahol
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".

[FFmpeg-devel] [PATCH] avfilter: add positive video filter

2021-10-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_positive.c | 337 ++ 3 files changed, 339 insertions(+) create mode 100644 libavfilter/vf_positive.c diff --git a/libavfilter/Makefile b/libav

[FFmpeg-devel] [PATCH] avfilter: add option to end filtering on first EOF in filter sink

2021-10-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 1 + fftools/ffmpeg_opt.c| 3 +++ libavfilter/avfilter.h | 1 + libavfilter/avfiltergraph.c | 7 +-- 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/fftools/ffmpeg.h b

[FFmpeg-devel] [PATCH v2] avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'

2021-10-31 Thread lance . lmwang
From: Limin Wang OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang --- configure | 8 ++ libavutil/hwcontext_videotoolbox.c | 54 +- 2 files changed, 38

Re: [FFmpeg-devel] [PATCH 2/2] avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'

2021-10-31 Thread James Almer
On 10/19/2021 11:52 AM, lance.lmw...@gmail.com wrote: From: Limin Wang OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang --- libavutil/hwcontext_videotoolbox.c | 12 1 file changed, 12 insertions(+) di

Re: [FFmpeg-devel] [PATCH 2/2] avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'

2021-10-31 Thread James Almer
On 10/31/2021 10:32 AM, James Almer wrote: On 10/19/2021 11:52 AM, lance.lmw...@gmail.com wrote: From: Limin Wang OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang ---   libavutil/hwcontext_videotoolbox.c | 12 +++

[FFmpeg-devel] [PATCH] avfilter/scale_npp: add scale2ref_npp filter

2021-10-31 Thread Timo Rothenpieler
From: Roman Arzumanyan Signed-off-by: Timo Rothenpieler --- Here's my revised version of the patch. It brings its order of operation much more in line with normal scale/scale2ref. Also gets rid of differences in option parsing between the 2ref and non-2ref version of the filters. I also added s

Re: [FFmpeg-devel] [PATCH] avfilter/scale_npp: add scale2ref_npp filter

2021-10-31 Thread Timo Rothenpieler
On 31.10.2021 14:35, Timo Rothenpieler wrote: From: Roman Arzumanyan Signed-off-by: Timo Rothenpieler --- Here's my revised version of the patch. It brings its order of operation much more in line with normal scale/scale2ref. Also gets rid of differences in option parsing between the 2ref and

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-31 Thread Pierre-Anthony Lemieux
On Thu, Oct 28, 2021 at 12:56 AM Paul B Mahol wrote: > > > > On Thu, Oct 28, 2021 at 6:34 AM Pierre-Anthony Lemieux > wrote: >> >> On Wed, Oct 27, 2021 at 12:57 AM Paul B Mahol wrote: >> > >> > >> > >> > On Wed, Oct 20, 2021 at 4:55 PM wrote: >> >> >> >> From: Pierre-Anthony Lemieux >> >> >>

Re: [FFmpeg-devel] [PATCH 3/5] avformat/imf: Demuxer implementation

2021-10-31 Thread Pierre-Anthony Lemieux
On Thu, Oct 28, 2021 at 12:58 AM Paul B Mahol wrote: > > > > On Thu, Oct 28, 2021 at 6:32 AM Pierre-Anthony Lemieux > wrote: >> >> On Wed, Oct 27, 2021 at 12:54 AM Paul B Mahol wrote: >> > >> > >> > >> > On Fri, Oct 8, 2021 at 1:42 AM wrote: >> >> >> >> From: Pierre-Anthony Lemieux >> >> >> >

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-31 Thread Paul B Mahol
On Sun, Oct 31, 2021 at 5:48 PM Pierre-Anthony Lemieux wrote: > On Thu, Oct 28, 2021 at 12:56 AM Paul B Mahol wrote: > > > > > > > > On Thu, Oct 28, 2021 at 6:34 AM Pierre-Anthony Lemieux > wrote: > >> > >> On Wed, Oct 27, 2021 at 12:57 AM Paul B Mahol wrote: > >> > > >> > > >> > > >> > On Wed

Re: [FFmpeg-devel] [PATCH 2/5] avformat/imf: CPL processor

2021-10-31 Thread Pierre-Anthony Lemieux
On Sun, Oct 31, 2021 at 11:35 AM Paul B Mahol wrote: > > > > On Sun, Oct 31, 2021 at 5:48 PM Pierre-Anthony Lemieux > wrote: >> >> On Thu, Oct 28, 2021 at 12:56 AM Paul B Mahol wrote: >> > >> > >> > >> > On Thu, Oct 28, 2021 at 6:34 AM Pierre-Anthony Lemieux >> > wrote: >> >> >> >> On Wed, Oc

Re: [FFmpeg-devel] [PATCH 3/5] avformat/imf: Demuxer implementation

2021-10-31 Thread Paul B Mahol
On Sun, Oct 31, 2021 at 7:34 PM Pierre-Anthony Lemieux wrote: > On Thu, Oct 28, 2021 at 12:58 AM Paul B Mahol wrote: > > > > > > > > On Thu, Oct 28, 2021 at 6:32 AM Pierre-Anthony Lemieux > wrote: > >> > >> On Wed, Oct 27, 2021 at 12:54 AM Paul B Mahol wrote: > >> > > >> > > >> > > >> > On Fri

Re: [FFmpeg-devel] [PATCH 3/5] avformat/imf: Demuxer implementation

2021-10-31 Thread James Almer
On 10/31/2021 3:34 PM, Pierre-Anthony Lemieux wrote: The functions are not static and are defined in imf_internal.h. They are used in both libavformat/imfdec.c and the tests at libavformat/tests/imf.c. Ok? If they are used in libavformat only it should be static. AFAIK static functions are onl

Re: [FFmpeg-devel] [PATCH 3/5] avformat/imf: Demuxer implementation

2021-10-31 Thread Pierre-Anthony Lemieux
On Sun, Oct 31, 2021 at 11:45 AM James Almer wrote: > > On 10/31/2021 3:34 PM, Pierre-Anthony Lemieux wrote: > >>> The functions are not static and are defined in imf_internal.h. They > >>> are used in both libavformat/imfdec.c and the tests at > >>> libavformat/tests/imf.c. Ok? > >> > >> If they

[FFmpeg-devel] [PATCH 1/2] avcodec/dnxhd_parser: make parser more reliable for smaller VBR frame sizes

2021-10-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/dnxhd_parser.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/dnxhd_parser.c b/libavcodec/dnxhd_parser.c index 4ba619c9bb..ff80294cca 100644 --- a/libavcodec/dnxhd_parser.c +++ b/libavcodec/dnxhd_parser.c

[FFmpeg-devel] [PATCH 2/2] avcodec/dnxhddata: remove invalid trimming of frame size

2021-10-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/dnxhddata.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 3a69a0f501..b5c66dfe1d 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -1099,8 +1099,7 @@ int avpr

Re: [FFmpeg-devel] [PATCH 1/3] libavcodec/vaapi_encode: Change the way to call async to increase performance

2021-10-31 Thread Chen, Wenbin
> Fix: #7706. After commit 5fdcf85bbffe7451c2, vaapi encoder's performance > decrease. The reason is that vaRenderPicture() and vaSyncSurface() are > called at the same time (vaRenderPicture() always followed by a > vaSyncSurface()). When we encode stream with B frames, we need buffer to > reorder

Re: [FFmpeg-devel] [PATCH 2/3] libavcodec/vaapi_encode: Add new API adaption to vaapi_encode

2021-10-31 Thread Chen, Wenbin
> Add vaSyncBuffer to VAAPI encoder. Old version API vaSyncSurface wait > surface to complete. When surface is used for multiple operation, it > wait all operation to finish. vaSyncBuffer only wait one channel to > finish. > > Add wait param to vaapi_encode_wait() to prepare for the async_depth >

Re: [FFmpeg-devel] [PATCH 3/3] libavcodec/vaapi_encode: Add async_depth to vaapi_encoder to increase performance

2021-10-31 Thread Chen, Wenbin
> Add async_depth to increase encoder's performance. Reuse encode_fifo as > async buffer. Encoder puts all reordered frame to HW and then check > fifo size. If fifo < async_depth and the top frame is not ready, it will > return AVERROR(EAGAIN) to require more frames. > > 1080p transcoding (no B fr

Re: [FFmpeg-devel] libavformat/tls_mbedtls.c: Accommodating to mbedtls v3.0.0 API changes

2021-10-31 Thread omer yacine
Hello, Let me ping this patch since I got no response after 4 days. Thanks, --Omar On Thu, Oct 28, 2021 at 8:11 PM meryacine wrote: > > There were breaking API changes in mbedtls from v2.27.0 to v3.0.0. > This patch accounts for these changes. > > Changes: > - mbedtls/certs.h is no longer imp