[FFmpeg-devel] [PATCH] ffmpeg: remove dead code for -vol

2021-01-30 Thread Gyan Doshi
It is applied via configure_input_audio_filter() --- fftools/ffmpeg_filter.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index e9e31e043e..1cba3055cc 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -641,13 +641,6

Re: [FFmpeg-devel] [PATCH] libavformat: add librist protocol

2021-01-30 Thread James Almer
On 1/30/2021 8:57 PM, Marton Balint wrote: On Tue, 26 Jan 2021, Paul B Mahol wrote: This work is sponsored by Open Broadcast Systems. Signed-off-by: Paul B Mahol --- configure   |   5 + doc/protocols.texi  |  32 + libavformat/Makefile    |   1 + libavformat/librist.c   |

Re: [FFmpeg-devel] [PATCH v5 1/2] avformat/mxf: add platform local tag

2021-01-30 Thread lance . lmwang
On Sat, Jan 30, 2021 at 09:59:16PM +0100, Marton Balint wrote: > > > On Sat, 30 Jan 2021, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > Please check the string of platform with below command: > > ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf > > ./ffmp

Re: [FFmpeg-devel] [PATCH] libavformat: add librist protocol

2021-01-30 Thread Marton Balint
On Sun, 31 Jan 2021, Marton Balint wrote: On Tue, 26 Jan 2021, Paul B Mahol wrote: This work is sponsored by Open Broadcast Systems. Signed-off-by: Paul B Mahol --- configure | 5 + doc/protocols.texi | 32 + libavformat/Makefile| 1 + libavformat/librist.c

Re: [FFmpeg-devel] [PATCH] libavformat: add librist protocol

2021-01-30 Thread Marton Balint
On Tue, 26 Jan 2021, Paul B Mahol wrote: This work is sponsored by Open Broadcast Systems. Signed-off-by: Paul B Mahol --- configure | 5 + doc/protocols.texi | 32 + libavformat/Makefile| 1 + libavformat/librist.c | 251 +++

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/vp3: Check input amount in theora_decode_header()

2021-01-30 Thread Michael Niedermayer
On Sun, Jan 31, 2021 at 09:53:27AM +1100, Peter Ross wrote: > On Sat, Jan 30, 2021 at 04:00:20PM +0100, Michael Niedermayer wrote: > > Fixes: Timeout > > Fixes: > > 29226/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-6195092572471296 > > > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH 2/4] avformat/wavdec: Check avio_get_str16le() for failure

2021-01-30 Thread Michael Niedermayer
On Sat, Jan 30, 2021 at 06:09:50PM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Observe your enemies, for they first find out your faults. -- Antisthenes signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/vp3: Check input amount in theora_decode_header()

2021-01-30 Thread Peter Ross
On Sat, Jan 30, 2021 at 04:00:20PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 29226/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-6195092572471296 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sign

Re: [FFmpeg-devel] Race condition in libavformat/libsrt.c causes EOF to be missed

2021-01-30 Thread Marton Balint
On Fri, 29 Jan 2021, Belabox Project wrote: Hi, The way SRT's async / epoll-based IO works is that the event status is stored in the epoll containers. That is, if an event occurs on an SRT socket, and that SRT socket isn't part of any epoll container, then that event is lost. If we later add

Re: [FFmpeg-devel] [PATCH v5 1/2] avformat/mxf: add platform local tag

2021-01-30 Thread Marton Balint
On Sat, 30 Jan 2021, lance.lmw...@gmail.com wrote: From: Limin Wang Please check the string of platform with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-1.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf application_platform: Lavf58.65.101 (linux) I think this should simp

[FFmpeg-devel] [PATCH 2/3] avcodec/jpeglsdec: Fix k=16 in ls_get_code_regular()

2021-01-30 Thread Michael Niedermayer
Fixes: Timeout Fixes: left shift of 33046 by 16 places cannot be represented in type 'int' Fixes: 29258/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MJPEG_fuzzer-4889231489105920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-b

[FFmpeg-devel] [PATCH 3/3] avcodec/hapdec: Check that compressed_offset is non negative

2021-01-30 Thread Michael Niedermayer
Fixes: out of array access Fixes: 29345/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HAP_fuzzer-5401813482340352 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hapdec.c | 4 1 file

[FFmpeg-devel] [PATCH 1/3] avcodec/dcadsp: Fix integer overflow in dmix_add_c()

2021-01-30 Thread Michael Niedermayer
Fixes: signed integer overflow: 1515225320 + 759416059 cannot be represented in type 'int' Fixes: 29256/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DCA_fuzzer-5719088561258496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by

Re: [FFmpeg-devel] [PATCH 2/4] avformat/wavdec: Check avio_get_str16le() for failure

2021-01-30 Thread Paul B Mahol
lgtm On Sat, Jan 30, 2021 at 4:07 PM Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 29195/clusterfuzz-testcase-minimized-ffmpeg_dem_W64_fuzzer-5037853281222656 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-o

[FFmpeg-devel] [PATCH 2/4] avformat/wavdec: Check avio_get_str16le() for failure

