Re: [FFmpeg-devel] [PATCH v9 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper

2019-03-24 Thread Sun, Jing A
Friday, March 22, 2019 5:54 PM, Carl Eugen Hoyos: >What I meant is: >I don't understand the comment (and your mail), it says above the >functionality has to be disabled but you write it works fine. >The comment is (still) unclear imo. >Carl Eugen Hi Carl, it works functionally, but there is som

Re: [FFmpeg-devel] [PATCH v3 1/2] vf_crop: Add support for cropping hardware frames

2019-03-24 Thread Philip Langdale via ffmpeg-devel
On Sat, 23 Mar 2019 16:18:48 + Mark Thompson wrote: > Set the cropping fields in the AVFrame. > --- > libavfilter/vf_crop.c | 74 > +-- 1 file changed, 51 > insertions(+), 23 deletions(-) > > There is the slightly unfortunate effect the filter links do

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-24 Thread Philip Langdale via ffmpeg-devel
On Sat, 23 Mar 2019 23:51:10 +0800 UsingtcNower wrote: > Signed-off-by: UsingtcNower > --- > Changelog | 1 + > configure | 1 + > doc/filters.texi| 31 +++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libav

Re: [FFmpeg-devel] Added support for XV video files

2019-03-24 Thread Shivam Goyal
On 3/25/19 4:47 AM, Moritz Barsnick wrote: On Sun, Mar 24, 2019 at 13:39:09 +0100, Moritz Barsnick wrote: Another thing: On Sun, Mar 24, 2019 at 16:35:40 +0530, Shivam Goyal wrote: libavformat/xvdec.c | 1395 ++ libavformat/xvtools.h| 95 +++

Re: [FFmpeg-devel] Added support for XV video files

2019-03-24 Thread Shivam Goyal
On 3/24/19 6:09 PM, Moritz Barsnick wrote: On Sun, Mar 24, 2019 at 16:35:40 +0530, Shivam Goyal wrote: libavformat/xvdec.c | 1395 ++ libavformat/xvtools.h| 95 +++ This looks like a 90% copy of flvdec, with some modifications. I believe it shou

[FFmpeg-devel] [PATCH] Add scale parameter to lensfun filter

2019-03-24 Thread daniel . playfair . cal
From: Daniel Playfair Cal The lensfun filter wraps the lensfun library which performs transformations on videos to correct for lens distortion. Often this results in areas in the input being mapped to areas that fall outside the boundaries of the output. The library has a parameter called scale w

Re: [FFmpeg-devel] [PATCH 2/5] libavformat/avisynth: enable additional pix_fmts

2019-03-24 Thread Stephen Hutchinson
On 3/24/2019 7:07 PM, Carl Eugen Hoyos wrote: 2019-03-24 21:25 GMT+01:00, Stephen Hutchinson : These pix_fmts have been added to FFmpeg in the 31 months since commit 92916e8542e425ca20daddb490261a5818643206 added support for the larger number of pix_fmts that AviSynth+ can use. They were present

Re: [FFmpeg-devel] [PATCH v2] avformat/rtsp: Add https tunneling support

2019-03-24 Thread Carl Eugen Hoyos
2019-03-22 0:58 GMT+01:00, Jun Li : > Add https based tunneling for RTSP/RTP. Tested on Axis and Bosch cameras. > Https is widely used for security consideration. Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH v2] avformat/rtsp: Add https tunneling support

2019-03-24 Thread Jun Li
On Thu, Mar 21, 2019 at 4:58 PM Jun Li wrote: > Add https based tunneling for RTSP/RTP. Tested on Axis and Bosch cameras. > Https is widely used for security consideration. > --- > libavformat/rtsp.c | 8 ++-- > libavformat/rtsp.h | 1 + > 2 files changed, 7 insertions(+), 2 deletions(-) > >

Re: [FFmpeg-devel] Added support for XV video files

2019-03-24 Thread Moritz Barsnick
On Sun, Mar 24, 2019 at 13:39:09 +0100, Moritz Barsnick wrote: Another thing: > On Sun, Mar 24, 2019 at 16:35:40 +0530, Shivam Goyal wrote: > > libavformat/xvdec.c | 1395 ++ > > libavformat/xvtools.h| 95 +++ You shouldn't put actual code in header

Re: [FFmpeg-devel] [PATCH 2/5] libavformat/avisynth: enable additional pix_fmts

2019-03-24 Thread Carl Eugen Hoyos
2019-03-24 21:25 GMT+01:00, Stephen Hutchinson : > These pix_fmts have been added to FFmpeg in the 31 months since > commit 92916e8542e425ca20daddb490261a5818643206 added support for > the larger number of pix_fmts that AviSynth+ can use. They were > present in AviSynth+ even then, just not in liba

