Re: [FFmpeg-devel] [PATCH] avfilter: add colorhold filter

2019-05-11 Thread Nicolas George
Paul B Mahol (12019-05-11): > 7 days passed, nobody voted against. So I will apply this filter soon. Two people have objected to the vote itself. That is more than one. Please realize you are using intimidation techniques that have absolutely no place in a project like this one. If you insist on

Re: [FFmpeg-devel] [PATCH] avfilter: add colorhold filter

2019-05-11 Thread Nicolas George
Paul B Mahol (12019-05-11): > I will kindly and slowly going to apply this splendid patch very soon. By doing so, you will acknowledge that you do not respect the rules of the project and of cooperation. As a consequence, you forfeit any right to complain if these rules are not followed when it

Re: [FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-11 Thread Michael Niedermayer
On Fri, May 10, 2019 at 12:12:17PM +0200, Daniel Kucera wrote: > From: Daniel Kucera > > Signed-off-by: Daniel Kucera > --- > doc/ffplay.texi | 2 ++ > fftools/ffplay.c | 4 > 2 files changed, 6 insertions(+) > > diff --git a/doc/ffplay.texi b/doc/ffplay.texi > index

Re: [FFmpeg-devel] [PATCH v2] fix issues with transparent crop. (see https://trac.ffmpeg.org/ticket/7890)

2019-05-11 Thread Paul B Mahol
On 5/9/19, Bjorn Roche wrote: > From: Jacob Graff > > Resolves issues with some transparent gifs. > see https://trac.ffmpeg.org/ticket/7890 > contribution by Jacob Graff > Applied. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avfilter: add asr filter

2019-05-11 Thread Paul B Mahol
On 5/5/19, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure| 4 + > doc/filters.texi | 32 +++ > libavfilter/Makefile | 1 + > libavfilter/af_asr.c | 177 +++ > libavfilter/allfilters.c | 1 + > 5

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-11 Thread Michael Niedermayer
On Sat, May 11, 2019 at 05:40:41PM +0200, Michael Niedermayer wrote: > On Thu, May 09, 2019 at 10:59:12PM -0700, Philip Langdale wrote: > > I don't think this is terribly useful, as the only thing out there that > > can even handle NV24 content is VDPAU and the only time you have to > > deal with

Re: [FFmpeg-devel] [PATCH v4] lavf/h264: add support for h264 video from Arecont camera, fixes ticket #5154

2019-05-11 Thread Shivam Goyal
On 11-05-2019 04:27, Reimar Döffinger wrote: > On Thu, May 09, 2019 at 11:45:59PM +0530, Shivam Goyal wrote: > >> @@ -117,4 +120,128 @@ static int h264_probe(const AVProbeData *p) >> return 0; >> } >> >> +static const uint8_t arecont_sign[] = {0x2D, 0x2D, 0x66, 0x62, 0x64, 0x72, >> 0x0D,

Re: [FFmpeg-devel] [PATCH v2 2/2] fftools/ffmpeg: Add stream metadata from first frame's metadata

2019-05-11 Thread Nicolas George
Jun Li (12019-05-10): > I think now I understand what you mean"lavfi does not support real > reconfiguration of the stream properties. " > Even we have a perfect filter for this case, we still have to dynamic > turn on/off the filter per frame's metadata. No, that is not what I meant: there is

Re: [FFmpeg-devel] [PATCH] avfilter: add colorhold filter

2019-05-11 Thread Timo Rothenpieler
On 04.05.2019 16:13, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- doc/filters.texi | 18 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_colorkey.c | 102 +- 4 files changed, 121

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-11 Thread Michael Niedermayer
On Thu, May 09, 2019 at 10:59:12PM -0700, Philip Langdale wrote: > I don't think this is terribly useful, as the only thing out there that > can even handle NV24 content is VDPAU and the only time you have to > deal with it is when doing VDPAU OpenGL interop where swscale is > irrelevant. In the

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-11 Thread Philip Langdale
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Sat, 11 May 2019 17:40:41 +0200 Michael Niedermayer wrote: > On Thu, May 09, 2019 at 10:59:12PM -0700, Philip Langdale wrote: > > I don't think this is terribly useful, as the only thing out there > > that can even handle NV24 content is VDPAU

Re: [FFmpeg-devel] [PATCH] avfilter: add colorhold filter

2019-05-11 Thread Paul B Mahol
On 5/4/19, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 18 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_colorkey.c | 102 +- > 4 files changed, 121 insertions(+),

Re: [FFmpeg-devel] [PATCH] avfilter: add colorhold filter

2019-05-11 Thread Paul B Mahol
On 5/11/19, Nicolas George wrote: > Paul B Mahol (12019-05-11): >> 7 days passed, nobody voted against. So I will apply this filter soon. > > Two people have objected to the vote itself. That is more than one. > Please realize you are using intimidation techniques that have > absolutely no place

Re: [FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-11 Thread Gyan
On 11-05-2019 09:03 PM, Michael Niedermayer wrote: On Fri, May 10, 2019 at 12:12:17PM +0200, Daniel Kucera wrote: From: Daniel Kucera Signed-off-by: Daniel Kucera --- doc/ffplay.texi | 2 ++ fftools/ffplay.c | 4 2 files changed, 6 insertions(+) diff --git a/doc/ffplay.texi

[FFmpeg-devel] [PATCH 1/2] lavf/dashdec: fix the coding logic after open_input fail

2019-05-11 Thread Jun Zhao
From: Jun Zhao setting return status following goto will never be executed, so adjust the location in the code. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Lynne
May 10, 2019, 8:59 PM by ceffm...@gmail.com: > Am Fr., 10. Mai 2019 um 19:54 Uhr schrieb Lynne <> d...@lynne.ee > > >: > >> >> May 10, 2019, 4:14 PM by >> d...@lynne.ee >> : >> >> > Patch updated again. >> > Made some more cleanups to the transforms,

[FFmpeg-devel] [PATCH] vf_thumbnail: support alpha

2019-05-11 Thread Robert Nagy
--- libavfilter/vf_thumbnail.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index 0effdc91e9..30bb0dfdb8 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -136,6 +136,7 @@ static int

[FFmpeg-devel] [PATCH 2/2] lavf/dashdec: refactoring error handle logic for open_input

2019-05-11 Thread Jun Zhao
From: Jun Zhao refactoring error handle logic for open_input. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index ce8bd4a..2c50f23 100644 --- a/libavformat/dashdec.c

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Pedro Arthur
Em sáb, 11 de mai de 2019 às 20:26, James Almer escreveu: > > On 5/11/2019 8:08 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Mai 2019 um 01:00 Uhr schrieb Lynne : > >> > >> May 11, 2019, 11:08 PM by ceffm...@gmail.com: > >> > >>> Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne <> d...@lynne.ee >

[FFmpeg-devel] [PATCH v1] fftools/ffmpeg: Add support for per frame rotation and flip

2019-05-11 Thread Jun Li
Fix #6945 Current implementaion for autorotate works fine for stream level rotataion but no support for frame level operation and frame flip. This patch is for adding flip support and per frame operations. --- fftools/cmdutils.c| 9 ++--- fftools/cmdutils.h| 2 +-

Re: [FFmpeg-devel] [PATCH v1] fftools/ffmpeg: Add support for per frame rotation and flip

2019-05-11 Thread Jun Li
On Sat, May 11, 2019 at 10:47 PM Jun Li wrote: > Fix #6945 > Current implementaion for autorotate works fine for stream > level rotataion but no support for frame level operation > and frame flip. This patch is for adding flip support and > per frame operations. > --- > fftools/cmdutils.c

[FFmpeg-devel] [PATCH] libavformat/utils: Interpolate missing timestamps in H264 and HEVC when no b-frames observed.

2019-05-11 Thread Andriy Gelman
From: Andriy Gelman Fixes Ticket #7895. Currently, timestamp interpolation is disabled by default in H264 and HEVC. This creates playback issues when the demuxer does not output a valid timestamp. This patch allows interpolation when no b-frames have been observed during decoding, which fixes

Re: [FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42 pixel formats

2019-05-11 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Sunday, May 12, 2019 06:25 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42

[FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42 pixel formats

2019-05-11 Thread Philip Langdale
These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. These formats are not used much, so we've never had a reason to add them until now. VDPAU recently added support HEVC 4:4:4 content and when you use the OpenGL interop, the returned surfaces are in NV24 format, so we need the

[FFmpeg-devel] [PATCH 3/3] swscale: Add test for isSemiPlanarYUV to pixdesc_query

2019-05-11 Thread Philip Langdale
Lauri had asked me what the semi planar formats were and that reminded me that we could add it to pixdesc_query so we know exactly what the list is. Signed-off-by: Philip Langdale --- libswscale/tests/pixdesc_query.c | 1 + tests/ref/fate/sws-pixdesc-query | 13 + 2 files changed,

[FFmpeg-devel] [PATCH 2/3] swscale: Add support for NV24 and NV42

2019-05-11 Thread Philip Langdale
For the sake of completeness, I'm added NV24/NV42 support to swscale, but the specific use-case I noted when adding the pixel formats doesn't require swscale support (because it's OpenGL interop). The implementation is pretty straight-forward. Most of the existing NV12 codepaths work regardless

Re: [FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-11 Thread Daniel Kučera
Dňa so 11. 5. 2019, 18:00 Gyan napísal(a): > > > On 11-05-2019 09:03 PM, Michael Niedermayer wrote: > > On Fri, May 10, 2019 at 12:12:17PM +0200, Daniel Kucera wrote: > >> From: Daniel Kucera > >> > >> Signed-off-by: Daniel Kucera > >> --- > >> doc/ffplay.texi | 2 ++ > >> fftools/ffplay.c

[FFmpeg-devel] [PATCH 0/3] NV24/NV42 support

2019-05-11 Thread Philip Langdale
As I had to post an update, I've collected the changes together for convenience. Philip Langdale (3): avutil: Add NV24 and NV42 pixel formats swscale: Add support for NV24 and NV42 swscale: Add test for isSemiPlanarYUV to pixdesc_query libavutil/pixdesc.c | 24

[FFmpeg-devel] [PATCH] Add S12M Timecode output as side data with -show_frame option (such as SEI TC)

2019-05-11 Thread Antonin Gouzer
--- fftools/ffprobe.c | 8 1 file changed, 8 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index dea489d02e..4763ce6d98 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2199,6 +2199,14 @@ static void show_frame(WriterContext *w, AVFrame *frame, AVStream

Re: [FFmpeg-devel] [PATCH] Add S12M Timecode output as side data with -show_frame option (such as SEI TC)

2019-05-11 Thread Antonin Gouzer
Hello, Sorry for the first mail which was an error. This patch just add the SEI Timecode output of H264 files as side data in ffprobe (-show_frame). This has been already implemented in the shwoinfo video filter but not in ffprobe. Thanks in advance. Le sam. 11 mai 2019 à 21:24, Antonin Gouzer

[FFmpeg-devel] [PATCH] avcodec/hq_hqa: Check available space before reading slice offsets

2019-05-11 Thread Michael Niedermayer
Fixes: Timeout (43sec -> 18sec) Fixes: 14556/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-5673543024508928 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hq_hqa.c | 3 +++

[FFmpeg-devel] [PATCH] avcodec/h264_ps: Check offset_for_non_ref_pic and offset_for_top_to_bottom_field

2019-05-11 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483648 + -1 cannot be represented in type 'int' Fixes: 1/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5675880333967360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by:

[FFmpeg-devel] [PATCH][TESTERS WANTED] avfilter: add apitch filter

2019-05-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- This filter can dynamically change both tempo and pitch of audio. Also scale range is bigger, from 0.01 to 100. --- libavfilter/Makefile | 1 + libavfilter/af_apitch.c | 764 +++ libavfilter/allfilters.c | 1 + 3

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Carl Eugen Hoyos
Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne : > > May 10, 2019, 8:59 PM by ceffm...@gmail.com: > > > Am Fr., 10. Mai 2019 um 19:54 Uhr schrieb Lynne <> d...@lynne.ee > > > >: > > > >> > >> May 10, 2019, 4:14 PM by >> d...@lynne.ee >> : > >> > >> >

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Lynne
May 11, 2019, 11:08 PM by ceffm...@gmail.com: > Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne <> d...@lynne.ee > > >: > >> >> May 10, 2019, 8:59 PM by >> ceffm...@gmail.com >> >> : >> >> > Am Fr., 10. Mai 2019 um 19:54 Uhr schrieb Lynne <> >>

[FFmpeg-devel] [PATCH] Add S12M Timecode output as side data with -show_frame option (such as SEI TC)

2019-05-11 Thread Antonin Gouzer
From: agouzer --- fftools/ffprobe.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 52e9bbf544..4763ce6d98 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -2200,11 +2200,13 @@ static void show_frame(WriterContext

Re: [FFmpeg-devel] [PATCH 1/3] avutil: Add NV24 and NV42 pixel formats

2019-05-11 Thread Carl Eugen Hoyos
Am Sa., 11. Mai 2019 um 20:32 Uhr schrieb Philip Langdale : > > These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. > > These formats are not used much, so we've never had a reason to add > them until now. VDPAU recently added support HEVC 4:4:4 content > and when you use the OpenGL

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Carl Eugen Hoyos
Am So., 12. Mai 2019 um 01:00 Uhr schrieb Lynne : > > May 11, 2019, 11:08 PM by ceffm...@gmail.com: > > > Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne <> d...@lynne.ee > > > >: > > > >> > >> May 10, 2019, 8:59 PM by >> ceffm...@gmail.com > >>

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Carl Eugen Hoyos
Am So., 12. Mai 2019 um 02:51 Uhr schrieb Pedro Arthur : > > Em sáb, 11 de mai de 2019 às 20:26, James Almer escreveu: > > > > On 5/11/2019 8:08 PM, Carl Eugen Hoyos wrote: > > > Am So., 12. Mai 2019 um 01:00 Uhr schrieb Lynne : > > >> > > >> May 11, 2019, 11:08 PM by ceffm...@gmail.com: > > >> >

Re: [FFmpeg-devel] [PATCH][TESTERS WANTED] avfilter: add apitch filter

2019-05-11 Thread Nicolas George
Paul B Mahol (12019-05-11): > Signed-off-by: Paul B Mahol > --- > > This filter can dynamically change both tempo and pitch of audio. > Also scale range is bigger, from 0.01 to 100. > > --- > libavfilter/Makefile | 1 + > libavfilter/af_apitch.c | 764

Re: [FFmpeg-devel] [PATCH] avcodec/h264_ps: Check offset_for_non_ref_pic and offset_for_top_to_bottom_field

2019-05-11 Thread James Almer
On 5/11/2019 2:59 PM, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2147483648 + -1 cannot be represented in > type 'int' > Fixes: > 1/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5675880333967360 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH][TESTERS WANTED] avfilter: add apitch filter

2019-05-11 Thread Paul B Mahol
Hi, On 5/11/19, Nicolas George wrote: > Paul B Mahol (12019-05-11): >> Signed-off-by: Paul B Mahol >> --- >> >> This filter can dynamically change both tempo and pitch of audio. >> Also scale range is bigger, from 0.01 to 100. >> >> --- >> libavfilter/Makefile | 1 + >>

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread James Almer
On 5/11/2019 8:08 PM, Carl Eugen Hoyos wrote: > Am So., 12. Mai 2019 um 01:00 Uhr schrieb Lynne : >> >> May 11, 2019, 11:08 PM by ceffm...@gmail.com: >> >>> Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne <> d...@lynne.ee >>> > >: >>> May 10, 2019, 8:59 PM by >>

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-11 Thread Carl Eugen Hoyos
Am So., 12. Mai 2019 um 01:26 Uhr schrieb James Almer : > > On 5/11/2019 8:08 PM, Carl Eugen Hoyos wrote: > > Am So., 12. Mai 2019 um 01:00 Uhr schrieb Lynne : > >> > >> May 11, 2019, 11:08 PM by ceffm...@gmail.com: > >> > >>> Am Sa., 11. Mai 2019 um 14:41 Uhr schrieb Lynne <> d...@lynne.ee > >>>

Re: [FFmpeg-devel] [PATCH] vf_thumbnail: support alpha

2019-05-11 Thread Michael Niedermayer
On Sat, May 11, 2019 at 12:19:22PM +0200, Robert Nagy wrote: > --- > libavfilter/vf_thumbnail.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c > index 0effdc91e9..30bb0dfdb8 100644 > ---