Re: [FFmpeg-devel] [PATCH] lavfi/vf_vpp_qsv: add support for new scaling modes

2023-02-05 Thread Xiang, Haihao
On Vr, 2023-02-03 at 14:36 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > The new modes work on new platforms and are avaialable only for oneVPL. > > Signed-off-by: Haihao Xiang > --- > libavfilter/vf_vpp_qsv.c | 31 --- > 1 file changed, 28 insertions(+), 3 d

Re: [FFmpeg-devel] [PATCH 1/2] lavu/hwcontext_qsv: add support for UYVY

2023-02-05 Thread Xiang, Haihao
On Vr, 2023-02-03 at 14:34 +0800, Xiang, Haihao wrote: > From: Haihao Xiang > > The SDK supports UYVY from version 1.17, and VPP may support UYVY > input on Linux [1] > > $ ffmpeg -loglevel verbose -init_hw_device qsv=intel -f lavfi -i \ > yuvtestsrc -vf \ > "format=uyvy422,hwupload=extra_hw_fra

Re: [FFmpeg-devel] [PATCH] avfilter: add QSV variants of the stack filters

2023-02-05 Thread Xiang, Haihao
On Ma, 2023-01-30 at 09:48 +0100, Paul B Mahol wrote: > On 1/30/23, Xiang, Haihao wrote: > > From: Haihao Xiang > > > > Include hstack_qsv, vstack_qsv and xstack_qsv. They may accept input > > streams with different sizes. > > > > Examples: > > $ ffmpeg -hwaccel qsv -hwaccel_output_format qsv -

[FFmpeg-devel] [PATCH v5 08/10] lavc/vaapi_hevc: Add vaapi profile parse support for SCC

2023-02-05 Thread Fei Wang
From: Linjie Fu Note that Screen-Extended Main 4:4:4 and 4:4:4 10 supports chroma_format_idc from 0, 1 or 3, hence both 420 and 444 are supported. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/vaapi_decode.c | 4 +++- libavcodec/vaapi_hevc.c | 14 -- libavcode

[FFmpeg-devel] [PATCH v5 10/10] lavc/vaapi_hevc: Loose the restricts for SCC decoding

2023-02-05 Thread Fei Wang
From: Linjie Fu Allow current picture as the reference picture. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/vaapi_hevc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c index a06785f7a6..0e5da15e53 100

[FFmpeg-devel] [PATCH v5 07/10] lavc/vaapi_hevc: Pass SCC parameters Through VA-API

2023-02-05 Thread Fei Wang
From: Linjie Fu Including sps/pps/slice parameters. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/vaapi_hevc.c | 57 + 1 file changed, 52 insertions(+), 5 deletions(-) diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c ind

[FFmpeg-devel] [PATCH v5 09/10] lavc/vaapi_hevc: Set correct rps type for scc

2023-02-05 Thread Fei Wang
From: Linjie Fu According to 8.1.3 and 8.3.2. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/vaapi_hevc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c index 1cf43bd4dc..a06785f7a6 100644 --- a/libavcodec/vaapi_hevc.

[FFmpeg-devel] [PATCH v5 06/10] lavc/hevc: Update reference list for SCC

2023-02-05 Thread Fei Wang
From: Linjie Fu Screen Content Coding allows non-intra slice in an IRAP frame which can reference the frame itself, and would mark the current decoded picture as "used for long-term reference", no matter TwoVersionsOfCurrDecPicFlag(8.1.3), hence some previous restricts are not suitable any more.

[FFmpeg-devel] [PATCH v5 05/10] lavc/hevcdec: Set max_num_merge_cand to uint8_t

2023-02-05 Thread Fei Wang
From: Linjie Fu uint8_t is big enough and keep consistent with the definition in cbs_h265.h. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/hevcdec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index a7fc669b

[FFmpeg-devel] [PATCH v5 04/10] lavc/hevcdec: Fix the parsing for use_integer_mv_flag

