Re: [FFmpeg-devel] [PATCH] avfilter: remove useless cast

2019-10-27 Thread myp...@gmail.com
On Mon, Oct 28, 2019 at 12:03 AM Zhao Zhili wrote: > > --- > libavfilter/allfilters.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c > index d136734338..6156066028 100644 > --- a/libavfilter/allfilters.c > +++

Re: [FFmpeg-devel] [PATCH] avformat/hls: Set AVFMT_TS_DISCONT flag on HLS input format

2019-10-27 Thread Steven Liu
> 在 2019年10月28日,02:39,Philip Langdale 写道: > > There have been many reports over the years about problems when > taking an HLS stream as input to `ffmpeg` where there are timestamp > discontinuities present. This is explicitly supported in the > HLS spec (EXT-X-DISCONTINUITY) and often used for

[FFmpeg-devel] [PATCH v2 4/5] doc/indevs: Add examples for libdc1394

2019-10-27 Thread Forest Crossman
Signed-off-by: Forest Crossman --- doc/indevs.texi | 31 +++ 1 file changed, 31 insertions(+) diff --git a/doc/indevs.texi b/doc/indevs.texi index 757fac91de..82609a38c9 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1086,6 +1086,37 @@ Set the video size

[FFmpeg-devel] [PATCH v2 3/5] libdc1394: Enable specifying a camera by GUID[:unit]

2019-10-27 Thread Forest Crossman
Signed-off-by: Forest Crossman --- doc/indevs.texi | 3 ++ libavdevice/libdc1394.c | 70 - 2 files changed, 51 insertions(+), 22 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index 14595774f3..757fac91de 100644 --- a/doc/indevs.texi

[FFmpeg-devel] [PATCH v2 5/5] libdc1394: Fix PTS wrapping

2019-10-27 Thread Forest Crossman
Without this, the timestamp will unexpectedly wrap around after approximately 2146 frames (on a 64-bit system, at least), which is about 19 minutes at the lowest framerate supported by the IIDC standard and about 9 seconds at the highest supported framerate. To fix this, we use av_rescale() to do

Re: [FFmpeg-devel] [PATCH v4 2/2] avfilter: Add tonemap vaapi filter

2019-10-27 Thread Xiang, Haihao
On Wed, 2019-10-23 at 08:26 +0200, Carl Eugen Hoyos wrote: > > Am 23.10.2019 um 06:48 schrieb Xiang, Haihao : > > > > > On 11/09/2019 06:39, Zachary Zhou wrote: > > > > It supports ICL platform. > > > > H2H (HDR to HDR): P010 -> A2R10G10B10 > > > > H2S (HDR to SDR): P010 -> ARGB > > > > > > The

Re: [FFmpeg-devel] [PATCH] libavformat/flacenc: reject too big picture blocks

2019-10-27 Thread Mattias Wadman
Think i messed up the formatting of the in-line patch somehow. Ill send the patch as an attachment instead. Hope reply and attach is ok? On Sun, Oct 27, 2019 at 8:22 PM Mattias Wadman wrote: > A too big picture will case the muxer to write a truncated block size > (uint24) > causing the output

[FFmpeg-devel] [PATCH] libavformat/flacenc: reject too big picture blocks

2019-10-27 Thread Mattias Wadman
A too big picture will case the muxer to write a truncated block size (uint24) causing the output file to be corrupt. How to reproduce: Write a file with truncated block size: ffmpeg -y -f lavfi -i sine -f lavfi -i color=red:size=2400x2400 -map 0:a:0 -map 1:v:0 -c:v:0 bmp -disposition:1

[FFmpeg-devel] [PATCH] avformat/hls: Set AVFMT_TS_DISCONT flag on HLS input format

2019-10-27 Thread Philip Langdale
There have been many reports over the years about problems when taking an HLS stream as input to `ffmpeg` where there are timestamp discontinuities present. This is explicitly supported in the HLS spec (EXT-X-DISCONTINUITY) and often used for ad injection. Various fixes and work-arounds have been

Re: [FFmpeg-devel] [PATCH 1/1] Slightly update nvenc error messages and warnings

2019-10-27 Thread Timo Rothenpieler
On 27.10.2019 03:30, hydra wrote: --- libavcodec/nvenc.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index bbb43ddad8..a18eb1df89 100644 --- a/libavcodec/nvenc.c +++

[FFmpeg-devel] [PATCH 2/6] avcodec/libvpxenc: only allocate U/V planes once for the alpha encoder instance

2019-10-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/libvpxenc.c | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 4c02315fd2..9da4529205 100644 --- a/libavcodec/libvpxenc.c +++

[FFmpeg-devel] [PATCH 6/6] avcodec/libvpxdec: reject video and alpha dimension mismatches

2019-10-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/libvpxdec.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index fdd5d458d3..1ae2361167 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -283,6 +283,17 @@ static int

