[FFmpeg-devel] [PATCH] ffmpeg_vdpau: Ignore decoder's max supported level

2015-08-15 Thread Philip Langdale
The h264 decoder reports 4.1 as its maximum level, but it will decode 5.1 4K video just fine. In practice, the published level limits in vdpau do not communicate anything that's actually useful. Signed-off-by: Philip Langdale --- ffmpeg_vdpau.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

Re: [FFmpeg-devel] [PATCH 5/6] Postpone API-incompatible changes until the next bump

2015-08-15 Thread Michael Niedermayer
On Sun, Aug 16, 2015 at 05:27:12AM +0200, Michael Niedermayer wrote: > On Sat, Aug 08, 2015 at 01:37:16PM +0200, Andreas Cadhalpun wrote: > > Signed-off-by: Andreas Cadhalpun > [...] > > > #ifndef FF_API_NOCONST_GET_NAME > > -#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR

Re: [FFmpeg-devel] [PATCH 5/6] Postpone API-incompatible changes until the next bump

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 08, 2015 at 01:37:16PM +0200, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun [...] > #ifndef FF_API_NOCONST_GET_NAME > -#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR < 6) > +#define FF_API_NOCONST_GET_NAME (LIBAVFILTER_VERSION_MAJOR <

Re: [FFmpeg-devel] [PATCH 12/13] buffersink: use sizeof(void *) because AVFilterBufferRef is deprecated

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 08, 2015 at 01:33:14PM +0200, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavfilter/buffersink.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) should be ok, if sizeof(type)is preferred over sizeof(somevar) [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH 03/13] avfilter: add missing FF_API_AVFILTERBUFFER guards

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 08, 2015 at 01:32:01PM +0200, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavfilter/audio.c | 4 > libavfilter/avfilter.h | 6 +- > libavfilter/buffersink.c | 4 > libavfilter/buffersrc.h | 3 +++ > libavfilter/internal.h | 2 ++ > 5 f

Re: [FFmpeg-devel] [PATCH 11/13] ffmpeg: use av_buffersrc_add_frame instead of av_buffersrc_add_ref

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 08, 2015 at 01:33:06PM +0200, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > ffmpeg.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) probably ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of in

Re: [FFmpeg-devel] [PATCH] avfilter/WIP: add selectivecolor filter

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 15, 2015 at 07:02:11PM +0200, Clément Bœsch wrote: > --- > Only K adjustment remains to fix before it's ready for a first upstream > version. Help figuring out is still welcome. Otherwise, since this is very > close to the final version, review is welcome as well. [...] > +static int fi

Re: [FFmpeg-devel] [PATCH] examples/avio_list_dir: add move and delete methods

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 15, 2015 at 06:02:32PM +0200, Mariusz Szczepańczyk wrote: > On Sat, Aug 15, 2015 at 3:56 AM, Michael Niedermayer > wrote: > > > On Sat, Aug 15, 2015 at 02:01:20AM +0200, Mariusz Szczepańczyk wrote: > > > --- > > > doc/examples/avio_list_dir.c | 92 > >

Re: [FFmpeg-devel] [PATCH] videotoolbox: allow to enable the async decoding.

2015-08-15 Thread Clément Bœsch
On Sun, Aug 09, 2015 at 01:19:04PM +0200, Hendrik Leppkes wrote: [...] > Isnt there a way to put a "handle" to the async frame into the AVFrame > somehow, which can then be used by the user code to get it from VT? > Yes that would be great; the special AVVideotoolboxAsyncFrame is kind of annoying

Re: [FFmpeg-devel] [PATCH] avfilter: add allrgb

2015-08-15 Thread Clément Bœsch
On Sun, Aug 16, 2015 at 01:21:53AM +0200, Clément Bœsch wrote: [...] > OBJS-$(CONFIG_ALLYUV_FILTER) += vsrc_testsrc.o > +OBJS-$(CONFIG_ALLRGB_FILTER) += vsrc_testsrc.o locally reordered [...] > +static void allrgb_fill_picture(AVFilterContext *ctx, AVFrame *frame)

[FFmpeg-devel] [PATCH] avfilter: add allrgb

2015-08-15 Thread Clément Bœsch
--- TODO: bump lavfi version --- Changelog | 2 +- doc/filters.texi | 5 ++- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vsrc_testsrc.c | 84 ++ 5 files changed, 91 insertions(+), 2 delet

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/samidec: use ff_htmlmarkup_to_ass()

2015-08-15 Thread Clément Bœsch
On Sat, Aug 08, 2015 at 09:24:03PM -0700, Yayoi Ukai wrote: > On Sat, Aug 8, 2015 at 8:23 AM, Clément Bœsch wrote: > > On Fri, Aug 07, 2015 at 11:03:29PM -0700, Yayoi wrote: > >> --- > >> libavcodec/samidec.c| 59 > >> + > >> tests/ref/fate/sub

