Re: [FFmpeg-devel] [PATCH] jpeg2000: split off inverse MCT decoding as Jpeg2000DSP

2014-10-02 Thread James Almer
On 01/10/14 11:16 PM, Michael Niedermayer wrote: On Wed, Oct 01, 2014 at 10:35:59PM -0300, James Almer wrote: This makes the addition of arch optimized functions easier. Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/Makefile | 2 +- libavcodec/jpeg2000dec.c | 71

Re: [FFmpeg-devel] [PATCH]Stop demuxing wtv on eof

2014-10-02 Thread Paul B Mahol
On 10/1/14, Peter Ross pr...@xvid.org wrote: On Wed, Oct 01, 2014 at 06:18:56PM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes the wtv regression described in tickets #3991 and #3995 for me. Please review, Carl Eugen diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c

Re: [FFmpeg-devel] [PATCH]Stop demuxing wtv on eof

2014-10-02 Thread Carl Eugen Hoyos
Paul B Mahol onemda at gmail.com writes: +if (avio_feof(pb)) +return AVERROR(EOF); error code should be AVERROR_EOF. Pushed with that change. Thank you, Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH]Check for OOM in the dirac parser

2014-10-02 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: Attached patch fixes two possible null pointer dereferences on oom as described in ticket #3996. should be ok Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH]Fix 32bit pcm audio in mov

2014-10-02 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: Attached patch fixes decoding 32bit pcm audio in mov as written by the Convergent Design's Odyssey 7Q recorder. should be ok Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: add jpeg2000 support

2014-10-02 Thread Tomas Härdin
On Tue, 2014-09-30 at 15:37 +0200, Benoit Fouet wrote: Hi, this patch adds support for j2k muxing in MXF. tested with: $ ffmpeg -t 5 -f lavfi -i testsrc -y -c:v libopenjpeg -y out.mxf Played back in ffplay (linux), vlc (windows), Acrok MXF converter (windows). I have no idea against what

[FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-02 Thread Benoit Fouet
Fixes ticket #3074 --- libavformat/isom.c | 1 + libavformat/movenc.c | 44 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c index d768c32..1509021 100644 --- a/libavformat/isom.c +++

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: add jpeg2000 support

2014-10-02 Thread Benoit Fouet
Hi, - Mail original - On Tue, 2014-09-30 at 15:37 +0200, Benoit Fouet wrote: Hi, this patch adds support for j2k muxing in MXF. tested with: $ ffmpeg -t 5 -f lavfi -i testsrc -y -c:v libopenjpeg -y out.mxf Played back in ffplay (linux), vlc (windows), Acrok MXF converter

[FFmpeg-devel] [PATCH 0/2] avfilter: Some OOM fixes

2014-10-02 Thread Derek Buitenhuis
Decided to fuzz some stuff randomly again, using: https://gist.github.com/dwbuiten/7101755 Derek Buitenhuis (2): avfilter/aresample: Check for mmemory alloc failure for out sample rates avfilter: Properly check for failed format query libavfilter/af_aresample.c |5 +

[FFmpeg-devel] [PATCH 2/2] avfilter: Properly check for failed format query

2014-10-02 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis derek.buitenh...@gmail.com --- libavfilter/avfiltergraph.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 9178939..a859ecb 100644 --- a/libavfilter/avfiltergraph.c +++

[FFmpeg-devel] [PATCH 1/2] avfilter/aresample: Check for mmemory alloc failure for out sample rates

2014-10-02 Thread Derek Buitenhuis
Signed-off-by: Derek Buitenhuis derek.buitenh...@gmail.com --- libavfilter/af_aresample.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index 5f34321..550da54 100644 --- a/libavfilter/af_aresample.c +++

Re: [FFmpeg-devel] [PATCH 0/2] avfilter: Some OOM fixes

2014-10-02 Thread Derek Buitenhuis
On 10/2/2014 11:55 AM, Derek Buitenhuis wrote: avfilter/aresample: Check for mmemory alloc failure for out sample rates Typo fixed locally. Woops. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/aresample: Check for mmemory alloc failure for out sample rates

2014-10-02 Thread Michael Niedermayer
On Thu, Oct 02, 2014 at 11:58:01AM +0100, Derek Buitenhuis wrote: On 10/2/2014 11:55 AM, Derek Buitenhuis wrote: +av_log(ctx, AV_LOG_ERROR, Cannot allocate output sampelrates.\n); Also fixed locally. patch LGTM [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 2/2] avfilter: Properly check for failed format query

2014-10-02 Thread Michael Niedermayer
On Thu, Oct 02, 2014 at 11:55:52AM +0100, Derek Buitenhuis wrote: Signed-off-by: Derek Buitenhuis derek.buitenh...@gmail.com --- libavfilter/avfiltergraph.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) probably ok [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/2] mlpdec: move rematrix_channels code to output_data()

