[FFmpeg-devel] [PATCH v6 2/2] doc: Add libsvt_hevc encoder docs

2019-03-04 Thread Jing SUN
Add docs for libsvt_hevc encoder in encoders.texi and general.texi Signed-off-by: Jun Zhao Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jing SUN --- doc/encoders.texi | 161 ++ doc/general.texi | 8 +++ 2 files chan

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

2019-03-04 Thread Jing SUN
From: Jing Sun base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC V4: - Fix the build error with new API in PR#52 - Fix the encoding hang issue by API change in PR#52 - Fix the last frame dropping issue - Fix the invalid parameter causing segmentation fault issue

Re: [FFmpeg-devel] [PATCH] avutil/mem: Mark DECLARE_ASM_ALIGNED as visibility("hidden") for __GNUC__

2019-03-04 Thread Fāng-ruì Sòng
On Thu, Feb 21, 2019 at 10:06 AM Fāng-ruì Sòng wrote: > > > Why is it a good idea to remove them from the linker command line? > > In short, it improves portability. I'm not suggesting removing > -Bsymbolic or --version-script from the ffmpeg build system. I mean > users will no longer have to spe

[FFmpeg-devel] [PATCH] avformat/mpegts.c: reduce buffering during initialization

2019-03-04 Thread andriy . gelman
From: Andriy Gelman Reduces buffering during estimation of mpegts raw_packet_size parameter. Instead of buffering a fixed 8192 bytes, calculate probe scores on a smaller buffer. Increase buffer size until probe score is greater than minimum value. --- libavformat/mpegts.c | 82 ++

Re: [FFmpeg-devel] [PATCH v3 2/2] vf_scale_vaapi: Add options to configure output colour properties

2019-03-04 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, February 28, 2019 8:38 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 2/2] vf_scale_vaapi: Add options to > configure output colour prope

Re: [FFmpeg-devel] [PATCH 2/5] libx264: Update ROI behaviour to match documentation

2019-03-04 Thread Mark Thompson
On 28/02/2019 06:38, Guo, Yejun wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of myp...@gmail.com >> Sent: Thursday, February 28, 2019 11:26 AM >> To: FFmpeg development discussions and patches > de...@ffmpeg.org> >> Subject: Re: [F

Re: [FFmpeg-devel] [PATCH 4/5] vaapi_encode: Add ROI support

2019-03-04 Thread Mark Thompson
On 28/02/2019 06:33, Guo, Yejun wrote:>> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Mark Thompson >> Sent: Thursday, February 28, 2019 6:00 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: [FFmpeg-devel] [PATCH 4/5] vaapi_encode: Add ROI s

[FFmpeg-devel] [PATCH] avformat/gdv: Check fps

2019-03-04 Thread Michael Niedermayer
Fixes: Division by 0 Fixes: ffmpeg_zero_division.bin Found-by: Anatoly Trosinenko Signed-off-by: Michael Niedermayer --- libavformat/gdv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/gdv.c b/libavformat/gdv.c index a69c349cab..3ead383892 100644 --- a/libavformat/gdv.c +++

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/qsvdec: Add VP9 decoder support

2019-03-04 Thread Rogozhkin, Dmitry V
On Thu, 2019-02-21 at 14:01 +0800, Li, Zhong wrote: > > > @@ -90,6 +90,17 @@ static av_cold int > > > qsv_decode_init(AVCodecContext > > > *avctx) > > >  } > > >  #endif > > > > > > +#if CONFIG_VP9_QSV_DECODER > > > +if (avctx->codec_id == AV_CODEC_ID_VP9) { > > > +static const cha

[FFmpeg-devel] [PATCH 2/2] checkasm: add test for v210dec

2019-03-04 Thread James Darnley
--- tests/checkasm/Makefile | 1 + tests/checkasm/checkasm.c | 3 ++ tests/checkasm/checkasm.h | 1 + tests/checkasm/v210dec.c | 76 +++ 4 files changed, 81 insertions(+) create mode 100644 tests/checkasm/v210dec.c diff --git a/tests/checkasm/Makefile b/

