All features are implemented in vpp_qsv filter now, so deinterlace_qsv
can be taken as a specical case of vpp_qsv filter, we re-use VPPContext
with a different option array and pix formats for deinterlace_qsv filter
---
libavfilter/Makefile | 2 +-
libavfilter/vf_deinterlace_qsv.c |
Like what we did for scale_qsv filter, we use QSVVPPContext as a base
context to manage MFX session for deinterlace_qsv filter
---
libavfilter/vf_deinterlace_qsv.c | 492 ++-
1 file changed, 30 insertions(+), 462 deletions(-)
diff --git a/libavfilter/vf_deinterlace_qsv
This is in preparation for re-using VPPContext but with a different
option array for deinterlacing_qsv filter
---
libavfilter/vf_vpp_qsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 018b0e8689..90b0b25210 100644
---
When the SDK returns MFX_ERR_MORE_SURFACE, the PTS is not set for the
output frame. We assign a PTS calculated from the input frame to the
output frame. After applying this patch, we may avoid the error below:
[null @ 0x56395cab4ae0] Application provided invalid, non monotonically
increasing dts t
---
libavfilter/vf_vpp_qsv.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 29ba220665..ec35f85b04 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -255,10 +255,14 @@ static int config_inp
Allow user to set crop area and async depth
---
libavfilter/vf_vpp_qsv.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 03785e9398..bceee8c4df 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -675,6 +675,10
Currently the returned value from MFXVideoVPP_RunFrameVPPAsync() is
overridden, so the check of 'ret == MFX_ERR_MORE_SURFACE' is always
false when MFX_ERR_MORE_SURFACE is returned from
MFXVideoVPP_RunFrameVPPAsync()
---
libavfilter/qsvvpp.c | 11 ---
1 file changed, 8 insertions(+), 3 dele
NV12 and P010 are added
$ ffmpeg -init_hw_device qsv -c:v h264_qsv -i input.h264 -vf
"scale_qsv=format=p010" -f null -
---
libavfilter/vf_vpp_qsv.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index bceee8c4df..29ba220
NV12 is added in system memory and the command below may work now.
$ ffmpeg -init_hw_device qsv -c:v h264_qsv -i input.h264 -vf
deinterlace_qsv -f null -
---
libavfilter/vf_vpp_qsv.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_v
option 'scaling' accepts one of low_power and hq
$ ffmpeg -init_hw_device qsv -hwaccel qsv -c:v h264_qsv -i input.h264
-vf "vpp_qsv=scaling=hq" -f null -
---
libavfilter/vf_vpp_qsv.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.
Allow user to set async depth for deinterlace_qsv
---
libavfilter/vf_vpp_qsv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index c0afb001b9..bb3aebf047 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -711,6 +711,7
After this patch, the scaling mode will be passed to the SDK when the
scaling mode is not equal to the default mode. This is in preparation
for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 19 ++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --gi
All features are implemented in vpp_qsv filter, scale_qsv can be taken
as a special case of vpp_qsv filter now, we re-use VPPContext with a
different option arrary and pixel formats
---
libavfilter/Makefile | 2 +-
libavfilter/vf_scale_qsv.c | 334 -
lib
---
libavfilter/vf_vpp_qsv.c | 195 +--
1 file changed, 86 insertions(+), 109 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index dd3afb5e10..03785e9398 100644
--- a/libavfilter/vf_vpp_qsv.c
+++ b/libavfilter/vf_vpp_qsv.c
@@ -105
Special values are:
0 = original width/height
-1 = keep original aspect
This is in preparation for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 47 ++--
1 file changed, 40 insertions(+), 7 deletions(-)
diff --git a/libavfilter/vf_vpp
This is in preparation for re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 78 +---
1 file changed, 32 insertions(+), 46 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 7afbb3c983..c9a7b0ceb9 100644
--
Set the expected default value for options in this callback, hence we
have the right values even if these options are not included in the
option arrray. This is in preparation for re-using VPPContext but with a
different option array for other QSV filters
---
libavfilter/vf_vpp_qsv.c | 14
This is in preparation for re-using VPPContext but with a different
option array for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 36
1 file changed, 20 insertions(+), 16 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index e7
Also fix the coding style for VAR index. This is in preparation for
re-using VPPContext for scale_qsv filter
---
libavfilter/vf_vpp_qsv.c | 29 +++--
1 file changed, 19 insertions(+), 10 deletions(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 72
PI, PHI and E are defined in FFmpeg
---
libavfilter/vf_scale_qsv.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 77a782aa58..f8e937e40e 100644
--- a/libavfilter/vf_scale_qsv.c
+++ b/libavfilter/vf_scale_qsv.c
@@ -44,9 +44,
Use QSVVPPContext as a base context of QSVScaleContext, hence we may
re-use functions defined for QSVVPPContext to manage MFX session for
scale_qsv filter too. Because system memory is taken into account in
QSVVVPPContext, we may add support for non-QSV pixel formats in the
future
---
libavfilter/
The same members between QSVVPPContext and VPPContext are removed from
VPPContext, and async_depth is moved from QSVVPPParam to QSVVPPContext
so that all QSV filters using QSVVPPContext may support async depth. In
addition we may use QSVVPPContext as base context in other QSV filters
in the future.
This patchset clean up scale_qsv and deinterlace_qsv filters, and take
the two filters as the special cases of vpp_qsv, so vf_scale_qsv.c and
vf_deinterlace_qsv.c can be deleted from FFmpeg. In addition, a few
small features are added in this patchset.
Haihao Xiang (22):
lavf/qsv: use QSVVPPCon
On Friday, 14 May 2021 1:59:13 AM AEST Marton Balint wrote:
> On Tue, 11 May 2021, Brad Hards wrote:
> > On Saturday, 1 May 2021 12:23:00 PM AEST Brad Hards wrote:
> >> MISB ST 0604 and ST 2101 require user data unregistered SEI messages
> >> (precision timestamps and sensor identifiers) to be incl
On Friday, 14 May 2021 7:22:02 AM AEST James Almer wrote:
> This example is a simple encode API usage with the sole addition of
> inserting one side data element to every frame. It's not really useful.
I will remove it from v3.
Brad
___
ffmpeg-devel
> 2021年5月14日 上午11:43,Gyan Doshi 写道:
>
> Reduce option ranges to effective values.
> ---
> Will reindent after this is applied.
>
> libavfilter/vf_guided.c | 26 --
> 1 file changed, 8 insertions(+), 18 deletions(-)
>
> diff --git a/libavfilter/vf_guided.c b/libavfilter/
Reduce option ranges to effective values.
---
Will reindent after this is applied.
libavfilter/vf_guided.c | 26 --
1 file changed, 8 insertions(+), 18 deletions(-)
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index e7c689e7be..88bae5ab19 100644
--- a/li
fix CID: 1484785
check ref_frame and main_frame before use them
Ignore previous patch please, this should better than that.
Signed-off-by: Steven Liu
---
libavfilter/vf_guided.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
fix CID: 1484785
check ref_frame and main_frame before use them
Signed-off-by: Steven Liu
---
libavfilter/vf_guided.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index e7c689e7be..0868b9cd4f 100644
--- a/libavfilter/vf_gui
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Shubhanshu Saxena
> Sent: 2021年5月13日 15:04
> To: ffmpeg-devel@ffmpeg.org
> Cc: Shubhanshu Saxena
> Subject: [FFmpeg-devel] [PATCH V4 2/5]
> lavfi/dnn_backend_native_layer_conv2d.h: Documentation
>
> Add documentation for 2D Convo
Previously, one or the other would have been ignored, but not both.
Since the probe terminates at three streams, it could exit
prematurely if both data and subtitles are present along with
slightly trailing media, usually video trailing audio.
Trailing media is common in RTMP, and encoders write s
Xuewei Meng:
> V3: Add examples on how to use this filter, and improve the code style.
> V2: Implement the slice-level parallelism for guided filter.
> V1: Add the basic version of guided filter.
>
> Signed-off-by: Xuewei Meng
> ---
> doc/filters.texi | 38 +
> libavfilter/Makefile
On 4/30/2021 11:23 PM, Brad Hards wrote:
Signed-off-by: Brad Hards
---
configure | 2 +
doc/examples/.gitignore| 1 +
doc/examples/Makefile | 1 +
doc/examples/Makefile.example | 1 +
doc/examples/encode_unregistered.c | 205 ++
Marton Balint:
>
>
> On Thu, 13 May 2021, Andreas Rheinhardt wrote:
>
>> Regression since b9c5fdf6027010d15ee90a43aa023e45a5189097;
>> fixes Coverity ID #1484786.
>>
>> Signed-off-by: Andreas Rheinhardt
>> ---
>> Checking for st->internal->parser is btw unnecessary as
>> av_parser_close(NULL) i
On Thu, 13 May 2021, Andreas Rheinhardt wrote:
Regression since b9c5fdf6027010d15ee90a43aa023e45a5189097;
fixes Coverity ID #1484786.
Signed-off-by: Andreas Rheinhardt
---
Checking for st->internal->parser is btw unnecessary as
av_parser_close(NULL) is safe.
I think it is fine if you also
On 5/13/2021 5:22 PM, Andreas Rheinhardt wrote:
Regression since b9c5fdf6027010d15ee90a43aa023e45a5189097;
fixes Coverity ID #1484786.
Signed-off-by: Andreas Rheinhardt
---
Checking for st->internal->parser is btw unnecessary as
av_parser_close(NULL) is safe.
libavformat/utils.c | 5 ++---
Regression since b9c5fdf6027010d15ee90a43aa023e45a5189097;
fixes Coverity ID #1484786.
Signed-off-by: Andreas Rheinhardt
---
Checking for st->internal->parser is btw unnecessary as
av_parser_close(NULL) is safe.
libavformat/utils.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
dif
On Fri, May 7, 2021 at 12:22 AM Jan Ekström wrote:
>
> Otherwise the rate emulation logic in `transcode_step` never gets
> hit, and the unavailability flag never gets reset, leading to an
> eternal loop.
>
> Fixes #9160
> ---
> fftools/ffmpeg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion
On Tue, 11 May 2021, Brad Hards wrote:
On Saturday, 1 May 2021 12:23:00 PM AEST Brad Hards wrote:
MISB ST 0604 and ST 2101 require user data unregistered SEI messages
(precision timestamps and sensor identifiers) to be included. That
currently isn't supported. This series adds encoding for l
On Sun, May 02, 2021 at 23:02:02 +0200, Oneric wrote:
> ASS subtitles can have encoded fonts embedded into the subtitle file
> itself. Allow libass to load those, to render subs as intended.
> ---
> libavfilter/vf_subtitles.c | 1 +
> 1 file changed, 1 insertion(+)
pinging for review
On Thu, May 13, 2021 at 6:11 PM Jan Ekström wrote:
>
> On Fri, May 7, 2021 at 12:22 AM Jan Ekström wrote:
> >
> > Otherwise the rate emulation logic in `transcode_step` never gets
> > hit, and the unavailability flag never gets reset, leading to an
> > eternal loop.
> >
> > Fixes #9160
> > ---
>
On Thu, May 13, 2021 at 11:14:13AM +1000, Zane van Iperen wrote:
>
>
> On 13/5/21 10:50 am, Andreas Rheinhardt wrote:
> > Michael Niedermayer:
> > > Fixes: null pointer dereference
> > > Fixes:
> > > 33172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_WS_fuzzer-5200164273913856
> >
On 13.05.21 10:16, Renvoi wrote:
Dear ffmpeg-devel
I want to encode a video or serial number file to the Grassvallay HQ codec
in AVI format and export it. Is there any way? Please help us.
Grass Valley
https://pro.grassvalley.jp/catalog/hqcodec/hq_codec.htm
This is the development list, not
Dear ffmpeg-devel
I want to encode a video or serial number file to the Grassvallay HQ codec
in AVI format and export it. Is there any way? Please help us.
Grass Valley
https://pro.grassvalley.jp/catalog/hqcodec/hq_codec.htm
--
cont...@renvoi.net
On Thu, May 13, 2021 at 6:52 AM Guo, Yejun wrote:
>
>
> > -Original Message-
> > From: ffmpeg-devel On Behalf Of
> > Shubhanshu Saxena
> > Sent: 2021年5月13日 2:45
> > To: ffmpeg-devel@ffmpeg.org
> > Cc: Shubhanshu Saxena
> > Subject: [FFmpeg-devel] [PATCH 3/5 v2]
> > lavfi/dnn_backend_nat
Add documentation for Dense Layer
Signed-off-by: Shubhanshu Saxena
---
.../dnn/dnn_backend_native_layer_dense.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_native_layer_dense.h
b/libavfilter/dnn/dnn_backend_native_layer_dense.h
index
Add documentation for Depth to Space Layer
Signed-off-by: Shubhanshu Saxena
---
.../dnn_backend_native_layer_depth2space.h| 30 +++
1 file changed, 30 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_native_layer_depth2space.h
b/libavfilter/dnn/dnn_backend_native_laye
Add documentation for Unary Math Layer
Signed-off-by: Shubhanshu Saxena
---
.../dnn/dnn_backend_native_layer_mathunary.h | 30 +++
1 file changed, 30 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_native_layer_mathunary.h
b/libavfilter/dnn/dnn_backend_native_layer_math
Add documentation for 2D Convolution Layer
Signed-off-by: Shubhanshu Saxena
---
.../dnn/dnn_backend_native_layer_conv2d.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_native_layer_conv2d.h
b/libavfilter/dnn/dnn_backend_native_layer_con
Add documentation for Average Pool Layer
Signed-off-by: Shubhanshu Saxena
---
.../dnn/dnn_backend_native_layer_avgpool.h| 28 +++
1 file changed, 28 insertions(+)
diff --git a/libavfilter/dnn/dnn_backend_native_layer_avgpool.h
b/libavfilter/dnn/dnn_backend_native_layer_avgp
50 matches
Mail list logo