[FFmpeg-devel] [PATCH V5 5/5] libavfilter: add filter dnn_detect for object detection

2021-03-07 Thread Guo, Yejun
Below are the example steps to do object detection: 1. download and install l_openvino_toolkit_p_2021.1.110.tgz from https://software.intel.com/content/www/us/en/develop/tools/openvino-toolkit/download.html or, we can get source code (tag 2021.1), build and install. 2. export LD_LIBRARY_PATH

[FFmpeg-devel] [PATCH V5 4/5] libavfilter: show side data of bounding box

2021-03-07 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/f_sidedata.c | 2 ++ libavfilter/vf_showinfo.c | 38 ++ 2 files changed, 40 insertions(+) diff --git a/libavfilter/f_sidedata.c b/libavfilter/f_sidedata.c index 3757723375..912fb0d881 100644 ---

[FFmpeg-devel] [PATCH V5 3/5] libavutil: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-03-07 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/APIchanges| 2 ++ libavutil/frame.c | 1 + libavutil/frame.h | 5 + 3 files changed, 8 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 4027d599e7..b83409a412 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,6 +14,8 @@ libavutil:

[FFmpeg-devel] [PATCH V5 2/5] libavfilter/bbox.h: add BoundingBoxHeader and BoundingBox

2021-03-07 Thread Guo, Yejun
They will be used for filters such as detect and classify. Signed-off-by: Guo, Yejun --- libavfilter/bbox.h | 51 ++ 1 file changed, 51 insertions(+) diff --git a/libavfilter/bbox.h b/libavfilter/bbox.h index 116158d59e..3ba8ce5b47 100644 ---

[FFmpeg-devel] [PATCH V5 1/5] libavfilter/dnn: add ff_dnn_set_proc to set pre/post proc

2021-03-07 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/dnn_filter_common.c | 7 +++ libavfilter/dnn_filter_common.h | 1 + libavfilter/dnn_interface.h | 6 -- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn_filter_common.c b/libavfilter/dnn_filter_common.c index

Re: [FFmpeg-devel] Next major release?