[FFmpeg-devel] [PATCH 1/2] avcodec/v210dec: move DSP function setting into dedicated function

2019-03-04 Thread James Darnley
Prepare for checkasm test. --- libavcodec/v210dec.c | 13 + libavcodec/v210dec.h | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/libavcodec/v210dec.c b/libavcodec/v210dec.c index ddc5dbe8be..28cf00d320 100644 --- a/libavcodec/v210dec.c +++ b/libavcodec/v210dec.c

Re: [FFmpeg-devel] avcodec/proresenc_aw : improve speed by replacing PutBitContext for codeword encoding

2019-03-04 Thread Michael Niedermayer
On Mon, Mar 04, 2019 at 01:24:27PM +0100, Martin Vignali wrote: > Hello, > > Test on big endian is welcome. > If it's works, it will avoid to add #if HAVE_BIG_ENDIAN in lot of place, to > separate the old code from the new. it passes fate on qemu mips [...] -- Michael GnuPG fingerprint: 9FF

Re: [FFmpeg-devel] avcodec/proresenc_aw : improve speed by replacing PutBitContext for codeword encoding

2019-03-04 Thread Michael Niedermayer
On Tue, Feb 26, 2019 at 04:54:38PM +0100, Martin Vignali wrote: > Hello, > > Patch in attach, change codeword bits writing > by replacing PutBitContext, and use instead uint64_t bit_buf > Also remove byte buffer length check > > encode_codeword func have two version now > - one for dc coeff and r

[FFmpeg-devel] [PATCH 1/2] avcodec/libdav1d: route dav1d internal logs through av_log()

2019-03-04 Thread James Almer
Bump the minimum required version to the first one with the logger API callback. Signed-off-by: James Almer --- configure | 2 +- libavcodec/libdav1d.c | 9 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configure b/configure index dcead3a300..a5cef4bc09 100

[FFmpeg-devel] [PATCH 2/2] avcodec/libdav1d: use a custom picture allocator

2019-03-04 Thread James Almer
Replaces the libdav1d internal allocator. It uses an AVBufferPool to reduce the amount of allocated buffers. About 5% speed up when decoding 720p or higher streams. Signed-off-by: James Almer --- get_buffer2() can't be used for this decoder, as there's no guarantee the buffers it returns will re

Re: [FFmpeg-devel] [PATCH] Added ff_v210_planar_unpack_aligned_avx2

2019-03-04 Thread James Darnley
On 2019-03-01 18:41, Michael Stoner wrote: > The AVX2 code leverages VPERMD to process 12 pixels/iteration. This is my > first patch submission so any comments are greatly appreciated. > > -Mike > > Tested on Skylake (Win32 & Win64) > 1920x1080 input frame > = > C code - 440

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix hls-aes-128 set offset bug

2019-03-04 Thread Michael Niedermayer
On Mon, Mar 04, 2019 at 07:34:00AM +, lmzeng(曾令明) wrote: > From 45720887a4466b97dbd63b6cac452e814e20a567 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?lmzeng=28=E6=9B=BE=E4=BB=A4=E6=98=8E=29?= > > Date: Mon, 4 Mar 2019 15:05:45 +0800 > Subject: [PATCH] fix hls-aes-128 set offset bug > > --- >

Re: [FFmpeg-devel] [PATCH]lavf/mxfdec: Allow MXF parser to identify the Canon XF-HEVC codec/format for video essence

2019-03-04 Thread Tomas Härdin
sön 2019-03-03 klockan 21:59 -0500 skrev Matthew McKenna: > Hello ffmpeg-devel: > > Attached is a patch to allow the MXF parser to identify the Canon  > XF-HEVC codec for video essence. > > This codec/containerization is found in the Canon XF-705 camera that  > Canon released in 2018.  The camera

Re: [FFmpeg-devel] [PATCH] Added ff_v210_planar_unpack_aligned_avx2