2014-10-02 Thread Michael Niedermayer
On Tue, Sep 30, 2014 at 03:50:32PM -0300, James Almer wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/mlpdec.c | 45 ++--- 1 file changed, 18 insertions(+), 27 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 2/2] x86/mlpdec: add ff_mlp_rematrix_channel_{sse4, avx2}

2014-10-02 Thread James Darnley
On 2014-09-30 20:50, James Almer wrote: +pshufdm2, m0, 0xb1 +pshufdm3, m1, 0xb1 +pshufdm3, m1, 0xb1 +pshufdm4, m2, 0xb1 +pshufd xm1, xm0, 0x4e +pshufd xm2, xm0, 0xb1 +pshufd xm3, xm1, 0xb1 +pshufd

Re: [FFmpeg-devel] [PATCH 2/2] x86/mlpdec: add ff_mlp_rematrix_channel_{sse4, avx2}

2014-10-02 Thread Michael Niedermayer
On Tue, Sep 30, 2014 at 03:50:33PM -0300, James Almer wrote: 2x to 2.5x faster than the C version. Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/mlpdec.c| 4 +- libavcodec/x86/Makefile| 6 +- libavcodec/x86/mlpdsp.asm

Re: [FFmpeg-devel] [PATCH 1/2] avutil/avstring: Factor av_match_list() out

2014-10-02 Thread Michael Niedermayer
On Tue, Sep 30, 2014 at 07:41:07PM +0200, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- doc/APIchanges |3 +++ libavformat/format.c | 20 +++- libavutil/avstring.c | 21 + libavutil/avstring.h |7

[FFmpeg-devel] FFmpeg IRC meeting October 4th 2014, UTC 16

2014-10-02 Thread Stefano Sabatini
On date Wednesday 2014-10-01 10:18:58 +0200, Stefano Sabatini encoded: [...] So, since we have already two preferences for Saturday 4 October, I think we should stick with it. If I see no other comments, I'll settle the date. Thanks all. I confirm the FFmpeg meeting on IRC, that will be

Re: [FFmpeg-devel] FFmpeg IRC meeting October 4th 2014, UTC 16

2014-10-02 Thread Timothy Gu
On Thu, Oct 2, 2014 at 7:12 AM, Stefano Sabatini stefa...@gmail.com wrote: On date Wednesday 2014-10-01 10:18:58 +0200, Stefano Sabatini encoded: [...] So, since we have already two preferences for Saturday 4 October, I think we should stick with it. If I see no other comments, I'll settle

Re: [FFmpeg-devel] FFmpeg IRC meeting October 4th 2014, UTC 16