[FFmpeg-devel] [PATCH 2/5] avcodec/ivi: Factor ref_mb check out

2019-03-24 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ivi.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c index 71bf0e6e1c..1a496d9b2d 100644 --- a/libavcodec/ivi.c +++ b/libavcodec/ivi.c @@ -806,10 +806,11 @@ static int ivi_process_e

[FFmpeg-devel] [PATCH 1/5] avcodec/proresdec2: decode picture header before frame allocation

2019-03-24 Thread Michael Niedermayer
Fixes: Timeout (21sec -> 0.3sec) Fixes: 13716/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PRORES_fuzzer-575559145600 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/proresdec2.c | 7

[FFmpeg-devel] [PATCH 5/5] avcodec/ivi: Reduce dereferencing structs in inner loop of ivi_process_empty_tile()

2019-03-24 Thread Michael Niedermayer
This speeds the code up by about 15% Testcase: 13779/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO4_fuzzer-5699589711069184 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/ivi.c | 45

[FFmpeg-devel] [PATCH 3/5] avcodec/ivi: fix indention for previous commit

2019-03-24 Thread Michael Niedermayer
--- libavcodec/ivi.c | 56 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c index 1a496d9b2d..79147a42cd 100644 --- a/libavcodec/ivi.c +++ b/libavcodec/ivi.c @@ -807,36 +807,36 @@ static int ivi_pro

[FFmpeg-devel] [PATCH 4/5] avcodec/ivi: Mark band parameter as const