2019-03-04 Thread James Darnley
On 2019-03-03 15:44, Martin Vignali wrote: > Hello, > > ... > > Not directly related to this patch, but it can be interesting for testing > purpose to write a checkasm test for the v210 func decoding. > So it's more easy to check the perf for "each" cpu flags, and be sure, the > various width cas

Re: [FFmpeg-devel] [PATCH 1/2] configure: add missing pthreads extralibs dependency for libvpx-vp9

2019-03-04 Thread James Almer
On 3/4/2019 7:09 PM, Guo, Yejun wrote: > Signed-off-by: Guo, Yejun > --- > configure | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 3042ab9..4c39da1 100755 > --- a/configure > +++ b/configure > @@ -6236,11 +6236,11 @@ enabled libvpx

[FFmpeg-devel] [PATCH 1/2] configure: add missing pthreads extralibs dependency for libvpx-vp9

2019-03-04 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3042ab9..4c39da1 100755 --- a/configure +++ b/configure @@ -6236,11 +6236,11 @@ enabled libvpx&& { } enabled libvpx_vp9_decoder && {

[FFmpeg-devel] [PATCH 2/2] configure: use vpx_codec_vp8_dx/cx for libvpx-vp8 checking

2019-03-04 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 4c39da1..a5cd279 100755 --- a/configure +++ b/configure @@ -6226,12 +6226,12 @@ enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/code

Re: [FFmpeg-devel] [PATCH 1/2] configure: enable libvpx-vp9 encoder and decoder

2019-03-04 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of James Almer > Sent: Monday, March 04, 2019 9:51 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] configure: enable libvpx-vp9 > encoder and decoder > > On 3/4/2019

Re: [FFmpeg-devel] [PATCH 2/2] configure: fix typo for libvpx-vp8

2019-03-04 Thread James Almer
On 3/4/2019 6:21 PM, Guo, Yejun wrote: > Signed-off-by: Guo, Yejun > --- > configure | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 1c0ba78..66e0113 100755 > --- a/configure > +++ b/configure > @@ -6226,12 +6226,12 @@ enabled libvorbis

Re: [FFmpeg-devel] [PATCH 1/2] configure: enable libvpx-vp9 encoder and decoder

2019-03-04 Thread James Almer
On 3/4/2019 6:21 PM, Guo, Yejun wrote: > currently run confingure and there is no "libvpx_vp9" for encoder and > decoder in the output string, while "libvpx_vp8" is there. The check is working fine as is on systems without pthreads, so the commit message is wrong. It should say something like addi

[FFmpeg-devel] [PATCH 2/2] configure: fix typo for libvpx-vp8

2019-03-04 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 1c0ba78..66e0113 100755 --- a/configure +++ b/configure @@ -6226,12 +6226,12 @@ enabled libvorbis && require_pkg_config libvorbis vorbis vorbis/code

[FFmpeg-devel] [PATCH 1/2] configure: enable libvpx-vp9 encoder and decoder

2019-03-04 Thread Guo, Yejun
currently run confingure and there is no "libvpx_vp9" for encoder and decoder in the output string, while "libvpx_vp8" is there. Signed-off-by: Guo, Yejun --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3042ab9..1c0ba78 100755 ---

Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 encoder and decoder

2019-03-04 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of James Almer > Sent: Monday, March 04, 2019 8:40 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 > encoder and decoder > > On 3/4/20

Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 encoder and decoder

2019-03-04 Thread James Almer
On 3/4/2019 9:27 AM, Guo, Yejun wrote: > > >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of James Almer >> Sent: Monday, March 04, 2019 8:21 PM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH] configure: really enabl

Re: [FFmpeg-devel] avcodec/proresenc_aw : improve speed by replacing PutBitContext for codeword encoding

2019-03-04 Thread Martin Vignali
Hello, Test on big endian is welcome. If it's works, it will avoid to add #if HAVE_BIG_ENDIAN in lot of place, to separate the old code from the new. Martin ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg

Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 encoder and decoder