2023-02-05 Thread Fei Wang
From: Linjie Fu According to 7.3.6.1, use_integer_mv_flag should be parsed if motion_vector_resolution_control_idc equals to 2. If not present, it equals to motion_vector_resolution_control_idc. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/hevcdec.c | 8 libavcodec

[FFmpeg-devel] [PATCH v5 03/10] lavc/hevcdec: Add slice parse support for HEVC SCC extension

2023-02-05 Thread Fei Wang
From: Linjie Fu Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- libavcodec/hevcdec.c | 6 ++ libavcodec/hevcdec.h | 4 2 files changed, 10 insertions(+) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 567e8d81d4..f9a97ac7f5 100644 --- a/libavcodec/hevcdec.c +++ b/

[FFmpeg-devel] [PATCH v5 02/10] lavc/hevc_ps: Add SPS/PPS parse support for HEVC extension syntax

2023-02-05 Thread Fei Wang
From: Linjie Fu 1. Add extension syntax according to 7.3.2.2.3/7.3.2.3.3 in T-REC-H.265-201911. 2. Keep using parsed PPS when bitstream overread for compatibility. For example, the clip PS_A_VIDYO_3.bit in FATE test has incomplete extension syntax which will be overread and un-decodable if withou

[FFmpeg-devel] [PATCH v5 01/10] lavc/avcodec: Add HEVC Screen Content Coding Extensions profile

2023-02-05 Thread Fei Wang
From: Linjie Fu Described in HEVC spec A.3.7. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- 1. fix compile warning with VAAPI version less than 1.2.0 libavcodec/avcodec.h | 1 + libavcodec/hevc_ps.c | 2 ++ libavcodec/profiles.c | 1 + 3 files changed, 4 insertions(+) diff --git a/

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg: extend -dts_delta_threshold option description

2023-02-05 Thread Gyan Doshi
On 2023-02-06 06:55 am, Stefano Sabatini wrote: On date Wednesday 2023-01-25 10:47:20 +0530, Gyan Doshi wrote: For copy_ts, it is still applied for all negative deltas except the smallest. Which is a bit arbitrary. Possibly, but I imagine there was some trac ticket which prompted that han

[FFmpeg-devel] Hardware purchase request Apple M2

2023-02-05 Thread Thilo Borgmann
Hi, the M2 chip recently made it from the laptops into the mini as well. It's the generation of the Chip, I think we should buy one and have that running FATE as well. Kieran agreed on hosting this one like he does for the existing M1 machines. There are currently two M1 machines running at Kie

[FFmpeg-devel] Code of Conduct & Mailing list rules & Community Committee

2023-02-05 Thread Thilo Borgmann
Hi folks, unfortunately the latest escalation on the user mailing list [1][2][3][4] let's me think that it is necessary to emphasize some things and update the mind of many of us. A) We have imposed upon us our Code of Conduct [5]. We ask everyone to (read and) follow that in our Mailing list

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg: extend -dts_delta_threshold option description

2023-02-05 Thread Stefano Sabatini
On date Wednesday 2023-01-25 10:47:20 +0530, Gyan Doshi wrote: > > > On 2023-01-25 06:37 am, Stefano Sabatini wrote: > > --- > > doc/ffmpeg.texi | 17 +++-- > > 1 file changed, 15 insertions(+), 2 deletions(-) > > > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > > index 67b329

[FFmpeg-devel] [PATCH 1/2] ffmpeg_demux: show fixed timestamps in ts_fixup

2023-02-05 Thread Stefano Sabatini
Help debugging. --- fftools/ffmpeg_demux.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index 4b5c62b0d5..71ce7d9a02 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -173,16 +173,19 @@

Re: [FFmpeg-devel] [PATCH] libavformat/mpegtsenc.c -- correctly re-emit extradata ahead of IDR pictures

