Re: [FFmpeg-devel] [Patch] nvenc : Add P016 support

2017-07-24 Thread Philip Langdale
On 2017-07-25 12:20, Yogender Gupta wrote: Can someone else push these patches to GIT. Regards, Yogender -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Timo Rothenpieler Sent: Tuesday, July 18, 2017 5:16 PM To: ffmpeg-devel@ffmpeg.org Subject

Re: [FFmpeg-devel] [Patch] nvenc : Add P016 support

2017-07-24 Thread Yogender Gupta
Can someone else push these patches to GIT. Regards, Yogender -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Timo Rothenpieler Sent: Tuesday, July 18, 2017 5:16 PM To: ffmpeg-devel@ffmpeg.org Subject: Re: [FFmpeg-devel] [Patch] nvenc : Add P01

[FFmpeg-devel] [PATCH 2/2] avcodec/atrac3: use float_dsp in reverse_matrixing()

2017-07-24 Thread James Almer
Signed-off-by: James Almer --- libavcodec/atrac3.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/libavcodec/atrac3.c b/libavcodec/atrac3.c index 6cdcdf1964..bb2f5ee828 100644 --- a/libavcodec/atrac3.c +++ b/libavcodec/atrac3.c @@ -467,8 +467,8 @@ static int add

[FFmpeg-devel] [PATCH] doc/libav-merge: remove the hls merge TODO

2017-07-24 Thread Steven Liu
From: Steven Liu because the commit id 3c7fa8cbb93dba96acb12aef6e00d929c1da1ae8 have been done for OPENSSL at hlsenc. Signed-off-by: Steven Liu --- doc/libav-merge.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/libav-merge.txt b/doc/libav-merge.txt index 690c4ef97f..96b008b71b 1006

[FFmpeg-devel] [PATCH] avformat/oggparsecelt: Do not re-allocate os->private

2017-07-24 Thread Michael Niedermayer
Fixes: double free Fixes: clusterfuzz-testcase-minimized-5080550145785856 Found-by: ClusterFuzz Signed-off-by: Michael Niedermayer --- libavformat/oggparsecelt.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/oggparsecelt.c b/libavformat/oggparsecelt.c i

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: improve hls encrypt get key file operation

2017-07-24 Thread Steven Liu
2017-07-21 11:49 GMT+08:00 Steven Liu : > get key file only once time is ok, no need more times. > Ticket-id: #6545 > > Found-by: JohnPi > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 15 +-- > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/libavformat/hl

Re: [FFmpeg-devel] [PATCH 3/4] libavcodec: v4l2: add codec formats

2017-07-24 Thread Reimar Döffinger
On 24.07.2017, at 21:08, Jorge Ramirez-Ortiz wrote: > From: Alexis Ballier > > In addition, enable the multi planar raw formats. I see the existing code already does it like that, but I don't think that is the best way. Defining the macro to the standard value if it is not defined seems a be

Re: [FFmpeg-devel] [PATCH 1/4] Move lavd/v4l2-common.* to lavc

2017-07-24 Thread Reimar Döffinger
Hmm... a bit weird that we have a file with a dash in the file name when everything else uses underscore... On 24.07.2017, at 21:08, Jorge Ramirez-Ortiz wrote: > From: Alexis Ballier > > In preparation to support the integation of the V4L2 API for encoding > and decoding, move v4l2 related

Re: [FFmpeg-devel] [mov] Fix trampling of ctts during seeks when sidx support is enabled.

2017-07-24 Thread Dale Curtis
On Thu, Jul 20, 2017 at 5:00 AM, Michael Niedermayer wrote: > Hi > > On Wed, Jul 19, 2017 at 07:30:01PM -0700, Dale Curtis wrote: > > Thanks will take a look. Is this test not part of fate? make fate passed > > no, we should have tests for all (fixed) tickets in fate ideally > but in reality most

[FFmpeg-devel] [PATCH] avdevice/decklink_dec: set field order via codecpar

2017-07-24 Thread Marton Balint
Signed-off-by: Marton Balint --- libavdevice/decklink_dec.cpp | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index 8b5c1a20c1..72449a8eca 100644 --- a/libavdevice/decklink_dec.cpp +++ b/libavdev

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