2019-03-24 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/ivi.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c index 79147a42cd..f87964afd4 100644 --- a/libavcodec/ivi.c +++ b/libavcodec/ivi.c @@ -79,7 +79,7 @@ typedef void (*ivi_mc_

[FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix range of allowed values for obu_type

2019-03-24 Thread James Almer
0 is a reserved value. Signed-off-by: James Almer --- libavcodec/cbs_av1_syntax_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cbs_av1_syntax_template.c b/libavcodec/cbs_av1_syntax_template.c index 76eb90b279..35b030208b 100644 --- a/libavcodec/cbs_av1

[FFmpeg-devel] [PATCH 3/5] doc/general.texi: remove note about regressed AviSynth+ header

2019-03-24 Thread Stephen Hutchinson
It's been fixed both AviSynth+-side and locally. --- doc/general.texi | 13 - 1 file changed, 13 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index fe94c40386..6ec52962ff 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -51,19 +51,6 @@ For Windows, supported Av

[FFmpeg-devel] [PATCH 0/5] avisynth: update headers, pix_fmts, and docs

2019-03-24 Thread Stephen Hutchinson
Some essential fixes to the AviSynth+ headers regarding GCC and general organization have happened recently, making it necessary to update the headers we keep in compat. Additionally, the location of AviSynth+'s upstream has effectively changed, making the old link to avs-plus.net misleading, and

[FFmpeg-devel] [PATCH 3/5] doc/general.texi: remove note about regressed AviSynth+ header

2019-03-24 Thread Stephen Hutchinson
It's been fixed both AviSynth+-side and locally. --- doc/general.texi | 13 - 1 file changed, 13 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index fe94c40386..6ec52962ff 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -51,19 +51,6 @@ For Windows, supported Av

[FFmpeg-devel] [PATCH 0/5] avisynth: update headers, pix_fmts, and docs

2019-03-24 Thread Stephen Hutchinson
Some essential fixes to the AviSynth+ headers regarding GCC and general organization have happened recently, making it necessary to update the headers we keep in compat. Additionally, the location of AviSynth+'s upstream has effectively changed, making the old link to avs-plus.net misleading, and

[FFmpeg-devel] [PATCH 1/5] compat/avisynth: update headers

2019-03-24 Thread Stephen Hutchinson
As part of the update, it is now possible to test 32-bit GCC builds of AviSynth+ with FFmpeg by using the AVS_WIN32_GCC32 define. Due to different calling conventions between MSVC and GCC regarding 32-bit Windows, this is unfortunately necessary. --- compat/avisynth/avisynth_c.h | 503

[FFmpeg-devel] [PATCH 4/5] doc/general.texi: update AviSynth+ reference page

2019-03-24 Thread Stephen Hutchinson
Directed to the AviSynth+ entry on AviSynth Wiki rather than to the github repository, since the wiki page is both more informative and has the relevant Git/download links. The github releases page is little more than a changelog. --- doc/general.texi | 2 +- 1 file changed, 1 insertion(+), 1 del

[FFmpeg-devel] [PATCH 5/5] doc/general.texi: add note about 32-bit GCC builds of AviSynth+

2019-03-24 Thread Stephen Hutchinson
--- doc/general.texi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/doc/general.texi b/doc/general.texi index bafa1e2ea2..98e4704d86 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -51,6 +51,16 @@ For Windows, supported AviSynth variants are For Linux and OS X, the suppor

[FFmpeg-devel] [PATCH 2/5] libavformat/avisynth: enable additional pix_fmts

2019-03-24 Thread Stephen Hutchinson
These pix_fmts have been added to FFmpeg in the 31 months since commit 92916e8542e425ca20daddb490261a5818643206 added support for the larger number of pix_fmts that AviSynth+ can use. They were present in AviSynth+ even then, just not in libavutil. --- libavformat/avisynth.c | 33 +

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-24 Thread Jean-Baptiste Kempf
On Sun, 24 Mar 2019, at 20:10, Ronald S. Bultje wrote: > The GPL does not mention hardware (instead, they use the word "system > library"). Going from here, I don't consider enterprise-level hardware like > Matrox $$$ priced stuff to be a system library at all. My system certainly > has no hardwar

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-24 Thread Ronald S. Bultje
Hi, On Sun, Mar 24, 2019 at 2:21 PM Jean-Baptiste Kempf wrote: > On Sun, 24 Mar 2019, at 18:50, Marton Balint wrote: > > > - do we want to keep any components requiring linking with non-system, > > > closed-source software? (this might or might not include blackmagic) > > > > > > or some other v

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-24 Thread Jean-Baptiste Kempf
On Sun, 24 Mar 2019, at 18:50, Marton Balint wrote: > > - do we want to keep any components requiring linking with non-system, > > closed-source software? (this might or might not include blackmagic) > > > > or some other variant that also includes system software like nvidia stuff? > > Or ask a si

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-24 Thread Marton Balint
On Sat, 23 Mar 2019, Ronald S. Bultje wrote: Hi, On Sat, Mar 23, 2019 at 11:03 AM Thilo Borgmann wrote: Am 21.03.19 um 11:55 schrieb Michael Niedermayer: > On Wed, Mar 20, 2019 at 05:41:31PM -0400, Ronald S. Bultje wrote: >> Hi, >> >> On Wed, Mar 20, 2019 at 4:15 PM Gyan wrote: >> >>> >>>

Re: [FFmpeg-devel] [PATCH] News: Removal of libndi

2019-03-24 Thread Marton Balint
On Sat, 23 Mar 2019, Thilo Borgmann wrote: Am 21.03.19 um 11:55 schrieb Michael Niedermayer: On Wed, Mar 20, 2019 at 05:41:31PM -0400, Ronald S. Bultje wrote: Hi, On Wed, Mar 20, 2019 at 4:15 PM Gyan wrote: On 21-03-2019 01:32 AM, Marton Balint wrote: On Wed, 20 Mar 2019, Jean-Bapti

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/hevcdec: Avoid duplicate test about first slices

2019-03-24 Thread James Almer
On 3/24/2019 7:55 AM, Michael Niedermayer wrote: > This should be more robust as it avoids 2 conditions in seperate places which > need to stay the same > > Signed-off-by: Michael Niedermayer > --- > libavcodec/hevcdec.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > di

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hevcdec: Fix return code for explode mode

2019-03-24 Thread James Almer
On 3/24/2019 7:55 AM, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/hevcdec.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > index fe4b5fdb5b..b7e2d68f5e 100644 > --- a/libavcodec/hevcdec.c > +++ b/libav

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-24 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > UsingtcNower > Sent: Saturday, March 23, 2019 11:51 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video > crop filter > > Signed-off

Re: [FFmpeg-devel] [PATCH 5/5] aarch64/opusdsp: implement NEON accerelated postfilter and deemphasis

2019-03-24 Thread Carl Eugen Hoyos
2019-03-24 13:26 GMT+01:00, Lynne : >> Which toolchain did you test? >> make libavcodec/aarch64/opusdsp_neon.o >> AS libavcodec/aarch64/opusdsp_neon.o >> /tmp/opusdsp_neon-ac304f.s:86:33: error: invalid operand for instruction >> fmul v0.4s, v4.4s, v0.4s[0] >> ^ >> > > Does the toolchain y

Re: [FFmpeg-devel] [PATCH 0/7] Improve CBS unit content alloc/free/clone behaviour

2019-03-24 Thread Andreas Rheinhardt via ffmpeg-devel
Mark Thompson: > On 26/11/2018 13:39, Andreas Rheinhardt wrote: >> This will enable us to change e.g. the parameter sets of H.2645 in ways >> that would change the parsing process of future units. An example of >> this is the h264_redundant_pps bsf. > > I thought quite a bit more about how the all

[FFmpeg-devel] [PATCH 2/3] swscale/ppc: VSX-optimize yuv2422_2

2019-03-24 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 -sws_flags area \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 5.1x speedup: yuyv422 19339 UNITS in yuv2packed2, 16384 runs, 0 skips 3718 UNITS in yuv2packed2,

[FFmpeg-devel] [PATCH 3/3] swscale/ppc: VSX-optimize yuv2422_X

2019-03-24 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \ -s 1200x720 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 7.2x speedup: yuyv422 126354 UNITS in yuv2packedX, 16384 runs, 0 skips 16383 UNITS in yuv2packedX, 16382 r

[FFmpeg-devel] [PATCH 1/3] swscale/ppc: VSX-optimize yuv2422_1

2019-03-24 Thread Lauri Kasanen
./ffmpeg -f lavfi -i yuvtestsrc=duration=1:size=1200x1440 \ -s 1200x1440 -f null -vframes 100 -pix_fmt $i -nostats \ -cpuflags 0 -v error - 15.3x speedup: yuyv422 14513 UNITS in yuv2packed1, 32768 runs, 0 skips 949 UNITS in yuv2packed1, 32767 runs, 1 sk

Re: [FFmpeg-devel] Added support for XV video files

2019-03-24 Thread Moritz Barsnick
On Sun, Mar 24, 2019 at 16:35:40 +0530, Shivam Goyal wrote: > libavformat/xvdec.c | 1395 ++ > libavformat/xvtools.h| 95 +++ This looks like a 90% copy of flvdec, with some modifications. I believe it should be merged into flvdec as an additional sup

[FFmpeg-devel] [PATCH 2/2] avformat/dashenc: Add support for Global SIDX

2019-03-24 Thread Karthick J via ffmpeg-devel
--- doc/muxers.texi | 3 ++ libavformat/dashenc.c | 119 -- 2 files changed, 84 insertions(+), 38 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index aac7d94edf..83ae017d6c 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -293,6 +

[FFmpeg-devel] [PATCH 1/2] avformat/movenc: Fix skip_trailer when global_sidx is enabled

2019-03-24 Thread Karthick J via ffmpeg-devel
--- libavformat/movenc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8969d5b170..f46cbc5ea5 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6745,9 +6745,8 @@ static int mov_write_trailer(AVFormatContext

Re: [FFmpeg-devel] [PATCH 5/5] aarch64/opusdsp: implement NEON accerelated postfilter and deemphasis

2019-03-24 Thread Lynne
24 Mar 2019, 00:25 by ceffm...@gmail.com: > 2019-03-24 0:26 GMT+01:00, Lynne <> d...@lynne.ee > >: > >> >> 23 Mar 2019, 22:27 by >> ceffm...@gmail.com >> : >> >>> 2019-03-23 19:20 GMT+01:00, Lynne <> >>> d...@lynne.ee >>> >

[FFmpeg-devel] [PATCH] swscale: Remove duplicated code

2019-03-24 Thread Lauri Kasanen
In this function, the exact same clamping happens both in the if and unconditionally. Signed-off-by: Lauri Kasanen --- libswscale/output.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/libswscale/output.c b/libswscale/output.c index d7c53e6..8441ddd 100644 --- a/libswscale/

[FFmpeg-devel] Added support for XV video files

2019-03-24 Thread Shivam Goyal
The attached patch is for ticket #3720     https://trac.ffmpeg.org/ticket/3720 I have tested this demuxer on the files 1.xv and 5.xv attached with the ticket http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3720/  It is working on both of these files. As XV video files are flv files with s

[FFmpeg-devel] [PATCH 2/2] avcodec/hevcdec: Fix return code for explode mode

2019-03-24 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/hevcdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index fe4b5fdb5b..b7e2d68f5e 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -2923,6 +2923,7 @@ static int decode_nal_unit(HE

[FFmpeg-devel] [PATCH 1/2] avcodec/hevcdec: Avoid duplicate test about first slices

2019-03-24 Thread Michael Niedermayer
This should be more robust as it avoids 2 conditions in seperate places which need to stay the same Signed-off-by: Michael Niedermayer --- libavcodec/hevcdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index 4d149f

Re: [FFmpeg-devel] [PATCH] avcodec/hevcdec: Avoid only partly skiping duplicate first slices

2019-03-24 Thread Michael Niedermayer
On Sat, Mar 23, 2019 at 05:33:25PM -0300, James Almer wrote: > On 3/23/2019 5:25 PM, Michael Niedermayer wrote: > > Fixes: NULL pointer dereference and out of array access > > Fixes: > > 13871/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5746167087890432 > > Fixes: > > 13845/clus