[FFmpeg-devel] [PATCH] avfilter: add vectorscope filter

2015-08-15 Thread Paul B Mahol
Hi, patch attached. 0001-avfilter-add-video-vectorscope-filter.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/strdec: factor out HTML parsing code

2015-08-15 Thread Clément Bœsch
On Sat, Aug 08, 2015 at 12:52:04PM -0700, Yayoi Ukai wrote: [...] > >> -while (dst->len >= 2 && !strncmp(&dst->str[dst->len - 2], "\\N", 2)) > >> -dst->len -= 2; > >> -dst->str[dst->len] = 0; > >> -rstrip_spaces_buf(dst); > > > > why did you completely remove this chunk? > > It

Re: [FFmpeg-devel] [PATCH] avfilter/sine: support expression in the number of output samples

2015-08-15 Thread Nicolas George
L'octidi 28 thermidor, an CCXXIII, Clement Boesch a écrit : > The expression is evaluated once per frame, so very low overhead. > > But for the record, I tried the following: >0.10% ffmpeg_g ffmpeg_g [.] av_expr_eval Indeed, I should have remembered that there was quite a few mallocs and

Re: [FFmpeg-devel] [PATCH] avfilter/sine: support expression in the number of output samples

2015-08-15 Thread Clément Bœsch
On Sat, Aug 15, 2015 at 07:32:13PM +0200, Nicolas George wrote: > L'octidi 28 thermidor, an CCXXIII, Clement Boesch a écrit : > > --- > > Seems a bit tricky to do it in asetnsamples so... Might be relevant to do > > the > > same in aevalsrc as well. > > How does it affect speed? One of the two pu

Re: [FFmpeg-devel] [PATCH] avfilter/sine: support expression in the number of output samples

2015-08-15 Thread Nicolas George
L'octidi 28 thermidor, an CCXXIII, Clement Boesch a écrit : > --- > Seems a bit tricky to do it in asetnsamples so... Might be relevant to do the > same in aevalsrc as well. How does it affect speed? One of the two purposes of sine is to be fast (the other is to be bit-exact), and I am a bit afrai

[FFmpeg-devel] [PATCH] avfilter/sine: support expression in the number of output samples

2015-08-15 Thread Clément Bœsch
--- Seems a bit tricky to do it in asetnsamples so... Might be relevant to do the same in aevalsrc as well. --- doc/filters.texi| 27 ++- libavfilter/asrc_sine.c | 48 +--- 2 files changed, 71 insertions(+), 4 deletions(-)

[FFmpeg-devel] [PATCH] avfilter/WIP: add selectivecolor filter

2015-08-15 Thread Clément Bœsch
--- Only K adjustment remains to fix before it's ready for a first upstream version. Help figuring out is still welcome. Otherwise, since this is very close to the final version, review is welcome as well. --- doc/filters.texi| 67 ++ libavfilter/Makefile| 1 + l

[FFmpeg-devel] [PATCH] avfilter: add scale2ref filter

2015-08-15 Thread Michael Niedermayer
From: Michael Niedermayer TODO: docs This filter can be used to scale one stream to match another or based on another, usefull to scale subtitles or other things to be overlayed Signed-off-by: Michael Niedermayer --- configure|2 ++ libavfilter/Makefile |1 + libav

Re: [FFmpeg-devel] [PATCH] examples/avio_list_dir: add move and delete methods

2015-08-15 Thread Mariusz Szczepańczyk
On Sat, Aug 15, 2015 at 3:56 AM, Michael Niedermayer wrote: > On Sat, Aug 15, 2015 at 02:01:20AM +0200, Mariusz Szczepańczyk wrote: > > --- > > doc/examples/avio_list_dir.c | 92 > > > 1 file changed, 76 insertions(+), 16 deletions(-) > > > > diff --g

Re: [FFmpeg-devel] [PATCH 2/3] RFC: Should be squashed in the previous patch if OK

2015-08-15 Thread compn
On Fri, 14 Aug 2015 22:46:12 +0200 Alexander Strasser wrote: > Signed-off-by: Alexander Strasser > --- > libavutil/parseutils.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/parseutils.h b/libavutil/parseutils.h > index b04aa89..cff5123 100644 > --- a/libav

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

2015-08-15 Thread Michael Niedermayer
On Sat, Aug 15, 2015 at 12:17:27AM -0300, Pedro Arthur wrote: > Hi, > Since the last patch I was trying to improve the performance regression. > First I tried to process horizontal lines in batches, processing > (horizontal_filter_size + n) > lines at a time. I also tried to remove branch code from