[FFmpeg-devel] [PATCH] configure: fix libdavs2 description

2018-05-27 Thread hwren
Signed-off-by: hwren --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 811f57c..e2ac9f6 100755 --- a/configure +++ b/configure @@ -226,7 +226,7 @@ External library support: --enable-libcelt enable CELT decoding via libcelt [no

Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN filter update

2018-05-27 Thread Guo, Yejun
looks that no tensorflow dependency is introduced, a new model format is created together with some CPU implementation for inference. With this idea, Android Neural Network would be a very good reference, see https://developer.android.google.cn/ndk/guides/neuralnetworks/. It defines how the m

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Added a warning for incorrect segment name extension

2018-05-27 Thread Jeyapal, Karthick
Pushed Patchset. On 5/4/18 12:02 PM, Karthick J wrote: > From: Karthick Jeyapal > > Applicable only to webm output format. > By default all the segment filenames end with .m4s extension. > When someone chooses webm output format, we recommend they also override the > relevant segment name option

[FFmpeg-devel] [PATCH] configure: fix check for libdavs2

2018-05-27 Thread hwren
remove the need for stdint.h. use pkg-config to check library version. Signed-off-by: hwren --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure b/configure index 01fcaad..811f57c 100755 --- a/configure +++ b/configure @@ -5995,9 +5995,7 @@ enabled libce

[FFmpeg-devel] [PATCH] avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used

2018-05-27 Thread Michael Niedermayer
The last workaround is not sufficient to make oss fuzz work with the iterate API as it did not provide a FFmpeg that external libs can be linked to. This patch does not fully restore the pre iterate functionality. My attempts to do this have so far failed. The problem with this solution is that i

[FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-27 Thread Jan Ekström
Yet another case of forgotten 0 =! EOF translation. While the documentation for this specific synchronous read function does not mention it, the documentation for `sftp_async_read` documents it, as well as looking at the implementation of this function leads one to find `if (handle->eof) { return

Re: [FFmpeg-devel] [PATCH 5/5] avformat/mxfdec: recognize SMPTE 436 VBI data

2018-05-27 Thread Marton Balint
On Sun, 27 May 2018, Tomas Härdin wrote: sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 5 -  1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index a62021b0d7..df97d

Re: [FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: fix data_essence_descriptor matching logic

2018-05-27 Thread Marton Balint
On Sun, 27 May 2018, Tomas Härdin wrote: sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 10 +-  1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index bd46572e48

[FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-05-27 Thread Danil Iashchenko
Add opencl version of boxblur filter. Behaves like existing libavfilter/boxblur filter. --- configure | 1 + libavfilter/Makefile| 2 + libavfilter/allfilters.c| 1 + libavfilter/opencl/boxblur.cl | 57 + libavfilter/opencl_source.h |

Re: [FFmpeg-devel] [PATCH 1/5] avformat/mxfdec: fix klv_decode_ber_length return value usage

2018-05-27 Thread Marton Balint
On Sun, 27 May 2018, Tomas Härdin wrote: sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: Signed-off-by: Marton Balint ---  libavformat/mxfdec.c | 15 ---  1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7a42

[FFmpeg-devel] [PATCH] tools/crypto_bench: add support for mbedcrypto

2018-05-27 Thread James Almer
Requires mbed TLS 2.7.0 or newer Signed-off-by: James Almer --- tools/crypto_bench.c | 111 +-- 1 file changed, 108 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 203bffe198..29e7eeec6b 100644 --- a/tools/cryp

Re: [FFmpeg-devel] [PATCH 5/5] avformat/mxfdec: recognize SMPTE 436 VBI data

2018-05-27 Thread Tomas Härdin
sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 5 - >  1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index a62021b0d7..df97d6438f 100644 > --- a/libavformat

Re: [FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: fix data_essence_descriptor matching logic

2018-05-27 Thread Tomas Härdin
sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 10 +- >  1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index bd46572e48..a62021b0d7 100644 > --- a/liba

Re: [FFmpeg-devel] [PATCH 3/5] avformat/mxfdec: add some missing picture_essence_container_uls

2018-05-27 Thread Tomas Härdin
sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 3 +++ >  1 file changed, 3 insertions(+) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 78a2aa7289..bd46572e48 100644 > --- a/libavformat/mxfdec.c > +++ b

Re: [FFmpeg-devel] [PATCH 1/5] avformat/mxfdec: fix klv_decode_ber_length return value usage

2018-05-27 Thread Tomas Härdin
sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 15 --- >  1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 7a4262..40c9e0c3a9 100644 > ---

Re: [FFmpeg-devel] [PATCH 2/5] avformat/mxfdec: use int math for sample count calculation

2018-05-27 Thread Tomas Härdin
sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > This also changes the rounding to nearest. > > > Signed-off-by: Marton Balint > --- >  libavformat/mxfdec.c | 3 +-- >  1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c > index 40c

Re: [FFmpeg-devel] [PATCH]lavc/hevcdec: Treat clean random access nals as keyframes for -skip_frame

2018-05-27 Thread Carl Eugen Hoyos
2018-05-26 18:38 GMT+02:00, Mark Thompson : > On 24/05/18 17:57, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch fixes ticket #7227 here, -skip_frame nokey shows no >> warnings on decoding with this change and still decodes less frames >> than -skip_frame nointra (which shows many warnings). >>

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: fix out-of-bounds reference pixel replication

2018-05-27 Thread Carl Eugen Hoyos
2018-05-27 22:27 GMT+02:00, Jerome Borsboom : > Out-of-bounds reference pixel replication should take into account > the frame coding mode of the reference frame(s), not the frame > coding mode of the current frame. > > Signed-off-by: Jerome Borsboom > --- > This should fix the remaining issue wit

[FFmpeg-devel] [PATCH] avcodec/vc1: fix out-of-bounds reference pixel replication

2018-05-27 Thread Jerome Borsboom
Out-of-bounds reference pixel replication should take into account the frame coding mode of the reference frame(s), not the frame coding mode of the current frame. Signed-off-by: Jerome Borsboom --- This should fix the remaining issue with the SA10180.vc1 test file. libavcodec/vc1_mc.c | 659 ++

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/g723_1dec: Clip bits2 in both directions

2018-05-27 Thread Michael Niedermayer
On Sat, May 26, 2018 at 12:52:43AM +0200, Michael Niedermayer wrote: > Fixes: shift exponent 33 is too large for 32-bit type 'int' > Fixes: > 6743/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G723_1_fuzzer-5823772687859712 > > Found-by: continuous fuzzing process > https://github.com/google

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header()

2018-05-27 Thread Michael Niedermayer
On Mon, May 21, 2018 at 11:30:51PM +0200, Michael Niedermayer wrote: > Fixes truncation > Fixes Assertion n <= 31 && value < (1U << n) failed at > libavcodec/put_bits.h:169 > Fixes: ffmpeg_crash_2.avi > > Found-by: Thuan Pham , Marcel Böhme, Andrew Santosa > and Alexandru RazvanCaciulescu with A

[FFmpeg-devel] [PATCH] avcodec/qtrle: Do not output duplicated frames on insufficient input

2018-05-27 Thread Michael Niedermayer
This improves performance and makes qtrle behave more similar to other decoders. Libavcodec does generally not output known duplicated frames, instead the calling Application can insert them as it needs. Fixes: Timeout Fixes: 6383/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QTRLE_fuzzer-61

Re: [FFmpeg-devel] [PATCH] libavformat: add mbedTLS based TLS

2018-05-27 Thread Reino Wijnsma
On 27-5-2018 21:23, James Almer wrote: > Pushed the check_lib() change only, after confirming it's needed for static > builds of mbedtls. Thank you, James. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/qtrle: Do not output duplicated frames on insufficient input

2018-05-27 Thread Michael Niedermayer
On Tue, May 15, 2018 at 11:48:46PM +0200, Carl Eugen Hoyos wrote: > 2018-05-14 1:07 GMT+02:00, Michael Niedermayer : > > Fixes: Timeout > > Fixes: > > 6383/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_QTRLE_fuzzer-6199846902956032 > > Looking at the fate change, my suspicion is that the chang

Re: [FFmpeg-devel] [PATCH] configure: Omit fsanitize flags if they are already specified by the user

2018-05-27 Thread Michael Niedermayer
On Sat, May 26, 2018 at 02:31:00AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If you think the mosa

Re: [FFmpeg-devel] [PATCH] libavformat: add mbedTLS based TLS

2018-05-27 Thread James Almer
On 5/27/2018 12:20 PM, Ricardo Constantino wrote: > On 26 May 2018 at 19:42, Reino Wijnsma wrote: > >> On 23-5-2018 2:11, Reino Wijnsma wrote: >>> On 22-4-2018 14:47, Thomas Volkert wrote: +enabled mbedtls && { check_pkg_config mbedtls mbedtls >> mbedtls/x509_crt.h mbedtls_x509_c

[FFmpeg-devel] [PATCH 5/5] avformat/mxfdec: recognize SMPTE 436 VBI data

2018-05-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index a62021b0d7..df97d6438f 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1278,11 +1278,13 @@ static const

[FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: fix data_essence_descriptor matching logic

2018-05-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index bd46572e48..a62021b0d7 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -2354,12 +2354,12 @@ static

[FFmpeg-devel] [PATCH 1/5] avformat/mxfdec: fix klv_decode_ber_length return value usage

2018-05-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7a4262..40c9e0c3a9 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -372,6 +372,8 @@ stat

[FFmpeg-devel] [PATCH 3/5] avformat/mxfdec: add some missing picture_essence_container_uls

2018-05-27 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 78a2aa7289..bd46572e48 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -1231,7 +1231,10 @@ static const MXFCodecUL mxf_pi

[FFmpeg-devel] [PATCH 2/5] avformat/mxfdec: use int math for sample count calculation

2018-05-27 Thread Marton Balint
This also changes the rounding to nearest. Signed-off-by: Marton Balint --- libavformat/mxfdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 40c9e0c3a9..78a2aa7289 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfd

Re: [FFmpeg-devel] [PATCH] avformat/mxf: fix NTSC 59.94 samples per frame layout

2018-05-27 Thread Marton Balint
On Sat, 26 May 2018, Tomas Härdin wrote: tor 2018-05-24 klockan 22:27 +0200 skrev Marton Balint: FFmbc uses this. bmx uses this. XAVC MXF Mapping and Operating Points prefers this. Basic rounding rules also yields these numbers. > Signed-off-by: Marton Balint ---  libavformat/mxf.c | 2 +-  

Re: [FFmpeg-devel] [PATCH v3 3/8] lavu: add a Vulkan hwcontext

2018-05-27 Thread Mark Thompson
On 22/05/18 03:46, Rostislav Pehlivanov wrote: > This commit adds a Vulkan hwcontext, currently capable of mapping DRM and > VAAPI frames but additional functionality can be added later to support > importing of D3D11 surfaces as well as exporting to various other APIs. Have you investigated the D

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-27 Thread Gyan Doshi
On 27-05-2018 07:59 PM, Moritz Barsnick wrote: This is incorrect, as it already was before. It doesn't disable *automatic* stream selection, it rather disables mapping any of these stream types at all, *even* if explictly mapped. (IOW: "-vn -map 0:v" never gets you any video stream in the outp

[FFmpeg-devel] [PATCH 1/3] lavf: add avs2 fourcc

2018-05-27 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

[FFmpeg-devel] [PATCH 1/3] lavf: add avs2 fourcc

2018-05-27 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

Re: [FFmpeg-devel] [PATCH] libavformat: add mbedTLS based TLS

2018-05-27 Thread Ricardo Constantino
On 26 May 2018 at 19:42, Reino Wijnsma wrote: > On 23-5-2018 2:11, Reino Wijnsma wrote: > > On 22-4-2018 14:47, Thomas Volkert wrote: > >> +enabled mbedtls && { check_pkg_config mbedtls mbedtls > mbedtls/x509_crt.h mbedtls_x509_crt_init || > >> + check_pk

Re: [FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for NV12 and P010 textures - split planes

2018-05-27 Thread Alexander Kravchenko
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Mark > Thompson > Sent: Sunday, May 27, 2018 3:29 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for > NV12 and P010 textures - spl

[FFmpeg-devel] [PATCH 3/3] add libdavs2 entry

2018-05-27 Thread hwren
Signed-off-by: hwren --- Changelog| 1 + doc/general.texi | 8 2 files changed, 9 insertions(+) diff --git a/Changelog b/Changelog index 3d25564..ce1f97c 100644 --- a/Changelog +++ b/Changelog @@ -9,6 +9,7 @@ version : - aderivative and aintegral audio filters - pal75bars and

[FFmpeg-devel] [PATCH 2/3] lavc: add avs2 video decoder via libdavs2

2018-05-27 Thread hwren
Signed-off-by: hwren --- configure | 6 ++ libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 2 + libavcodec/codec_desc.c | 7 ++ libavcodec/libdavs2.c | 212 6 files changed, 229 inse

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-27 Thread Moritz Barsnick
On Sun, May 27, 2018 at 09:46:46 +0530, Gyan Doshi wrote: > +The @code{-vn}, @code{-an}, @code{-sn} options can be used to skip automatic > stream selection > +for video, audio, and subtitle streams respectively. This is incorrect, as it already was before. It doesn't disable *automatic* stream

Re: [FFmpeg-devel] [PATCH v3 1/8] hwcontext_internal: add ff_hwframe_map_replace

2018-05-27 Thread Mark Thompson
On 22/05/18 03:46, Rostislav Pehlivanov wrote: > Used to fix unmapping when no direct interop exists between APIs. > > Signed-off-by: Rostislav Pehlivanov > --- > libavutil/hwcontext.c | 7 +++ > libavutil/hwcontext_internal.h | 5 + > 2 files changed, 12 insertions(+) > > diff

Re: [FFmpeg-devel] [PATCH v2 0/2] dump more codec information

2018-05-27 Thread Mark Thompson
On 27/05/18 02:38, Jun Zhao wrote: > V2: - fix the alignment as Reto Kromer's comment > - improve the characterization as Mark's comments > > Jun Zhao (2): > cmdutils: print missing caps in print_codec(). > cmdutils: dump supported hardware devices in print_codec() > > fftools/cmdutils.c

Re: [FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for NV12 and P010 textures - split planes

2018-05-27 Thread Mark Thompson
On 27/05/18 07:57, Alexander Kravchenko wrote: > сб, 26 мая 2018 г. в 19:45, Mark Thompson : > >> On 24/05/18 15:26, Mironov, Mikhail wrote: >>> AMD has published OpenCL extension which allows split D3D11 texture >> interoped as a single 2D image into two 2D images representing Y and UV >> planes.

Re: [FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for NV12 and P010 textures - split planes

2018-05-27 Thread Alexander Kravchenko
Hi Mark. This extension was implemented while ago, so it can be used now. Thanks, Alexander сб, 26 мая 2018 г. в 19:45, Mark Thompson : > On 24/05/18 15:26, Mironov, Mikhail wrote: > > AMD has published OpenCL extension which allows split D3D11 texture > interoped as a single 2D image into two 2D