[FFmpeg-devel] [PATCH 5/6] avcodec/libvpxdec: decode to custom framebuffers for vp9

2019-10-27 Thread Marton Balint
This avoids copying the full frame after decoding. Signed-off-by: Marton Balint --- libavcodec/libvpxdec.c | 73 ++ 1 file changed, 68 insertions(+), 5 deletions(-) diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index

[FFmpeg-devel] [PATCH 4/6] avcodec/libvpxdec: pass decoder instances to vpx_init directly

2019-10-27 Thread Marton Balint
If the alpha decoder init failed we presented the error message from the normal decoder. This change should prevent such mistakes. Signed-off-by: Marton Balint --- libavcodec/libvpxdec.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[FFmpeg-devel] [PATCH 1/6] avcodec/libvpxenc: fix alpha stride

2019-10-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/libvpxenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 286baa14a7..4c02315fd2 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1326,7 +1326,7 @@ static

[FFmpeg-devel] [PATCH 3/6] avcodec/libvpxdec: make sure BlockAdditional side data size >= 8

2019-10-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/libvpxdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index 164dbda49b..cc91140886 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -191,7 +191,7 @@ static int

[FFmpeg-devel] [PATCH] avfilter: remove useless cast

2019-10-27 Thread Zhao Zhili
--- libavfilter/allfilters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c index d136734338..6156066028 100644 --- a/libavfilter/allfilters.c +++ b/libavfilter/allfilters.c @@ -503,7 +503,7 @@ const AVFilter

Re: [FFmpeg-devel] [PATCH] Fix segment muxer

2019-10-27 Thread Marton Balint
On Mon, 7 Oct 2019, just.one@yandex.ru wrote: Please use a proper commit title: e.g: avformat/segment: fix non-zero start pts Also make sure you provide the author name you want when you send the patch email. (you only provided an email address in the From field, not a full name, I

[FFmpeg-devel] [PATCH] avcodec/tiff: check denominator values in tiff_decode_tag()

2019-10-27 Thread James Almer
Fixes ticket #8327. Signed-off-by: James Almer --- The first case may be for either black level or SAR, so i decided to use a generic error message. libavcodec/tiff.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index f537e99b5a..636614aa28

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/g723_1dec: fix invalid shift with negative sid_gain

2019-10-27 Thread Paul B Mahol
lgtm On 10/27/19, Michael Niedermayer wrote: > Fixes: left shift of negative value -1 > Fixes: > 18395/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5710313034350592 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH] Fix segment muxer

2019-10-27 Thread Vasily
Can anyone answer me?.. :( чт, 17 окт. 2019 г., 12:24 Vasily : > Can I have _any_ response please? It was more than a week of silence... :( > > Thanks, > Vasily > > чт, 10 окт. 2019 г., 13:05 Vasily : > >> Anything else I have to do to make this patch eventually taken in? >> >> Thanks, >> Vasily

[FFmpeg-devel] [PATCH v1 2/2] avfilter/vf_colorbalance: rewrite the code with macro-based function

2019-10-27 Thread lance . lmwang
From: Limin Wang rename the function to lut_planar_##bits and lut_packed_##bits to make it more clear Signed-off-by: Limin Wang --- libavfilter/vf_colorbalance.c | 253 +++--- 1 file changed, 89 insertions(+), 164 deletions(-) diff --git

[FFmpeg-devel] [PATCH v1 1/2] tests/fate/filter-video: add fate test for colorbalance

2019-10-27 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak| 12 tests/ref/fate/filter-colorbalance-gbrap | 8 tests/ref/fate/filter-colorbalance-gbrap16 | 8 tests/ref/fate/filter-colorbalance-rgb24 | 8

Re: [FFmpeg-devel] [PATCH] avcodec/tiff: check the black level denominator

2019-10-27 Thread Michael Niedermayer
On Sat, Oct 26, 2019 at 12:07:34PM -0300, James Almer wrote: > Fixes ticket #8327. > > Signed-off-by: James Almer > --- > libavcodec/tiff.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c > index f537e99b5a..c34e97cd6d 100644 > ---

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/sonic: Check e in get_symbol()

2019-10-27 Thread Michael Niedermayer
On Tue, Oct 22, 2019 at 04:56:27PM +0200, Paul B Mahol wrote: > This code is dead and nonfunctional and should be removed ASAP! Its in several releases, which need this fix Even if it where removed from git master they still would need the fix > > On 10/22/19, Michael Niedermayer wrote: > >

Re: [FFmpeg-devel] [PATCH v2] Add support for VP9 VDPAU hwaccel decode

2019-10-27 Thread Manoj Bonda
Thanks Philip. > -Original Message- > From: ffmpeg-devel On Behalf Of Philip > Langdale > Sent: Saturday, October 26, 2019 10:35 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2] Add support for VP9 VDPAU hwaccel > decode > > On Fri, 25 Oct 2019 11:00:13 +0530 >