2017-07-24 Thread Moritz Barsnick
On Mon, Jul 24, 2017 at 19:02:00 +0200, Paul B Mahol wrote: > +.name = "pseudocolor", > +.description = NULL_IF_CONFIG_SMALL("Generate a pseudocolored video > frames"), I don't understand. If it generates, it sounds like it would be a vsrc_ filter. But it has inputs, and does s

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/dcaenc: propagate errors

2017-07-24 Thread James Almer
On 7/24/2017 9:24 AM, foo86 wrote: > --- > libavcodec/dcaenc.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c > index c1d72bfd16..fea67bf37c 100644 > --- a/libavcodec/dcaenc.c > +++ b/libavcodec/dcaenc.c > @@ -129,7

Re: [FFmpeg-devel] [PATCH] vc2enc: Calculate average slice quantiser correctly

2017-07-24 Thread James Darnley
On 2017-07-24 20:27, Kieran Kunhya wrote: > @@ -1045,7 +1045,7 @@ static av_cold int vc2_encode_end(AVCodecContext *avctx) > int i; > VC2EncContext *s = avctx->priv_data; > > -av_log(avctx, AV_LOG_INFO, "Qavg: %i\n", s->q_avg); > +av_log(avctx, AV_LOG_INFO, "Qavg: %f\n", (float)

[FFmpeg-devel] [PATCH] avcodec/dcaenc: fix memory leaks on init failure

2017-07-24 Thread foo86
--- libavcodec/dcaenc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c index 37095674f5..1740c16432 100644 --- a/libavcodec/dcaenc.c +++ b/libavcodec/dcaenc.c @@ -145,8 +145,8 @@ static int subband_bufer_alloc(DCAEncContext *c)

[FFmpeg-devel] [PATCH 4/4] libavcodec/dev: v4l2: add support for v4l2 mem2mem codecs

2017-07-24 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver recently landed upstream [1]). This has been tested on Qualcomm's DragonBoard 410c and 820c ffplay tested video decoders: - h264, - vp8 - mpeg4 Some of the chang

[FFmpeg-devel] [PATCH 3/4] libavcodec: v4l2: add codec formats

2017-07-24 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier In addition, enable the multi planar raw formats. Reviewed-by: Jorge Ramirez Tested-by: Jorge Ramirez --- libavcodec/v4l2-common.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/libavcodec/v4l2-common.c b/libavcodec/v4l2-common.c index

[FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2: add pack_flags to the conversion tables

2017-07-24 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier Extend the mapping function to use the v4l2 conversion tables. Reviewed-by: Jorge Ramirez Tested-by: Jorge Ramirez --- libavcodec/v4l2-common.c | 63 libavcodec/v4l2-common.h | 7 +- libavdevice/v4l2.c | 2 +- l

[FFmpeg-devel] [PATCH 1/4] Move lavd/v4l2-common.* to lavc

2017-07-24 Thread Jorge Ramirez-Ortiz
From: Alexis Ballier In preparation to support the integation of the V4L2 API for encoding and decoding, move v4l2 related files to libavcodec. Signed-off-by: Alexis Ballier Reviewed-by: Jorge Ramirez-Ortiz --- configure | 6 ++- libavcodec/Makefile | 1 + libavcodec

[FFmpeg-devel] V4L2 M2M codecs

2017-07-24 Thread Jorge Ramirez-Ortiz
The following patchset adds support for V4L2 mem2mem codecs. This feature gives ffmpeg access to any hardware codec implementing the V4L2 API. Since the number of hardware codecs implementing this API is expected to increase, we believe it will be benefitial to all users to integrate its support i

Re: [FFmpeg-devel] [PATCH 1/2] fate: add fate-sws-pixdesc-query

2017-07-24 Thread Clément Bœsch
On Mon, Jul 24, 2017 at 08:02:25PM +0200, Carl Eugen Hoyos wrote: > 2017-07-24 17:03 GMT+02:00 Clément Bœsch : > > On Mon, Jul 24, 2017 at 01:55:40AM +0200, Carl Eugen Hoyos wrote: > >> 2017-03-19 15:00 GMT+01:00 Clément Bœsch : > >> > Test the pixel format querying within libswscale. > >> > >> Afa

[FFmpeg-devel] [PATCH] vc2enc: Calculate average slice quantiser correctly

2017-07-24 Thread Kieran Kunhya
$subj 0001-vc2enc-Calculate-average-slice-quantiser-correctly.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/2] fate: add fate-sws-pixdesc-query

