[FFmpeg-devel] [PATCH] avfilter/vf_dnn_processing: fix fate-source

2019-11-07 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/vf_dnn_processing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c index 87ad354..a916d38 100644 --- a/libavfilter/vf_dnn_processing.c +++ b/libavfilter/vf_dnn_processi

Re: [FFmpeg-devel] [PATCH] avcodec/vp9_raw_reorder_bsf.c adjust params keep same with api

2019-11-07 Thread darling.zhong
oh, no, I'm a student learning ffmpeg now, and just learing git nowis there any shell tools like make patch, send to my email use Private letter, thx At 2019-11-08 14:24:28, "myp...@gmail.com" wrote: >On Fri, Nov 8, 2019 at 2:14 PM darling.zhong wrote: >> >> >> >> Signed-off-by: darling.zhong

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mp3dec: Check for occurances of headers within frames during probing

2019-11-07 Thread Limin Wang
On Thu, Nov 07, 2019 at 10:25:32PM +0100, Michael Niedermayer wrote: > From: Limin Wang > > Fixes misdetection of zYLx.wav > > Co-Author: Michael Niedermayer > Signed-off-by: Michael Niedermayer why it's same? > --- > libavformat/mp3dec.c | 10 +- > 1 file changed, 9 insertions(+),

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mp3dec: Check that the frame fits within the probe buffer

2019-11-07 Thread Limin Wang
On Thu, Nov 07, 2019 at 10:25:31PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mp3dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c > index 258f19174b..6848415657 100644 > ---

Re: [FFmpeg-devel] [PATCH] avcodec/vp9_raw_reorder_bsf.c adjust params keep same with api

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 2:14 PM darling.zhong wrote: > > > > Signed-off-by: darling.zhong > --- > libavcodec/h265_metadata_bsf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > mode change 100644 => 100755 libavcodec/h265_metadata_bsf.c > Please don't change the file mode > > diff --gi

[FFmpeg-devel] [PATCH] avcodec/vp9_raw_reorder_bsf.c adjust params keep same with api

2019-11-07 Thread darling.zhong
Signed-off-by: darling.zhong --- libavcodec/h265_metadata_bsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 libavcodec/h265_metadata_bsf.c diff --git a/libavcodec/h265_metadata_bsf.c b/libavcodec/h265_metadata_bsf.c old mode 100644 new mode 100755 index

[FFmpeg-devel] [PATCH] avformat/yuv4mpegenc.c adjust numerator and denominator

2019-11-07 Thread darling.zhong
Signed-off-by: darling.zhong --- libavformat/yuv4mpegenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 libavformat/yuv4mpegenc.c diff --git a/libavformat/yuv4mpegenc.c b/libavformat/yuv4mpegenc.c old mode 100644 new mode 100755 index e84dbf9568..e3c5b

Re: [FFmpeg-devel] [PATCH] avfilter/vf_dnn_processing: correct duplicate statement

2019-11-07 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > leozhang > Sent: Friday, November 08, 2019 11:55 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] avfilter/vf_dnn_processing: correct duplicate > statement > > Signed-off-b

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

[FFmpeg-devel] [PATCH] avformat/utils.c fix mkdir always true

2019-11-07 Thread darling.zhong
Signed-off-by: darling.zhong --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 libavformat/utils.c diff --git a/libavformat/utils.c b/libavformat/utils.c old mode 100644 new mode 100755 index 8196442dd1..0917cc81df --- a/libavformat/util

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 10:58 AM manuelyuan wrote: > > I have try to make fate again and it still works, I do not know why it breaks > fate-binsub-movtextenc on your side > My steps are: > 1、./configure > 2、make fate > If I'm wrong, what should I do? > > > At 2019-11-08 02:21:16, "Michael Niederma

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
I have try to make fate again and it still works, I do not know why it breaks fate-binsub-movtextenc on your side My steps are: 1、./configure 2、make fate If I'm wrong, what should I do? At 2019-11-08 02:21:16, "Michael Niedermayer" wrote: >On Thu, Nov 07, 2019 at 05:55:18PM +0800, manuelyuan w

Re: [FFmpeg-devel] [PATCH V1 1/5] lavf/hls: fix the log context setting in log message