2021-03-07 Thread Steven Liu
> 2021年3月8日 上午11:43,Andreas Rheinhardt 写道: > > Brad Hards: >> 4.3 was cut from master on 2020-06-08 (from >> https://ffmpeg.org/download.html), and there have been a lot of good things >> landed in >> master since then. >> >> >> >> Are there plans for a 4.4? >> >> >> >> I'm aware that

Re: [FFmpeg-devel] Next major release?

2021-03-07 Thread Andreas Rheinhardt
Brad Hards: > 4.3 was cut from master on 2020-06-08 (from > https://ffmpeg.org/download.html), and there have been a lot of good things > landed in > master since then. > > > > Are there plans for a 4.4? > > > > I'm aware that I can (and I sometimes do, when I want to make a change)

[FFmpeg-devel] Next major release?

2021-03-07 Thread Brad Hards
4.3 was cut from master on 2020-06-08 (from https://ffmpeg.org/download.html), and there have been a lot of good things landed in master since then. Are there plans for a 4.4? I'm aware that I can (and I sometimes do, when I want to make a change) build from the git main development

[FFmpeg-devel] [PATCH] libavcodec/vaapi_encode: Change libva call to async way

2021-03-07 Thread wenbin . chen
From: "Chen,Wenbin" Fix: #7706. After commit 5fdcf85bbffe7451c2, vaapi encoder's performance drop 20~30%. One reason is that vaRenderPicture() and vaSyncSurface() are called at the same time (vaRenderPicture() always followed by a vaSyncSurface()). Now I changed them to be called in a

Re: [FFmpeg-devel] [PATCH V2] Added MKV tag for AVS2 video codec

2021-03-07 Thread Andreas Rheinhardt
Ze Yuan: > From ea96e70874c87b003af1fb3fcd5c792b3292bf29 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?=E9=83=91=E5=A4=A9=E6=B3=A2?= > Date: Sun, 6 Sep 2020 18:35:51 +0800 > Subject: [PATCH] Added MKV tag for AVS2 video codec > > avs2 (IEEE 1857.4) video codec > > MKV spec: V_AVS2 Codec ID: V_AVS2

Re: [FFmpeg-devel] [PATCH 1/8] avcodec/jpeglsenc: Don't use put bits API for byte-aligned writes

2021-03-07 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > Is it actually guaranteed that the allocated packet size is > sufficient? If it is, one could use unchecked writes throughout; if it > isn't, should I add a check to properly error out in case the buffer is > too small? (And what

[FFmpeg-devel] [PATCH] avformat/httpauth: don't overwrite auth digest with unimplemented algorithm

2021-03-07 Thread Andriy Gelman
From: Andriy Gelman In rtsp/http authentication the server may provide several options for hash algorithms. This includes MD5, SHA2-256 and SHA2-512/256 (RFC 7616 Section 3.7). Currently only support for MD5 is implemented in the auth code. If the SHA2 option follows the MD5 option in the

Re: [FFmpeg-devel] [PATCH] fftools/ffplay: do not write out of rdft visualization texture

2021-03-07 Thread Michael Niedermayer
On Wed, Mar 03, 2021 at 11:27:22PM +0100, Marton Balint wrote: > If the window is resized it was possible that xpos pointed outside the > visualization texture. By rearranging the overflow check we make sure this > (and > a crash) does not happen. > > We also don't have to use xleft for start

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: add forgotten flags to mpeg4_options

2021-03-07 Thread Michael Niedermayer
On Thu, Mar 04, 2021 at 07:06:45PM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/mpeg4videodec.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c > index fd985f0430..2ca804fdc6

Re: [FFmpeg-devel] [PATCH 7/7] avformat: add Changelog entry for librist and bump minor

2021-03-07 Thread Marton Balint
On Sun, 7 Mar 2021, Paul B Mahol wrote: On Sun, Mar 7, 2021 at 9:02 AM Marton Balint wrote: On Sun, 7 Mar 2021, Paul B Mahol wrote: > On Sun, Mar 7, 2021 at 1:57 AM James Almer wrote: > >> On 3/6/2021 9:51 PM, Paul B Mahol wrote: >> > On Sun, Mar 7, 2021 at 1:35 AM Marton Balint

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/codec: use the correct name for all AVCodec.decode() parameters

2021-03-07 Thread James Almer
On 3/7/2021 10:43 AM, Andreas Rheinhardt wrote: James Almer: This field hasn't been used to return the output frame size since avcodec_decode_audio3() was removed. If I read 0eea212943544d40f99b05571aa7159d78667154 correctly, then the semantics changed with the addition of

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/codec: add doxy to AVCodec.decode()

2021-03-07 Thread James Almer
On 3/7/2021 10:34 AM, Andreas Rheinhardt wrote: James Almer: Signed-off-by: James Almer --- libavcodec/codec.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/codec.h b/libavcodec/codec.h index bcda061da1..c019e7357c 100644 --- a/libavcodec/codec.h +++

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/codec: use the correct name for all AVCodec.decode() parameters

2021-03-07 Thread Andreas Rheinhardt
James Almer: > This field hasn't been used to return the output frame size since > avcodec_decode_audio3() was removed. If I read 0eea212943544d40f99b05571aa7159d78667154 correctly, then the semantics changed with the addition of avcodec_decode_audio4() and not the removal of

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/codec: add doxy to AVCodec.decode()

2021-03-07 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavcodec/codec.h | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/libavcodec/codec.h b/libavcodec/codec.h > index bcda061da1..c019e7357c 100644 > --- a/libavcodec/codec.h > +++ b/libavcodec/codec.h > @@ -281,6 +281,17 @@

Re: [FFmpeg-devel] [PATCH 7/7] avformat: add Changelog entry for librist and bump minor

2021-03-07 Thread Paul B Mahol
On Sun, Mar 7, 2021 at 9:02 AM Marton Balint wrote: > > > On Sun, 7 Mar 2021, Paul B Mahol wrote: > > > On Sun, Mar 7, 2021 at 1:57 AM James Almer wrote: > > > >> On 3/6/2021 9:51 PM, Paul B Mahol wrote: > >> > On Sun, Mar 7, 2021 at 1:35 AM Marton Balint wrote: > >> > > >> >> > >> >> > >> >>

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/buffersink: Postpone removal of av_[a]buffersink_params_alloc

2021-03-07 Thread Nicolas George
Andreas Rheinhardt (12021-03-07): > They have been deprecated in 61097535cdaa91fea0d62c567b3af02a940f6c2d, > yet this was less than two years ago. Removing them will therefore have > to wait. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/buffersink.c | 2 +- >

Re: [FFmpeg-devel] [PATCH 3/5] avfilter/avfilter: Remove avfilter_link_set_closed() on bump

2021-03-07 Thread Nicolas George
Andreas Rheinhardt (12021-03-07): > Deprecated in 39a09e995d32d16e4f8c87a6ff5273cb9d98146e. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/avfilter.c | 3 ++- > libavfilter/avfilter.h | 4 ++-- > libavfilter/version.h | 3 +++ > 3 files changed, 7 insertions(+), 3 deletions(-) Ok.

Re: [FFmpeg-devel] [PATCH 7/7] avformat: add Changelog entry for librist and bump minor

2021-03-07 Thread Marton Balint
On Sun, 7 Mar 2021, Paul B Mahol wrote: On Sun, Mar 7, 2021 at 1:57 AM James Almer wrote: On 3/6/2021 9:51 PM, Paul B Mahol wrote: > On Sun, Mar 7, 2021 at 1:35 AM Marton Balint wrote: > >> >> >> On Sun, 7 Mar 2021, Paul B Mahol wrote: >> >>> How you tested this? >> >> with the librist