2014-10-02 Thread Stefano Sabatini
On date Thursday 2014-10-02 07:14:08 -0700, Timothy Gu encoded: On Thu, Oct 2, 2014 at 7:12 AM, Stefano Sabatini stefa...@gmail.com wrote: On date Wednesday 2014-10-01 10:18:58 +0200, Stefano Sabatini encoded: [...] So, since we have already two preferences for Saturday 4 October, I think

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-02 Thread Yusuke Nakamura
2014-10-02 19:39 GMT+09:00 Benoit Fouet benoit.fo...@free.fr: Fixes ticket #3074 --- libavformat/isom.c | 1 + libavformat/movenc.c | 44 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-02 Thread Carl Eugen Hoyos
Benoit Fouet benoit.fouet at free.fr writes: Fixes ticket #3074 I tested this patch successfully with WMP: mono, stereo and 5.1 play well. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] jpeg2000: Fix a missing compilation of jpeg2000dsp when disabling the encoder.

2014-10-02 Thread Yusuke Nakamura
--- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 04a7944..c6cb6e2 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -277,7 +277,7 @@ OBJS-$(CONFIG_JACOSUB_DECODER) += jacosubdec.o ass.o

Re: [FFmpeg-devel] [PATCH] jpeg2000: Fix a missing compilation of jpeg2000dsp when disabling the encoder.

2014-10-02 Thread James Almer
On 02/10/14 12:46 PM, Yusuke Nakamura wrote: --- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 04a7944..c6cb6e2 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -277,7 +277,7 @@

Re: [FFmpeg-devel] [PATCH 2/2] x86/mlpdec: add ff_mlp_rematrix_channel_{sse4, avx2}

2014-10-02 Thread James Almer
On 02/10/14 10:19 AM, James Darnley wrote: On 2014-09-30 20:50, James Almer wrote: +pshufdm2, m0, 0xb1 +pshufdm3, m1, 0xb1 +pshufdm3, m1, 0xb1 +pshufdm4, m2, 0xb1 +pshufd xm1, xm0, 0x4e +pshufd xm2, xm0, 0xb1 +

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-02 Thread Yusuke Nakamura
2014-10-02 19:39 GMT+09:00 Benoit Fouet benoit.fo...@free.fr: Fixes ticket #3074 --- libavformat/isom.c | 1 + libavformat/movenc.c | 44 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-02 Thread Yusuke Nakamura
2014-10-02 19:39 GMT+09:00 Benoit Fouet benoit.fo...@free.fr: Fixes ticket #3074 --- libavformat/isom.c | 1 + libavformat/movenc.c | 44 +++- 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/libavformat/isom.c b/libavformat/isom.c

Re: [FFmpeg-devel] [PATCH 3/3] lavf/webm_dash: some fields should go into Representation

2014-10-02 Thread Michael Niedermayer
On Wed, Oct 01, 2014 at 10:17:53AM -0700, Vignesh Venkatasubramanian wrote: A new file (dash_video4.webm) is required for this fate test. It can be found here: https://docs.google.com/file/d/0Bx8Q1nhO9b6MbnlfU1QtZkZyMnM/edit?pli=1 Could you please place this file in the fate suite under

Re: [FFmpeg-devel] [PATCH] avcodec, avutil: allow more control about how samples are skipped

2014-10-02 Thread Michael Niedermayer
On Thu, Oct 02, 2014 at 08:12:41PM +0200, wm4 wrote: On Sat, 27 Sep 2014 16:47:09 +0200 wm4 nfx...@googlemail.com wrote: Add CODEC_FLAG2_SKIP_MANUAL (exposed as skip_manual), which makes the decoder export sample skip information via side data, instead of applying it automatically. The

[FFmpeg-devel] [PATCH 2/2] x86: hevc_mt: use proxy functions for WP

2014-10-02 Thread Christophe Gisquet
On Win64: Before: 155576b 64765 decicycles in qpel_bi_w, 8185 runs, 7 skips 13676 decicycles in epel_bi_w, 16378 runs, 6 skips 54402 decicycles in qpel_uni_w, 1023 runs, 1 skips 12328 decicycles in epel_uni_w, 2048 runs, 0 skips After: 94260b 65037 decicycles in qpel_bi_w, 8185 runs, 7 skips

