Re: [FFmpeg-devel] [PATCH 2/6] lavc/audiotoolboxenc: fix a number of config issues

2016-03-31 Thread crossle song
Merge please On Mon, Mar 28, 2016 at 1:20 AM, Rodger Combs wrote: > - size variables were used in a confusing way > - incorrect size var use led to channel layouts not being set properly > - channel layouts were incorrectly mapped for >2-channel AAC > - bitrates not

Re: [FFmpeg-devel] [PATCH] added support for hardware assist H264 video encoding for the Raspberry Pi

2016-03-31 Thread Amancio Hasty
I am not a lawyer… I updated the patch. vc264.c now has a the copyright notice embedded in a volatile global so if a binary is compiled against vc264.o , the copyright notice can be displayed by: strings ffmpeg | grep -i copyright LICENSE.md has been updated to include Broadcom’s copyright

[FFmpeg-devel] [PATCH] lavfi: new colorspace conversion filter.

2016-03-31 Thread Ronald S. Bultje
The intent here is similar to colormatrix, but it's LGPLv2.1-or-later (instead of GPLv2.0) and supports gamma/chromaticity correction. --- doc/filters.texi | 183 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 +

[FFmpeg-devel] codecpar regressions

2016-03-31 Thread Michael Niedermayer
Hi from #ffmpeg-devel im not doing any fixes today though, im beat. ... michaelni, if im not around mail me them, or putthem on github or something i found another regression, thought "here" is a good "something" that way more people can search for and fix regressions heres one regression:

[FFmpeg-devel] [PATCH] fate: Test for Ticket4560

2016-03-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tests/fate/filter-video.mak |9 ++ tests/ref/fate/filter-meta-4560-rotate0 | 259 +++ 2 files changed, 268 insertions(+) create mode 100644 tests/ref/fate/filter-meta-4560-rotate0 diff

Re: [FFmpeg-devel] APNG encoder can work incorrectly

2016-03-31 Thread Paul B Mahol
On 3/31/16, Dmitriy wrote: > I create a special video. You can download it using the link > > https://drive.google.com/file/d/0B8rMLdq9Vq55QmwwcVJDVkZoM1E/view?usp=sharing > > Convert it to .apng format with > ffmpeg -i apng_test.avi apng_test.apng > > The result file will be

Re: [FFmpeg-devel] [PATCH] lavfi: new colorspace conversion filter.

2016-03-31 Thread Ronald S. Bultje
Hi, On Wed, Mar 30, 2016 at 4:35 PM, Ronald S. Bultje wrote: > The intent here is similar to colormatrix, but it's LGPLv2.1-or-later > (instead of GPLv2.0) and supports gamma/chromaticity correction. One of the things I'm not 100% happy with is that this is hard to set up,

Re: [FFmpeg-devel] [PATCH 2/2] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 04:01:17PM -0400, Ronald S. Bultje wrote: > --- > libswscale/swscale.h | 1 + > libswscale/swscale_internal.h | 2 +- > libswscale/version.h | 2 +- > libswscale/yuv2rgb.c | 9 ++--- > 4 files changed, 9 insertions(+), 5 deletions(-) LGTM

Re: [FFmpeg-devel] [PATCH] psxstr: Remove some commented out code

2016-03-31 Thread Paul B Mahol
On 3/31/16, Derek Buitenhuis wrote: > Signed-off-by: Derek Buitenhuis > --- > libavformat/psxstr.c | 8 +--- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c > index

[FFmpeg-devel] [PATCH] psxstr: Remove some commented out code

2016-03-31 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis --- libavformat/psxstr.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libavformat/psxstr.c b/libavformat/psxstr.c index b57981a..38186f7 100644 --- a/libavformat/psxstr.c +++ b/libavformat/psxstr.c @@

[FFmpeg-devel] [PATCH] Introduce ff_bprint_to_codecpar_extradata for avformat

2016-03-31 Thread Derek Buitenhuis
From: Hendrik Leppkes --- libavformat/internal.h | 7 +++ libavformat/utils.c| 23 +++ 2 files changed, 30 insertions(+) diff --git a/libavformat/internal.h b/libavformat/internal.h index 7defce8..cd390dd 100644 --- a/libavformat/internal.h +++

