[FFmpeg-devel] [PATCH] lavfi/vf_libplacebo: fix side data stripping logic

2022-01-09 Thread Niklas Haas
From: Niklas Haas This was accidentally comparing s->colorspace against out->colorspace, which is wrong - the intent was to compare in->colorspace against out->colorspace. We also forgot to strip mastering metadata. Finally, the order is sort of wrong - we should strip this side data *before* pr

Re: [FFmpeg-devel] [PATCH v4] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-09 Thread Soft Works
> -Original Message- > From: Xiang, Haihao > Sent: Monday, January 10, 2022 8:03 AM > To: ffmpeg-devel@ffmpeg.org > Cc: haihao.xiang-at-intel@ffmpeg.org; softwo...@hotmail.com > Subject: Re: [FFmpeg-devel] [PATCH v4] avfilter/vpp_qsv: fix regression on > older api versions (e.g. 1.1

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add return check for ff_qsv_map_pixfmt

2022-01-09 Thread Xiang, Haihao
On Fri, 2022-01-07 at 07:55 +, Xiang, Haihao wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of Linjie > > Fu > > Sent: Tuesday, February 25, 2020 10:03 > > To: ffmpeg-devel@ffmpeg.org > > Cc: Fu, Linjie > > Subject: [FFmpeg-devel] [PATCH] lavc/qsvenc: add return check

Re: [FFmpeg-devel] [PATCH v4] avfilter/vpp_qsv: fix regression on older api versions (e.g. 1.11)

2022-01-09 Thread Xiang, Haihao
On Fri, 2022-01-07 at 07:01 +, ffmpegagent wrote: > From: softworkz > > Commit 8b83dad82512a6948b63408f964463b063ad24c9 introduced a > regression in a way that scaling via vpp_qsv doesn't work any longer > for devices with an MSDK runtime version lower than 1.19. This is true > for older CPUs

Re: [FFmpeg-devel] [PATCH, v2] lavf/vf_deinterlace_vaapi: flush queued frame for field in DeinterlacingBob

2022-01-09 Thread Xiang, Haihao
On Sun, 2022-01-09 at 18:32 +, Mark Thompson wrote: > On 29/12/2021 03:45, Xiang, Haihao wrote: > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of Linjie > > > Fu > > > Sent: Wednesday, September 18, 2019 16:20 > > > To: ffmpeg-devel@ffmpeg.org > > > Cc: Fu, Linjie > > > S

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Xiang, Haihao
On Mon, 2022-01-10 at 01:40 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of Mark > > Thompson > > Sent: Monday, January 10, 2022 1:57 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving > > a

Re: [FFmpeg-devel] 5.0 blocking issues

2022-01-09 Thread zhilizhao(赵志立)
> On Jan 9, 2022, at 12:30 AM, Michael Niedermayer > wrote: > > Hi all > > This is a simple go/no go call > if you know of something that still should go into 5.0 please reply here > with a list of what you are working on and a timelimit until when you > will be done with it A regression is

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Monday, January 10, 2022 1:57 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a > hwdevice, search for existing device in both directions > > On

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Mark Thompson
On 09/01/2022 23:36, Soft Works wrote:>> -Original Message- From: ffmpeg-devel On Behalf Of Mark Thompson Sent: Monday, January 10, 2022 12:13 AM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device

Re: [FFmpeg-devel] [PATCH 1/2] avformat/imfdec: do not use filesize when reading XML file

2022-01-09 Thread Pierre-Anthony Lemieux
On Sat, Jan 8, 2022 at 10:49 AM Marton Balint wrote: > > > > On Sat, 1 Jan 2022, Marton Balint wrote: > > > Signed-off-by: Marton Balint > > --- > > libavformat/imfdec.c | 15 --- > > 1 file changed, 4 insertions(+), 11 deletions(-) > > > > diff --git a/libavformat/imfdec.c b/libavform

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Monday, January 10, 2022 12:13 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a > hwdevice, search for existing device in both directions > > O

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Mark Thompson
On 09/01/2022 21:15, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Mark Thompson Sent: Sunday, January 9, 2022 7:39 PM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Sunday, January 9, 2022 7:39 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a > hwdevice, search for existing device in both directions > > On

[FFmpeg-devel] [PATCH 3/3] fate/matroska: Add test for QT-mode

2022-01-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- tests/fate/matroska.mak | 6 ++ tests/ref/fate/matroska-qt-mode | 125 2 files changed, 131 insertions(+) create mode 100644 tests/ref/fate/matroska-qt-mode diff --git a/tests/fate/matroska.mak b/tests/fate/matrosk

[FFmpeg-devel] [PATCH 2/3] avformat/matroskaenc: Add option to shift data to write cues at front

2022-01-09 Thread Andreas Rheinhardt
This is similar to the faststart option of the mov muxer, yet in contrast to it it works together with reserve_index_space (the equivalent to reserved_moov_size): If the reserved space does not suffice, the data is shifted; if not, the Cues are written at the front without shifting the data. Severa

[FFmpeg-devel] [PATCH 1/3] avcodec/vp3: Don't output bogus warning

2022-01-09 Thread Andreas Rheinhardt
It is perfectly fine to have from one to seven bits left at the end of parsing. Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 5b9ba60f49..791e531862 100644 --- a/libavcodec/

[FFmpeg-devel] [PATCH v2] avcodec/av1dec: honor the requested skip_frame level

2022-01-09 Thread James Almer
This supports dropping non-intra, non-key, or all frames. Signed-off-by: James Almer --- Now dropping the frames without decoding them. Untested with actual hardware. libavcodec/av1dec.c | 68 ++--- 1 file changed, 39 insertions(+), 29 deletions(-) diff

Re: [FFmpeg-devel] [PATCH v4 1/1] avutils/hwcontext: When deriving a hwdevice, search for existing device in both directions

2022-01-09 Thread Mark Thompson
On 05/01/2022 03:38, Xiang, Haihao wrote: ... this patch really fixed some issues for me and others. Can you explain this in more detail? I'd like to understand whether the issues you refer to are something which would be fixed by the ffmpeg utility allowing selection of devices for libavfil

Re: [FFmpeg-devel] [PATCH, v2] lavf/vf_deinterlace_vaapi: flush queued frame for field in DeinterlacingBob

2022-01-09 Thread Mark Thompson
On 29/12/2021 03:45, Xiang, Haihao wrote: -Original Message- From: ffmpeg-devel On Behalf Of Linjie Fu Sent: Wednesday, September 18, 2019 16:20 To: ffmpeg-devel@ffmpeg.org Cc: Fu, Linjie Subject: [FFmpeg-devel] [PATCH, v2] lavf/vf_deinterlace_vaapi: flush queued frame for field in Dein

Re: [FFmpeg-devel] [PATCH 4/4] aarch64: Disable ff_hevc_sao_band_filter_8x8_8_neon out of precaution

2022-01-09 Thread Andriy Gelman
On Fri, 07. Jan 01:30, Martin Storsjö wrote: > On Wed, 5 Jan 2022, Martin Storsjö wrote: > > > While this function on its own passes all of fate-hevc, there's > > indications that the function might need to handle widths that > > aren't a multiple of 8 (noted in commit > > f63f9be37c799ddc835af358

[FFmpeg-devel] [PATCH] avformat/amr: Return error upon error

2022-01-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Will apply soon and backport. libavformat/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/amr.c b/libavformat/amr.c index 40d5bc9cc5..bc22c2f84f 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -91,7 +91,7 @@ st

[FFmpeg-devel] [PATCH 2/2] avcodec/h264_slice, mpeg4videodec: Don't use %s to write single char

2022-01-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/h264_slice.c| 4 ++-- libavcodec/mpeg4videodec.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index c21004df97..f9c300bc2b 100644 --- a/libavcodec/h264_slice.c +++

[FFmpeg-devel] [PATCH 1/2] avcodec/mpeg4video: Split off data in a header of its own

2022-01-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/ituh263enc.c | 1 - libavcodec/mpeg4data.h | 3 +- libavcodec/mpeg4video.h | 35 - libavcodec/mpeg4videodata.h | 61 + libavcodec/mpeg4videodec.c | 3 ++ libavcodec/mpeg4video

Re: [FFmpeg-devel] [PATCH] lavu/videotoolbox: add support for memory mapping frames

2022-01-09 Thread Anton Khirnov
Quoting Cameron Gutman (2022-01-03 01:33:19) > Signed-off-by: Cameron Gutman > --- > libavutil/hwcontext_videotoolbox.c | 25 + > 1 file changed, 25 insertions(+) > > diff --git a/libavutil/hwcontext_videotoolbox.c > b/libavutil/hwcontext_videotoolbox.c > index 0a8dbe9f3