Re: [FFmpeg-devel] [PATCH V2] doc/examples: Add a qsv encoder example

2017-08-06 Thread Steven Liu
2017-08-07 10:45 GMT+08:00 Li, Zhong : >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Steven Liu >> Sent: Wednesday, August 2, 2017 2:01 PM >> To: FFmpeg development discussions and patches >>

Re: [FFmpeg-devel] [PATCH V2] doc/examples: Add a qsv encoder example

2017-08-06 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Steven Liu > Sent: Wednesday, August 2, 2017 2:01 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH V2] doc/examples: Add a

Re: [FFmpeg-devel] [PATCH] doc/filters: document the unstability of the shorthand options notation.

2017-08-06 Thread Michael Niedermayer
On Sun, Aug 06, 2017 at 10:37:35AM +0200, Nicolas George wrote: > L'octidi 18 thermidor, an CCXXV, James Almer a écrit : > > What do you mean? What i suggested would be done each time an option is > > removed or added anywhere but at the end, both of which afaik are > > uncommon cases. > > It's

[FFmpeg-devel] [PATCH] [PATCH] avdevice/avfoundation: add scaleFactor attribute for avfoundation

2017-08-06 Thread sharpbai
From: sharpbai feature: add scaleFactor attribute for avfoundation added by: siyuan.w...@duobei.com added by: yiren...@duobei.com --- doc/indevs.texi| 22 ++ libavdevice/avfoundation.m | 6 ++ 2 files changed, 28 insertions(+) diff

[FFmpeg-devel] [PATCH 2/2] avcodec/dvenc: Change quantizer dead zone default to 7

2017-08-06 Thread Michael Niedermayer
This improves the quality and reduces the "blocking" in flat areas Signed-off-by: Michael Niedermayer --- libavcodec/dvenc.c | 2 +- tests/ref/lavf/dv_fmt | 12 ++-- tests/ref/vsynth/vsynth1-dv | 4 ++--

[FFmpeg-devel] [PATCH 1/2] avcodec/dvenc: Support adjusting the quantizer deadzone

2017-08-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/dv.h| 3 +++ libavcodec/dvenc.c | 24 +++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/libavcodec/dv.h b/libavcodec/dv.h index 6350a16dff..0e97bb200e 100644 --- a/libavcodec/dv.h

Re: [FFmpeg-devel] [PATCH] zscale: Fix memory leak

2017-08-06 Thread Paul B Mahol
On 8/6/17, Jkldjfset wrote: > Empty Message lgtm ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 3/3] ffplay: add support for more SDL pixel formats when rendering video

2017-08-06 Thread Marton Balint
Signed-off-by: Marton Balint --- ffplay.c | 114 +-- 1 file changed, 82 insertions(+), 32 deletions(-) diff --git a/ffplay.c b/ffplay.c index 8174caf4a6..7a9b76a93d 100644 --- a/ffplay.c +++ b/ffplay.c @@ -362,6 +362,32

[FFmpeg-devel] [PATCH 2/3] ffplay: add support for displaying rgb images with alpha

2017-08-06 Thread Marton Balint
Signed-off-by: Marton Balint --- ffplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index ee3d1628e8..8174caf4a6 100644 --- a/ffplay.c +++ b/ffplay.c @@ -957,7 +957,8 @@ static void video_image_display(VideoState *is) if

[FFmpeg-devel] [PATCH 1/3] ffplay: add support for rendering yuv images with negative line size