Re: [FFmpeg-devel] Refund request for FFmpeg at CLT 2016

2016-03-31 Thread Thomas Volkert
On 21.03.2016 21:49, Thilo Borgmann wrote: Am 21.03.16 um 20:42 schrieb Michael Niedermayer: On Mon, Mar 21, 2016 at 12:14:40PM +0100, Thilo Borgmann wrote: Hi, last weekend, the Chemnitzer Linux Tage in Germany took place and we had quite a good experience and contacts to our end-users.

[FFmpeg-devel] [PATCH] add attribution to OpenJPEG code in FFmpeg encoder j2kenc.c file

2016-03-31 Thread Aaron Boxer
Hi Folks, Here is a patch to reference the OpenJPEG license from j2kenc.c, as per earlier discussion. Cheers, Aaron 0001-Add-attribution-to-OpenJPEG-project.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 2/2] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
--- libswscale/swscale.h | 1 + libswscale/swscale_internal.h | 2 +- libswscale/version.h | 2 +- libswscale/yuv2rgb.c | 9 ++--- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index da9dd2e..6b8b926

[FFmpeg-devel] [PATCH 1/2] swscale: fix bt709 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
They were derived from incorrect values cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). --- libswscale/yuv2rgb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 62abb7d..a0242bf 100644 ---

Re: [FFmpeg-devel] [PATCH] swscale cleanup

2016-03-31 Thread Pedro Arthur
patch pushed, thank you for testing. 2016-03-31 16:41 GMT-03:00 Michael Niedermayer : > On Thu, Mar 31, 2016 at 09:18:37PM +0200, Michael Niedermayer wrote: > > On Thu, Mar 31, 2016 at 04:00:22PM -0300, Pedro Arthur wrote: > > > May I push the patch? > > > > give me a

Re: [FFmpeg-devel] [PATCH] swscale cleanup

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 09:18:37PM +0200, Michael Niedermayer wrote: > On Thu, Mar 31, 2016 at 04:00:22PM -0300, Pedro Arthur wrote: > > May I push the patch? > > give me a moment, ill check if it builds on all archs i can easily test seems working fine no objections from me thanks [...] --

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Hi, On Thu, Mar 31, 2016 at 2:51 PM, Clément Bœsch wrote: > On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > > Also fix the bt709 ones. They seem derived from incorrect values > > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). > > Can you

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Hi, On Thu, Mar 31, 2016 at 2:46 PM, Michael Niedermayer wrote: > On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > > Also fix the bt709 ones. They seem derived from incorrect values > > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be

Re: [FFmpeg-devel] [PATCH] swscale cleanup

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 04:00:22PM -0300, Pedro Arthur wrote: > May I push the patch? give me a moment, ill check if it builds on all archs i can easily test [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I

Re: [FFmpeg-devel] [PATCH] swscale cleanup

2016-03-31 Thread Pedro Arthur
May I push the patch? 2016-03-28 16:21 GMT-03:00 Pedro Arthur : > It was a little typo, attached patch fixed. > > 2016-03-28 16:09 GMT-03:00 Michael Niedermayer : > >> On Mon, Mar 28, 2016 at 01:56:08PM -0300, Pedro Arthur wrote: >> > Hi, >> > >> >

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Clément Bœsch
On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > Also fix the bt709 ones. They seem derived from incorrect values > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). Can you split? > --- > libswscale/swscale.h | 1 + > libswscale/yuv2rgb.c | 13

Re: [FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 02:29:12PM -0400, Ronald S. Bultje wrote: > Also fix the bt709 ones. They seem derived from incorrect values > cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). > --- > libswscale/swscale.h | 1 + > libswscale/yuv2rgb.c | 13 - > 2 files

[FFmpeg-devel] [PATCH] swscale: add bt2020 yuv2rgb coefficients.