[FFmpeg-devel] [PATCH 1/2] x86: hevc_mc: use proxy functions

2014-10-02 Thread Christophe Gisquet
Most functions were actually instanciated and unrolled, causing an increase in object size. On Win64, before: stripped object size 185404 36248 decicycles in qpel, 522688 runs, 1600 skips 39808 decicycles in qpel bi, 522920 runs, 1368 skips 6997 decicycles in epel, 1037753 runs, 10823 skips 8042

Re: [FFmpeg-devel] [PATCH 2/2] av_lockmgr_register defines behavior on failure.

2014-10-02 Thread Manfred Georg
On Wed, Oct 1, 2014 at 5:40 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Oct 01, 2014 at 04:37:21PM -0700, Manfred Georg wrote: [snip] @@ -3457,22 +3457,53 @@ AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel) int av_lockmgr_register(int (*cb)(void **mutex, enum

Re: [FFmpeg-devel] [PATCH 2/2] av_lockmgr_register defines behavior on failure.

2014-10-02 Thread Michael Niedermayer
On Thu, Oct 02, 2014 at 11:54:31AM -0700, Manfred Georg wrote: On Wed, Oct 1, 2014 at 5:40 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Oct 01, 2014 at 04:37:21PM -0700, Manfred Georg wrote: [snip] @@ -3457,22 +3457,53 @@ AVHWAccel *av_hwaccel_next(const AVHWAccel

Re: [FFmpeg-devel] [PATCH 2/2] av_lockmgr_register defines behavior on failure.

2014-10-02 Thread Michael Niedermayer
On Thu, Oct 02, 2014 at 09:50:12PM +0200, Michael Niedermayer wrote: On Thu, Oct 02, 2014 at 11:54:31AM -0700, Manfred Georg wrote: On Wed, Oct 1, 2014 at 5:40 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Oct 01, 2014 at 04:37:21PM -0700, Manfred Georg wrote: [snip]

Re: [FFmpeg-devel] [PATCH] avformat/img2dec: fix glob pattern detection.

2014-10-02 Thread Alexander Strasser
On 2014-10-02 22:51 +0200, Alexander Strasser wrote: [...] Maybe something like this patch would be acceptable (WARNING: only lightly tested): diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 16bd699..aa7c2f6 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c

[FFmpeg-devel] [PATCH] doc/encoders: add basic libx265 documentation

2014-10-02 Thread Lou Logan
Fixes ticket #3944. Signed-off-by: Lou Logan l...@lrcd.com --- doc/encoders.texi | 28 1 file changed, 28 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index d67bf89..c0e9890 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1886,6

Re: [FFmpeg-devel] [PATCH 1/2] mlpdec: move rematrix_channels code to output_data()

2014-10-02 Thread James Almer
On 02/10/14 10:09 AM, Michael Niedermayer wrote: On Tue, Sep 30, 2014 at 03:50:32PM -0300, James Almer wrote: Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/mlpdec.c | 45 ++--- 1 file changed, 18 insertions(+), 27 deletions(-) LGTM

Re: [FFmpeg-devel] [PATCH 2/2] x86/mlpdec: add ff_mlp_rematrix_channel_{sse4, avx2}

2014-10-02 Thread James Almer
On 02/10/14 10:22 AM, Michael Niedermayer wrote: On Tue, Sep 30, 2014 at 03:50:33PM -0300, James Almer wrote: 2x to 2.5x faster than the C version. Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/mlpdec.c| 4 +- libavcodec/x86/Makefile

Re: [FFmpeg-devel] [PATCH] doc/filters: fix localtime drawtext example.

2014-10-02 Thread Simon Thelen
On 10/09/14 at 00:01, Simon Thelen wrote: The colon after the localtime function call needs an additional layer of escaping or else everything until the next colon is treated as a fontfile. Signed-off-by: Simon Thelen ffmpeg-...@c-14.de --- doc/filters.texi | 2 +- 1 file changed, 1