[FFmpeg-devel] [PATCH] libavcodec/qsvenc: add DisableDeblockingIdc support for qsv

2020-12-03 Thread wenbin . chen
From: Wenbinc-Bin MediaSDK already has a flag to control deblocking (DisableDeblockingIdc). Add dblk_idc parameter in ffmpeg to expose this flag to user. Sigend-off-by: Wenbin Chen --- libavcodec/qsvenc.c | 4 libavcodec/qsvenc.h | 3 +++ 2 files changed, 7 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH] swscale/rgb2rgb_template: use shuffle macro on BE arches

2020-12-03 Thread Andriy Gelman
On Tue, 01. Dec 00:45, Carl Eugen Hoyos wrote: > Am Mo., 30. Nov. 2020 um 06:48 Uhr schrieb Andriy Gelman > : > > > > From: Andriy Gelman > > > > Fixes fate-qtrle-32bit on PPC64 qemu > > I suspect your patch fixes colourspace conversion (and the fate > test) on big-endian. For this fate test

Re: [FFmpeg-devel] [PATCH] avformat/hls: Fixes overwriting existing #EXT-X-PROGRAM-DATE-TIME value in HLS playlist

2020-12-03 Thread Steven Liu
> 2020年12月1日 下午6:10,Vignesh Ravichandran 写道: > > Bug ID: 8989 > > This is is due to the following behavior in the current code: > 1. The initial_prog_date_time gets set to the current local time > 2. The existing playlist (.m3u8) file gets parsed and the segments present > are added to the

[FFmpeg-devel] [PATCH 3/4] avformat/dhav: Check position for overflow

2020-12-03 Thread Michael Niedermayer
Fixes: signed integer overflow: 9223372036854775807 + 32768 cannot be represented in type 'long' Fixes: 27744/clusterfuzz-testcase-minimized-ffmpeg_dem_DHAV_fuzzer-5179319491756032 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH 4/4] avcodec/wmaprodec: Check packet size

2020-12-03 Thread Michael Niedermayer
Fixes: left shift of negative value -25824 Fixes: 27754/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA2_fuzzer-5760255962906624 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

[FFmpeg-devel] [PATCH 1/4] avcodec/cdgraphics: Check frame before clearing

2020-12-03 Thread Michael Niedermayer
Fixes: null pointer dereference Fixes: 27730/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CDGRAPHICS_fuzzer-6212402236096512 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/cdgraphics.c

[FFmpeg-devel] [PATCH 2/4] avcodec/rasc: Check frame before clearing

2020-12-03 Thread Michael Niedermayer
Fixes: null pointer dereference Fixes: 27737/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RASC_fuzzer-5769028685266944 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/rasc.c | 3 +++ 1

Re: [FFmpeg-devel] [PATCH] avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames

2020-12-03 Thread Dave Rice
> On Nov 14, 2020, at 7:14 PM, Marton Balint wrote: > > On Fri, 6 Nov 2020, Michael Niedermayer wrote: > >> On Wed, Nov 04, 2020 at 10:44:56PM +0100, Marton Balint wrote: >>> >>> >>> On Wed, 4 Nov 2020, Michael Niedermayer wrote: >>> we have "millisecond" based formats, rounded

Re: [FFmpeg-devel] [PATCH] libavformat/mov.c: export vendor id as metadata

2020-12-03 Thread Thierry Foucu
On Wed, Nov 18, 2020 at 12:09 PM Thierry Foucu wrote: > --- > libavformat/mov.c | 8 ++-- > tests/ref/fate/hapqa-extract-nosnappy-to-hapalphaonly-mov | 1 + > tests/ref/fate/hapqa-extract-nosnappy-to-hapq-mov | 1 + > tests/ref/fate/mov-zombie

Re: [FFmpeg-devel] Next developer meeting

2020-12-03 Thread Thilo Borgmann
Hi, we haven't had a meeting for quite some time and are beyond schedule anyway. So I'd propose having another developer meeting before end of year. Please give your preferences for a date here: https://framadate.org/g1FPmOpfEz9mSLg9 one week later, we have settled for having the FFDev

Re: [FFmpeg-devel] [PATCH v2 1/6] avutil/timecode: allow drop frame timecodes for multiples of 30000/1001 fps

2020-12-03 Thread Marton Balint
On Sat, 28 Nov 2020, Marton Balint wrote: Signed-off-by: Marton Balint --- libavutil/timecode.c | 17 +++-- libavutil/timecode.h | 4 ++-- 2 files changed, 9 insertions(+), 12 deletions(-) Applied the series. Regards, Marton diff --git a/libavutil/timecode.c

Re: [FFmpeg-devel] [PATCH] avcodec/vaapi_av1: fill the remaining VAFilmGrainStructAV1 fields

2020-12-03 Thread James Almer
On 11/30/2020 7:42 PM, James Almer wrote: Signed-off-by: James Almer --- libavcodec/vaapi_av1.c | 60 +++--- 1 file changed, 51 insertions(+), 9 deletions(-) diff --git a/libavcodec/vaapi_av1.c b/libavcodec/vaapi_av1.c index 2763c1e866..b76e217daa 100644

[FFmpeg-devel] [PATCH] avfilter/vf_hwupload_cuda: add transparent pix_fmts

2020-12-03 Thread Daniel Raniz Raneland
Signed-off-by: Daniel Raniz Raneland --- libavfilter/vf_hwupload_cuda.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_hwupload_cuda.c b/libavfilter/vf_hwupload_cuda.c index 33906f2515..83b7babeaa 100644 --- a/libavfilter/vf_hwupload_cuda.c +++

[FFmpeg-devel] [PATCH 3/3] avformat/rmdec: Reorder operations to avoid overflow

2020-12-03 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483648 - 14 cannot be represented in type 'int' Fixes: 27659/clusterfuzz-testcase-minimized-ffmpeg_dem_RM_fuzzer-5697250168406016 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 2/3] avcodec/mxpegdec: fix SOF counting

2020-12-03 Thread Michael Niedermayer
Fixes: Timeout (>10sec -> 15ms) Fixes: 27652/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MXPEG_fuzzer-5125920868007936 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mxpegdec.c | 3 ++-

[FFmpeg-devel] [PATCH 1/3] avformat/id3v2: Sanity check tlen before alloc and uncompress

2020-12-03 Thread Michael Niedermayer
Fixes: Timeout (>20sec -> 65ms) Fixes: 26896/clusterfuzz-testcase-minimized-ffmpeg_dem_DAUD_fuzzer-5691024049176576 Fixes: 27627/clusterfuzz-testcase-minimized-ffmpeg_dem_AEA_fuzzer-4907019324358656 Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] http: support retry on connection error

2020-12-03 Thread Eran Kornblau
Hi Marton, Thank you for the feedback, and sorry for my late reply :) Please see my responses inline, updated patch attached. Thanks Eran > -Original Message- > From: ffmpeg-devel On Behalf Of Marton > Balint > Sent: Wednesday, November 18, 2020 10:46 PM > To: FFmpeg development

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: Adding support for HDR metadata to hevc qsv encode

2020-12-03 Thread Xiang, Haihao
On Wed, 2020-12-02 at 13:18 +, Fredrick Odhiambo wrote: > This patch allows passing of HDR10 metadata through qsv_params for encoding > with hevc_qsv similar to how HDR10 parameters are passed to x265-params in > libx265 encoding. The HDR10 metadata parameters passed are master-display, >