2017-07-24 Thread Carl Eugen Hoyos
2017-07-24 17:03 GMT+02:00 Clément Bœsch : > On Mon, Jul 24, 2017 at 01:55:40AM +0200, Carl Eugen Hoyos wrote: >> 2017-03-19 15:00 GMT+01:00 Clément Bœsch : >> > Test the pixel format querying within libswscale. >> >> Afaict, this broke fate on big-endian: >> $ make fate-sws-pixdesc-query >> TEST

[FFmpeg-devel] [RFC]libswscale: Sanitize isRGBinInt() and isBGRinInt()

2017-07-24 Thread Carl Eugen Hoyos
Hi! Attached is a PoC for a code simplification that imo makes a logic in libswscale easier to read and also fixes the Big Endian fate failure. If this approach is preferred, I will try to fix the five affected asm functions. Please comment, Carl Eugen diff --git a/libswscale/rgb2rgb.c b/libswsca

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: Fix division by zero in jp2_find_codestream()

2017-07-24 Thread Carl Eugen Hoyos
2017-07-24 17:34 GMT+02:00 Michael Niedermayer : > Fixes: 2707/clusterfuzz-testcase-minimized-5179636394754048 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavcodec/jpeg2000dec.c | 5 +

Re: [FFmpeg-devel] [PATCH] libavcodec/mips: Optimize avc idct 4x4 for msa

2017-07-24 Thread Manojkumar Bhosale
LGTM From: ffmpeg-devel [ffmpeg-devel-boun...@ffmpeg.org] on behalf of kaustubh.ra...@imgtec.com [kaustubh.ra...@imgtec.com] Sent: Monday, July 24, 2017 6:11 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] libavcodec/mips:

Re: [FFmpeg-devel] [PATCH] Implement NewTek NDI support

2017-07-24 Thread Nicolas George
Le quintidi 5 thermidor, an CCXXV, Maksym Veremeyenko a écrit : > would it be ok: > >Subject: [PATCH] lavf: implement NewTek NDI support Exactly. Except I mistyped: that would be lavd, not lavf; my bad. > would you *newtek_ndi* or *libndi_newtek" I prefer libndi_newtek, but that is only my

[FFmpeg-devel] [PATCH] avfilter: add pseudocolor filter

2017-07-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_pseudocolor.c | 199 +++ 3 files changed, 201 insertions(+) create mode 100644 libavfilter/vf_pseudocolor.c diff --git a/libavfilter

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/ylc: Fix shift overflow

2017-07-24 Thread Michael Niedermayer
On Sat, Jul 22, 2017 at 04:35:24AM +0200, Michael Niedermayer wrote: > Fixes: runtime error: shift exponent 32 is too large for 32-bit type > 'unsigned int' > Fixes: 2698/clusterfuzz-testcase-minimized-4713541443518464 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/aacps: Fix multiple integer overflow in map_val_34_to_20()

2017-07-24 Thread Michael Niedermayer
On Sat, Jul 22, 2017 at 04:35:23AM +0200, Michael Niedermayer wrote: > Fixes: avcodec/aacps.c:511:40: runtime error: signed integer overflow: > 1509077651 + 758068176 cannot be represented in type 'int' > Fixes: 2678/clusterfuzz-testcase-minimized-4702787684270080 > > Found-by: continuous fuzzing

[FFmpeg-devel] [PATCH 1/2] avcodec/hevc_ps: fix integer overflow in log2_parallel_merge_level_minus2

2017-07-24 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: -2147483647 - 2 cannot be represented in type 'int' Fixes: 2702/clusterfuzz-testcase-minimized-4511932591636480 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer -

[FFmpeg-devel] [PATCH 2/2] avcodec/jpeg2000dec: Fix division by zero in jp2_find_codestream()

2017-07-24 Thread Michael Niedermayer
Fixes: 2707/clusterfuzz-testcase-minimized-5179636394754048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/jpe