2016-03-31 Thread Ronald S. Bultje
Also fix the bt709 ones. They seem derived from incorrect values cr=0.2125 (should be cr=0.2126) and cb=0.0721 (should be cb=0.0722). --- libswscale/swscale.h | 1 + libswscale/yuv2rgb.c | 13 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/libswscale/swscale.h

Re: [FFmpeg-devel] [PATCH] swscale: Deprecate vector functions which are unused outside swscale

2016-03-31 Thread Michael Niedermayer
On Thu, Mar 31, 2016 at 06:52:27PM +0200, Michael Niedermayer wrote: > There are no known users of these functions within debian > It should be thus possible to remove these functions without recommandition > of a > replacement > > Signed-off-by: Michael Niedermayer >

[FFmpeg-devel] [PATCH] swscale: Deprecate vector functions which are unused outside swscale

2016-03-31 Thread Michael Niedermayer
There are no known users of these functions within debian It should be thus possible to remove these functions without recommandition of a replacement Signed-off-by: Michael Niedermayer --- libswscale/swscale.h | 37 ++---

[FFmpeg-devel] [PATCH] swscale: Deprecate vector functions which are unused outside swscale

2016-03-31 Thread Michael Niedermayer
There are no known users of these functions within debian It should be thus possible to remove these functions without recommandition of a replacement Signed-off-by: Michael Niedermayer --- libswscale/swscale.h | 16 libswscale/utils.c |6 ++

Re: [FFmpeg-devel] [PATCH v2 8/9] swscale/arm/yuv2rgb: save a few instructions by processing the luma line interleaved

2016-03-31 Thread Matthieu Bouron
On Thu, Mar 31, 2016 at 11:17 AM, Benoit Fouet wrote: > Hi, > > On 28/03/2016 21:19, Matthieu Bouron wrote: > >> --- >> libswscale/arm/yuv2rgb_neon.S | 88 >> +-- >> 1 file changed, 34 insertions(+), 54 deletions(-) >> >> diff

Re: [FFmpeg-devel] [PATCH v2 6/9] swscale/arm/yuv2rgb: macro-ify

2016-03-31 Thread Matthieu Bouron
On Thu, Mar 31, 2016 at 10:48 AM, Benoit Fouet wrote: > Hi, > > (sorry for the first mail, fuzzy fingers...) > > On 28/03/2016 21:19, Matthieu Bouron wrote: > >> --- >> libswscale/arm/yuv2rgb_neon.S | 137 >> ++ >> 1 file changed,

Re: [FFmpeg-devel] [PATCH] configure: Fix debugging on mingw-w64 with gdb

2016-03-31 Thread Michael Niedermayer
On Tue, Mar 29, 2016 at 01:30:50AM -0400, Alex Smith wrote: > The relocation hack broke debugging on mingw-w64 when using gdb. This > makes the reloc hack dependent on --disable-debug so it's still enabled > for release builds. > > This is simply an immediate fix for the issue of broken

Re: [FFmpeg-devel] Need help with transcoding example

2016-03-31 Thread Moritz Barsnick
Hello Przemysław, On Thu, Mar 31, 2016 at 11:17:17 +0200, Przemysław Sobala wrote: > Hello > I've altered doc/examples/transcoding.c to encode using aac codec: Please use the libav-user list for questions regarding the usage of ffmpeg's libraries and the programming with ffmpeg.

Re: [FFmpeg-devel] [PATCH v2 6/9] swscale/arm/yuv2rgb: macro-ify

2016-03-31 Thread Benoit Fouet
On 28/03/2016 21:19, Matthieu Bouron wrote: --- libswscale/arm/yuv2rgb_neon.S | 137 ++ 1 file changed, 60 insertions(+), 77 deletions(-) diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S index ef7b0a6..e1b68c1 100644 ---

Re: [FFmpeg-devel] [PATCH v2 8/9] swscale/arm/yuv2rgb: save a few instructions by processing the luma line interleaved

