Re: [FFmpeg-devel] [PATCH] avdevice/decklink: adjust for timecode lag

2019-08-30 Thread Gyan
On 31-08-2019 04:14 AM, Marton Balint wrote: On Fri, 30 Aug 2019, Gyan wrote: On 22-08-2019 01:10 AM, Marton Balint wrote: On Tue, 20 Aug 2019, Devin Heitmueller wrote: A couple of follow-up Qs: Is auto-detection available for all Decklink devices? No, but AFAIK it is for all

Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add AV_CODEC_CAP_VARIABLE_DIMENSIONS flag

2019-08-30 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Fu, Linjie > Sent: Thursday, August 1, 2019 22:51 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/4] avc/avcodec: add >

Re: [FFmpeg-devel] [PATCH 1/2] lavu/pixfmt: add AYUV pixel format

2019-08-30 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Friday, August 30, 2019 00:12 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavu/pixfmt: add AYUV pixel

Re: [FFmpeg-devel] [PATCH v4] Add ZeroMQ as protocol option

2019-08-30 Thread Marton Balint
On Sat, 31 Aug 2019, Marton Balint wrote: On Fri, 30 Aug 2019, Andriy Gelman wrote: On Thu, 29. Aug 21:01, Marton Balint wrote: On Thu, 29 Aug 2019, Andriy Gelman wrote: > Changes in v4: > - Use polling instead of non-blocking option for socket >read/write operations. > - Added

Re: [FFmpeg-devel] [PATCH v5] Add ZeroMQ as protocol option

2019-08-30 Thread Marton Balint
On Fri, 30 Aug 2019, Andriy Gelman wrote: Changes in v5: - Use polling in a loop to check interrupt callback. - Remove timeout_send/timeout_recv options and update documentation. Thanks, two comments: I noticed that you created a version requirement: libzmq >= 4.3.1. That is a

Re: [FFmpeg-devel] [PATCH 3/3] avformat/mov: Check for EOF in mov_read_meta()

2019-08-30 Thread James Almer
On 8/30/2019 8:25 PM, Michael Niedermayer wrote: > Fixes: Timeout (195sec -> 2ms) > Fixes: > 16735/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5090676403863552 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: Init parsepkt

2019-08-30 Thread James Almer
On 8/30/2019 8:25 PM, Michael Niedermayer wrote: > Fixes: memory corruption > Fixes: > 16702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PNG_fuzzer-5768418552184832 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH v4] Add ZeroMQ as protocol option

2019-08-30 Thread Marton Balint
On Fri, 30 Aug 2019, Andriy Gelman wrote: On Thu, 29. Aug 21:01, Marton Balint wrote: On Thu, 29 Aug 2019, Andriy Gelman wrote: > Changes in v4: > - Use polling instead of non-blocking option for socket >read/write operations. > - Added pkt_size, timeout_send, timeout_recv options.

[FFmpeg-devel] [PATCH 2/3] avformat/cdxl: Fix integer overflow in intermediate

2019-08-30 Thread Michael Niedermayer
Fixes: signed integer overflow: 65535 * 65312 cannot be represented in type 'int' Fixes: 16704/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-6294115603447808 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: Init parsepkt

2019-08-30 Thread Michael Niedermayer
Fixes: memory corruption Fixes: 16702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PNG_fuzzer-5768418552184832 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

[FFmpeg-devel] [PATCH 3/3] avformat/mov: Check for EOF in mov_read_meta()

2019-08-30 Thread Michael Niedermayer
Fixes: Timeout (195sec -> 2ms) Fixes: 16735/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5090676403863552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 5 - 1 file

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: adjust for timecode lag

2019-08-30 Thread Marton Balint
On Fri, 30 Aug 2019, Gyan wrote: On 22-08-2019 01:10 AM, Marton Balint wrote: On Tue, 20 Aug 2019, Devin Heitmueller wrote: A couple of follow-up Qs: Is auto-detection available for all Decklink devices? No, but AFAIK it is for all devices which support SDI. Generally it's the older

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/vorbisdec: Check get_vlc2() failure

2019-08-30 Thread Michael Niedermayer
On Mon, Jul 08, 2019 at 01:18:05AM +0200, Michael Niedermayer wrote: > No testcase Testcase found by ossfuzz will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are too smart to engage in politics are punished by being governed by those who are