Re: [FFmpeg-devel] [PATCH 1/2] fate: add fate-sws-pixdesc-query

2017-07-24 Thread Clément Bœsch
On Mon, Jul 24, 2017 at 01:55:40AM +0200, Carl Eugen Hoyos wrote: > 2017-03-19 15:00 GMT+01:00 Clément Bœsch : > > Test the pixel format querying within libswscale. > > Afaict, this broke fate on big-endian: > $ make fate-sws-pixdesc-query > TESTsws-pixdesc-query > --- ./tests/ref/fate/sws-pix

[FFmpeg-devel] [PATCH v2] fate: add tests for some video source filters

2017-07-24 Thread Tobias Rapp
Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc, smptebars, smptehdbars and yuvtestsrc filters. Signed-off-by: Tobias Rapp --- tests/fate/filter-video.mak| 21 + tests/ref/fate/filter-allrgb | 10 ++ tests/ref/fate/

Re: [FFmpeg-devel] [PATCH] fate: add tests for some video source filters

2017-07-24 Thread Tobias Rapp
On 21.07.2017 13:16, Michael Niedermayer wrote: On Fri, Jul 21, 2017 at 12:18:53PM +0200, Tobias Rapp wrote: On 21.07.2017 02:47, Michael Niedermayer wrote: On Fri, Jul 21, 2017 at 01:04:03AM +0200, Nicolas George wrote: Le duodi 2 thermidor, an CCXXV, Michael Niedermayer a écrit : breaks on

[FFmpeg-devel] [PATCH] lavf: implement NewTek NDI muxer/demuxer support (attempt #2)

2017-07-24 Thread Maksym Veremeyenko
Hi, attached updated version of NewTek NDI support. i think i fixed all notices/comments except: On 24.07.2017 16:30, Nicolas George wrote: > Le quintidi 5 thermidor, an CCXXV, Maksym Veremeyenko a écrit : >> according to SDK documentation terminology, *source* and *find* used for >> this, ther

[FFmpeg-devel] Fwd: Re: Uživatel Petr Soukup tweetnul: Když má vaše služba status page, GTS GTSp hostovat ji někde jinde nž službu :)

2017-07-24 Thread Ing . Radomír Polách
Za Jin gk -- Přeposlaná zpráva -- Od: "Ing. Radomír Polách" Datum: 24. 7. 2017 3:45 odp. Předmět: Re: Uživatel Petr Soukup tweetnul: Když má vaše služba status page, zvažte hostovat ji někde jinde nž službu :) Komu: "Oblíbené ve vaší síti" Kopie: Tak Dne 11. 6. 2016 12:20 dop. n

Re: [FFmpeg-devel] [PATCH] Implement NewTek NDI support

2017-07-24 Thread Nicolas George
Le quintidi 5 thermidor, an CCXXV, Maksym Veremeyenko a écrit : > according to SDK documentation terminology, *source* and *find* used for > this, there are no actual *devices* but only network sources. This is a case where we have two opposite requirements: consistency within FFmpeg or consistenc

Re: [FFmpeg-devel] [PATCH]v5 Opus Pyramid Vector Quantization Search in x86 SIMD asm

2017-07-24 Thread Ivan Kalvachev
On 7/23/17, Rostislav Pehlivanov wrote: > On 22 July 2017 at 12:18, Ivan Kalvachev wrote: > >> This patch is ready for review and inclusion. >> >> >> >>+%macro emu_blendvps 3 ; dst/src_a, src_b, mask >>+%macro lea_pic_base 2; reg, const_label > Capitalize macro names. Done for the later. About t

Re: [FFmpeg-devel] [PATCH] movenc: support GPMF track (gpmd) remuxing

2017-07-24 Thread Clément Bœsch
On Fri, Jul 21, 2017 at 03:18:26PM +0200, Michael Niedermayer wrote: > On Fri, Jul 21, 2017 at 10:30:19AM +0200, Clément Bœsch wrote: > > From: Clément Bœsch > > > > See https://github.com/gopro/gpmf-parser for more information on the > > data stream itself. > > --- > > libavformat/movenc.c | 25