2023-02-05 Thread Marton Balint
On Tue, 31 Jan 2023, John Coiner wrote: This replaces and obsoletes the earlier version of this patch, which had a bug. Thanks to Marton Balint for spotting it. This fixes https://trac.ffmpeg.org/ticket/10148, it ensures that each IDR frame is prefixed with SPS/PPS. Tested manually, with

Re: [FFmpeg-devel] [PATCH v2 10/33] avcodec: remove FF_API_THREAD_SAFE_CALLBACKS

2023-02-05 Thread Michael Niedermayer
On Sat, Feb 04, 2023 at 11:41:41AM +0100, Anton Khirnov wrote: > From: James Almer > > Signed-off-by: James Almer > --- > fftools/ffmpeg.c | 5 - > libavcodec/avcodec.h | 21 --- > libavcodec/decode.c | 13 -- > libavcodec/encode.c |

Re: [FFmpeg-devel] [PATCH] avfilter: fix af_pan regression

2023-02-05 Thread Paul B Mahol
On 2/5/23, Michael Niedermayer wrote: > On Sat, Feb 04, 2023 at 09:48:38PM +0100, Paul B Mahol wrote: >> Patch attached. > >> af_pan.c |3 +++ >> 1 file changed, 3 insertions(+) >> bf878b3bd193e6462d1babf5e6e45a056a3a0f65 >> 0001-avfilter-af_pan-fix-regression-introduced-with-switc.patch >> F

Re: [FFmpeg-devel] [PATCH] avfilter: fix af_pan regression

2023-02-05 Thread Michael Niedermayer
On Sat, Feb 04, 2023 at 09:48:38PM +0100, Paul B Mahol wrote: > Patch attached. > af_pan.c |3 +++ > 1 file changed, 3 insertions(+) > bf878b3bd193e6462d1babf5e6e45a056a3a0f65 > 0001-avfilter-af_pan-fix-regression-introduced-with-switc.patch > From b53fa290876af0f540a99f733193f270103bf8ad M

[FFmpeg-devel] [PATCH] RK Audio demuxer and decoder

2023-02-05 Thread Paul B Mahol
On 2/4/23, Paul B Mahol wrote: > Hi, > > Patches attached, decoder is not bit by bit exact yet for lossless > mode because some samples are not properly rounded. > Now lossless mode is bit exact. From 232125e5bbbd6ac0b8049cc32e5ca61c484d1bd8 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue,

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-05 Thread Gyan Doshi
On 2023-02-05 04:07 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2023-02-04 11:11:12) On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote: What does this achieve that can't be achieved by other means (namely by an API-user updating the relevant metadata dictionaries)? This option together with

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-05 Thread Anton Khirnov
Quoting Gyan Doshi (2023-02-04 11:11:12) > On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote: > > What does this achieve that can't be achieved by other means (namely by > > an API-user updating the relevant metadata dictionaries)? > This option together with meta_period is for CLI users. Options f

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-05 Thread Paul B Mahol
On 2/5/23, Gyan Doshi wrote: > > > On 2023-02-04 04:12 pm, Gyan Doshi wrote: >> >> >> On 2023-02-04 04:02 pm, Paul B Mahol wrote: >>> On 2/4/23, Gyan Doshi wrote: On 2023-02-04 03:46 pm, Paul B Mahol wrote: > On 2/4/23, Gyan Doshi wrote: >> On 2023-02-03 09:04 pm, Andreas Rhein

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/flvenc: add option to read metadata from file

2023-02-05 Thread Gyan Doshi
On 2023-02-04 04:12 pm, Gyan Doshi wrote: On 2023-02-04 04:02 pm, Paul B Mahol wrote: On 2/4/23, Gyan Doshi wrote: On 2023-02-04 03:46 pm, Paul B Mahol wrote: On 2/4/23, Gyan Doshi wrote: On 2023-02-03 09:04 pm, Andreas Rheinhardt wrote: Gyan Doshi: Useful, in conjuntion with option m