[FFmpeg-devel] [PATCH] avcodec/decode: add a parameter to ff_reget_buffer() to request a writable buffer

2019-08-30 Thread James Almer
Some decoders may not need a writable buffer in some specific cases, but only a reference to the existing buffer with updated frame properties instead, for the purpose of returning duplicate frames. Signed-off-by: James Almer --- libavcodec/aasc.c | 2 +- libavcodec/anm.c | 2

Re: [FFmpeg-devel] [PATCH] avcodec/wcmv: use ff_reget_buffer()

2019-08-30 Thread Paul B Mahol
On 8/30/19, James Almer wrote: > On 8/30/2019 3:45 AM, Paul B Mahol wrote: >> Here is sample: https://0x0.st/z49v.avi > > Thanks. Can you make a fate test for it? Here is much smaller file. https://0x0.st/z4f5.avi > >> >> On 8/30/19, Paul B Mahol wrote: >>> It still exits early when no

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/vaapi_encode: Simplify code with av_clip_int8()

2019-08-30 Thread Michael Niedermayer
On Thu, Aug 29, 2019 at 12:18:03AM +, Li, Zhong wrote: > > From: ffmpeg-devel On Behalf Of Michael > > Niedermayer > > Sent: Thursday, August 29, 2019 1:27 AM > > To: FFmpeg development discussions and patches > > Subject: [FFmpeg-devel] [PATCH 1/5] avcodec/vaapi_encode: Simplify code with >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/arbc: Use ff_reget_buffer()

2019-08-30 Thread Michael Niedermayer
On Fri, Aug 30, 2019 at 11:15:21AM -0300, James Almer wrote: > On 8/29/2019 4:33 PM, James Almer wrote: > > On 8/29/2019 4:04 PM, Michael Niedermayer wrote: > >> Fixes: Timeout (20sec -> 0.5sec) > >> Fixes: > >> 16404/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5660216355454976

Re: [FFmpeg-devel] [PATCH v1 3/5] avcodec/v210enc: define DEFINE_V210_PLANAR_FUNC to remove duplicate function

2019-08-30 Thread Michael Niedermayer
On Wed, Aug 28, 2019 at 11:45:14PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/v210enc.c | 43 --- > 1 file changed, 16 insertions(+), 27 deletions(-) > > diff --git a/libavcodec/v210enc.c

Re: [FFmpeg-devel] [PATCH v1 4/5] avcodec/v210enc: make 8bit and 10bit process consistent

2019-08-30 Thread Michael Niedermayer
On Wed, Aug 28, 2019 at 11:45:15PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/v210enc.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) the commit message should say "why" (for code factorization in the

Re: [FFmpeg-devel] [PATCH v1 5/5] avcodec/v210enc: define DEFINE_V210_ENCODE_FUNC to remove duplicate code

2019-08-30 Thread Michael Niedermayer
On Wed, Aug 28, 2019 at 11:45:16PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/v210enc.c | 171 > +-- > 1 file changed, 69 insertions(+), 102 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH v5] Add ZeroMQ as protocol option

2019-08-30 Thread Andriy Gelman
Changes in v5: - Use polling in a loop to check interrupt callback. - Remove timeout_send/timeout_recv options and update documentation. Thanks, Andriy >From a0c642f59c314c7ae53917f2b0d02bc6779009c2 Mon Sep 17 00:00:00 2001 From: Andriy Gelman Date: Tue, 30 Jul 2019 14:39:32

Re: [FFmpeg-devel] [PATCH v4] Add ZeroMQ as protocol option

2019-08-30 Thread Andriy Gelman
On Thu, 29. Aug 21:01, Marton Balint wrote: > > > On Thu, 29 Aug 2019, Andriy Gelman wrote: > > > Changes in v4: > > - Use polling instead of non-blocking option for socket > >read/write operations. > > - Added pkt_size, timeout_send, timeout_recv options. > >Updated documentation for

[FFmpeg-devel] [PATCH v3] Allow 'concat' filter to support inputs with different frame rates

2019-08-30 Thread Calvin Walton
Right now, the concat filter does not set the frame_rate value on any of the out links. As a result, the default ffmpeg behaviour kicks in - to copy the framerate from the first input to the outputs. If a later input is higher framerate, this results in dropped frames; if a later input is lower

