Re: [libav-devel] [PATCH 2/2] applehttp: Expose the stream bitrate via metadata

2011-04-20 Thread Martin Storsjö
On Thu, 21 Apr 2011, Anton Khirnov wrote: > On Wed, 20 Apr 2011 23:08:40 +0300, Martin Storsjö wrote: > > This helps callers to intelligently switch between bitrate > > variants. > > --- > > doc/demuxers.texi |2 ++ > > libavformat/applehttp.c |3 +++ > > libavformat/version.h |

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-20 Thread Uoti Urpala
On Thu, 2011-04-21 at 06:47 +0200, Reinhard Tartler wrote: > On Wed, Apr 20, 2011 at 20:06:11 (CEST), Måns Rullgård wrote: > >> -pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" > >> +pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION" > >> "$LIBM" >

Re: [libav-devel] [PATCH 2/2] applehttp: Expose the stream bitrate via metadata

2011-04-20 Thread Anton Khirnov
On Wed, 20 Apr 2011 23:08:40 +0300, Martin Storsjö wrote: > This helps callers to intelligently switch between bitrate > variants. > --- > doc/demuxers.texi |2 ++ > libavformat/applehttp.c |3 +++ > libavformat/version.h |2 +- > 3 files changed, 6 insertions(+), 1 deletions(

Re: [libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-20 Thread Anton Khirnov
On Wed, 20 Apr 2011 16:23:11 -0400, Ronald Bultje wrote: Missing minor bump and APIChanged. -- Anton Khirnov ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-20 Thread Reinhard Tartler
On Wed, Apr 20, 2011 at 20:06:11 (CEST), Måns Rullgård wrote: > Reinhard Tartler writes: > >> This unbreaks static compilation against libav when using pkg-config, >> like mplayer2 does >> >> Taken from on a patch from "Uoti Urpal " >> http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitd

Re: [libav-devel] [PATCH 6/6] cmdutils: add OPT_INT check in parse_number_or_die()

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > > Check that the value passed for an OPT_INT option is an int, fail > otherwise. > (cherry picked from commit 584c2f1db82fbb8024ba2b6b4c48397efedcc125) > --- >  cmdutils.c |    2 ++ >  1 files changed, 2 insertions(+), 0 deletions(-) > > git

Re: [libav-devel] [PATCH 5/6] In libx264 wrapper, add -level specific option. (cherry picked from commit f92b0084c0e02b3c816a9eb234c548487acadae8)

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > --- >  libavcodec/libx264.c |   16 +--- >  1 files changed, 13 insertions(+), 3 deletions(-) > > From d8ae813a74423d62e1c6236bad9d8d5128eb95e8 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 19 Apr 2011 16:12:13 -070

Re: [libav-devel] [PATCH 4/6] Fix libx264 fastfirstpass, move apply_fastfirstpass after user customized options. (cherry picked from commit 37c0a443f9aa01fcf33215b3cde06961f1e9df5c)

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > --- >  libavcodec/libx264.c |   14 +++--- >  1 files changed, 7 insertions(+), 7 deletions(-) > > From abb44bdc8e25a75c3beaf47fd23bc9ca48490ccc Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Tue, 19 Apr 2011 15:23:36 -0700 S

Re: [libav-devel] [PATCH 3/6] In libx264 wrapper, do not set pic quality if no frame is output, avoids uninitialized reads. (cherry picked from commit 46f83e5b3c17a46fa9c86421e7b511cd00cb5d60)

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > --- >  libavcodec/libx264.c |    3 ++- >  1 files changed, 2 insertions(+), 1 deletions(-) > > From 8f0f1bbd47e38a1303cd969399d34168d15f33ca Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sat, 29 Jan 2011 17:05:42 -0800 Subject: [PA

Re: [libav-devel] [PATCH 2/6] Prefer codec specific options over global ones, allowing codec to override global options. (cherry picked from commit d319064465e148b8adb53d1ea5d38c09f987056e)

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > --- >  cmdutils.c |   79 > >  1 files changed, 42 insertions(+), 37 deletions(-) > > From 480dd6ea23b6f8f4c88e92c6cf02c49255c613d3 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier

Re: [libav-devel] [PATCH 1/6] In libx264 wrapper, add -preset and -tune options (cherry picked from commit 0140d3f0921e5cbb6ea8706acb0307f7ff57a133)

2011-04-20 Thread Alex Converse
On Wed, Apr 20, 2011 at 3:52 PM, Alex Converse wrote: > On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: >> >> --- >>  cmdutils.c           |    5 +- >>  libavcodec/libx264.c |  112 >> + >>  2 files changed, 78 insertions(+), 39 deletions(-) >

Re: [libav-devel] [PATCH 1/6] In libx264 wrapper, add -preset and -tune options (cherry picked from commit 0140d3f0921e5cbb6ea8706acb0307f7ff57a133)

2011-04-20 Thread Alex Converse
On Wed, Apr 20, 2011 at 3:40 PM, Alex Converse wrote: > > --- >  cmdutils.c           |    5 +- >  libavcodec/libx264.c |  112 + >  2 files changed, 78 insertions(+), 39 deletions(-) > Sorry all. My mailer appears to have screwed up the author infor

[libav-devel] [PATCH 3/6] In libx264 wrapper, do not set pic quality if no frame is output, avoids uninitialized reads. (cherry picked from commit 46f83e5b3c17a46fa9c86421e7b511cd00cb5d60)

2011-04-20 Thread Alex Converse
--- libavcodec/libx264.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index df4c577..82f769a 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -144,7 +144,8 @@ static int X264_frame(AVCodecContext *ctx, uint8_t

[libav-devel] [PATCH 4/6] Fix libx264 fastfirstpass, move apply_fastfirstpass after user customized options. (cherry picked from commit 37c0a443f9aa01fcf33215b3cde06961f1e9df5c)

2011-04-20 Thread Alex Converse
--- libavcodec/libx264.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 82f769a..5971b74 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -262,13 +262,6 @@ static av_cold int X264_init(AVCodecCo

[libav-devel] [PATCH 6/6] cmdutils: add OPT_INT check in parse_number_or_die()

2011-04-20 Thread Alex Converse
Check that the value passed for an OPT_INT option is an int, fail otherwise. (cherry picked from commit 584c2f1db82fbb8024ba2b6b4c48397efedcc125) --- cmdutils.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index cd4c05b..25b32ca 100644 --- a/cm

[libav-devel] [PATCH 5/6] In libx264 wrapper, add -level specific option. (cherry picked from commit f92b0084c0e02b3c816a9eb234c548487acadae8)

2011-04-20 Thread Alex Converse
--- libavcodec/libx264.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 5971b74..2d99a83 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -38,6 +38,7 @@ typedef struct X264Context { cons

[libav-devel] [PATCH 1/6] In libx264 wrapper, add -preset and -tune options (cherry picked from commit 0140d3f0921e5cbb6ea8706acb0307f7ff57a133)

2011-04-20 Thread Alex Converse
--- cmdutils.c |5 +- libavcodec/libx264.c | 112 + 2 files changed, 78 insertions(+), 39 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index f1cbd55..4aef03d 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -361,8 +361,9 @@ void set_c

[libav-devel] [PATCH 2/6] Prefer codec specific options over global ones, allowing codec to override global options. (cherry picked from commit d319064465e148b8adb53d1ea5d38c09f987056e)

2011-04-20 Thread Alex Converse
--- cmdutils.c | 79 1 files changed, 42 insertions(+), 37 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 4aef03d..cd4c05b 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -79,12 +79,8 @@ void uninit_opts(void) av_freep(&sws_

Re: [libav-devel] [PATCH 03/35] drawtext: fix chroma alpha.

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: Michael Niedermayer > > Signed-off-by: Michael Niedermayer > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_drawtext.c |    5 ++--- >  1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/vf_drawte

Re: [libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-20 Thread Luca Barbato
On 4/20/11 10:23 PM, Ronald Bultje wrote: Hi, see attached. Looks nice =) lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] [PATCH 15/35] yadif: support more than yuv420p.

2011-04-20 Thread Justin Ruggles
On 04/20/2011 04:51 PM, Ronald S. Bultje wrote: > On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: >> From: James Darnley >> >> and correctly support grey8 >> >> Signed-off-by: Anton Khirnov >> --- >> libavfilter/vf_yadif.c | 29 + >> 1 files changed, 25 inse

Re: [libav-devel] [PATCH 1/5] Check AVCodec.supported_samplerates and AVCodec.channel_layouts in avcodec_open().

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 5:09 PM, Justin Ruggles wrote: > On 04/20/2011 03:28 PM, Ronald S. Bultje wrote: >> On Wed, Apr 20, 2011 at 3:25 PM, Justin Ruggles >> wrote: >>> On 04/20/2011 03:14 PM, Ronald S. Bultje wrote: On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles wrote: > >>

Re: [libav-devel] [PATCH 1/5] Check AVCodec.supported_samplerates and AVCodec.channel_layouts in avcodec_open().

2011-04-20 Thread Justin Ruggles
On 04/20/2011 03:28 PM, Ronald S. Bultje wrote: > Hi, > > On Wed, Apr 20, 2011 at 3:25 PM, Justin Ruggles > wrote: >> On 04/20/2011 03:14 PM, Ronald S. Bultje wrote: >>> On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles >>> wrote: If the encoder has a channel_layouts list and AVCodecCon

[libav-devel] [PATCH] mov: Fix composition timestamps on movie fragments.

2011-04-20 Thread Yusuke Nakamura
This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present. --- libavformat/mov.c | 33 ++--- 1 files changed, 18 insertions(+), 15 deletions(-) diff

Re: [libav-devel] [PATCH 18/35] yadif: update copyright header.

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: Michael Niedermayer > > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_yadif.c |    1 + >  1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c > index 7685bb4..4

Re: [libav-devel] [PATCH 16/35] yadif: support 16-bit

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: James Darnley > > Fixes by Michael Niedermayer > > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_yadif.c |   73 > +++- >  1 files changed, 72 insertions(+), 1 deletions(-) You

Re: [libav-devel] [PATCH 15/35] yadif: support more than yuv420p.

2011-04-20 Thread Ronald S. Bultje
On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: James Darnley > > and correctly support grey8 > > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_yadif.c |   29 + >  1 files changed, 25 insertions(+), 4 deletions(-) OK. (I don't see the GRAY8-comm

[libav-devel] [PATCH] add CODEC_CAP_SLICE_THREADS and allow forcing slice/frame threads in FATE

2011-04-20 Thread Ronald Bultje
Hi, see attached. Ronald 0001-FATE-allow-forcing-thread-type-when-doing-threaded-f.patch Description: Binary data 0001-Introduce-slice-threads-flag.patch Description: Binary data ___ libav-devel mailing list libav-devel@libav.org https://lists.libav

Re: [libav-devel] [PATCH 19/35] yadif: align stack variables manually in x86 code.

2011-04-20 Thread Måns Rullgård
Anton Khirnov writes: > From: Michael Niedermayer > > Signed-off-by: Anton Khirnov > --- > libavfilter/x86/yadif_template.c | 32 ++-- > 1 files changed, 14 insertions(+), 18 deletions(-) > > diff --git a/libavfilter/x86/yadif_template.c > b/libavfilter/x86/yadif

Re: [libav-devel] [PATCH 21/35] scale: don't leak sws contexts.

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 12:45 PM, Anton Khirnov wrote: > From: Michael Niedermayer > > Signed-off-by: Anton Khirnov > --- >  libavfilter/vf_scale.c |    2 ++ >  1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c > index ae04802..8311

[libav-devel] [PATCH 2/2] applehttp: Expose the stream bitrate via metadata

2011-04-20 Thread Martin Storsjö
This helps callers to intelligently switch between bitrate variants. --- doc/demuxers.texi |2 ++ libavformat/applehttp.c |3 +++ libavformat/version.h |2 +- 3 files changed, 6 insertions(+), 1 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4168fc1..98f

[libav-devel] [PATCH 1/2] doc: Add some initial docs on the applehttp demuxer

2011-04-20 Thread Martin Storsjö
--- doc/demuxers.texi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index bbdde9c..4168fc1 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -64,4 +64,13 @@ Note that the pattern must not necessarily contain "%d" or

Re: [libav-devel] [PATCH 19/35] yadif: align stack variables manually in x86 code.

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:45 PM, Anton Khirnov wrote: > From: Michael Niedermayer > > Signed-off-by: Anton Khirnov > --- >  libavfilter/x86/yadif_template.c |   32 ++-- >  1 files changed, 14 insertions(+), 18 deletions(-) No. This is a hack for MS Visual C++ (s

Re: [libav-devel] [PATCH 1/2] lavc: provide the opt.h header until the next bump

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:48 PM, Anton Khirnov wrote: > On Wed, 20 Apr 2011 15:06:00 -0400, "Ronald S. Bultje" > wrote: >> On Wed, Apr 20, 2011 at 11:25 AM, Anton Khirnov wrote: >> > AVOptions were moved to libavutil only recently. >> > --- >> >  libavcodec/Makefile  |    2 +- >> >  libavc

Re: [libav-devel] [PATCH] applehttp: Expose the stream bitrate via metadata

2011-04-20 Thread Anton Khirnov
On Wed, 20 Apr 2011 20:47:11 +0300 (EEST), Martin Storsjö wrote: > On Wed, 20 Apr 2011, Ronald S. Bultje wrote: > > > On Wed, Apr 20, 2011 at 9:44 AM, Martin Storsjö wrote: > > > To add more to the explanation - currently, the info about which AVStream > > > belongs to which variant stream actu

Re: [libav-devel] [PATCH 1/2] lavc: provide the opt.h header until the next bump

2011-04-20 Thread Anton Khirnov
On Wed, 20 Apr 2011 15:06:00 -0400, "Ronald S. Bultje" wrote: > Hi, > > On Wed, Apr 20, 2011 at 11:25 AM, Anton Khirnov wrote: > > AVOptions were moved to libavutil only recently. > > --- > >  libavcodec/Makefile  |    2 +- > >  libavcodec/opt.h     |   16 > >  libavcodec/versi

[libav-devel] [PATCH 35/35] pad: make the filter parametric

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- doc/filters.texi | 57 - libavfilter/vf_pad.c | 114 ++ 2 files changed, 162 insertions(+), 9 deletions(-) diff --git a/doc/fi

[libav-devel] [PATCH 33/35] vsrc_movie: fix leak in request_frame()

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Also set movie->picref to NULL, in order to avoid a crash in uninit() when movie->picref is unreffed again and it was already freed. Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavfilter/vsrc_movie.c |2 ++ 1 files changed, 2 insertions(+), 0

[libav-devel] [PATCH 34/35] vsrc_movie: add key_frame and pict_type.

2011-04-20 Thread Anton Khirnov
From: royger Signed-off-by: Roger Pau Monné Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vsrc_movie.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index 92eb0ec..88220bc 100644

[libav-devel] [PATCH 20/35] scale: implement interlaced scaling.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Fixes issue2632 if interl=1 is used or the automatic interlace detection is enabled and works. This has the advantage compared to the patch in issue2632 that it causes no speed loss and it also works when scaling is used. The disadvantage is that interlacing autodetect

[libav-devel] [PATCH 32/35] lavfi: add key_frame and pict_type to AVFilterBufferRefVideo.

2011-04-20 Thread Anton Khirnov
From: Roger Pau Monné Signed-off-by: Anton Khirnov --- cmdutils.c|2 ++ doc/APIchanges|3 +++ libavfilter/avfilter.h|4 +++- libavfilter/vsrc_buffer.c |4 4 files changed, 12 insertions(+), 1 deletions(-) diff --git a/cmdutils.c b/cmdutils.c

[libav-devel] [PATCH 27/35] ffmpeg.c: restructure video filter implementation.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer This fixes several bugs like multiple outputs and -aspect mixed with -vf Signed-off-by: Anton Khirnov --- ffmpeg.c | 128 ++--- 1 files changed, 71 insertions(+), 57 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.

[libav-devel] [PATCH 28/35] vsrc_buffer: support changing pixel formats.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Fix issue2217 Signed-off-by: Anton Khirnov --- ffmpeg.c |5 ++- libavfilter/vsrc_buffer.c | 53 +++- libavfilter/vsrc_buffer.h |4 +++ 3 files changed, 58 insertions(+), 4 deletions(-) diff --git a/ff

[libav-devel] [PATCH 29/35] vsrc_buffer: tweak error message in init()

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Change: Expected 7 arguments, but only %d found in '%s'\n to: Expected 7 arguments, but %d found in '%s'\n as the user may provide more than 7 arguments, in that case the error is not misleading. Signed-off-by: Anton Khirnov --- libavfilter/vsrc_buffer.c |2 +- 1 fi

[libav-devel] [PATCH 30/35] vsrc_buffer.h: add multiple inclusion guards

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavfilter/vsrc_buffer.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index 8d4ef2f..0746f7a 100644 --- a/libavfilter/v

[libav-devel] [PATCH 31/35] vsrc_buffer.h: add file doxy

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavfilter/vsrc_buffer.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/libavfilter/vsrc_buffer.h b/libavfilter/vsrc_buffer.h index 0746f7a..ebf3c33 100644 --- a/libavfilter/v

[libav-devel] [PATCH 25/35] lavfi: add fieldorder filter

2011-04-20 Thread Anton Khirnov
From: Mark Himsley Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- Changelog |1 + doc/filters.texi| 33 ++ libavfilter/Makefile|1 + libavfilter/allfilters.c|1 + libavfilter/avfilter.h |2 +- libavfilter/vf

[libav-devel] [PATCH 24/35] scale: set evaluated value for the "out_w" and "out_h" constants

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini The constant values were never set, thus the evaluation of expressions referencing those constants were resulting in an error. Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavfilter/vf_scale.c |4 ++-- 1 files changed, 2 insertions(+), 2 deleti

[libav-devel] [PATCH 26/35] vsrc_buffer: add sample_aspect_ratio fields to arguments.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer This fixes aspect handling in ffmpeg. This is based on a patch by Baptiste. Signed-off-by: Anton Khirnov --- doc/APIchanges|3 +++ doc/filters.texi | 11 --- ffmpeg.c | 18 -- libavfilter/avfilter.

[libav-devel] [PATCH 22/35] scale: make the filter parametric

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Make the filter accept parametric expressions for the output video size. Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- doc/filters.texi | 60 --- libavfilter/vf_scale.c | 93 +++

[libav-devel] [PATCH 19/35] yadif: align stack variables manually in x86 code.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/x86/yadif_template.c | 32 ++-- 1 files changed, 14 insertions(+), 18 deletions(-) diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c index 962a7c7..8b069dc 100644

[libav-devel] [PATCH 13/35] graphparser: add a NULL check on the argument passed to strstr

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Fix crash in create_filter() which occurrs if a scale filter with no args is provided. Signed-off-by: Anton Khirnov --- libavfilter/graphparser.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser

[libav-devel] [PATCH 23/35] scale: fix computation for the "hsub" and "vsub" constants

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini Signed-off-by: Stefano Sabatini Signed-off-by: Anton Khirnov --- libavfilter/vf_scale.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index c987912..77de116 100644 --- a/libavfilter/vf_scale.c

[libav-devel] [PATCH 16/35] yadif: support 16-bit

2011-04-20 Thread Anton Khirnov
From: James Darnley Fixes by Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_yadif.c | 73 +++- 1 files changed, 72 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 59b5ac7..851e

[libav-devel] [PATCH 06/35] drawtext: factor draw_glyphs.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c | 68 +++-- 1 files changed, 41 insertions(+), 27 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c i

[libav-devel] [PATCH 15/35] yadif: support more than yuv420p.

2011-04-20 Thread Anton Khirnov
From: James Darnley and correctly support grey8 Signed-off-by: Anton Khirnov --- libavfilter/vf_yadif.c | 29 + 1 files changed, 25 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 0396fe4..59b5ac7 100644 --- a/liba

[libav-devel] [PATCH 14/35] yadif: Fix assert() failure

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_yadif.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 7a488d6..0396fe4 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@

[libav-devel] [PATCH 18/35] yadif: update copyright header.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_yadif.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 7685bb4..42a7219 100644 --- a/libavfilter/vf_yadif.c +++ b/libavfilter/vf_yadif.c @@ -

[libav-devel] [PATCH 12/35] setdar: prefer "sar" over "par" in log info message

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini This is more consistent with the terminology adopted by the aspect filter names. Signed-off-by: Anton Khirnov --- libavfilter/vf_aspect.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_aspect.c b/libavfilter/vf_aspect.c index 8f5

[libav-devel] [PATCH 04/35] drawtext: get rid of divisions in the inner loop.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 5eb14df..fa6b7fd 100644 --

[libav-devel] [PATCH 09/35] fade: fix draw_slice() check on fade->factor value

2011-04-20 Thread Anton Khirnov
From: Mark Himsley draw_slice() checks that the fade factor is < 65536 and only calculates the fade if so. But the fade factor is clipped in end_frame() by av_clip_uint16() to 65535, so the fade is calculated for every frame. This patch alters the check so that it compares with < 65535 (UINT16_M

[libav-devel] [PATCH 21/35] scale: don't leak sws contexts.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_scale.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index ae04802..831196c 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@

[libav-devel] [PATCH 17/35] yadif: factorise the C filtering.

2011-04-20 Thread Anton Khirnov
From: James Darnley Signed-off-by: Anton Khirnov --- libavfilter/vf_yadif.c | 150 +++ 1 files changed, 48 insertions(+), 102 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index 851e1e8..7685bb4 100644 --- a/libavfilter/v

[libav-devel] [PATCH 08/35] fade: make draw_slice() chroma check against planes 1 and 2

2011-04-20 Thread Anton Khirnov
From: Mark Himsley draw_slice() checks that planes 0 and 1 of AVFilterBufferRef's data are not NULL before manipulating planes 1 and 2. This patch makes the check against planes 1 and 2. More senseful and possibly more robust. Signed-off-by: Anton Khirnov --- libavfilter/vf_fade.c |2 +- 1

[libav-devel] [PATCH 01/35] lavfi: Port drawtext filter by Hemanth from the libavfilter soc repo

2011-04-20 Thread Anton Khirnov
From: Stefano Sabatini With the following additions: * support to anti-aliased glyph rendering * support to UTF-8 text and Unicode chars rendering * support for RGB packed formats * fix minor errors and typos in the filter description * extend/clarify examples in the filter description Signed-of

[libav-devel] [PATCH 10/35] crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

2011-04-20 Thread Anton Khirnov
From: Peter Ross Signed-off-by: Anton Khirnov --- libavfilter/vf_crop.c |1 + tests/ref/lavfi/pixfmts_crop_le |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 105c390..9f71b9e 100644 --- a/libavfilter/vf_

[libav-devel] [PATCH 07/35] drawtext: add shadow support.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c | 39 +-- 1 files changed, 33 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 01

[libav-devel] [PATCH 11/35] hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

2011-04-20 Thread Anton Khirnov
From: Peter Ross Signed-off-by: Anton Khirnov --- libavfilter/vf_hflip.c |1 + tests/ref/lavfi/pixfmts_hflip_le |2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c index a232d26..fb8911f 100644 --- a/libavfilter

[libav-devel] [PATCH 03/35] drawtext: fix chroma alpha.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index 9fc0341..5eb14df 100644 --- a/libavfi

[libav-devel] [PATCH 02/35] drawtext: simplify chroma blend.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index e216592..9fc0341 100644 --- a/libavfil

[libav-devel] [PATCH] FFmpeg lavfi cherrypicks

2011-04-20 Thread Anton Khirnov
Hi, this patch series contains all the relevant changes to lavfi not present in Libav. Note that patch 28 "vsrc_buffer: support changing pixel formats" breaks the lavf-pixfmt test in Libav (but not in ffmpeg) for some reason. Please comment. -- Anton Khirnov

[libav-devel] [PATCH 05/35] drawtext: fix and optimize yuv blend.

2011-04-20 Thread Anton Khirnov
From: Michael Niedermayer Signed-off-by: Michael Niedermayer Signed-off-by: Anton Khirnov --- libavfilter/vf_drawtext.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index fa6b7fd..7b503f5 100644 --- a/li

Re: [libav-devel] [PATCH 1/5] Check AVCodec.supported_samplerates and AVCodec.channel_layouts in avcodec_open().

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 3:25 PM, Justin Ruggles wrote: > On 04/20/2011 03:14 PM, Ronald S. Bultje wrote: >> On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles >> wrote: >>> >>> If the encoder has a channel_layouts list and AVCodecContext.channel_layout >>> is 0, then only print a warning and le

Re: [libav-devel] [PATCH 1/5] Check AVCodec.supported_samplerates and AVCodec.channel_layouts in avcodec_open().

2011-04-20 Thread Justin Ruggles
On 04/20/2011 03:14 PM, Ronald S. Bultje wrote: > Hi, > > On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles > wrote: >> >> If the encoder has a channel_layouts list and AVCodecContext.channel_layout >> is 0, then only print a warning and let the encoder decide how to handle it. >> --- >> libavcod

Re: [libav-devel] [PATCH 5/5] ac3enc: remove check for mismatching channels and channel_layout

2011-04-20 Thread Ronald S. Bultje
Hi, On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles wrote: > --- >  libavcodec/ac3enc.c |    2 -- >  1 files changed, 0 insertions(+), 2 deletions(-) OK of course. Ronald ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailm

Re: [libav-devel] [PATCH 1/5] Check AVCodec.supported_samplerates and AVCodec.channel_layouts in avcodec_open().

2011-04-20 Thread Ronald S. Bultje
Hi, On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles wrote: > > If the encoder has a channel_layouts list and AVCodecContext.channel_layout > is 0, then only print a warning and let the encoder decide how to handle it. > --- >  libavcodec/utils.c |   28 +++- >  1 files chan

Re: [libav-devel] [PATCH 3/5] If AVCodecContext.channel_layout and AVCodecContext.channels are both non-zero, check to make sure they do not contradict eachother.

2011-04-20 Thread Ronald S. Bultje
Hi, On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles wrote: > --- >  libavcodec/utils.c |    7 +++ >  1 files changed, 7 insertions(+), 0 deletions(-) OK. Ronald ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/lis

Re: [libav-devel] [PATCH 4/5] If AVCodecContext.channels is 0 and AVCodecContext.channel_layout is non-zero, set channels based on channel_layout.

2011-04-20 Thread Ronald S. Bultje
Hi, On Tue, Apr 19, 2011 at 7:09 PM, Justin Ruggles wrote: > > This allows the user to set only channel_layout and not channels. > --- >  libavcodec/utils.c |    2 ++ >  1 files changed, 2 insertions(+), 0 deletions(-) Looks good. Ronald ___ libav-dev

Re: [libav-devel] [PATCH 1/2] lavc: provide the opt.h header until the next bump

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 11:25 AM, Anton Khirnov wrote: > AVOptions were moved to libavutil only recently. > --- >  libavcodec/Makefile  |    2 +- >  libavcodec/opt.h     |   16 >  libavcodec/version.h |    3 +++ >  3 files changed, 20 insertions(+), 1 deletions(-) >  create m

Re: [libav-devel] [PATCH] Add some debug log messages to AAC extradata

2011-04-20 Thread Justin Ruggles
On 04/20/2011 02:47 PM, Aℓex Converse wrote: > On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles > wrote: >> > On 04/20/2011 02:26 PM, Alex Converse wrote: >> > >>> >> --- >>> >> libavcodec/aacdec.c | 10 +- >>> >> 1 files changed, 9 insertions(+), 1 deletions(-) >>> >> >>> >> >>> >> >>

Re: [libav-devel] [PATCH] Add some debug log messages to AAC extradata

2011-04-20 Thread Aℓex Converse
On Wed, Apr 20, 2011 at 11:39 AM, Justin Ruggles wrote: > On 04/20/2011 02:26 PM, Alex Converse wrote: > >> --- >>  libavcodec/aacdec.c |   10 +- >>  1 files changed, 9 insertions(+), 1 deletions(-) >> >> >> >> 0002-Add-some-Debug-log-messages-to-AAC-extradata.patch >> >> >> diff --git a/l

Re: [libav-devel] [PATCH] Add some debug log messages to AAC extradata

2011-04-20 Thread Justin Ruggles
On 04/20/2011 02:26 PM, Alex Converse wrote: > --- > libavcodec/aacdec.c | 10 +- > 1 files changed, 9 insertions(+), 1 deletions(-) > > > > 0002-Add-some-Debug-log-messages-to-AAC-extradata.patch > > > diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c > index c9761a1..3ec274f

Re: [libav-devel] [PATCH] Makefile: Include dependencies for test tools, too

2011-04-20 Thread Måns Rullgård
Martin Storsjö writes: > This makes seek_test to be rebuilt when its dependencies > has changed. The changes to the dependencies didn't usually matter > in practice, but the introduction of side data in AVPacket required > a recompilation. > --- > Makefile |1 + > 1 files changed, 1 insertio

[libav-devel] [PATCH] Makefile: Include dependencies for test tools, too

2011-04-20 Thread Martin Storsjö
This makes seek_test to be rebuilt when its dependencies has changed. The changes to the dependencies didn't usually matter in practice, but the introduction of side data in AVPacket required a recompilation. --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Mak

Re: [libav-devel] [PATCH] Fix mov debug (u)int64_t format strings.

2011-04-20 Thread Måns Rullgård
Alex Converse writes: > --- > libavformat/mov.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 76dc8a1..65fcf19 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -588,7 +588,7 @@ static int mov_read

[libav-devel] [PATCH] Add some debug log messages to AAC extradata

2011-04-20 Thread Alex Converse
--- libavcodec/aacdec.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index c9761a1..3ec274f 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -79,7 +79,6 @@ Parametric Stereo. */ - #include

[libav-devel] [PATCH] Fix mov debug (u)int64_t format strings.

2011-04-20 Thread Alex Converse
--- libavformat/mov.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 76dc8a1..65fcf19 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -588,7 +588,7 @@ static int mov_read_moov(MOVContext *c, AVIOContext *pb, MOVAt

Re: [libav-devel] [PATCH 1/2] rtp: Rename the open/close functions to alloc/free

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 2:04 PM, Martin Storsjö wrote: > This avoids clashes if we internally want to override the global > open function. > --- >  libavformat/rdt.c          |    4 ++-- >  libavformat/rtpdec.h       |    4 ++-- >  libavformat/rtpdec_amr.c   |    8 >  libavformat/rtp

Re: [libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-20 Thread Måns Rullgård
Reinhard Tartler writes: > This unbreaks static compilation against libav when using pkg-config, > like mplayer2 does > > Taken from on a patch from "Uoti Urpal " > http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitdiff/65e612b5943fe79a6aaf83c0f48a1e4a0f739ffc?hp=0d0f1bc11ec7c8f81a61c1f

[libav-devel] [PATCH 1/2] rtp: Rename the open/close functions to alloc/free

2011-04-20 Thread Martin Storsjö
This avoids clashes if we internally want to override the global open function. --- libavformat/rdt.c |4 ++-- libavformat/rtpdec.h |4 ++-- libavformat/rtpdec_amr.c |8 libavformat/rtpdec_asf.c |4 ++-- libavformat/rtpdec_h264.c |4 ++-- libavforma

[libav-devel] [PATCH 1/2] Add a protocol handler for AES CBC decryption with PKCS7 padding

2011-04-20 Thread Martin Storsjö
This can later be extended to support other AES bit sizes, encryption, other crypto algorithms, reading the key from a URL, etc. In order to use it, the key and initialization vector has to be passed via AVOptions. Since such options can't be passed to protocols from the command line, the protocol

Re: [libav-devel] [PATCH 1/2] rtp: Add an rtp_ prefix to the dynamic payload handler open/close functions

2011-04-20 Thread Martin Storsjö
On Wed, 20 Apr 2011, Luca Barbato wrote: > On 4/20/11 3:24 PM, Martin Storsjö wrote: > > This avoids clashes if we internally want to override the global > > open function. > > what about open -> alloc, close -> free ? That might make sense, and would be shorter than the ones Ronald suggested,

Re: [libav-devel] [PATCH] applehttp: Expose the stream bitrate via metadata

2011-04-20 Thread Martin Storsjö
On Wed, 20 Apr 2011, Ronald S. Bultje wrote: > On Wed, Apr 20, 2011 at 9:44 AM, Martin Storsjö wrote: > > To add more to the explanation - currently, the info about which AVStream > > belongs to which variant stream actually is available, it's stored in > > AVStream->id, where the int value says

Re: [libav-devel] [PATCH] Refactor av_log_ask_for_sample() some more.

2011-04-20 Thread Vladimir Pantelic
Ronald S. Bultje wrote: Hi, On Wed, Apr 20, 2011 at 10:22 AM, Diego Biurrun wrote: Right now the function accepts an optional message parameter to print. Split it into two variants instead, one without and one with message parameter that is not optional. --- libavcodec/anm.c |

Re: [libav-devel] [PATCH 1/2] Add a protocol handler for AES CBC decryption with PKCS7 padding

2011-04-20 Thread Anton Khirnov
On Wed, 20 Apr 2011 16:27:58 +0300, Martin Storsjö wrote: > This can later be extended to support other AES bit sizes, > encryption, other crypto algorithms, reading the key from a URL, etc. > > In order to use it, the key and initialization vector has to be > passed via AVOptions. Since such opt

Re: [libav-devel] [PATCH] flic: do not set audio sample format. that is done by the decoder.

2011-04-20 Thread Justin Ruggles
On 04/20/2011 03:29 AM, Tomas Härdin wrote: > Justin Ruggles skrev 2011-04-20 01:17: >> diff --git a/libavformat/flic.c b/libavformat/flic.c >> index fcdf4c8..ad39d66 100644 >> --- a/libavformat/flic.c >> +++ b/libavformat/flic.c >> @@ -158,7 +158,6 @@ static int flic_read_header(AVFormatContext *

Re: [libav-devel] [PATCH] Refactor av_log_ask_for_sample() some more.

2011-04-20 Thread Ronald S. Bultje
Hi, On Wed, Apr 20, 2011 at 10:22 AM, Diego Biurrun wrote: > Right now the function accepts an optional message parameter to print. > Split it into two variants instead, one without and one with message > parameter that is not optional. > --- >  libavcodec/anm.c           |    6 +++--- >  libavco

[libav-devel] [PATCH] Add missing inter-library dependencies to generated .pc files

2011-04-20 Thread Reinhard Tartler
This unbreaks static compilation against libav when using pkg-config, like mplayer2 does Taken from on a patch from "Uoti Urpal " http://repo.or.cz/w/FFMpeg-mirror/mplayer-patches.git/commitdiff/65e612b5943fe79a6aaf83c0f48a1e4a0f739ffc?hp=0d0f1bc11ec7c8f81a61c1fa4a6bc0048ad10f30 --- configure |

[libav-devel] [PATCH] Use av_log_ask_for_sample() and friends where appropriate.

2011-04-20 Thread Diego Biurrun
--- libavcodec/atrac3.c |3 ++- libavcodec/cook.c| 21 ++--- libavcodec/loco.c|3 ++- libavcodec/truemotion1.c |5 +++-- libavcodec/tta.c |6 -- libavcodec/v210x.c |2 +- libavcodec/vqavideo.c|1 + libavcodec/wnv1

Re: [libav-devel] [PATCH 1/2] rtp: Add an rtp_ prefix to the dynamic payload handler open/close functions

2011-04-20 Thread Luca Barbato
On 4/20/11 3:24 PM, Martin Storsjö wrote: This avoids clashes if we internally want to override the global open function. what about open -> alloc, close -> free ? lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/

  1   2   >