2019-03-04 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of James Almer > Sent: Monday, March 04, 2019 8:21 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 > encoder and decoder > > On 3/4/20

Re: [FFmpeg-devel] [PATCH] configure: really enable libvpx-vp9 encoder and decoder

2019-03-04 Thread James Almer
On 3/4/2019 12:40 PM, Guo, Yejun wrote: > Signed-off-by: Guo, Yejun > --- > configure | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index 3042ab9..3e2a487 100755 > --- a/configure > +++ b/configure > @@ -6236,11 +6236,11 @@ enabled libvpx

Re: [FFmpeg-devel] avcodec/qtrle : improve decoding speed of 24bpp and 32 bpp

2019-03-04 Thread Martin Vignali
Pushed. Thanks Martin ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread Guo, Yejun
sorry for the disturbance, I missed "" in the command line, please ignore this patch, thanks. > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Guo, Yejun > Sent: Monday, March 04, 2019 7:57 PM > To: FFmpeg development discussions and patche

Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Timo Rothenpieler > Sent: Monday, March 04, 2019 5:43 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to > check version > > This

Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread myp...@gmail.com
On Mon, Mar 4, 2019 at 4:06 PM Guo, Yejun wrote: > > I tried pkg-config on my local ubuntu16.04 system, the option like > ">=1.2" or "<3.2" does not work, we have to use option --atleast-version > and --max-version separately. > > Signed-off-by: Guo, Yejun > --- > configure | 57

Re: [FFmpeg-devel] [PATCH v3 1/2] lavfi/vaapi: Improve support for colour properties

2019-03-04 Thread Song, Ruiling
The patch basically looks good. Some comments inline. > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, February 28, 2019 8:38 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v3 1/2] lavfi/vaa

Re: [FFmpeg-devel] [PATCH] libavformat/movenc: mov: added subtitle codec tags to codec tag list

2019-03-04 Thread Paweł Wegner
ping On Mon, Feb 25, 2019 at 11:50 AM Paweł Wegner wrote: > This fixes avformat_query_codec incorrectly returning 0 for > mov container and mov_text subtitles. > > Signed-off-by: Paweł Wegner > --- > libavformat/movenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/

Re: [FFmpeg-devel] [PATCH] libavformat/movenc: mov: added subtitle codec tags to codec tag list

2019-03-04 Thread Paweł Wegner
On Mon, Mar 4, 2019 at 10:50 AM Paweł Wegner wrote: > ping > > On Mon, Feb 25, 2019 at 11:50 AM Paweł Wegner > wrote: > >> This fixes avformat_query_codec incorrectly returning 0 for >> mov container and mov_text subtitles. >> >> Signed-off-by: Paweł Wegner >> --- >> libavformat/movenc.c | 2 +

Re: [FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread Timo Rothenpieler
This seems weird to me, why would there only be an issue on Ubuntu 16.04? I'd assume that the code in question has been tested quite a bit. Do you have an example of where and how it fails? smime.p7s Description: S/MIME Cryptographic Signature ___ ff

Re: [FFmpeg-devel] [PATCH] avformat/hls: fix hls-aes-128 set offset bug

2019-03-04 Thread Liu Steven
> 在 2019年3月4日,下午3:34,lmzeng(曾令明) 写道: > > From 45720887a4466b97dbd63b6cac452e814e20a567 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?lmzeng=28=E6=9B=BE=E4=BB=A4=E6=98=8E=29?= > > Date: Mon, 4 Mar 2019 15:05:45 +0800 > Subject: [PATCH] fix hls-aes-128 set offset bug > > --- > libavformat/hls.c |

[FFmpeg-devel] [PATCH] use the correct option of pkg-config to check version

2019-03-04 Thread Guo, Yejun
I tried pkg-config on my local ubuntu16.04 system, the option like ">=1.2" or "<3.2" does not work, we have to use option --atleast-version and --max-version separately. Signed-off-by: Guo, Yejun --- configure | 57 ++--- 1 file changed, 30 ins