[FFmpeg-devel] Controlling the server reply (was: 9/9] doc/example: Add http multi-client) example code

2015-07-11 Thread Nicolas George
Le primidi 21 messidor, an CCXXIII, Stephan Holljes a écrit : > Good question, I haven't thought about that myself. Adding a 404 error > to handle_http_errors() and calling it with AVERROR_HTTP_NOT_FOUND > could be a solution. I feel like the name "handle_http_errors" is not > well chosen then, tho

Re: [FFmpeg-devel] [PATCH] vF_psnr: move set_meta() calls out of loop.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 05:01:03AM +, Paul B Mahol wrote: > Dana 11. 7. 2015. 04:47 osoba "Ronald S. Bultje" > napisala je: > > > > --- > > libavfilter/vf_psnr.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c >

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-11 Thread Paul B Mahol
Dana 11. 7. 2015. 03:16 osoba "Ronald S. Bultje" napisala je: > > --- > libavformat/yuv4mpeg.h | 1 + > libavformat/yuv4mpegdec.c| 26 +++ > tests/ref/seek/lavf-yuv4mpeg | 78 +--- > 3 files changed, 72 insertions(+), 33 deletions(-)

Re: [FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order in metadata names.

2015-07-11 Thread Ronald S. Bultje
Hi, On Sat, Jul 11, 2015 at 1:03 AM, Paul B Mahol wrote: > Dana 11. 7. 2015. 04:50 osoba "Ronald S. Bultje" > napisala je: > > > > --- > > libavfilter/vf_psnr.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c >

[FFmpeg-devel] [PATCH] ivfenc: write duration at end-of-stream.

2015-07-11 Thread Ronald S. Bultje
At the beginning, the value is not initialized. --- libavformat/ivfenc.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c index 1d76c5c..0c81d41 100644 --- a/libavformat/ivfenc.c +++ b/libavformat/ivfenc.c

[FFmpeg-devel] [PATCH] vf_psnr: always calculate MSE over full pixel range.

2015-07-11 Thread Ronald S. Bultje
This makes the output compatible with that of pretty much any other tool that calculates PSNR. --- libavfilter/vf_psnr.c | 31 --- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index 0c2c950..cc4546a 100644

Re: [FFmpeg-devel] [PATCH] ivfenc: write duration at end-of-stream.

2015-07-11 Thread Carl Eugen Hoyos
Ronald S. Bultje gmail.com> writes: > +avio_seek(pb, 24, SEEK_SET); > +avio_wl64() Doesn't this need if (seekable) ? Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] ivfenc: write duration at end-of-stream.

2015-07-11 Thread Hendrik Leppkes
On Sat, Jul 11, 2015 at 1:17 PM, Ronald S. Bultje wrote: > At the beginning, the value is not initialized. > --- > libavformat/ivfenc.c | 28 +++- > 1 file changed, 27 insertions(+), 1 deletion(-) > > diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c > index 1d76c5c

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 01:35:36PM +0800, 周晓勇 wrote: > > > > > -原始邮件- > > 发件人: "Michael Niedermayer" > > 发送时间: 2015年7月11日 星期六 > > 收件人: "FFmpeg development discussions and patches" > > 抄送: > > 主题: Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred > > with mmi > > >

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 01:54:34PM +0200, Michael Niedermayer wrote: > On Sat, Jul 11, 2015 at 01:35:36PM +0800, 周晓勇 wrote: > > > > > > > > > -原始邮件- > > > 发件人: "Michael Niedermayer" > > > 发送时间: 2015年7月11日 星期六 > > > 收件人: "FFmpeg development discussions and patches" > > > > > > 抄送: > >

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 01:59:40PM +0200, Michael Niedermayer wrote: > On Sat, Jul 11, 2015 at 01:54:34PM +0200, Michael Niedermayer wrote: > > On Sat, Jul 11, 2015 at 01:35:36PM +0800, 周晓勇 wrote: > > > > > > > > > > > > > -原始邮件- > > > > 发件人: "Michael Niedermayer" > > > > 发送时间: 2015年7月1

Re: [FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 10:59:58AM +, Paul B Mahol wrote: > Dana 11. 7. 2015. 03:16 osoba "Ronald S. Bultje" > napisala je: > > > > --- > > libavformat/yuv4mpeg.h | 1 + > > libavformat/yuv4mpegdec.c| 26 +++ > > tests/ref/seek/lavf-yuv4mpeg | 78 > +

[FFmpeg-devel] [PATCH] lavfi/removegrain: add x86 and x86_64 SSE2 functions

2015-07-11 Thread James Darnley
Speed of all modes increased by a factor between 7.4 and 19.8 largely depending on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up by a factor of 43 (thanks quick sort!) All modes are available on x86_64 but only modes 1, 10, 11, 12, 13, 14, 19, 20, 21, and 22 are avail

Re: [FFmpeg-devel] [PATCH] lavfi/removegrain: add x86 and x86_64 SSE2 functions

2015-07-11 Thread Carl Eugen Hoyos
James Darnley gmail.com> writes: > +;* TODO: gpl text goes here. Yes, please copy it from another asm file. And please make sure that the file does not get compiled if --enable-gpl was not specified. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH]lavf/mxf: Map codec_tag for Avid files if everything else fails

2015-07-11 Thread Tomas Härdin
On Fri, 2015-07-10 at 20:11 +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows decoding of the sample provided on ffmpeg-user: > http://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027472.html > > Better suggestions welcome, Carl Eugen Just a quick review since I have to bounce: > +co

[FFmpeg-devel] [PATCH] vf_psnr: sse2 optimizations for sum-squared-error.

2015-07-11 Thread Ronald S. Bultje
The internal line accumulator for 16bit can overflow, so I changed that from int to uint64_t in the C code. The matching assembly looks a little weird but output looks correct. It assumes aligned input pointers, I'm not sure if that's a requirement in lavfi (it should be IMO). (avx2 should be triv

Re: [FFmpeg-devel] [PATCH] lavfi/removegrain: add x86 and x86_64 SSE2 functions

2015-07-11 Thread James Darnley
On 2015-07-11 15:45, Carl Eugen Hoyos wrote: > James Darnley gmail.com> writes: > >> +;* TODO: gpl text goes here. > > Yes, please copy it from another asm file. > > And please make sure that the file does > not get compiled if --enable-gpl was not > specified. Dammit! Of course I forgot to

[FFmpeg-devel] [PATCH] vf_psnr: sse2 optimizations for sum-squared-error.

2015-07-11 Thread Ronald S. Bultje
The internal line accumulator for 16bit can overflow, so I changed that from int to uint64_t in the C code. The matching assembly looks a little weird but output looks correct. It assumes aligned input pointers, I'm not sure if that's a requirement in lavfi (it should be IMO). (avx2 should be triv

Re: [FFmpeg-devel] [PATCH] vf_psnr: always calculate MSE over full pixel range.

2015-07-11 Thread Paul B Mahol
Dana 11. 7. 2015. 13:23 osoba "Ronald S. Bultje" napisala je: > > This makes the output compatible with that of pretty much any other > tool that calculates PSNR. > --- > libavfilter/vf_psnr.c | 31 --- > 1 file changed, 4 insertions(+), 27 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread 周晓勇
> -原始邮件- > 发件人: "Michael Niedermayer" > 发送时间: 2015年7月11日 星期六 > 收件人: "FFmpeg development discussions and patches" > 抄送: > 主题: Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with > mmi > > On Sat, Jul 11, 2015 at 01:59:40PM +0200, Michael Niedermayer wrote: > > On

Re: [FFmpeg-devel] [libav-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-11 Thread Andreas Cadhalpun
On 11.07.2015 12:30, Luca Barbato wrote: > On 11/07/15 11:58, Kostya Shishkov wrote: >> On Sat, Jul 11, 2015 at 11:35:44AM +0200, Luca Barbato wrote: >>> On 11/07/15 00:39, Andreas Cadhalpun wrote: Signed-off-by: Andreas Cadhalpun --- libavformat/riffdec.c | 5 + 1 file ch

[FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order mixup in final log message.

2015-07-11 Thread Ronald S. Bultje
--- libavfilter/vf_psnr.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index 63baddd..9390f7c 100644 --- a/libavfilter/vf_psnr.c +++ b/libavfilter/vf_psnr.c @@ -319,9 +319,11 @@ static av_cold void uninit(AVFilterContext *c

Re: [FFmpeg-devel] [libav-devel] [PATCH 2/2] riff: Use the correct logging context

2015-07-11 Thread Andreas Cadhalpun
On 11.07.2015 13:08, Luca Barbato wrote: > --- > libavformat/asfdec.c | 2 +- > libavformat/avidec.c | 2 +- > libavformat/dxa.c | 2 +- > libavformat/matroskadec.c | 2 +- > libavformat/mov.c | 2 +- > libavformat/riff.h| 2 +- > libavformat/riffdec.c | 5 +++

Re: [FFmpeg-devel] [libav-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-11 Thread Andreas Cadhalpun
On 11.07.2015 11:44, Luca Barbato wrote: > On 11/07/15 01:26, Andreas Cadhalpun wrote: >> Note however that the explode mode doesn't necessarily work, because e.g. >> the avi demuxer doesn't set err_recognition for the AVCodecContext. > > It wouldn't work as intended, setting the bit_rate to 0 tho

Re: [FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order mixup in final log message.

2015-07-11 Thread Paul B Mahol
Dana 11. 7. 2015. 17:21 osoba "Ronald S. Bultje" napisala je: > > --- > libavfilter/vf_psnr.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c > index 63baddd..9390f7c 100644 > --- a/libavfilter/vf_psnr.c > +++ b/libavfil

Re: [FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-11 Thread Sebastien Zwickert
> On 07 Jul 2015, at 23:03, Michael Niedermayer wrote: > > On Sun, Jul 05, 2015 at 05:03:44PM +0200, Sebastien Zwickert wrote: >> >>> On 05 Jul 2015, at 16:41, Sebastien Zwickert wrote: >>> >>> delete mode 100644 ffmpeg_vda.c >>> create mode 100644 ffmpeg_videotoolbox.c >> >> -M as arguments

Re: [FFmpeg-devel] [libav-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-11 Thread Andreas Cadhalpun
On 11.07.2015 18:13, Luca Barbato wrote: > On 11/07/15 17:22, Andreas Cadhalpun wrote: >> On 11.07.2015 11:44, Luca Barbato wrote: >>> On 11/07/15 01:26, Andreas Cadhalpun wrote: Note however that the explode mode doesn't necessarily work, because e.g. the avi demuxer doesn't set err_reco

[FFmpeg-devel] [PATCH] lavfi/removegrain: add x86 and x86_64 SSE2 functions

2015-07-11 Thread James Darnley
Speed of all modes increased by a factor between 7.4 and 19.8 largely depending on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up by a factor of 43 (thanks quick sort!) All modes are available on x86_64 but only modes 1, 10, 11, 12, 13, 14, 19, 20, 21, and 22 are avail

[FFmpeg-devel] [PATCH] avcodec: fix micro version number decreased in merge conflict of 7871eb4.

2015-07-11 Thread Sebastien Zwickert
--- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index ee21f5d..a9b9e25 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -30,7 +30,7 @@ #define LIBAVCODEC_VERSION_MAJOR 56 #define LIBAVCODEC_

Re: [FFmpeg-devel] [PATCH] lavfi/removegrain: add x86 and x86_64 SSE2 functions

2015-07-11 Thread James Almer
On 11/07/15 10:40 AM, James Darnley wrote: > Speed of all modes increased by a factor between 7.4 and 19.8 largely > depending > on whether bytes are unpacked into words. Modes 2, 3, and 4 have been sped-up > by a factor of 43 (thanks quick sort!) > > All modes are available on x86_64 but only m

Re: [FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-11 Thread Sebastien Zwickert
> On 05 Jul 2015, at 16:41, Sebastien Zwickert wrote: > > As VDA is a wrapper of VideoToolbox framework, the changes base vda > implementation > upon the videotoolbox implementation to factorize common part of code. > > The changes allow the user to request a custom pixel format to the decoder

Re: [FFmpeg-devel] [PATCH] avcodec: fix micro version number decreased in merge conflict of 7871eb4.

2015-07-11 Thread James Almer
On 11/07/15 1:26 PM, Sebastien Zwickert wrote: > --- > libavcodec/version.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/version.h b/libavcodec/version.h > index ee21f5d..a9b9e25 100644 > --- a/libavcodec/version.h > +++ b/libavcodec/version.h > @@ -30,7 +30

Re: [FFmpeg-devel] [PATCH] avcodec: fix micro version number decreased in merge conflict of 7871eb4.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 06:26:51PM +0200, Sebastien Zwickert wrote: > --- > libavcodec/version.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/version.h b/libavcodec/version.h > index ee21f5d..a9b9e25 100644 > --- a/libavcodec/version.h > +++ b/libavcodec/ver

Re: [FFmpeg-devel] [PATCH] vf_psnr: always calculate MSE over full pixel range.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 02:50:52PM +, Paul B Mahol wrote: > Dana 11. 7. 2015. 13:23 osoba "Ronald S. Bultje" > napisala je: > > > > This makes the output compatible with that of pretty much any other > > tool that calculates PSNR. > > --- > > libavfilter/vf_psnr.c | 31 ---

[FFmpeg-devel] [PATCH] mxfdec: calculate the index in display order

2015-07-11 Thread Marton Balint
This should fix seeking for open GOP files as well. Signed-off-by: Marton Balint --- libavformat/mxfdec.c| 23 --- tests/ref/seek/lavf-mxf | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index b3c25b7..2

Re: [FFmpeg-devel] [libav-devel] [PATCH 2/2] riff: Use the correct logging context

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 05:22:04PM +0200, Andreas Cadhalpun wrote: [...] > This looks good. > It has the nice side effect, that it makes it possible to get an explode > mode working in ff_get_wav_header. > (Attached is this patch rebased on ffmpeg, since my next riff patch > depends on this.) shou

Re: [FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order mixup in final log message.

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 03:59:28PM +, Paul B Mahol wrote: > Dana 11. 7. 2015. 17:21 osoba "Ronald S. Bultje" > napisala je: > > > > --- > > libavfilter/vf_psnr.c | 6 -- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c

Re: [FFmpeg-devel] [PATCH] avcodec: fix micro version number decreased in merge conflict of 7871eb4.

2015-07-11 Thread Sebastien Zwickert
> On 11 Jul 2015, at 18:52, Michael Niedermayer wrote: > > On Sat, Jul 11, 2015 at 06:26:51PM +0200, Sebastien Zwickert wrote: >> --- >> libavcodec/version.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/version.h b/libavcodec/version.h >> index ee21f5d..

[FFmpeg-devel] [PATCH 1/5] concatdec: add support for specifying inpoint of files

2015-07-11 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 17 + libavformat/concatdec.c | 39 ++- 2 files changed, 43 insertions(+), 13 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 35a1561..27a9409 100644 --- a/doc/dem

[FFmpeg-devel] [PATCHv2 2/5] concatdec: store eof condition in context

2015-07-11 Thread Marton Balint
This is needed later for outpoint support which may leave the last file in a not-eof state. Signed-off-by: Marton Balint --- libavformat/concatdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index de1543a..fa85b6

[FFmpeg-devel] [PATCHv2 3/5] concatdec: add support for specifying outpoint of files

2015-07-11 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 19 +++ libavformat/concatdec.c | 29 + 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 27a9409..50b5688 100644 --- a/doc/demuxers.tex

[FFmpeg-devel] [PATCHv2 4/5] concatdec: add support for injecting packet metadata

2015-07-11 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 5 + libavformat/concatdec.c | 28 2 files changed, 33 insertions(+) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 50b5688..e45e1af 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -1

[FFmpeg-devel] [PATCHv2 5/5] avformat: bump micro version after adding concatdec features

2015-07-11 Thread Marton Balint
Signed-off-by: Marton Balint --- libavformat/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/version.h b/libavformat/version.h index 052551c..3ddba0c 100644 --- a/libavformat/version.h +++ b/libavformat/version.h @@ -31,7 +31,7 @@ #define LIBAVFORMAT_V

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 11:43:37PM +0200, Michael Niedermayer wrote: > On Sat, Jul 04, 2015 at 12:14:51PM +0800, 周晓勇 wrote: > > i will offer a download source of Fedora21 OS next Monday. > > i will run yum-builddep ffmpeg-xxx.src.rpm for preparing devel environment. > > what else do you need to in

[FFmpeg-devel] [PATCH 1/2] fate: add tests for w3fdif filter

2015-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- tests/fate/filter-video.mak | 8 tests/ref/fate/filter-w3fdif-complex | 31 +++ tests/ref/fate/filter-w3fdif-simple | 31 +++ 3 files changed, 70 insertions(+) create mode 100644 tests/ref

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_w3fdif: implement slice threading

2015-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_w3fdif.c | 75 ++--- 1 file changed, 53 insertions(+), 22 deletions(-) diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c index bb0316b..c783477 100644 --- a/libavfilter/vf_w3fdif.c +++ b/libav

Re: [FFmpeg-devel] [PATCH 1/2] fate: add tests for w3fdif filter

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 07:03:40PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > tests/fate/filter-video.mak | 8 > tests/ref/fate/filter-w3fdif-complex | 31 +++ > tests/ref/fate/filter-w3fdif-simple | 31

Re: [FFmpeg-devel] [PATCH 1/2] fate: add tests for w3fdif filter

2015-07-11 Thread Paul B Mahol
On 7/11/15, Michael Niedermayer wrote: > On Sat, Jul 11, 2015 at 07:03:40PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> tests/fate/filter-video.mak | 8 >> tests/ref/fate/filter-w3fdif-complex | 31 >> +++ >> tests/ref/fate/f

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_w3fdif: implement slice threading

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 07:03:41PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_w3fdif.c | 75 > ++--- > 1 file changed, 53 insertions(+), 22 deletions(-) this is about 2x as fast but it breaks the tests lter-mcdeint

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_w3fdif: implement slice threading

2015-07-11 Thread Paul B Mahol
On 7/11/15, Michael Niedermayer wrote: > On Sat, Jul 11, 2015 at 07:03:41PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/vf_w3fdif.c | 75 >> ++--- >> 1 file changed, 53 insertions(+), 22 deletions(-) > > this is abou

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/vf_w3fdif: implement slice threading

2015-07-11 Thread Paul B Mahol
On 7/11/15, Paul B Mahol wrote: > On 7/11/15, Michael Niedermayer wrote: >> On Sat, Jul 11, 2015 at 07:03:41PM +, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavfilter/vf_w3fdif.c | 75 >>> ++--- >>> 1 file changed, 53 insert

Re: [FFmpeg-devel] GSoC Weely report (libswscale)

2015-07-11 Thread Pedro Arthur
Here is the full patch rebased including all previous changes. 2015-07-10 17:56 GMT-03:00 Pedro Arthur : > I'll check and fix it and then send a new patch. > > 2015-07-09 14:37 GMT-03:00 Michael Niedermayer : > >> On Wed, Jul 08, 2015 at 10:36:56PM -0300, Pedro Arthur wrote: >> > Hi, >> > >> > La

[FFmpeg-devel] [PATCH] avcodec_free_context instead of close+av_free

2015-07-11 Thread Lectem
If I understood the source and documentation correctly, avcodec_free_context should now be used to free a context instead of avcodec_close + av_free. --- doc/examples/decoding_encoding.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/examples/decoding_encod

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 09:02:51PM +0200, Michael Niedermayer wrote: > On Sun, Jul 05, 2015 at 11:43:37PM +0200, Michael Niedermayer wrote: > > On Sat, Jul 04, 2015 at 12:14:51PM +0800, 周晓勇 wrote: > > > i will offer a download source of Fedora21 OS next Monday. > > > i will run yum-builddep ffmpeg-

[FFmpeg-devel] [PATCH] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread Vesselin Bontchev
From 52e1d041fa9181a3610734b99444899df2b49e49 Mon Sep 17 00:00:00 2001 From: Vesselin Bontchev Date: Sat, 11 Jul 2015 18:02:47 + Subject: [PATCH] Add support for Audible AAX (and AAX+) files --- libavformat/mov.c | 158 + 1 file changed, 1

[FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: implement slice threading

2015-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_w3fdif.c | 67 - 1 file changed, 49 insertions(+), 18 deletions(-) diff --git a/libavfilter/vf_w3fdif.c b/libavfilter/vf_w3fdif.c index bb0316b..bbd8db0 100644 --- a/libavfilter/vf_w3fdif.c +++ b/libav

Re: [FFmpeg-devel] [PATCH] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread Paul B Mahol
On 7/11/15, Vesselin Bontchev wrote: > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > You will need to add CONFIG_GPLV3 around your added code, which is ugly. ___

Re: [FFmpeg-devel] [PATCH] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread Carl Eugen Hoyos
Vesselin Bontchev yandex.com> writes: > +// AAX (and AAX+) support is licensed under GPLv3 I believe this is not acceptable inside an existing demuxer. Please add your code under LGPL v2 or later. +static unsigned int aax_mode = 0; +static unsigned char file_key[20]; +static unsigned char file

[FFmpeg-devel] [PATCH] Factor duplicated ff_fast_malloc() out into mem_internal.h

2015-07-11 Thread Michael Niedermayer
From: Michael Niedermayer internal.h is difficult to use due to circular dependancies mem.h is a public header ff_* is not public Alternative solutions probably are possible too Signed-off-by: Michael Niedermayer --- libavcodec/utils.c | 20 +--- libavutil/mem.c

[FFmpeg-devel] [PATCH] fate: add tests for stereo3d anaglyph modes

2015-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- tests/fate/filter-video.mak | 43 tests/ref/fate/filter-stereo3d-sbsl-agmc | 6 + tests/ref/fate/filter-stereo3d-sbsl-agmd | 6 + tests/ref/fate/filter-stereo3d-sbsl-agmg | 6 + tests/ref/fate/filter-ster

[FFmpeg-devel] [PATCH] fate: add tests for stereo3d anaglyph modes

2015-07-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- tests/fate/filter-video.mak | 43 tests/ref/fate/filter-stereo3d-sbsl-agmc | 6 + tests/ref/fate/filter-stereo3d-sbsl-agmd | 6 + tests/ref/fate/filter-stereo3d-sbsl-agmg | 6 + tests/ref/fate/filter-ster

[FFmpeg-devel] [PATCH] fate: add tests for stereo3d anaglyph modes

2015-07-11 Thread Paul B Mahol
See attached. 0001-fate-add-tests-for-stereo3d-anaglyph-modes.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 2/4] vf_ssim: fix s->coefs for yuv with non-4:2:0 subsampling.

2015-07-11 Thread Ronald S. Bultje
--- libavfilter/vf_ssim.c | 81 +++ 1 file changed, 37 insertions(+), 44 deletions(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index 3ef122f..b1c3368 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/vf_ssim.c @@ -34,6 +34,7 @@

[FFmpeg-devel] [PATCH 1/4] ssim: refactor a weird double loop.

2015-07-11 Thread Ronald S. Bultje
--- libavfilter/vf_ssim.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index 0721ddd..3ef122f 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/vf_ssim.c @@ -134,7 +134,7 @@ static float ssim_end1(int s1, int s2, int ss,

[FFmpeg-devel] [PATCH 3/4] vf_ssim: remove another obscure double loop.

2015-07-11 Thread Ronald S. Bultje
--- libavfilter/vf_ssim.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index b1c3368..f7a259e 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/vf_ssim.c @@ -85,13 +85,13 @@ static void set_meta(AVDictionar

[FFmpeg-devel] [PATCH 4/4] vf_ssim: x86 simd for ssim_4x4xN and ssim_endN.

2015-07-11 Thread Ronald S. Bultje
Both are 2-2.5x faster than their C counterpart. --- libavfilter/ssim.h | 36 libavfilter/vf_ssim.c | 26 -- libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_ssim.asm| 190 + libavfilter/x86/vf_ssim_init.c |

Re: [FFmpeg-devel] [PATCH] fate: add tests for stereo3d anaglyph modes

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 11:08:28PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > tests/fate/filter-video.mak | 43 > > tests/ref/fate/filter-stereo3d-sbsl-agmc | 6 + > tests/ref/fate/filter-stereo3d-sbsl-agmd | 6 + > te

Re: [FFmpeg-devel] [PATCH] avcodec_free_context instead of close+av_free

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 05:24:02PM +, Lectem wrote: > If I understood the source and documentation correctly, avcodec_free_context > should now be used to free a context instead of avcodec_close + av_free. > --- > doc/examples/decoding_encoding.c | 14 +- > 1 file changed, 5 inser

Re: [FFmpeg-devel] [PATCH] avformat/brstm: Remove unused variable

2015-07-11 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 04:35:44PM +0200, Michael Niedermayer wrote: > From: Michael Niedermayer > > Fixes "libavformat/brstm.c:128:35: warning: variable info_size set but not > used" > > Signed-off-by: Michael Niedermayer > --- > libavformat/brstm.c |4 ++-- > 1 file changed, 2 insertion

[FFmpeg-devel] [PATCH] vf_ssim: x86 simd for ssim_4x4xN and ssim_endN.

2015-07-11 Thread Ronald S. Bultje
Both are 2-2.5x faster than their C counterpart. --- libavfilter/ssim.h | 36 libavfilter/vf_ssim.c | 26 -- libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_ssim.asm| 191 + libavfilter/x86/vf_ssim_init.c |

Re: [FFmpeg-devel] [PATCH] avfilter/vf_stereo3d: implement slice threading

2015-07-11 Thread Michael Niedermayer
On Thu, Jul 09, 2015 at 07:19:16PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_stereo3d.c | 72 > --- > 1 file changed, 49 insertions(+), 23 deletions(-) i removed the vframes limit from fate and updated checksums

Re: [FFmpeg-devel] GSoC Weely report (libswscale)

2015-07-11 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 04:57:22PM -0300, Pedro Arthur wrote: > Here is the full patch rebased including all previous changes. if you build ffmpeg with --assert-level=2 fails fate for example in fate-vsynth1-cinepak its probably best to always build with --assert-level=2 so you wont miss such fa

Re: [FFmpeg-devel] [PATCH v2] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread compn
On Sun, 12 Jul 2015 05:38:37 +0300 Vesselin Bontchev wrote: > Hi, > > alglib1.cpp is a plugin for RainbowCrack 1.6.1 > (http://project-rainbowcrack.com/), and it enables offline attacks > against Audible AAX files. does it work on our single audible sample? http://samples.ffmpeg.org/audible/20

[FFmpeg-devel] [PATCH v2] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread Vesselin Bontchev
Hi, alglib1.cpp is a plugin for RainbowCrack 1.6.1 (http://project-rainbowcrack.com/), and it enables offline attacks against Audible AAX files. VesselinFrom 95a40310e0eecadc5b2c653609163ec8d2682d94 Mon Sep 17 00:00:00 2001 From: Vesselin Bontchev Date: Sat, 11 Jul 2015 18:02:47 + Subject:

Re: [FFmpeg-devel] [PATCH v2] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread James Almer
On 11/07/15 11:38 PM, Vesselin Bontchev wrote: > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 6d59863..62495a8 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -26,6 +26,7 @@ > #include > #include > #include > +#include > > #include "libavutil/attributes.h" >

[FFmpeg-devel] [PATCH] avcodec/dcadec: silence request_channels deprecation warnings

2015-07-11 Thread James Almer
This also prevents an eventual compilation failure once request_channels is removed. Signed-off-by: James Almer --- libavcodec/dcadec.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 3ea1bcf..a1b389f 100644 --

[FFmpeg-devel] [PATCH v3] Add support for Audible AAX (and AAX+) files

2015-07-11 Thread Vesselin Bontchev
Hi, I have uploaded some Audible samples to the https://gitlab.com/vesselin.bontchev/audible-samples/ page. Currently only .aax files are supported, see https://en.wikipedia.org/wiki/Audible.com#Quality page for more information. $ export activation_bytes=62689101 # ffmpeg -i Audible_AAX_samp