Re: [FFmpeg-devel] [PATCH v1 1/2] fftools: add global option to dump filter graph to stderr

2019-11-21 Thread Carl Eugen Hoyos
Am Mi., 20. Nov. 2019 um 16:03 Uhr schrieb : > > From: Limin Wang > > It's useful for debugging filter graph purposes, now only lavfi can do that. > > Signed-off-by: Limin Wang > --- > doc/ffmpeg.texi | 4 > fftools/ffmpeg.h| 1 + > fftools/ffmpeg_filter.c | 7 +++ >

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

2019-11-21 Thread Carl Eugen Hoyos
Am Do., 7. Nov. 2019 um 09:38 Uhr schrieb 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. >

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

2019-11-21 Thread Carl Eugen Hoyos
Am Do., 21. Nov. 2019 um 08:40 Uhr schrieb Yuki Tsuchiya : > > Implemented according to the specification at > https://www.iso.org/standard/69561.html > The 'mhm1' sample entry is registered with MP4RA, which is defined as MHAS > encapsulated single stream MPEG-H 3D Audio. > 'MHAS' stands for

Re: [FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in utils.c. This allows av_read_frame to return after a timeout period.

2019-11-21 Thread Carl Eugen Hoyos
Am Mi., 20. Nov. 2019 um 23:42 Uhr schrieb : > > From: Gonzalo Garramuño I was under the impression that the following patch was written by Blake Senftner, bsenftner at earthlink.net Am I wrong? > libavformat/utils.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git

Re: [FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in utils.c. This allows av_read_frame to return after a timeout period.

2019-11-21 Thread Carl Eugen Hoyos
Am Do., 21. Nov. 2019 um 11:42 Uhr schrieb Gonzalo Garramuño : > > > > El 21/11/19 a las 06:42, Carl Eugen Hoyos escribió: > > Am Mi., 20. Nov. 2019 um 23:42 Uhr schrieb : > >> From: Gonzalo Garramuño > > I was under the impression that the following patch was written > > by Blake Senftner,

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

2019-11-21 Thread Tsuchiya, Yuki (SHES)
Hi Carl, > On 2019/11/21 17:30, "ffmpeg-devel on behalf of Carl Eugen Hoyos" > wrote: >Sorry, I was traveling (in Japan), the link is gone;-( Oh, let me know when you travel to japan again! :) Here is new link.

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

2019-11-21 Thread Carl Eugen Hoyos
Am Do., 21. Nov. 2019 um 11:03 Uhr schrieb Tsuchiya, Yuki (SHES) : > > Hi Carl, > > > On 2019/11/21 17:30, "ffmpeg-devel on behalf of Carl Eugen Hoyos" > > wrote: > >Sorry, I was traveling (in Japan), the link is gone;-( > Oh, let me know when you travel to japan again! :)

Re: [FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in utils.c. This allows av_read_frame to return after a timeout period.

2019-11-21 Thread Gonzalo Garramuño
El 21/11/19 a las 06:42, Carl Eugen Hoyos escribió: Am Mi., 20. Nov. 2019 um 23:42 Uhr schrieb : From: Gonzalo Garramuño I was under the impression that the following patch was written by Blake Senftner, bsenftner at earthlink.net Am I wrong? He wrote the original patch that had the exit

Re: [FFmpeg-devel] [PATCH v1 1/2] fftools: add global option to dump filter graph to stderr

2019-11-21 Thread Limin Wang
On Thu, Nov 21, 2019 at 10:49:28AM +0100, Carl Eugen Hoyos wrote: > Am Mi., 20. Nov. 2019 um 16:03 Uhr schrieb : > > > > From: Limin Wang > > > > It's useful for debugging filter graph purposes, now only lavfi can do that. > > > > Signed-off-by: Limin Wang > > --- > > doc/ffmpeg.texi |

Re: [FFmpeg-devel] headers for gapless playback

2019-11-21 Thread Tomas Härdin
tis 2019-11-19 klockan 19:16 + skrev John Kaplan: > Hi Guys, > > We just did some research on gapless playback across multiple client > devices, and could not find support for adding gapless metadata > headers in ffmpeg. Our interest is specifically in AAC/MP4, and we > ended up shifting to

[FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in avformat/utils.c

2019-11-21 Thread ggarra13
From: Gonzalo Garramuño This patch is based on a patch by bsenftner at earthlink.net. It allows av_read_frame to return after a timeout period. --- libavformat/utils.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..c3c2c77c0c

[FFmpeg-devel] [PATCH v1] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-21 Thread lance . lmwang
From: Limin Wang The following is one of the testing results, you can observe the result of 16bit isn't correct. 1, yuv420p ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo Master: mean:[16 128 128] stdev:[0.0 0.0 0.0] After applied the patch: mean:[16

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

2019-11-21 Thread James Almer
On 11/21/2019 4:25 AM, Yuki Tsuchiya wrote: > Implemented according to the specification at > https://www.iso.org/standard/69561.html > The 'mhm1' sample entry is registered with MP4RA, which is defined as MHAS > encapsulated single stream MPEG-H 3D Audio. > 'MHAS' stands for MPEG-H audio

Re: [FFmpeg-devel] [PATCH v2] configure: Work around a start-up crash when building with clang.

2019-11-21 Thread Rick Kern
On Wed, Nov 20, 2019 at 11:29 AM Hendrik Leppkes wrote: > On Wed, Nov 20, 2019 at 5:00 PM Timo Rothenpieler > wrote: > > > > On 20.11.2019 13:51, Rick Kern wrote: > > > The current version of clang enables stack checking by default, causing > > > a crash when binaries are run. > > > > Why does

[FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in utils.c, based on a patch by bsenftner at earthlink.net. This allows av_read_frame to return after a timeout period.

2019-11-21 Thread ggarra13
From: Gonzalo Garramuño --- libavformat/utils.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..c3c2c77c0c 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1838,6 +1838,11 @@ int av_read_frame(AVFormatContext *s,

Re: [FFmpeg-devel] [PATCH v1 1/2] fftools: add global option to dump filter graph to stderr

2019-11-21 Thread Carl Eugen Hoyos
Am Do., 21. Nov. 2019 um 12:28 Uhr schrieb Limin Wang : > > On Thu, Nov 21, 2019 at 10:49:28AM +0100, Carl Eugen Hoyos wrote: > > Am Mi., 20. Nov. 2019 um 16:03 Uhr schrieb : > > > > > > From: Limin Wang > > > > > > It's useful for debugging filter graph purposes, now only lavfi can do > > >

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_hqdn3d: add support for 12bit and 14bit yuv formats

2019-11-21 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_hqdn3d.c | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index e50d30e1a3..eac10bf261 100644 --- a/libavfilter/vf_hqdn3d.c +++

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_hqdn3d: add support for commands

2019-11-21 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi| 7 +++ libavfilter/vf_hqdn3d.c | 40 +++- 2 files changed, 38 insertions(+), 9 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index cc192d634f..c88544408f 100644 ---

Re: [FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in utils.c, based on a patch by bsenftner at earthlink.net. This allows av_read_frame to return after a timeout period.

2019-11-21 Thread Moritz Barsnick
On Thu, Nov 21, 2019 at 08:08:54 -0300, ggarr...@gmail.com wrote: > From: Gonzalo Garramuño > Subject: [FFmpeg-devel] [PATCH] Added interrupt to av_read_frame() in > utils.c, based on a patch by bsenftner at earthlink.net. This allows > av_read_frame to return after a timeout period. Small nit

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

2019-11-21 Thread Paul B Mahol
Easy to fix, do you have another comment? On 11/21/19, Michael Niedermayer wrote: > On Wed, Nov 20, 2019 at 10:54:42AM +0100, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/aarch64/vf_nlmeans_init.c | 6 +- >> libavfilter/nlmeans_template.c| 370

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

2019-11-21 Thread Michael Niedermayer
On Wed, Nov 20, 2019 at 10:54:42AM +0100, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/aarch64/vf_nlmeans_init.c | 6 +- > libavfilter/nlmeans_template.c| 370 ++ > libavfilter/vf_nlmeans.c | 539 ++ >

Re: [FFmpeg-devel] [PATCH] avfilter/graphdump: fix use of uninitialized variables

2019-11-21 Thread Michael Niedermayer
On Thu, Nov 21, 2019 at 02:58:26PM +0800, quinkbl...@foxmail.com wrote: > From: Zhao Zhili > > In case of av_bprint_finalize failed. > --- > libavfilter/graphdump.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

2019-11-21 Thread Michael Niedermayer
On Thu, Nov 21, 2019 at 07:08:26PM +0100, Paul B Mahol wrote: > Easy to fix, do you have another comment? i didnt review the code, just noticed it broke build Thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Elect your leaders based on what they did

[FFmpeg-devel] [PATCH 1/2] avcodec/targa: Check colors vs. available space

2019-11-21 Thread Michael Niedermayer
Fixes: Timeout (37sec -> 52ms) Fixes: 18892/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TARGA_fuzzer-5739537854889984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/targa.c | 12

Re: [FFmpeg-devel] headers for gapless playback

2019-11-21 Thread Marton Balint
On Thu, 21 Nov 2019, Tomas Härdin wrote: tis 2019-11-19 klockan 19:16 + skrev John Kaplan: Hi Guys, We just did some research on gapless playback across multiple client devices, and could not find support for adding gapless metadata headers in ffmpeg. Our interest is specifically in

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: fix indentation

2019-11-21 Thread Michael Niedermayer
On Wed, Nov 20, 2019 at 08:10:57PM +0800, leozhang wrote: > Signed-off-by: leozhang > --- > libavfilter/avfilter.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Rewriting code

[FFmpeg-devel] [PATCH] avformat/utils.c: allows av_read_frame to return after a timeout period.

2019-11-21 Thread ggarra13
From: Gonzalo Garramuño This patch is based on a patch by bsenftner at earthlink.net. --- libavformat/utils.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..c3c2c77c0c 100644 --- a/libavformat/utils.c +++

[FFmpeg-devel] [PATCH 2/2] avcodec/adpcm: Clip predictor for APC

2019-11-21 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483648 - 13 cannot be represented in type 'int' Fixes: 18893/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_IMA_APC_fuzzer-5630760442920960 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] Reimbursement request LDP 2019

2019-11-21 Thread Stefano Sabatini
On date Monday 2019-11-18 12:44:37 +0100, Thilo Borgmann wrote: > Hi, > > here comes my request for reimbursements for attending the Linux Days Prague > 2019. > > Quite cheap, since accomodation is free. So there is a just bus ticket for > 51,87 EUR. Looks good for me, thanks. > Prepared

[FFmpeg-devel] [PATCH v2 3/3] bavfilter/vsrc_life: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7

[FFmpeg-devel] [PATCH v2 3/3] avfilter/vsrc_life: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@

[FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7

[FFmpeg-devel] [PATCH v2 2/3] avfilter/vsrc_cellauto: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++

[FFmpeg-devel] [PATCH v2 2/3] bavfilter/vsrc_cellauto: Fix for random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++

Re: [FFmpeg-devel] [PATCH] avformat/av1: Fix leak of dynamic buffer in case of parsing failure

2019-11-21 Thread James Almer
On 11/21/2019 3:17 AM, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/av1.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/av1.c b/libavformat/av1.c > index b36c5e44ba..03669dfd2a 100644 > --- a/libavformat/av1.c > +++

[FFmpeg-devel] [PATCH v1 3/4] bavfilter/vsrc_life: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_life.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index a87ceef15d..4c0ea73d8a 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@

[FFmpeg-devel] [PATCH v1 2/4] bavfilter/vsrc_cellauto: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_cellauto.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index 7a6d9659f7..c75460334e 100644 --- a/libavfilter/vsrc_cellauto.c +++

[FFmpeg-devel] [PATCH v1 1/4] avfilter/vf_elbg: Fix for the seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_elbg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index b59da9ec85..5bccb5f58d 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -36,7

[FFmpeg-devel] [PATCH v1 4/4] bavfilter//vsrc_sierpinski: Fix for tye random_seed type

2019-11-21 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vsrc_sierpinski.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c index 93567ac189..0027a6788e 100644 --- a/libavfilter/vsrc_sierpinski.c +++

Re: [FFmpeg-devel] [PATCH v1 4/4] bavfilter//vsrc_sierpinski: Fix for tye random_seed type

2019-11-21 Thread Limin Wang
Please ignore it, it's changed on my branch and haven't notice master have change it also. I'll update on the master. On Fri, Nov 22, 2019 at 09:35:45AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vsrc_sierpinski.c | 4 ++-- > 1

[FFmpeg-devel] [PATCH 3/4] avfilter/vf_dnn_processing: add format GRAY8 and GRAYF32 support

2019-11-21 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- doc/filters.texi| 8 ++- libavfilter/vf_dnn_processing.c | 147 ++-- 2 files changed, 118 insertions(+), 37 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 1f86ae1..c3f7997 100644 ---

[FFmpeg-devel] [PATCH 4/4] fate/filter-video: add two tests for dnn_processing with format rgb24 and grayf32

2019-11-21 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- tests/fate/filter-video.mak| 4 ++ ...filter-dnn_processing-halve_first_channel_float | 55 ++ .../fate/filter-dnn_processing-halve_gray_float| 55 ++ 3 files changed, 114 insertions(+) create

[FFmpeg-devel] [PATCH] libavcodec/amfenc_hevc.c: Fix constant QP settings for I, P pictures.

2019-11-21 Thread OvchinnikovDmitrii
--- libavcodec/amfenc_hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c index 7c9a33ab33..8b4d289fac 100644 --- a/libavcodec/amfenc_hevc.c +++ b/libavcodec/amfenc_hevc.c @@ -254,10 +254,10 @@ static av_cold int

Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for VASurfaceAttrib

2019-11-21 Thread Wang, Fei W
Ping, any other comments of this patch? Thanks. > -Original Message- > From: ffmpeg-devel On Behalf Of > Wang, Fei W > Sent: Wednesday, November 20, 2019 10:40 AM > To: myp...@gmail.com; FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi:

[FFmpeg-devel] [PATCH 1/4] avfilter/vf_dnn_processing: refine code for better naming

2019-11-21 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavfilter/vf_dnn_processing.c | 90 - 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/libavfilter/vf_dnn_processing.c b/libavfilter/vf_dnn_processing.c index f59cfb0..ce976ec 100644 ---

[FFmpeg-devel] [PATCH 2/4] convert_from_tensorflow.py: add support when kernel size is 1*1 with one input/output channel (gray image)

2019-11-21 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- tools/python/convert_from_tensorflow.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/python/convert_from_tensorflow.py b/tools/python/convert_from_tensorflow.py index 605158a..5e87e22 100644 ---

Re: [FFmpeg-devel] [PATCH v2] configure: Work around a start-up crash when building with clang.

2019-11-21 Thread Michael Niedermayer
On Thu, Nov 21, 2019 at 09:44:56AM -0500, Rick Kern wrote: > On Wed, Nov 20, 2019 at 11:29 AM Hendrik Leppkes > wrote: > > > On Wed, Nov 20, 2019 at 5:00 PM Timo Rothenpieler > > wrote: > > > > > > On 20.11.2019 13:51, Rick Kern wrote: > > > > The current version of clang enables stack checking