[FFmpeg-devel] [PATCH] tools/target_dec_fuzzer: add support to fuzz bitstream filters

2019-08-30 Thread James Almer
Signed-off-by: James Almer --- Untested. I'm also not sure how to add the FFMPEG_BSF define to tools/Makefile, and have it coexist with FFMPEG_DECODER. Assuming it's needed. tools/target_dec_fuzzer.c | 43 +++ 1 file changed, 43 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH v1 1/2] avcodec/v410dec: add the slice threading support

2019-08-30 Thread Paul B Mahol
All this patches are missing number showing speedup gains. On 8/30/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/v410dec.c | 77 > ++-- > 1 file changed, 57 insertions(+), 20 deletions(-) >

Re: [FFmpeg-devel] [PATCH] Change libvpx-vpx default to crf=32.

2019-08-30 Thread Elliott Karpilovsky
On Thu, Aug 29, 2019 at 10:14 AM Jan Ekström wrote: > > On Thu, Aug 29, 2019 at 7:17 PM Carl Eugen Hoyos wrote: > > > > Am Do., 29. Aug. 2019 um 18:12 Uhr schrieb Elliott Karpilovsky > > : > > > > > > On Wed, Aug 28, 2019 at 3:11 PM Carl Eugen Hoyos > > > wrote: > > > > > > > > Am Mi., 28.

[FFmpeg-devel] [PATCH v1 1/2] avcodec/v410dec: add the slice threading support

2019-08-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v410dec.c | 77 ++-- 1 file changed, 57 insertions(+), 20 deletions(-) diff --git a/libavcodec/v410dec.c b/libavcodec/v410dec.c index 48fab68..a9b17a0 100644 --- a/libavcodec/v410dec.c

[FFmpeg-devel] [PATCH v1 2/2] avcodec/v308dec: add the slice threading support

2019-08-30 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/v308dec.c | 74 ++-- 1 file changed, 55 insertions(+), 19 deletions(-) diff --git a/libavcodec/v308dec.c b/libavcodec/v308dec.c index dd53fbd..07e5e24 100644 --- a/libavcodec/v308dec.c

Re: [FFmpeg-devel] [PATCH] avcodec/omx: fix xFramerate calculation

2019-08-30 Thread Aman Gupta
On Thu, Aug 29, 2019 at 10:30 PM Nicolas George wrote: > Aman Gupta (12019-08-29): > > > > -in_port_params.format.video.xFramerate = (1 << 16) * > > > avctx->framerate.num / avctx->framerate.den; > > > > +in_port_params.format.video.xFramerate = (int64_t)(1 << 16) > * > > >

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: adjust for timecode lag

2019-08-30 Thread Gyan
On 22-08-2019 01:10 AM, Marton Balint wrote: On Tue, 20 Aug 2019, Devin Heitmueller wrote: A couple of follow-up Qs: Is auto-detection available for all Decklink devices? No, but AFAIK it is for all devices which support SDI. Generally it's the older analog capture devices which don't

Re: [FFmpeg-devel] [PATCH 3/3] dnn: export operand info in python script and load in c code

2019-08-30 Thread Pedro Arthur
Em qui, 29 de ago de 2019 às 02:42, Guo, Yejun escreveu: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Pedro Arthur > > Sent: Tuesday, August 27, 2019 10:46 PM > > To: FFmpeg development discussions and patches > > Subject:

Re: [FFmpeg-devel] [PATCH V2 1/3] dnn: introduce dnn operand (in c code) to hold operand infos within network

2019-08-30 Thread Pedro Arthur
Em qui, 29 de ago de 2019 às 02:57, Guo, Yejun escreveu: > > the info can be saved in dnn operand object without regenerating again and > again, > and it is also needed for layer split/merge, and for memory reuse. > > to make things step by step, this patch just focuses on c code, > the change

Re: [FFmpeg-devel] [PATCH V2 2/3] dnn: change .model file format to put layer number at the end of file

2019-08-30 Thread Pedro Arthur
Em qui, 29 de ago de 2019 às 02:58, Guo, Yejun escreveu: > > currently, the layer number is at the beginning of the .model file, > so we have to scan twice in python script, the first scan to get the > layer number. Only one scan needed after put the layer number at the > end of .model file. > >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/arbc: Use ff_reget_buffer()