2017-08-06 Thread Marton Balint
Signed-off-by: Marton Balint --- ffplay.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ffplay.c b/ffplay.c index 7cc5ab1644..ee3d1628e8 100644 --- a/ffplay.c +++ b/ffplay.c @@ -859,13 +859,18 @@ static int upload_texture(SDL_Texture *tex,

[FFmpeg-devel] [PATCH 2/2]v7 Opus Pyramid Vector Quantization Search in x86 SIMD asm

2017-08-06 Thread Ivan Kalvachev
This patch requires "Add macros used in opus_pvq_search to x86util.asm" as 4 of the macros are moved there. 1. Cosmetics is completely redone. 2. I've left the align code as it is. I found a really old nasm-2.07 version (from 19 Jan 2010) and made a test build. I got nasm-2.09.04 (from Jan 11

Re: [FFmpeg-devel] [PATCH 7/7] lavfi/vf_stack: move to activate design.

2017-08-06 Thread Nicolas George
Le nonidi 19 thermidor, an CCXXV, Gyan a écrit : > Is ticket #6566 also related? No, since the changes to overlay are not yet committed and since "Buffer queue overflow" is precisely the thing that will go away when they will be. Regards, -- Nicolas George signature.asc Description:

Re: [FFmpeg-devel] [PATCH 7/7] lavfi/vf_stack: move to activate design.

2017-08-06 Thread John Warburton
On Sun, Aug 6, 2017 at 4:39 PM, Gyan wrote: > Is ticket #6566 also related? This test case on ticket #6566 indeed freezes during the overlay on my patched FFmpeg with the alteration to libav/vf_stack.c taken out. I have not been able to test it in another way yet. Kind

Re: [FFmpeg-devel] [PATCH 7/7] lavfi/vf_stack: move to activate design.

2017-08-06 Thread Gyan
Is ticket #6566 also related? Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 7/7] lavfi/vf_stack: move to activate design.

2017-08-06 Thread Nicolas George
Le nonidi 19 thermidor, an CCXXV, John Warburton a écrit : > Gentlemen, I am sorry to report that this particular patch to > lavfi/vf_stack.c breaks FFmpeg on-screen output when a vertical stack > (vstack) follows a horizontal stack (hstack). Below, please find a > chain to -filter_complex, cut

Re: [FFmpeg-devel] [PATCH 7/7] lavfi/vf_stack: move to activate design.

2017-08-06 Thread John Warburton
On Mon, Jul 17, 2017 at 3:19 PM, Nicolas George wrote: > > Signed-off-by: Nicolas George > --- > libavfilter/Makefile | 4 ++-- > libavfilter/vf_stack.c | 32 +--- > 2 files changed, 15 insertions(+), 21 deletions(-) > > > Works

[FFmpeg-devel] [PATCH] Add FITS Decoder

2017-08-06 Thread Paras Chadha
Signed-off-by: Paras Chadha --- Made the changes suggested. Added a new file fits.c with common code Changelog | 1 + doc/general.texi| 2 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 +

Re: [FFmpeg-devel] [PATCH] Add FITS Demuxer

2017-08-06 Thread Paras Chadha
On Sun, Aug 6, 2017 at 5:27 PM, Nicolas George wrote: > Le duodi 12 thermidor, an CCXXV, Paras Chadha a écrit : > > But i am returning the size from this function. If i make them unsigned, > > how will i return errors which are negative integers. > > One thing i can do is pass

[FFmpeg-devel] [PATCH] Add FITS Demuxer

2017-08-06 Thread Paras Chadha
Signed-off-by: Paras Chadha --- Made changes suggested. Refactored Code libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/fitsdec.c| 231 +++ libavformat/version.h| 2 +- 4 files

[FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Clear mcsel before decoding an image

2017-08-06 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 2146467840 + 1032192 cannot be represented in type 'int' Fixes: 2826/clusterfuzz-testcase-minimized-5901511613743104 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 1/2]v2 Add macros used in opus_pvq_search to x86util.asm

2017-08-06 Thread Ivan Kalvachev
On 8/6/17, Henrik Gramner wrote: > On Sat, Aug 5, 2017 at 9:10 PM, Ivan Kalvachev wrote: >> +%macro VBROADCASTSS 2 ; dst xmm/ymm, src m32/xmm >> +%if cpuflag(avx2) >> +vbroadcastss %1, %2; ymm, xmm >> +%elif cpuflag(avx) >> +

Re: [FFmpeg-devel] [PATCH] Add FITS Decoder

2017-08-06 Thread Nicolas George
Le duodi 12 thermidor, an CCXXV, Paras Chadha a écrit : > > > +if (strncmp(keyword, "BITPIX", 6)) { > > > +av_log(avcl, AV_LOG_ERROR, "expected BITPIX keyword, > > found %s = %s\n", keyword, value); > > > +return AVERROR_INVALIDDATA; > > > +}

Re: [FFmpeg-devel] [PATCH] Add FITS Demuxer

2017-08-06 Thread Nicolas George
Le duodi 12 thermidor, an CCXXV, Paras Chadha a écrit : > But i am returning the size from this function. If i make them unsigned, > how will i return errors which are negative integers. > One thing i can do is pass data_size as pointer to the function. Should i > do that ? No need: you can make

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

2017-08-06 Thread Henrik Gramner
On Sat, Aug 5, 2017 at 12:58 AM, Ivan Kalvachev wrote: > 8 packed, 8 scalar. > > Unless I miss something (and as I've said before, > I'm not confident enough to mess with that code.) > > (AVX does extend to 32 variants, but they are not > SSE compatible, so no need to

Re: [FFmpeg-devel] [PATCH] Add macros used in opus_pvq_search to x86util.asm

2017-08-06 Thread Henrik Gramner
On Sat, Aug 5, 2017 at 9:10 PM, Ivan Kalvachev wrote: > +%macro VBROADCASTSS 2 ; dst xmm/ymm, src m32/xmm > +%if cpuflag(avx2) > +vbroadcastss %1, %2; ymm, xmm > +%elif cpuflag(avx) > +%ifnum sizeof%2 ; avx1 register > +vpermilps

Re: [FFmpeg-devel] [PATCH] doc/filters: document the unstability of the shorthand options notation.

2017-08-06 Thread Nicolas George
L'octidi 18 thermidor, an CCXXV, James Almer a écrit : > What do you mean? What i suggested would be done each time an option is > removed or added anywhere but at the end, both of which afaik are > uncommon cases. > It's not something that requires a rewrite of the current codebase. I mean that

[FFmpeg-devel] [PATCH] ffprobe: fix use of uninitialized variable

2017-08-06 Thread Zhao Zhili
--- ffprobe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ffprobe.c b/ffprobe.c index f22c4f57ad..ac9ff051fa 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -3328,6 +3328,7 @@ static int parse_read_interval(const char *interval_spec, } interval->end

Re: [FFmpeg-devel] [PATCH v3] libaf/hlsenc: allow dynamic encryption key rotation

2017-08-06 Thread Steven Liu
2017-08-05 18:14 GMT+08:00 DeHackEd : > Makes behaviour of 805ce25b1d2f optional, re-enables > HLS key rotation feature > > Signed-off-by: DHE > --- > doc/muxers.texi | 7 ++- > libavformat/hlsenc.c | 4 +++- > 2 files changed, 9 insertions(+), 2