2019-11-07 Thread myp...@gmail.com
On Sat, Nov 2, 2019 at 10:55 PM Jun Zhao wrote: > > From: Jun Zhao > > Fix the log context setting in log message > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c | 14 +++--- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.

[FFmpeg-devel] [PATCH] avcodec/vp9_raw_reorder_bsf.c fix deadcode

2019-11-07 Thread darling.zhong
Here if (in->data[in->size - 1] & 0) nerver true? Signed-off-by: darling.zhong --- libavcodec/vp9_raw_reorder_bsf.c | 2 +- patcheck.tmp | 0 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 libavcodec/vp9_raw_reorder_bsf.c create mode 100644 pat

Re: [FFmpeg-devel] [PATCH v1] avfilter/vf_vaguedenoiser: use fabsf() instead of FFABS()

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 10:09 AM Limin Wang wrote: > > On Wed, Nov 06, 2019 at 08:10:53PM +0100, Carl Eugen Hoyos wrote: > > Am Mi., 6. Nov. 2019 um 12:04 Uhr schrieb Limin Wang > > : > > > > > > On Wed, Nov 06, 2019 at 11:11:08AM +0100, Carl Eugen Hoyos wrote: > > > > Am Mi., 6. Nov. 2019 um 10:3

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/Makefile: add missing framesync dependency to bm3d & mix filters

2019-11-07 Thread myp...@gmail.com
On Thu, Nov 7, 2019 at 3:53 AM Lou Logan wrote: > Signed-off-by: Lou Logan > --- > bm3d > /usr/bin/ld: libavfilter/libavfilter.a(vf_bm3d.o): in function `activate': > vf_bm3d.c:(.text+0x3100): undefined reference to `ff_framesync_activate' > /usr/bin/ld: libavfilter/libavfilter.a(vf_bm3d.o): in

Re: [FFmpeg-devel] [PATCH v1] avfilter/vf_vaguedenoiser: use fabsf() instead of FFABS()

2019-11-07 Thread Limin Wang
On Wed, Nov 06, 2019 at 08:10:53PM +0100, Carl Eugen Hoyos wrote: > Am Mi., 6. Nov. 2019 um 12:04 Uhr schrieb Limin Wang : > > > > On Wed, Nov 06, 2019 at 11:11:08AM +0100, Carl Eugen Hoyos wrote: > > > Am Mi., 6. Nov. 2019 um 10:31 Uhr schrieb : > > > > > > > > From: Limin Wang > > > > > > > > Si

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mp3dec: Check for occurances of headers within frames during probing

2019-11-07 Thread Limin Wang
On Thu, Nov 07, 2019 at 10:37:05PM +0100, Hendrik Leppkes wrote: > On Thu, Nov 7, 2019 at 10:34 PM Michael Niedermayer > wrote: > > > > From: Limin Wang > > > > Fixes misdetection of zYLx.wav > > > > Co-Author: Michael Niedermayer > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/

Re: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 6:50 AM Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavformat/mlvdec.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c > index 68ca2c5e1c..3b4cb6befd 100644 > --- a/libavformat/mlvdec.c > +++ b/libavformat/ml

Re: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-07 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > Steven Liu > Sent: Friday, November 8, 2019 06:50 > To: ffmpeg-devel@ffmpeg.org > Cc: Steven Liu > Subject: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check > before ff_format_io_close > > Signed-off-by: Steven Liu >

[FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-07 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mlvdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 68ca2c5e1c..3b4cb6befd 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -462,7 +462,6 @@ static int read_close(AVFormatContext *s)

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add the missing vp9 file

2019-11-07 Thread Dennis Mungai
On Wed, 6 Nov 2019 at 16:31, Fu, Linjie wrote: > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Dennis Mungai > > Sent: Wednesday, November 6, 2019 20:36 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Cc: Zhong Li > > Subject: Re: [FFmpeg-deve

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mp3dec: Check for occurances of headers within frames during probing

2019-11-07 Thread Hendrik Leppkes
On Thu, Nov 7, 2019 at 10:34 PM Michael Niedermayer wrote: > > From: Limin Wang > > Fixes misdetection of zYLx.wav > > Co-Author: Michael Niedermayer > Signed-off-by: Michael Niedermayer > --- > libavformat/mp3dec.c | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --g

Re: [FFmpeg-devel] [PATCH v3] avformat/rtpdec_rfc4175: support non-zero based line numbers

2019-11-07 Thread Michael Niedermayer
On Thu, Nov 07, 2019 at 10:27:31PM +0800, Kah Goh wrote: > On Mon, Sep 30, 2019 at 09:27:20PM +0800, Kah Goh wrote: > > There are differing standards that define different starting line > > numbers. For example, VSF TR-03 says the line numbers starts at 1, > > whereas SMPTE 2110-20 says it should s

[FFmpeg-devel] [PATCH 1/2] avformat/mp3dec: Check that the frame fits within the probe buffer

2019-11-07 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mp3dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 258f19174b..6848415657 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -91,7 +91,7 @@ static int mp3_re

[FFmpeg-devel] [PATCH 2/2] avformat/mp3dec: Check for occurances of headers within frames during probing

2019-11-07 Thread Michael Niedermayer
From: Limin Wang Fixes misdetection of zYLx.wav Co-Author: Michael Niedermayer Signed-off-by: Michael Niedermayer --- libavformat/mp3dec.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 6848415657..eb40362548 100

Re: [FFmpeg-devel] [PATCH v4] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread Michael Niedermayer
On Fri, Nov 08, 2019 at 12:16:22AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > By Hendrik comments, I have proposal a more general fix for > more common case. > Now It's only tested with fate and all samples in: > http://samples.ffmpeg.org/A-co

Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_dnn_processing: add a generic filter for image proccessing with dnn networks

2019-11-07 Thread Pedro Arthur
Em qui., 7 de nov. de 2019 às 13:17, Guo, Yejun escreveu: > > > > From: Pedro Arthur [mailto:bygran...@gmail.com] > > > Sent: Thursday, November 07, 2019 1:18 AM > > > To: FFmpeg development discussions and patches > > > > > Cc: Guo, Yejun > > > Subject: Re: [FFmpeg-devel] [PATCH V3] avfilter/v

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread Michael Niedermayer
On Thu, Nov 07, 2019 at 05:55:18PM +0800, manuelyuan wrote: > From: Mengyang Yuan > > In this case, the input video is of dynamic frame rate and we don't want to > duplicate or drop frames, but the output video duration calculated by DTS is > incorrect, I solved it by using PTS. > There are many

Re: [FFmpeg-devel] [PATCH 4/8] avformat/mxfdec: cleanup on "essence prior to first PartitionPack"

2019-11-07 Thread Michael Niedermayer
On Wed, Nov 06, 2019 at 09:38:01PM +0100, Tomas Härdin wrote: > tor 2019-10-31 klockan 18:58 +0100 skrev Michael Niedermayer: > > Fixes: memleak > > Fixes: 18473/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer- > > 5738557074833408 > > > > Found-by: continuous fuzzing process > > https://git

Re: [FFmpeg-devel] [PATCH 5/8] avformat/mxfdec: Clear metadata_sets_count in mxf_read_close()

2019-11-07 Thread Michael Niedermayer
On Wed, Nov 06, 2019 at 09:34:01PM +0100, Tomas Härdin wrote: > tor 2019-10-31 klockan 18:58 +0100 skrev Michael Niedermayer: > > This avoids problems if the function is called twice > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/mxfdec.c | 1 + > > 1 file changed, 1 insertio

Re: [FFmpeg-devel] [PATCH v3] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread Hendrik Leppkes
On Thu, Nov 7, 2019 at 3:40 PM Limin Wang wrote: > > On Thu, Nov 07, 2019 at 01:16:32PM +0100, Hendrik Leppkes wrote: > > On Thu, Nov 7, 2019 at 12:38 PM wrote: > > > > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > libavformat/mp3dec.c | 5 + > > > 1 file chang

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: Async the encoding and output procedure of encoder

2019-11-07 Thread Linjie Fu
Currently, vaapi encodes a pic if all its references are ready, and then outputs it immediately by calling vaapi_encode_output. However, while working on output procedure, hardware is be able to cope with encoding tasks in the meantime to have the better performance. So a more efficient way is to

[FFmpeg-devel] [PATCH v4] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- By Hendrik comments, I have proposal a more general fix for more common case. Now It's only tested with fate and all samples in: http://samples.ffmpeg.org/A-codecs/MP3-pro http://samples.ffmpeg.org/A-codecs/MP3 libavformat/mp3dec.c | 13

Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_dnn_processing: add a generic filter for image proccessing with dnn networks

2019-11-07 Thread Guo, Yejun
> > From: Pedro Arthur [mailto:bygran...@gmail.com] > > Sent: Thursday, November 07, 2019 1:18 AM > > To: FFmpeg development discussions and patches > > > Cc: Guo, Yejun > > Subject: Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_dnn_processing: add a > > generic filter for image proccessing with dnn

Re: [FFmpeg-devel] [PATCH v3] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread Limin Wang
On Thu, Nov 07, 2019 at 01:16:32PM +0100, Hendrik Leppkes wrote: > On Thu, Nov 7, 2019 at 12:38 PM wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/mp3dec.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff --git a/libavformat/mp3dec.c b/libavf

Re: [FFmpeg-devel] [PATCH v3] avformat/rtpdec_rfc4175: support non-zero based line numbers

2019-11-07 Thread Kah Goh
On Mon, Sep 30, 2019 at 09:27:20PM +0800, Kah Goh wrote: > There are differing standards that define different starting line > numbers. For example, VSF TR-03 says the line numbers starts at 1, > whereas SMPTE 2110-20 says it should start at 0. > > This change adds support for non-zero based line

[FFmpeg-devel] avformat/mov: add free memory when error

2019-11-07 Thread darling.zhong
Here may have a mem leak when error Signed-off-by: darling.zhong --- libavformat/mov.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 libavformat/mov.c diff --git a/libavformat/mov.c b/libavformat/mov.c old mode 100644 new mode 100755 index 4f69664eaf..

Re: [FFmpeg-devel] [PATCH v3] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread Hendrik Leppkes
On Thu, Nov 7, 2019 at 12:38 PM wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/mp3dec.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c > index 258f19174b..f15045dd6f 100644 > --- a/libavformat/mp3dec.c > +

[FFmpeg-devel] [PATCH v3] avformat/mp3dec: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mp3dec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 258f19174b..f15045dd6f 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -73,6 +73,7 @@ static int mp3_rea

[FFmpeg-devel] [PATCH v3] avformat/utils: Fixes misdetection of zYLx.wav

2019-11-07 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/mp3dec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 258f19174b..f15045dd6f 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -73,6 +73,7 @@ static int mp3_rea

Re: [FFmpeg-devel] [PATCH v2] avformat/utils: Fixes misdetection of zYLx.wav

2019-11-07 Thread Limin Wang
On Thu, Nov 07, 2019 at 06:35:12AM +0100, Carl Eugen Hoyos wrote: > > > > Am 07.11.2019 um 02:23 schrieb lance.lmw...@gmail.com: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/wavdec.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

[FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
From: Mengyang Yuan In this case, the input video is of dynamic frame rate and we don't want to duplicate or drop frames, but the output video duration calculated by DTS is incorrect, I solved it by using PTS. There are many UGC videos with dynamic frame rates, which are represented by PTS jumps.

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread manuelyuan
Thanks for your reply! My changes break make fate but this is inevitable. I will update the corresponding references to make sure make fate success At 2019-11-07 00:47:42, "Michael Niedermayer" wrote: >On Wed, Nov 06, 2019 at 10:36:11AM +0800, manuelyuan wrote: >> From: Mengyang Yuan >> >>

Re: [FFmpeg-devel] [PATCH v2 0/2] lavf/isom: support for demuxing MPEG-H 3D Audio in MP4

2019-11-07 Thread Tsuchiya, Yuki (SHES)
Hi Carl, > From: ffmpeg-devel On Behalf Of Carl > Eugen Hoyo > Does not work here, please use any other filehoster. I have uploaded it to following, so please confirm. https://wetransfer.com/downloads/f6d4468bf755909fb1592e600268930720191107082513/bdc63ea97eada0d939473109c3d4200c20191107082513/d