Re: [FFmpeg-devel] Question about supported_fps in libavutil/timecode.c::check_fps

2015-01-25 Thread Reimar Döffinger
On 24.01.2015, at 21:09, wm4 nfx...@googlemail.com wrote: On Sat, 24 Jan 2015 18:37:01 + Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 1/24/2015 4:33 PM, wm4 wrote: Which ones? We even expect C99 support from the compiler. Doesn't matter. It's the project's policy to have

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread wm4
On Sun, 25 Jan 2015 16:18:53 + Paul B Mahol one...@gmail.com wrote: On 1/25/15, wm4 nfx...@googlemail.com wrote: On Sun, 25 Jan 2015 13:39:10 +0100 Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 01:18:31PM +0100, Michael Niedermayer wrote: On Sun, Jan 25, 2015

Re: [FFmpeg-devel] [PATCH] configure: add --build-date and --build-time options

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 5:15 PM, Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Thu, Jan 22, 2015 at 03:49:09PM +0100, Andreas Cadhalpun wrote: Hi, On 22.01.2015 15:31, wm4 wrote: If the build date is not correct, then what value does the build date have at all? How do you

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 05:24:18PM +0100, wm4 wrote: On Sun, 25 Jan 2015 16:18:53 + Paul B Mahol one...@gmail.com wrote: On 1/25/15, wm4 nfx...@googlemail.com wrote: On Sun, 25 Jan 2015 13:39:10 +0100 Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread Paul B Mahol
On 1/25/15, wm4 nfx...@googlemail.com wrote: On Sun, 25 Jan 2015 13:39:10 +0100 Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 01:18:31PM +0100, Michael Niedermayer wrote: On Sun, Jan 25, 2015 at 12:15:40PM +0100, Reimar Doeffinger wrote: On 25.01.2015, at 03:08,

Re: [FFmpeg-devel] Question about supported_fps in libavutil/timecode.c::check_fps

2015-01-25 Thread wm4
On Sun, 25 Jan 2015 12:06:33 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On 24.01.2015, at 21:09, wm4 nfx...@googlemail.com wrote: On Sat, 24 Jan 2015 18:37:01 + Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 1/24/2015 4:33 PM, wm4 wrote: Which ones? We even

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 05:15:33PM +0100, wm4 wrote: On Sun, 25 Jan 2015 13:39:10 +0100 Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 01:18:31PM +0100, Michael Niedermayer wrote: On Sun, Jan 25, 2015 at 12:15:40PM +0100, Reimar Döffinger wrote: On 25.01.2015, at

Re: [FFmpeg-devel] [PATCH] Port mp=eq/eq2 to lavfi

2015-01-25 Thread Michael Niedermayer
On Sat, Jan 24, 2015 at 09:06:33PM +, Paul B Mahol wrote: From: Arwa Arif arwaarif1...@gmail.com Code adapted from James Darnley's port Signed-off-by: Paul B Mahol one...@gmail.com merged with arwas latest patch and applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Kacper Michajłow
2015-01-25 21:36 GMT+01:00 Hendrik Leppkes h.lepp...@gmail.com: On Sun, Jan 25, 2015 at 7:44 PM, James Almer jamr...@gmail.com wrote: On 25/01/15 2:47 PM, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at

Re: [FFmpeg-devel] [PATCH 1/6] avformat/gif: simplify gif_image_write_header() prototype

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 07:55:18PM +0100, Clément Bœsch wrote: --- libavformat/gif.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I know you won't believe me, but the highest

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread James Almer
On 25/01/15 2:47 PM, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 3:26 PM,

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes h.lepp...@gmail.com wrote:

[FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-01-25 Thread Clément Bœsch
--- doc/filters.texi| 31 + libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_paletteuse.c | 282 4 files changed, 315 insertions(+) create mode 100644 libavfilter/vf_paletteuse.c diff --git

[FFmpeg-devel] [PATCH 6/6] avfilter: bump minor and Changelog document the new filters

2015-01-25 Thread Clément Bœsch
--- Changelog | 1 + libavfilter/version.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 04f1728..b3b95e2 100644 --- a/Changelog +++ b/Changelog @@ -16,6 +16,7 @@ version next: - Closed caption Decoder - fspp, uspp, pp7 MPlayer

[FFmpeg-devel] Color quantization for GIF

2015-01-25 Thread Clément Bœsch
Hi folks, I've been trying to improve GIF support even more recently. This is the result: http://lucy.pkh.me/gone-nutty-current.gif → http://lucy.pkh.me/gone-nutty.gif How it works in 2 lines: ffmpeg -i in -vf palettegen -y palette.png ffmpeg -i in -i palette.png -lavfi paletteuse out.gif

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: On Sun, Jan 25, 2015 at 03:59:12PM +0100, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 3:26 PM, Hendrik Leppkes h.lepp...@gmail.com wrote: MSYS2 uses a system name of MSYS_NT-6.3 instead of MINGW32_NT-6.3 in MSYS1.

Re: [FFmpeg-devel] [PATCH] Port mp=eq/eq2 to FFmpeg

2015-01-25 Thread arwa arif
I have updated the patch. I checked the output with many combinations of parameters. It is bitexact now. I am facing problems in rebasing against the latest master. From f6c6a66b306475e3bc7977f59287c920f5e867a7 Mon Sep 17 00:00:00 2001 From: Arwa Arif arwaarif1...@gmail.com Date: Mon, 19 Jan 2015

Re: [FFmpeg-devel] libavutil: Added twofish block cipher

2015-01-25 Thread supraja reddy
Hello, I have made all the changes as suggested. If the number of if-else loops in init() seem to be too many, please let me know I will change it but I have put them to handle the return values and overflow issues. If there are any other changes, please let me know. Thanks, Supraja On Sun, Jan

[FFmpeg-devel] [PATCH 1/7] hevc: pass the full HEVCNAL struct to decode_nal_unit

2015-01-25 Thread Hendrik Leppkes
This enables decode_nal_unit to access additional fields added in subsequent commits. --- libavcodec/hevc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 2bd89ec..8f60b3d 100644 --- a/libavcodec/hevc.c +++

[FFmpeg-devel] [PATCH 2/7] hevc: store the escaped/raw bitstream in HEVCNAL

2015-01-25 Thread Hendrik Leppkes
Hardware Accelerators require access to the escaped bitstream. --- libavcodec/hevc.c | 8 ++-- libavcodec/hevc.h | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 8f60b3d..bcbb889 100644 --- a/libavcodec/hevc.c +++

[FFmpeg-devel] [PATCH 4/7] hevc: add hwaccel hooks

2015-01-25 Thread Hendrik Leppkes
--- libavcodec/hevc.c | 38 -- libavcodec/hevc.h | 3 +++ libavcodec/hevc_refs.c | 18 ++ 3 files changed, 57 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 1a908d5..71cb9b4 100644 ---

[FFmpeg-devel] [PATCH 6/7] Add DXVA2 HEVC HWAccel

2015-01-25 Thread Hendrik Leppkes
--- configure | 5 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/dxva2_hevc.c | 375 libavcodec/hevc.c | 8 +- 5 files changed, 389 insertions(+), 1 deletion(-) create mode 100644

Re: [FFmpeg-devel] [PATCH 1/7] hevc: pass the full HEVCNAL struct to decode_nal_unit

2015-01-25 Thread Hendrik Leppkes
I forgot that this one was already applied, but it also didn't change in the new set, so no harm in re-sending it. Now it all lines up perfectly! The other patches got a few cosmetic changes, and one added error check in the add hwaccel hooks patch. - Hendrik

[FFmpeg-devel] [PATCH 7/7] ffmpeg_dxva2: add hevc support

2015-01-25 Thread Hendrik Leppkes
--- ffmpeg_dxva2.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ffmpeg_dxva2.c b/ffmpeg_dxva2.c index 3c91d26..741c55b 100644 --- a/ffmpeg_dxva2.c +++ b/ffmpeg_dxva2.c @@ -52,6 +52,7 @@ DEFINE_GUID(DXVA2_ModeH264_F, 0x1b81be69,

[FFmpeg-devel] [PATCH 5/7] hevc: reindent after previous commit

2015-01-25 Thread Hendrik Leppkes
--- libavcodec/hevc.c | 38 +++--- libavcodec/hevc_refs.c | 24 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 71cb9b4..7173c10 100644 --- a/libavcodec/hevc.c +++

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 01:18:31PM +0100, Michael Niedermayer wrote: On Sun, Jan 25, 2015 at 12:15:40PM +0100, Reimar Döffinger wrote: On 25.01.2015, at 03:08, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 02:31:33AM +0100, wm4 wrote: As an experienced API

Re: [FFmpeg-devel] [PATCH] Move stream_options to avformat

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 12:15:40PM +0100, Reimar Döffinger wrote: On 25.01.2015, at 03:08, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 02:31:33AM +0100, wm4 wrote: As an experienced API user, I don't have the slightest clue what I'd do with this API, or where

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/nvenc: Fix b-frame parameter handling

2015-01-25 Thread Michael Niedermayer
On Sun, Jan 25, 2015 at 10:28:22AM +0100, Timo Rothenpieler wrote: +/* 0 is intra-only, 1 is I/P only, 2 is one B Frame, 3 two B frames, and so on. */ +ctx-encode_config.frameIntervalP = avctx-max_b_frames + 1; how can the user choose between intra only and IP ? i would

Re: [FFmpeg-devel] [PATCH] x86/sbrdsp: add ff_sbr_autocorrelate_{sse, sse3}

2015-01-25 Thread Christophe Gisquet
Hi, 2015-01-25 2:05 GMT+01:00 James Almer jamr...@gmail.com: 2 to 2.5 times faster. Signed-off-by: James Almer jamr...@gmail.com --- libavcodec/x86/sbrdsp.asm| 114 +++ Not the first time that I notice that, but memmoves are often suboptimal

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Reimar Döffinger
On Sun, Jan 25, 2015 at 06:43:54PM +0100, Michael Niedermayer wrote: On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: I don't really see anything wrong with this, however I'd rather have a compiler-based detection. I.e. if the compiler define __MINGW32__ set the host to

[FFmpeg-devel] [PATCH] tools/crypto_bench: add Camellia support

2015-01-25 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- tools/crypto_bench.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 6037ead..5e56d12 100644 --- a/tools/crypto_bench.c +++

Re: [FFmpeg-devel] Color quantization for GIF

2015-01-25 Thread Clément Bœsch
On Sun, Jan 25, 2015 at 07:55:17PM +0100, Clément Bœsch wrote: Hi folks, I've been trying to improve GIF support even more recently. This is the result: http://lucy.pkh.me/gone-nutty-current.gif → http://lucy.pkh.me/gone-nutty.gif I added more here: http://lucy.pkh.me/gif-experiment/

Re: [FFmpeg-devel] [PATCH] configure: add --build-date and --build-time options

2015-01-25 Thread Andreas Cadhalpun
Hi, On 25.01.2015 18:53, Michael Niedermayer wrote: On Sun, Jan 25, 2015 at 05:29:08PM +0100, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 5:15 PM, Reimar Döffinger reimar.doeffin...@gmx.de wrote: I vote for just removing the build date. [...] Remove it for all I care, the important part

Re: [FFmpeg-devel] [PATCH] configure: support MSYS2

2015-01-25 Thread Hendrik Leppkes
On Sun, Jan 25, 2015 at 7:44 PM, James Almer jamr...@gmail.com wrote: On 25/01/15 2:47 PM, Hendrik Leppkes wrote: On Sun, Jan 25, 2015 at 6:43 PM, Michael Niedermayer michae...@gmx.at wrote: On Sun, Jan 25, 2015 at 05:02:58PM +0100, Reimar Döffinger wrote: On Sun, Jan 25, 2015 at