2021-01-30 Thread Michael Niedermayer
Fixes: out of array access Fixes: 29195/clusterfuzz-testcase-minimized-ffmpeg_dem_W64_fuzzer-5037853281222656 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/wavdec.c | 4 1 file changed

[FFmpeg-devel] [PATCH 3/4] avcodec/vp3: Check input amount in theora_decode_header()

2021-01-30 Thread Michael Niedermayer
Fixes: Timeout Fixes: 29226/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-6195092572471296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vp3.c | 3 +++ 1 file changed, 3 in

[FFmpeg-devel] [PATCH 1/4] avformat/matroskadec: Check for EOF in resync loop

2021-01-30 Thread Michael Niedermayer
Fixes: Timeout (too long -> instantly) Fixes: 29136/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-4586141227548672 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/matros

[FFmpeg-devel] [PATCH 4/4] tools/target_dec_fuzzer: Adjust threshold for theora

2021-01-30 Thread Michael Niedermayer
Fixes: Timeout Fixes: 29226/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_THEORA_fuzzer-6195092572471296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file change

Re: [FFmpeg-devel] [PATCH 4/6] avformat/rtsp: Fix build failure when RTP demuxers are disabled

2021-01-30 Thread Paul B Mahol
probably ok On Sat, Jan 30, 2021 at 5:45 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > rtsp.c uses a check of the form "if (CONFIG_RTSP_DEMUXER && ...) {}" > with the intent to make the code compilable even though the part guarded > by this check contains calls to functions that

Re: [FFmpeg-devel] [PATCH] cbs_h2645: Implement replace-PS with a table rather than many functions

2021-01-30 Thread Nuo Mi
Hi Mark, Will this fix and merged? thanks On Wed, Jan 27, 2021 at 9:52 PM Nuo Mi wrote: > > > On Wed, Jan 27, 2021 at 7:06 AM Mark Thompson wrote: > >> >> + >> +err = ff_cbs_make_unit_refcounted(ctx, unit); >> +if (err < 0) >> +return err; >> + >> +ref_array = >> + (

[FFmpeg-devel] [PATCH 4/4] dnxhddec: partial alpha support

2021-01-30 Thread Christophe Gisquet
From: Christophe Gisquet This consists in just ignoring the alpha at the end of the bitstream --- libavcodec/dnxhddec.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 11da1c286c..1de95996cf 100644

Re: [FFmpeg-devel] [PATCH 0/4] Better colorspace support in dnxhddec

2021-01-30 Thread Carl Eugen Hoyos
Am Sa., 30. Jan. 2021 um 10:20 Uhr schrieb Christophe Gisquet : > > Nobody complained so the CIDs are likely litle used. https://trac.ffmpeg.org/ticket/7342 There are also tickets #7258 and #3707. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffm

Re: [FFmpeg-devel] [PATCH] lavc/hevc_parser: remove repeated profile/level settings

2021-01-30 Thread Hendrik Leppkes
On Sat, Jan 30, 2021 at 7:58 AM Linjie Fu wrote: > > Since avctx->profile/level would be set in export_stream_params() > in set_sps(), identical codes here seem to be redundant. > > Signed-off-by: Linjie Fu > --- > libavcodec/hevc_parser.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 3/4] dnxhd: add partial alpha support for parsing

2021-01-30 Thread Paul B Mahol
Are you telling us that you do not have specification for this? Last time I checked AVID files had uncompressed alpha that did not matched with specification at all. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinf

[FFmpeg-devel] [PATCH 3/4] dnxhd: add partial alpha support for parsing

2021-01-30 Thread Christophe Gisquet
From: Christophe Gisquet This multiplies the framesize by 1.5 when there is alpha, for the CIDs allowing alpha. In addition, a new header is checked, because the alpha marking seems to be different. --- libavcodec/dnxhd_parser.c | 7 --- libavcodec/dnxhddata.c| 17 - lib

[FFmpeg-devel] [PATCH 2/4] lav/dnxhd: CID 1256 is RGB, not BGR or YUV444

2021-01-30 Thread Christophe Gisquet
From: Christophe Gisquet Fix the logic around checking the ACT flag per MB and row. This also requires adding a 444 path to swap channels into the ffmpeg formats, as they are GBR, and not RGB. --- libavcodec/dnxhddec.c | 64 +++ 1 file changed, 47 insertio

[FFmpeg-devel] [PATCH 0/4] Better colorspace support in dnxhddec

2021-01-30 Thread Christophe Gisquet
Nobody complained so the CIDs are likely litle used. This was developped without reference to the ST2019-1:2016 specs (some fields are therefore guessed) but with reference to (unredistributable) samples likely generated by the Avid SDK. I have no idea how the alpha is coded, but it is variable-le

[FFmpeg-devel] [PATCH 1/4] lav/dnxhd: better support 4:2:0 in DNXHR profiles

2021-01-30 Thread Christophe Gisquet
From: Christophe Gisquet Where they are allowed. No validation of profile + colorformat is performed, however. --- libavcodec/dnxhddec.c | 55 +++ 1 file changed, 40 insertions(+), 15 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c