2016-03-31 Thread Clément Bœsch
On Thu, Mar 31, 2016 at 11:17:43AM +0200, Benoit Fouet wrote: [...] > What about adding a level of macro here? Something like: > .macro process_1l_internal ofmt src_addr res > compute_premult > vld2.8{d14, d15}, [\src_addr]! > compute\res, \ofmt > .endm > > (again,

Re: [FFmpeg-devel] [PATCH v2 8/9] swscale/arm/yuv2rgb: save a few instructions by processing the luma line interleaved

2016-03-31 Thread Benoit Fouet
Hi, On 28/03/2016 21:19, Matthieu Bouron wrote: --- libswscale/arm/yuv2rgb_neon.S | 88 +-- 1 file changed, 34 insertions(+), 54 deletions(-) diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S index 124d7d3..6b911c8 100644 ---

[FFmpeg-devel] Need help with transcoding example

2016-03-31 Thread Przemysław Sobala
Hello I've altered doc/examples/transcoding.c to encode using aac codec: --- a/doc/examples/transcoding.c +++ b/doc/examples/transcoding.c @@ -114,7 +114,12 @@ if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO || dec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) {

Re: [FFmpeg-devel] [PATCH v2 6/9] swscale/arm/yuv2rgb: macro-ify

2016-03-31 Thread Benoit Fouet
Hi, (sorry for the first mail, fuzzy fingers...) On 28/03/2016 21:19, Matthieu Bouron wrote: --- libswscale/arm/yuv2rgb_neon.S | 137 ++ 1 file changed, 60 insertions(+), 77 deletions(-) diff --git a/libswscale/arm/yuv2rgb_neon.S

Re: [FFmpeg-devel] [PATCH] sws/aarch64: add ff_hscale_8_to_15_neon

2016-03-31 Thread Clément Bœsch
On Thu, Mar 24, 2016 at 01:28:37PM +0100, Clément Bœsch wrote: > From: Clément Bœsch > > ./ffmpeg -nostats -f lavfi -i testsrc2=4k:d=2 -vf > bench=start,scale=1024x1024,bench=stop -f null - > > before: t:0.489726 avg:0.489883 max:0.491852 min:0.489482 > after:

Re: [FFmpeg-devel] [PATCH v2 6/9] swscale/arm/yuv2rgb: macro-ify

2016-03-31 Thread Benoit Fouet
On 28/03/2016 21:19, Matthieu Bouron wrote: --- libswscale/arm/yuv2rgb_neon.S | 137 ++ 1 file changed, 60 insertions(+), 77 deletions(-) diff --git a/libswscale/arm/yuv2rgb_neon.S b/libswscale/arm/yuv2rgb_neon.S index ef7b0a6..e1b68c1 100644 ---

Re: [FFmpeg-devel] APNG encoder can work incorrectly

2016-03-31 Thread Dmitriy
I create a special video. You can download it using the link https://drive.google.com/file/d/0B8rMLdq9Vq55QmwwcVJDVkZoM1E/view?usp=sharing Convert it to .apng format with ffmpeg -i apng_test.avi apng_test.apng The result file will be empty. ___

Re: [FFmpeg-devel] [PATCH 06/10] swscale/arm/yuv2rgb: only process one line at a time for the yuv420p and nv{12, 21} formats

2016-03-31 Thread Matthieu Bouron
On Wed, Mar 30, 2016 at 11:36:34PM +0200, Benoit Fouet wrote: > Hi, Hi Benoit, > > Le 26/03/2016 13:05, Matthieu Bouron a écrit : > >On Sat, Mar 26, 2016 at 2:09 AM, Michael Niedermayer >>>wrote: > >>>On Fri, Mar 25, 2016 at 11:46:01PM +0100, Matthieu Bouron wrote: >

Re: [FFmpeg-devel] [PATCH 02/10] swscale/arm/yuv2rgb: fix comments and factorize lsl in load_args_yuv422p

2016-03-31 Thread Matthieu Bouron
On Wed, Mar 30, 2016 at 11:34:59PM +0200, Benoit Fouet wrote: > Hi, > > Le 25/03/2016 23:45, Matthieu Bouron a écrit : > >From: Matthieu Bouron > > > >--- > > libswscale/arm/yuv2rgb_neon.S | 9 - > > 1 file changed, 4 insertions(+), 5 deletions(-) > > >