[FFmpeg-devel] [PATCH] libavcodec/mips: Optimize avc idct 4x4 for msa

2017-07-24 Thread kaustubh.raste
From: Kaustubh Raste Removed memset call and improved performance. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264idct_msa.c | 104 +++ libavutil/mips/generic_macros_msa.h | 18 ++ 2 files changed, 74 insertions(+), 48 deletions(-) diff --git

[FFmpeg-devel] [PATCH 1/2] avcodec/dcaadpcm: remove unreachable code

2017-07-24 Thread foo86
Arguments passed to these functions are never NULL. --- libavcodec/dcaadpcm.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavcodec/dcaadpcm.c b/libavcodec/dcaadpcm.c index 9f615e3793..d9f53441b0 100644 --- a/libavcodec/dcaadpcm.c +++ b/libavcodec/dcaadpcm.c @@ -211,9 +211,6 @@ int f

[FFmpeg-devel] [PATCH 2/2] avcodec/dcaenc: propagate errors

2017-07-24 Thread foo86
--- libavcodec/dcaenc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c index c1d72bfd16..fea67bf37c 100644 --- a/libavcodec/dcaenc.c +++ b/libavcodec/dcaenc.c @@ -129,7 +129,7 @@ static int subband_bufer_alloc(DCAEncContex

[FFmpeg-devel] [PATCH 3/3] avformat/s337m: fix potentially undefined pointer arithmetic

2017-07-24 Thread foo86
Use integer position instead of pointer for loop variable. Also only skip header fields after header has been fully validated. --- libavformat/s337m.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavformat/s337m.c b/libavformat/s337m.c index 1f4ba5ed

[FFmpeg-devel] [PATCH 2/3] avcodec/dolby_e: fix potentially undefined pointer arithmetic

2017-07-24 Thread foo86
Avoid undefined behavior in skip_input() by checking that enough data is available before incrementing input pointer. Check return values of parse_key() and skip_input() and exit early with error if there is not enough data. --- libavcodec/dolby_e.c | 45 --

[FFmpeg-devel] [PATCH 1/3] avcodec/dolby_e: add AV_CODEC_CAP_CHANNEL_CONF capability

2017-07-24 Thread foo86
--- libavcodec/dolby_e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c index 6f390d959f..f811db4d8e 100644 --- a/libavcodec/dolby_e.c +++ b/libavcodec/dolby_e.c @@ -701,7 +701,7 @@ AVCodec ff_dolby_e_decoder = { .decode

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: fix hls fmp4 extention name bug

2017-07-24 Thread Steven Liu
2017-07-21 23:33 GMT+08:00 Steven Liu : > ticket-id: #6541 > when use hls fmp4 muxer, the extention name is not .m4s, this > code can fix it. > > Found-by: JohnPi > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 47 +-- > 1 file changed, 41 in

Re: [FFmpeg-devel] [PATCH] lavfi/testsrc2: fix completely transparent alpha.

2017-07-24 Thread Nicolas George
Le sextidi 6 thermidor, an CCXXV, Carl Eugen Hoyos a écrit : > > Oh, you mean a gradient on the alpha channel. It is not really possible > > without making the code more complex and I think significantly slower. > > > A coarse gradient between the different vertical bands is easy, but the > > alph

Re: [FFmpeg-devel] [PATCH 1/2] libavfilter/scale: More descriptive in/ref/out logging

2017-07-24 Thread Kevin Mark
Hi Ronald, On Wed, Jul 19, 2017 at 3:44 AM, Ronald S. Bultje wrote: > But my grep (Mac) has no -P option... I'd encourage you to keep things > simple and use a non-\n delimiter between the lines so non-GNU grep can > continue to be used for this also... Does this work for you: On Tue, Jun 6, 20

[FFmpeg-devel] [PATCH] ffprobe: use consistent string for unspecified color_range value

2017-07-24 Thread Tobias Rapp
Makes the handling of unspecified/unknown color_range values on stream level consistent to the value used on frame level. Signed-off-by: Tobias Rapp --- ffprobe.c | 2 +- tests/ref/fate/ffprobe_compact | 4 ++-- tests/ref/fate/ffprobe_csv | 4 ++-- tests/ref/fate/ffprobe