Re: [FFmpeg-devel] [PATCH 1/2] avcodec/scpr: fix checking ret value of decode_run_i

2019-05-23 Thread Paul B Mahol
On 5/23/19, Marton Balint wrote: > Fixes Coverity CID 1441460. > > Signed-off-by: Marton Balint > --- > libavcodec/scpr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c > index 10fc994ecf..317950dafb 100644 > --- a/libavcodec/scpr.c

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/scpr3: fix checking ret value of decode_run_i

2019-05-23 Thread Paul B Mahol
On 5/23/19, Marton Balint wrote: > Fixes Coverity CID 1441461. > > Signed-off-by: Marton Balint > --- > libavcodec/scpr3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/scpr3.c b/libavcodec/scpr3.c > index 5cfad9f4d2..b4d2e21a17 100644 > --- a/libavcodec/scp

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/f_loop: warn about unset loop sizes

2019-05-24 Thread Paul B Mahol
On 5/23/19, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavfilter/f_loop.c | 13 + > 1 file changed, 13 insertions(+) > > diff --git a/libavfilter/f_loop.c b/libavfilter/f_loop.c > index fcbd742eb4..5ec44d9da2 100644 > --- a/libavfilter/f_loop.c > +++ b/libavfilter/

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/f_loop: fix video loop issues with 0 size or when size is bigger than input

2019-05-24 Thread Paul B Mahol
On 5/23/19, Marton Balint wrote: > Fixes infinte loop with -vf loop=loop=1 and also fixes looping when the > input > is less frames than the specified loop size. > > Possible regressions since ef1aadffc785b48ed62c45d954289e754f43ef46. > > Signed-off-by: Marton Balint > --- > libavfilter/f_loop.c

Re: [FFmpeg-devel] [PATCH v3] avformat/ifv: added support for ifv cctv files

2019-05-24 Thread Paul B Mahol
On 5/15/19, Swaraj Hota wrote: > Fixes ticket #2956. > > Signed-off-by: Swaraj Hota > --- > Revised patch based on previous discussions. > Some of the changes are: > - using AVIndexEntry now > - demuxer is totally index based (removed linear search) > - added seeking functionality with timestamps

Re: [FFmpeg-devel] [PATCH 2/7] libavfilter/vf_overlay.c: Add '\' for every line of the blend_slice_yuv function by vim column edit

2019-05-24 Thread Paul B Mahol
On 5/24/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > --- > libavfilter/vf_overlay.c | 52 > 1 file changed, 26 insertions(+), 26 deletions(-) > > diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c > index b468cedf2e..c1abd3e1b2 1

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/pngdec: Check nb_blocks

2019-05-24 Thread Paul B Mahol
On 5/24/19, Michael Niedermayer wrote: > On Sun, Apr 28, 2019 at 12:37:12PM +0200, Paul B Mahol wrote: >> On 4/28/19, Michael Niedermayer wrote: >> > Fixes: Timeout (23sec -> 0.5sec) >> > Fixes: >> > 14329/clusterfuzz-testcase-minimized-ffmpeg_A

[FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libswresample/swresample.c | 8 1 file changed, 8 insertions(+) diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 6d28e6a798..1ac5ef9a30 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -164,6 +164,14

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-24 Thread Paul B Mahol
On 5/24/19, Derek Buitenhuis wrote: > On 24/05/2019 17:05, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libswresample/swresample.c | 8 >> 1 file changed, 8 insertions(+) > > Seems reasonable. What happens if these aren't in place?

[FFmpeg-devel] [PATCH] avfilter: add showspatial multimedia filter

2019-05-25 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 52 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/avf_showspatial.c | 384 ++ 4 files changed, 438 insertions(+) create mode 100644 libavfilter

Re: [FFmpeg-devel] [PATCH v4] avformat/ifv: added support for ifv cctv files

2019-05-25 Thread Paul B Mahol
On 5/25/19, Swaraj Hota wrote: > Fixes ticket #2956. > > Signed-off-by: Swaraj Hota > --- > Changes made based on previous discussions. > > Now the demuxer is working pretty much as the original dvr player does. > Framerate is based on timestamps (hence correct). Seeking is working for > all file

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-25 Thread Paul B Mahol
On 5/25/19, Michael Niedermayer wrote: > On Fri, May 24, 2019 at 06:05:42PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libswresample/swresample.c | 8 >> 1 file changed, 8 insertions(+) >> >> diff --git a/libswresample/sw

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-26 Thread Paul B Mahol
On 5/25/19, Jun Li wrote: > Add exif orientation support and expose an option. > --- > libavfilter/vf_transpose.c | 258 + > 1 file changed, 207 insertions(+), 51 deletions(-) > > diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c > index dd54

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-26 Thread Paul B Mahol
On 5/26/19, Jun Li wrote: > On Sun, May 26, 2019 at 1:16 AM Paul B Mahol wrote: > >> On 5/25/19, Jun Li wrote: >> > Add exif orientation support and expose an option. >> > --- >> > libavfilter/vf_transpose.c | 258 +--

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-27 Thread Paul B Mahol
On 5/27/19, Jun Li wrote: > On Sun, May 26, 2019 at 2:09 AM Paul B Mahol wrote: > >> On 5/26/19, Jun Li wrote: >> > On Sun, May 26, 2019 at 1:16 AM Paul B Mahol wrote: >> > >> >> On 5/25/19, Jun Li wrote: >> >&g

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-27 Thread Paul B Mahol
On 5/27/19, Jun Li wrote: > On Mon, May 27, 2019 at 12:32 AM Paul B Mahol wrote: > >> On 5/27/19, Jun Li wrote: >> > On Sun, May 26, 2019 at 2:09 AM Paul B Mahol wrote: >> > >> >> On 5/26/19, Jun Li wrote: >> >> > On Sun, May 26, 2019

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-27 Thread Paul B Mahol
On 5/27/19, Jun Li wrote: > On Mon, May 27, 2019 at 1:39 AM Paul B Mahol wrote: > >> On 5/27/19, Jun Li wrote: >> > On Mon, May 27, 2019 at 12:32 AM Paul B Mahol wrote: >> > >> >> On 5/27/19, Jun Li wrote: >> >> > On Sun, May 26, 2019

Re: [FFmpeg-devel] [PATCH v2] avfilter/avf_aphasemeter: Add out-of-phase and mono detection

2019-05-27 Thread Paul B Mahol
On 5/20/19, Romane Lafon wrote: > I have updated the patch that extends aphasemeter filter. > It allows to get metadata for out-of-phase or mono sequences of stereo > streams. > It displays start, end and duration as for silencedetect filter. > Please use M_PI, and do not invent own constants. __

Re: [FFmpeg-devel] [PATCH v3 1/2] lavf/vf_transpose: add exif orientation support

2019-05-28 Thread Paul B Mahol
On 5/28/19, Jun Li wrote: > Add exif orientation support and expose an option. > --- > libavfilter/hflip.h| 3 + > libavfilter/vf_hflip.c | 43 ++--- > libavfilter/vf_transpose.c | 173 + > 3 files changed, 171 insertions(+), 48 deletions(-)

Re: [FFmpeg-devel] [PATCH v3 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-28 Thread Paul B Mahol
On 5/28/19, Jun Li wrote: > Fix #6945 > Rotate or/and flip frame according to frame's metadata orientation > --- > fftools/ffmpeg.c| 16 +++- > fftools/ffmpeg.h| 3 ++- > fftools/ffmpeg_filter.c | 28 +++- > 3 files changed, 40 insertions(+), 7

Re: [FFmpeg-devel] [PATCH] avcodec/tiff: Add support for recognizing DNG files

2019-05-28 Thread Paul B Mahol
On 5/28/19, velocit...@gmail.com wrote: > From: Nick Renieris > > In DNG images with the .tiff extension, it solves the issue where the > TIFF thumbnail in IFD 0 was incorrectly parsed (related confusion: [1]). > Embedded thumbnails for DNG images can still be decoded with the added > "-dng_thumb

Re: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice threading support

2019-05-29 Thread Paul B Mahol
On 5/29/19, Song, Ruiling wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Jun Zhao >> Sent: Saturday, May 25, 2019 10:33 AM >> To: ffmpeg-devel@ffmpeg.org >> Cc: Jun Zhao >> Subject: [FFmpeg-devel] [PATCH V2] lavfi/lut: Add slice

[FFmpeg-devel] [PATCH] avfilter/vf_zscale: add slice threading

2019-05-29 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 335 +--- 1 file changed, 211 insertions(+), 124 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index f0309272fa..082150adf0 100644 --- a/libavfilter/vf_zscale.c +++ b

Re: [FFmpeg-devel] [PATCH] avfilter/vf_gblur: add x86 SIMD optimizations

2019-05-30 Thread Paul B Mahol
0..97217044d0 > --- /dev/null > +++ b/libavfilter/gblur.h > @@ -0,0 +1,54 @@ > +/* > + * Copyright (c) 2011 Pascal Getreuer > + * Copyright (c) 2016 Paul B Mahol > + * > + * Redistribution and use in source and binary forms, with or without > modification, > + * ar

Re: [FFmpeg-devel] [PATCH v2] libavfilter: Add derain filter

2019-05-30 Thread Paul B Mahol
On 5/29/19, Xuewei Meng wrote: > Remove the rain in the input image/video by applying the derain > methods based on convolutional neural networks. Training scripts > as well as scripts for model generation are provided in the > repository at https://github.com/XueweiMeng/derain_filter.git. > > Sig

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-30 Thread Paul B Mahol
On 5/29/19, Michael Niedermayer wrote: > Improves: Timeout (355sec -> 97sec) > Improves: > 14709/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GDV_fuzzer-5704215281795072 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > --- > libavcod

Re: [FFmpeg-devel] [PATCH v2 3/3] avcodec/tiff: Recognize DNG/CinemaDNG images

2019-05-30 Thread Paul B Mahol
On 5/30/19, velocit...@gmail.com wrote: > From: Nick Renieris > > Additionally: > - Renamed TIFF_WHITE_LEVEL to DNG_WHITE_LEVEL since it is specified > in the DNG spec. > - Added/changed some comments to be more precise in differentiating > between TIFF, TIFF/EP and DNG values. > > Related to

Re: [FFmpeg-devel] [PATCH] avfilter: add showspatial multimedia filter

2019-05-30 Thread Paul B Mahol
On 5/25/19, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 52 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/avf_showspatial.c | 384 ++ >

[FFmpeg-devel] [PATCH] avilter/avf_showwaves: switch to activate in showwaves filter

2019-05-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/avf_showwaves.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index d85ebd9050..afe05fb504 100644 --- a/libavfilter/avf_showwaves.c +++ b

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 335 +--- 1 file changed, 214 insertions(+), 121 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index f0309272fa..c53bb08ccc 100644 --- a/libavfilter/vf_zscale.c +++ b

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zscale: update input/output chroma location too

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index c53bb08ccc..de33579185 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -744,10 +744,12 @@ static int

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Paul B Mahol
On 5/31/19, Michael Niedermayer wrote: > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: >> On 5/29/19, Michael Niedermayer wrote: >> > Improves: Timeout (355sec -> 97sec) >> > Improves: >> > 14709/clusterfuzz-testcase-minimized-ffmpeg_

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Lynne wrote: > May 31, 2019, 11:45 AM by one...@gmail.com <mailto:one...@gmail.com>: > >> Signed-off-by: Paul B Mahol <> one...@gmail.com <mailto:one...@gmail.com>> >> > >> --- >> libavfilter/vf_zscale.c | 335

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Lynne wrote: > > > > May 31, 2019, 2:16 PM by one...@gmail.com: > >> On 5/31/19, Lynne wrote: >> >>> May 31, 2019, 11:45 AM by one...@gmail.com <mailto:one...@gmail.com>: >>> >>>> Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
rote: >>>> >>>>> May 31, 2019, 11:45 AM by one...@gmail.com <mailto:one...@gmail.com>: >>>>> >>>>>> Signed-off-by: Paul B Mahol <> one...@gmail.com >>>>>> <mailto:one...@gmail.com>> >>>>>> > >

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 337 +--- 1 file changed, 216 insertions(+), 121 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index f0309272fa..275951e1a3 100644 --- a/libavfilter/vf_zscale.c +++ b

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_zscale: update input/output chroma location too

2019-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_zscale.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 275951e1a3..094f225d24 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -746,10 +746,12 @@ static int

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Hendrik Leppkes wrote: > On Fri, May 31, 2019 at 5:32 PM Paul B Mahol wrote: >> >> On 5/31/19, Lynne wrote: >> > >> > >> > >> > May 31, 2019, 2:33 PM by one...@gmail.com: >> > >> >> On 5/31/19, Lynne wrote: >

Re: [FFmpeg-devel] [PATCH] avcodec/gdv: Check remaining output after decode 5/6/8/

2019-05-31 Thread Paul B Mahol
On 5/31/19, Michael Niedermayer wrote: > On Fri, May 31, 2019 at 02:12:10PM +0200, Paul B Mahol wrote: >> On 5/31/19, Michael Niedermayer wrote: >> > On Thu, May 30, 2019 at 11:28:35AM +0200, Paul B Mahol wrote: >> >> On 5/29/19, Michael Niedermayer wrote: >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy wrote: >> >> >> >> >> On Fri, May 31, 2019 at 4:46 AM Paul B Mahol wrote: >> > >> > Signed-off-by: Paul B Mahol >> > --- >> > libavfilter/vf

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: >> >> On 5/31/19, Pavel Koshevoy wrote: >> > On Fri, May 31, 2019 at 1:44 PM Pavel Koshevoy >> > wrote: >> >> >> >> >> >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_zscale: add slice threading

2019-05-31 Thread Paul B Mahol
On 5/31/19, Pavel Koshevoy wrote: > On Fri, May 31, 2019 at 2:17 PM Paul B Mahol wrote: >> >> On 5/31/19, Pavel Koshevoy wrote: >> > On Fri, May 31, 2019 at 2:03 PM Paul B Mahol wrote: >> >> >> >> On 5/31/19, Pavel Koshevoy wrote: >&g

Re: [FFmpeg-devel] [PATCH] doc/filters: move reference to framesync options from lut3d to haldclut

2019-06-01 Thread Paul B Mahol
ok On 5/31/19, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > doc/filters.texi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/doc/filters.texi b/doc/filters.texi > index 4fdcfe919e..e2cbc373d2 100644 > --- a/doc/filters.texi > +++ b/doc/filters.texi >

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/tiff: Recognize DNG/CinemaDNG images

2019-06-01 Thread Paul B Mahol
On 5/31/19, Carl Eugen Hoyos wrote: > Am Do., 30. Mai 2019 um 19:38 Uhr schrieb Nick Renieris : > >> diff --git a/libavcodec/tiff.h b/libavcodec/tiff.h >> index 4b08650108..81913c6b1a 100644 >> --- a/libavcodec/tiff.h >> +++ b/libavcodec/tiff.h >> @@ -20,7 +20,7 @@ >> >> /** >> * @file >> - * T

Re: [FFmpeg-devel] [PATCH V5 2/2] lavfi/lut: Add slice threading support

2019-06-02 Thread Paul B Mahol
On 6/1/19, Jun Zhao wrote: > From: Jun Zhao > > Used the command for 1080p h264 clip as follow: > > a). ffmpeg -i input -vf lutyuv="u=128:v=128" -f null /dev/null > b). ffmpeg -i input -vf lutrgb="g=0:b=0" -f null /dev/null > > after enabled the slice threading, the fps change from: > > a). 144fp

Re: [FFmpeg-devel] [PATCH V5 1/2] lavfi/colorlevels: Add slice threading support

2019-06-02 Thread Paul B Mahol
On 6/1/19, Jun Zhao wrote: > From: Jun Zhao > > Add slice threading support, use the command like: > > ./ffmpeg -i input -vf colorlevels -f null /dev/null > > with 1080p h264 clip, the fps from 39 fps to 79 fps > in the local(Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz) > > Signed-off-by: Jun Zhao

Re: [FFmpeg-devel] [PATCH] avcodec: Add librav1e encoder

2019-06-02 Thread Paul B Mahol
On 6/2/19, Carl Eugen Hoyos wrote: > Am So., 2. Juni 2019 um 19:54 Uhr schrieb Derek Buitenhuis > : >> >> On 31/05/2019 23:08, Carl Eugen Hoyos wrote: >> > So is your patch meant to wait until this merge is done? >> > I would suggest so... >> >> Soon has a (TM) beside it for a reason (there needs

Re: [FFmpeg-devel] [PATCH] avilter/avf_showwaves: switch to activate in showwaves filter

2019-06-03 Thread Paul B Mahol
On 5/30/19, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/avf_showwaves.c | 30 +++--- > 1 file changed, 27 insertions(+), 3 deletions(-) > Will apply soon. ___ ffmpeg-devel mailing li

Re: [FFmpeg-devel] [PATCH] avcodec/fmvc: Check if header fields are available before allocating the image

2019-06-03 Thread Paul B Mahol
On 6/2/19, Michael Niedermayer wrote: > Fixes: Timeout (15sec -> 0.5sec) > Fixes: > 14846/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FMVC_fuzzer-5068322120400896 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michae

Re: [FFmpeg-devel] [PATCH v6 1/2] lavf/vf_transpose: add exif orientation support

2019-06-04 Thread Paul B Mahol
On 5/31/19, Jun Li wrote: > Add exif orientation support and expose an option. > --- > libavfilter/hflip.h| 2 + > libavfilter/transpose.h| 14 > libavfilter/vf_hflip.c | 40 ++--- > libavfilter/vf_transpose.c | 161 - > 4 files cha

[FFmpeg-devel] [PATCH] avformat/id3v2enc: write CTOC too

2019-06-04 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/id3v2enc.c | 36 1 file changed, 36 insertions(+) diff --git a/libavformat/id3v2enc.c b/libavformat/id3v2enc.c index ffe358f019..9b72614447 100644 --- a/libavformat/id3v2enc.c +++ b/libavformat/id3v2enc.c @@ -255,6

Re: [FFmpeg-devel] [PATCH] avformat/id3v2enc: write CTOC too

2019-06-04 Thread Paul B Mahol
On 6/4/19, James Almer wrote: > On 6/4/2019 11:45 AM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/id3v2enc.c | 36 >> 1 file changed, 36 insertions(+) >> >> diff --git a/libavformat/id3v2

Re: [FFmpeg-devel] [PATCH] avformat/id3v2enc: write CTOC too

2019-06-06 Thread Paul B Mahol
On 6/5/19, Michael Niedermayer wrote: > On Tue, Jun 04, 2019 at 04:45:38PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/id3v2enc.c | 36 >> 1 file changed, 36 insertions(+) > > if this is wr

Re: [FFmpeg-devel] [PATCH] avformat/id3v2enc: write CTOC too

2019-06-06 Thread Paul B Mahol
On 6/6/19, Michael Niedermayer wrote: > On Thu, Jun 06, 2019 at 09:08:48AM +0200, Paul B Mahol wrote: >> On 6/5/19, Michael Niedermayer wrote: >> > On Tue, Jun 04, 2019 at 04:45:38PM +0200, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol >> >&

Re: [FFmpeg-devel] [PATCH v9 1/2] lavf/vf_transpose: add exif orientation support

2019-06-09 Thread Paul B Mahol
On 6/9/19, Jun Li wrote: > Add exif orientation support and expose an option. > --- > libavfilter/hflip.h| 2 + > libavfilter/transpose.h| 14 > libavfilter/vf_hflip.c | 40 ++--- > libavfilter/vf_transpose.c | 168 - > 4 files chan

Re: [FFmpeg-devel] [PATCH v9 1/2] lavf/vf_transpose: add exif orientation support

2019-06-09 Thread Paul B Mahol
On 6/9/19, Jun Li wrote: > On Sun, Jun 9, 2019 at 12:49 AM Paul B Mahol wrote: > >> On 6/9/19, Jun Li wrote: >> > Add exif orientation support and expose an option. >> > --- >> > libavfilter/hflip.h| 2 + >> > libavfilter/transp

Re: [FFmpeg-devel] [PATCH v6] avformat/ifv: added support for ifv cctv files

2019-06-16 Thread Paul B Mahol
On 6/16/19, Swaraj Hota wrote: > On Sun 16 Jun, 2019, 8:24 AM Peter Ross, wrote: > >> On Mon, Jun 10, 2019 at 09:25:27AM +0530, Swaraj Hota wrote: >> > Fixes ticket #2956. >> > >> > Signed-off-by: Swaraj Hota >> > --- >> > Added entry in "doc/general.texi". >> > --- >> > Changelog

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/apedec: Fix multiple integer overflows in filter_3800()

2019-06-16 Thread Paul B Mahol
On 6/16/19, Reimar Döffinger wrote: > > > On 16.06.2019, at 12:30, Lynne wrote: > >> Jun 16, 2019, 10:57 AM by mich...@niedermayer.cc: >> >>> Fixes: left shift of negative value -4 >>> Fixes: signed integer overflow: -15091694 * 167 cannot be represented in >>> type 'int' >>> Fixes: signed intege

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/vc1_block: Fix invalid shifts in vc1_decode_i_blocks()

2019-06-22 Thread Paul B Mahol
On 6/22/19, Michael Niedermayer wrote: > Fixes: left shift of negative value -9 > Fixes: > 15299/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSS2_fuzzer-5660922678345728 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/flicvideo: Make line_packets int

2019-06-22 Thread Paul B Mahol
On 6/22/19, Michael Niedermayer wrote: > Fixes: signed integer overflow: -32768 * 196032 cannot be represented in > type 'int' > Fixes: > 15300/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLIC_fuzzer-5733319519502336 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fu

Re: [FFmpeg-devel] FFmpeg 4.2

2019-06-23 Thread Paul B Mahol
On 6/23/19, Radsl wrote: > >> On 21-05-2019 12:09 AM, Michael Niedermayer wrote: >>> Hi >>> >>> Its quite some time since 4.1 so its probably getting time to branch >>> 4.2. >>> >>> If there are any bugs you want fixed in 4.2 its probably a good idea to >>> fix them soon. >>> >>> Are there any sug

Re: [FFmpeg-devel] [PATCH] Add DICOM Support

2019-06-26 Thread Paul B Mahol
On 6/26/19, Michael Niedermayer wrote: > On Tue, Jun 25, 2019 at 01:52:09PM +0530, Shivam wrote: >> >> On 6/25/19 2:12 AM, Michael Niedermayer wrote: >> >On Mon, Jun 24, 2019 at 09:18:13PM +0530, Shivam wrote: >> >>Hi! >> >> >> >> The code is to add DICOM Support. The patch is only for >> >> u

Re: [FFmpeg-devel] print pts as min:sec

2019-06-26 Thread Paul B Mahol
On 6/26/19, Ulf Zibis wrote: > > Am 26.06.19 um 12:26 schrieb Moritz Barsnick: >> This list is for the development *of* ffmpeg and its libraries. For the >> use of the libraries and the development *with* them, please turn to >> the mailing list "libav-user". > > Sorry, if I misunderstood. > > I'm

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/dxv: Check op_offset in both directions

2019-06-27 Thread Paul B Mahol
On 6/27/19, Michael Niedermayer wrote: > Fixes: signed integer overflow: 61 + 2147483647 cannot be represented in > type 'int' > Fixes: > 15311/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-5742552826773504 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuz

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Paul B Mahol
On 6/27/19, Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavcodec/cfhd.c | 14 -- > 1 file changed, 14 deletions(-) > > diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c > index 846d334b9b..616f5af193 100644 > --- a/libavcodec/cfhd.c > +++ b/libavcodec/cfhd.c > @@ -136,20

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Paul B Mahol
On 6/27/19, Paul B Mahol wrote: > On 6/27/19, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> libavcodec/cfhd.c | 14 -- >> 1 file changed, 14 deletions(-) >> >> diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c >> index 846d

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Paul B Mahol
On 6/27/19, Liu Steven wrote: > > >> 在 2019年6月27日,下午4:37,Paul B Mahol 写道: >> >> On 6/27/19, Paul B Mahol wrote: >>> On 6/27/19, Steven Liu wrote: >>>> Signed-off-by: Steven Liu >>>> --- >>>> libavcodec/cfhd.c | 14 -

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Paul B Mahol
On 6/27/19, Nicolas George wrote: > Liu Steven (12019-06-27): >> I remove it because i cannot found the caller for this API. >> I think there should have one caller for this API, It will not be used if >> there have no caller, Isn’t it? > > I suppose you built the code and the compiler did not com

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Paul B Mahol
On 6/27/19, Paul B Mahol wrote: > On 6/27/19, Nicolas George wrote: >> Liu Steven (12019-06-27): >>> I remove it because i cannot found the caller for this API. >>> I think there should have one caller for this API, It will not be used >>> if >>> th

Re: [FFmpeg-devel] [PATCH 11/12] lavf/sccdec: fix timestamps and demux one eai608 frame at a time

2019-06-27 Thread Paul B Mahol
On 11/25/18, Paul B Mahol wrote: > On 7/4/18, Baptiste Coudurier wrote: >> --- >> libavformat/sccdec.c | 100 --- >> 1 file changed, 56 insertions(+), 44 deletions(-) >> > > Will those scc patches be applied? > Th

Re: [FFmpeg-devel] [PATCH v3] lavf/vf_find_rect: add the dual input support function

2019-06-28 Thread Paul B Mahol
On 6/28/19, Limin Wang wrote: > On Fri, Jun 28, 2019 at 09:49:27AM +0200, Michael Niedermayer wrote: >> On Thu, Jun 27, 2019 at 05:40:31PM +0800, lance.lmw...@gmail.com wrote: >> > From: Limin Wang >> > >> > Please using the below command for the testing: >> > ./ffmpeg -i input.ts -i ref.png -fil

[FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

2019-06-28 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/cfhd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334b9b..49a5a2c30a 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -884,6 +884,8 @@ static int cfhd_decode(AVCodecContext *avctx, void

Re: [FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

2019-06-28 Thread Paul B Mahol
On 6/28/19, Carl Eugen Hoyos wrote: > Am Fr., 28. Juni 2019 um 19:48 Uhr schrieb Paul B Mahol : >> >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/cfhd.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/libavcodec/cfhd.c b/liba

Re: [FFmpeg-devel] [PATCH] Add DICOM Support

2019-06-28 Thread Paul B Mahol
>> >>>On Wed, Jun 26, 2019 at 09:54:56AM +0200, Paul B Mahol wrote: >> >>>>On 6/26/19, Michael Niedermayer wrote: >> >>>>>On Tue, Jun 25, 2019 at 01:52:09PM +0530, Shivam wrote: >> >>>>>>On 6/25/19 2

[FFmpeg-devel] [PATCH] avcodec/cfhd: add back alpha processing removed in 9cefb9e7ec

2019-06-29 Thread Paul B Mahol
Fixes #7886. Signed-off-by: Paul B Mahol --- libavcodec/cfhd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334b9b..49a5a2c30a 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -884,6 +884,8 @@ static int cfhd_decode

Re: [FFmpeg-devel] [PATCH v3] avfilter/avf_aphasemeter: Add out-of-phase and mono detection

2019-06-29 Thread Paul B Mahol
On 6/17/19, Romane Lafon wrote: > New version of the patch that extends aphasemeter filter. > It allows to get metadata for out-of-phase or mono sequences of stereo > streams. > It displays start, end and duration as for silencedetect filter. > Missing filter documentation updates. __

Re: [FFmpeg-devel] JPEG2000 multiple SOC and SIZ

2019-06-30 Thread Paul B Mahol
On 6/30/19, Anton Novikov wrote: > Hi everyone, > I'm reversing the recent version of r3d file format, and have encountered a > JPEG2000-related thing. > I've got a memory dump of something that seems to be JPEG2000, and modified > ffmpeg to consume it. The log follows: > [r3d @ 0x558d304077c0] te

[FFmpeg-devel] [PATCH] avfilter: add deesser audio filter

2019-06-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 36 ++ libavfilter/Makefile | 1 + libavfilter/af_deesser.c | 240 +++ libavfilter/allfilters.c | 1 + 4 files changed, 278 insertions(+) create mode 100644 libavfilter/af_deesser.c diff

Re: [FFmpeg-devel] [PATCH] libavformat/mpegtsenc: new interlaced mux mode

2019-06-30 Thread Paul B Mahol
On 6/30/19, Marton Balint wrote: > > > On Wed, 26 Jun 2019, Andreas Håkon wrote: > >>> > > > -ts_st->payload = av_mallocz(ts->pes_payload_size); >>> > > > +ts_st->payload = av_mallocz(ts->parallel_mux ? >>> > > > MAX_PES_PAYLOAD : ts->pes_payload_size); >>> > > >>> > > Coul

Re: [FFmpeg-devel] [PATCH] avfilter: add deesser audio filter

2019-07-02 Thread Paul B Mahol
On 6/30/19, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 36 ++ > libavfilter/Makefile | 1 + > libavfilter/af_deesser.c | 240 +++ > libavfilter/allfilters.c | 1 + > 4 files ch

Re: [FFmpeg-devel] [PATCH] Ensure scaled video is divisible by n

2019-07-03 Thread Paul B Mahol
On 7/3/19, Lars Kiesow wrote: > This patch adds a new option to the scale filter which ensures that the > output resolution is divisible by the given integer similar to using -n > in the `w` and `h` options. But this works even if the > `force_original_aspect_ratio` is used. > > The use case for t

Re: [FFmpeg-devel] [PATCH] Ensure scaled video is divisible by n

2019-07-03 Thread Paul B Mahol
On 7/3/19, Lars Kiesow wrote: > This patch adds a new option to the scale filter which ensures that the > output resolution is divisible by the given integer similar to using -n > in the `w` and `h` options. But this works even if the > `force_original_aspect_ratio` is used. > > The use case for t

Re: [FFmpeg-devel] [PATCH] Ensure scaled video is divisible by n

2019-07-03 Thread Paul B Mahol
On 7/3/19, Lars Kiesow wrote: > Hi Paul, > >> > { "force_original_aspect_ratio", "decrease or increase w/h if >> > necessary to keep the original AR", >> > OFFSET(force_original_aspect_ratio), AV_OPT_TYPE_INT, { .i64 = 0}, >> > 0, 2, FLAGS, "force_oar" }, >> > +{ "force_divisible_by", "en

Re: [FFmpeg-devel] [PATCH v1] Config files for NetBeans IDE

2019-07-05 Thread Paul B Mahol
If this is meant to be applied to our tree I'm against. We do not need this bloat. On 7/5/19, Ulf Zibis wrote: > Hi, > > I have made excellent experience in using the NetBeans IDE for FFmpeg > developement. So I like to share the customized configuration for this > if people like to try it here:

Re: [FFmpeg-devel] [PATCH] avcodec: Implement DM PAR Muxer/Demuxer

2019-07-07 Thread Paul B Mahol
On 7/5/19, Tom Needham <06needh...@gmail.com> wrote: > Samples are Available from > > https://transfernow.net/131xk9g4u0jt > Is there native Windows player for those files? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/flicvideo: Make line_packets int

2019-07-08 Thread Paul B Mahol
On 7/8/19, Michael Niedermayer wrote: > On Sat, Jun 22, 2019 at 04:58:37PM +0200, Paul B Mahol wrote: >> On 6/22/19, Michael Niedermayer wrote: >> > Fixes: signed integer overflow: -32768 * 196032 cannot be represented >> > in >> > type 'int' >>

Re: [FFmpeg-devel] [PATCH] lavf/vf_stack: add keep_dar option for vstack and hstack

2019-07-08 Thread Paul B Mahol
Not acceptable patch. Please do not merge. On 7/8/19, lance.lmw...@gmail.com wrote: > From: Limin Wang > > It's useful to compare two 4K videos quality side by side on 4K TV. > > Signed-off-by: Limin Wang > --- > doc/filters.texi | 6 ++ > libavfilter/vf_stack.c | 31 ++

Re: [FFmpeg-devel] [PATCH] lavf/vf_stack: add keep_dar option for vstack and hstack

2019-07-08 Thread Paul B Mahol
>> >> Keep DAR of which input i.e. what if the inputs have different DARs? > > I'm using it for comparing two same video quality, it's not general > for all condition anyway. > >> >> The user can already emulate this by cropping inputs befoehand. > Yes, we can use the crop filter to get the same fu

Re: [FFmpeg-devel] [PATCH 3/6] truehd_core: Return error in case of error

2019-07-09 Thread Paul B Mahol
On 7/6/19, Andreas Rheinhardt wrote: > Several checks (e.g. when the size of the input packet is too small) > simply used "goto fail", but didn't set the return value appropriately > for an error. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/truehd_core_bsf.c | 14 ++ > 1

Re: [FFmpeg-devel] [PATCH 1/6] truehd_core: Disable 16-channel presentation

2019-07-09 Thread Paul B Mahol
On 7/6/19, Andreas Rheinhardt wrote: > The most serious bit of the substream_info header field (in a mayor sync > packet) indicates whether a 16-channel presentation is present in the > bitstream. If set, the extended_substream_info header field contains > information about the 16-channel presenta

Re: [FFmpeg-devel] [PATCH v3] libavcodec/vp9: fix ref-frame size judging method

2019-07-09 Thread Paul B Mahol
On 7/9/19, Ronald S. Bultje wrote: > Hi, > > On Mon, Jul 8, 2019 at 6:23 PM Yan Cen wrote: > >> From: yancen >> >> There is no need all reference frame demension is valid in libvpx. >> > > Haven't we discussed this before? Anyway, it seems you're really eager to > get this in, so I'll drop my ob

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

2019-07-10 Thread Paul B Mahol
On 7/10/19, U. Artie Eoff wrote: > This filter enables raw frames to be dumped to a > file before they are sent through the auto-inserted > scaler filter and useful when you want unscaled > raw frames in an output file. > Why? -f rawvideo doesn't work for you? ___

Re: [FFmpeg-devel] [FFmpeg-cvslog] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-07-10 Thread Paul B Mahol
On 7/10/19, Carl Eugen Hoyos wrote: > > > >> Am 07.07.2019 um 07:43 schrieb Calvin Walton : >> >> ffmpeg | branch: master | Calvin Walton | Fri >> Jun 21 09:08:03 2019 -0400| [2bd21b96096320bc12532119a6b0f7a974db6c19] | >> committer: Gyan Doshi >> >> vf_drawtext: Add pkt_pos, pkt_duration, pkt_si

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

2019-07-10 Thread Paul B Mahol
On 7/10/19, Fu, Linjie wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Paul B Mahol >> Sent: Wednesday, July 10, 2019 15:55 >> To: FFmpeg development discussions and patches > de...@ffmpeg.org>

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

2019-07-10 Thread Paul B Mahol
On 7/10/19, Eoff, Ullysses A wrote: >> -Original Message- >> From: Paul B Mahol [mailto:one...@gmail.com] >> Sent: Wednesday, July 10, 2019 3:25 AM >> To: FFmpeg development discussions and patches >> Cc: Eoff, Ullysses A >> Subject: Re: [FFmpeg-

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

2019-07-10 Thread Paul B Mahol
On 7/10/19, Eoff, Ullysses A wrote: >> -Original Message- >> From: Paul B Mahol [mailto:one...@gmail.com] >> Sent: Wednesday, July 10, 2019 7:20 AM >> To: Eoff, Ullysses A >> Cc: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: fix video frame lost sync for the dual input ts files with audio

2019-07-10 Thread Paul B Mahol
On 7/10/19, Limin Wang wrote: > On Tue, Jul 09, 2019 at 07:49:23PM +0200, Michael Niedermayer wrote: >> On Mon, Jul 08, 2019 at 06:34:12PM +0800, lance.lmw...@gmail.com wrote: >> > From: Limin Wang >> > >> > How to reproduce the problem(use two ts files with audio stream): >> > ffmpeg -i left_w_a

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

2019-07-10 Thread Paul B Mahol
On 7/10/19, Eoff, Ullysses A wrote: >> -Original Message- >> From: Eoff, Ullysses A >> Sent: Tuesday, July 09, 2019 6:45 PM >> To: ffmpeg-devel@ffmpeg.org >> Cc: Eoff, Ullysses A >> Subject: [PATCH] avfilter: add rawdump filter >> >> This filter enables raw frames to be dumped to a >> fil

Re: [FFmpeg-devel] [FFmpeg-cvslog] vf_drawtext: Add pkt_pos, pkt_duration, pkt_size as variables

2019-07-10 Thread Paul B Mahol
On 7/10/19, greg Luce wrote: >> What output were you expecting with the first patch and what command did >> you test to check? > > I was hoping it would make > -filter_complex [0:v]drawtext=text='%{pkt_duration}' > (and also pkt_size and pkt_pos) work the same way as > -filter_complex [0:v]drawtex

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/huffyuvdec: Check vertical subsampling in hymt

2019-07-12 Thread Paul B Mahol
LGTM On 7/4/19, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 15484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HYMT_fuzzer-5765377054736384 > Fixes: > 15559/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HYMT_fuzzer-5710295743332352 > > Found-by: continuous fuzzing

<    2   3   4   5   6   7   8   9   10   11   >