2019-08-30 Thread James Almer
On 8/29/2019 4:33 PM, James Almer wrote: > On 8/29/2019 4:04 PM, Michael Niedermayer wrote: >> Fixes: Timeout (20sec -> 0.5sec) >> Fixes: >> 16404/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARBC_fuzzer-5660216355454976 >> >> Found-by: continuous fuzzing process >>

Re: [FFmpeg-devel] [PATCH] avcodec/wcmv: use ff_reget_buffer()

2019-08-30 Thread James Almer
On 8/30/2019 3:45 AM, Paul B Mahol wrote: > Here is sample: https://0x0.st/z49v.avi Thanks. Can you make a fate test for it? > > On 8/30/19, Paul B Mahol wrote: >> It still exits early when no blocks are encoded. >> >> On 8/30/19, James Almer wrote: >>> Signed-off-by: James Almer >>> --- >>>

Re: [FFmpeg-devel] [PATCH] avcodec/wcmv: use ff_reget_buffer()

2019-08-30 Thread James Almer
On 8/30/2019 3:26 AM, Paul B Mahol wrote: > It still exits early when no blocks are encoded. That's unrelated to this patch. I can look into reverting 976dae8b32 and preventing data copying when the frame doesn't change in a separate patchset. > > On 8/30/19, James Almer wrote: >>

Re: [FFmpeg-devel] ffmpeg version differences

2019-08-30 Thread Reto Kromer
Mehta, Krishnakant wrote: >Kindly let us know what are major differences in ffmpeg ver 4.2 >and 2.8.11 Please check the informations available on the homepage: https://ffmpeg.org/ You should post such questions on the FFmpeg user mailing list, not the developer's one. Hope this helps! Reto

[FFmpeg-devel] ffmpeg version differences

2019-08-30 Thread Mehta, Krishnakant
Hi, We are using 'ffmpeg version 2.8.11' library for one of our medical application running on Cent OS (linux) to convert audio/video streams. We want to migrate to latest ffmpeg version 4.2 on RHEL8 linux platform. Kindly let us know what are major differences in ffmpeg ver 4.2 and 2.8.11

Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate hw_frames_ctx for vp9 without destroy va_context

2019-08-30 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Fu, Linjie > Sent: Friday, August 9, 2019 19:47 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH, v2 2/2] lavc/vaapi_decode: recreate >

Re: [FFmpeg-devel] [PATCH V1] avutil/file: always set *size to zero if *bufptr is NULL

2019-08-30 Thread Paul B Mahol
On 8/30/19, myp...@gmail.com wrote: > On Thu, Aug 29, 2019 at 9:07 PM Michael Niedermayer > wrote: >> >> On Thu, Aug 29, 2019 at 01:04:43AM +0800, Jun Zhao wrote: >> > From: Jun Zhao >> > >> > Always set *size to zero if *bufptr is NULL, it's more make sence. >> > >> > fix #8095 >> > >> >

Re: [FFmpeg-devel] [PATCH] avcodec/wcmv: use ff_reget_buffer()

2019-08-30 Thread Paul B Mahol
Here is sample: https://0x0.st/z49v.avi On 8/30/19, Paul B Mahol wrote: > It still exits early when no blocks are encoded. > > On 8/30/19, James Almer wrote: >> Signed-off-by: James Almer >> --- >> Untested. There doesn't seem to be a fate test, and i have no samples >> at hand. >> >>

Re: [FFmpeg-devel] [PATCH v2] avformat/mxfenc: fix warning: unused function 'klv_ber_length' [-Wunused-function]

2019-08-30 Thread Tomas Härdin
tor 2019-08-29 klockan 16:44 +0800 skrev lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/mxfenc.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c > index

Re: [FFmpeg-devel] [PATCH] avcodec/wcmv: use ff_reget_buffer()

2019-08-30 Thread Paul B Mahol
It still exits early when no blocks are encoded. On 8/30/19, James Almer wrote: > Signed-off-by: James Almer > --- > Untested. There doesn't seem to be a fate test, and i have no samples > at hand. > > libavcodec/wcmv.c | 23 +-- > 1 file changed, 9 insertions(+), 14