Re: [libav-devel] [PATCH] oggdec: fix streaming with continuous audio streams (issue2337)

2011-04-07 Thread Clément Bœsch
From b686906d82d36b14236ce677bdf881f48a67bc02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= ubi...@gmail.com Date: Tue, 5 Apr 2011 00:29:01 +0200 Subject: [PATCH] oggdec: fix streaming with continuous audio streams (issue2337) New update following Luca's review on

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-07 Thread Kostya
On Thu, Apr 07, 2011 at 06:54:29AM +0200, Janne Grunau wrote: On Wed, Apr 06, 2011 at 10:26:08PM +0200, Kostya Shishkov wrote: This adds side information to AVPacket --- libavcodec/avcodec.h | 21 + libavcodec/avpacket.c | 39

Re: [libav-devel] [PATCH 3/3] Make demuxers and codecs use AVPacket for passing new palette

2011-04-07 Thread Kostya
On Wed, Apr 06, 2011 at 10:27:41PM +0200, Kostya Shishkov wrote: Refreshed version for av_new_packet_side_data() - av_packet_new_size_data() rename. From 46cc7e3047b196dc616d58ffeca2d69731627aa9 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov kostya.shish...@gmail.com Date: Thu, 7 Apr 2011

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-07 Thread Luca Barbato
On 04/07/2011 06:54 AM, Janne Grunau wrote: On Wed, Apr 06, 2011 at 10:26:08PM +0200, Kostya Shishkov wrote: This adds side information to AVPacket --- libavcodec/avcodec.h | 21 + libavcodec/avpacket.c | 39 +++

Re: [libav-devel] [PATCH] oggdec: fix streaming with continuous audio streams (issue2337)

2011-04-07 Thread Luca Barbato
On 04/07/2011 10:23 AM, Clément Bœsch wrote: --- libavformat/oggdec.c | 16 libavformat/oggdec.h |1 + 2 files changed, 17 insertions(+), 0 deletions(-) Looks fine, I hope there aren't ogg files that break because somebody decided putting streams around would be fun.

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-07 Thread Kostya
On Thu, Apr 07, 2011 at 09:53:11AM +0200, Luca Barbato wrote: On 04/07/2011 06:54 AM, Janne Grunau wrote: On Wed, Apr 06, 2011 at 10:26:08PM +0200, Kostya Shishkov wrote: This adds side information to AVPacket --- libavcodec/avcodec.h | 21 +

Re: [libav-devel] [PATCH 1/2] lavf: update AVStream.nb_frames when muxing.

2011-04-07 Thread Anton Khirnov
On Wed, Apr 06, 2011 at 05:33:32PM -0400, Ronald S. Bultje wrote: Hi, On Tue, Mar 29, 2011 at 1:38 PM, Anton Khirnov an...@khirnov.net wrote: On Tue, Mar 29, 2011 at 10:09:35AM -0700, Ronald S. Bultje wrote: Hi, On Tue, Mar 29, 2011 at 9:55 AM, Anton Khirnov an...@khirnov.net wrote:

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-07 Thread Luca Barbato
On 04/07/2011 10:40 AM, Kostya wrote: Nothing (except for mail size limit in mailer) prevents you from sending such rename patch. Will do soon =) lu -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero ___ libav-devel mailing list

[libav-devel] [ANNOUNCEMENT] vo-aacenc 0.1.0 and vo-amrwbenc 0.1.0

2011-04-07 Thread Martin Storsjö
Hi, When Google released the code for Android Gingerbread in December, they released source code for two new Apache 2.0 licensed audio encoders provided by VisualOn, for AAC and AMR-WB. These encoders are now wrapped up in standalone encoder libraries, vo-aacenc and vo-amrwbenc, just as for

[libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Martin Storsjö
--- Changelog |1 + configure |6 ++ libavcodec/Makefile |1 + libavcodec/allcodecs.c|1 + libavcodec/libvo-aacenc.c | 132 + 5 files changed, 141 insertions(+), 0 deletions(-) create mode

[libav-devel] [PATCH 2/2] Add support for AMR-WB encoding via libvo-amrwbenc

2011-04-07 Thread Martin Storsjö
The wrapper code is based on the libamr wrapper removed in SVN rev 19365. --- Changelog |1 + configure |6 ++ doc/general.texi|3 +- libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libvo-amrwbenc.c

Re: [libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Martin Storsjö
On Thu, 7 Apr 2011, Jindřich Makovička wrote: On Thu, Apr 7, 2011 at 11:18, Martin Storsjö mar...@martin.st wrote: +    memset(params, 0, sizeof(params)); +    params.sampleRate = avctx-sample_rate; +    params.bitRate = avctx-bit_rate; +    params.nChannels = avctx-channels; +    

[libav-devel] [PATCH] proto: include os_support.h in network.h

2011-04-07 Thread Luca Barbato
Fix compilation on systems without poll() --- libavformat/network.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/network.h b/libavformat/network.h index 6943bc6..84a8f53 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -22,6 +22,7 @@

Re: [libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Alex Converse
On Thu, Apr 7, 2011 at 2:18 AM, Martin Storsjö mar...@martin.st wrote: ---  Changelog                 |    1 +  configure                 |    6 ++  libavcodec/Makefile       |    1 +  libavcodec/allcodecs.c    |    1 +  libavcodec/libvo-aacenc.c |  132

Re: [libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Martin Storsjö
On Thu, 7 Apr 2011, Alex Converse wrote: On Thu, Apr 7, 2011 at 2:18 AM, Martin Storsjö mar...@martin.st wrote: ---  Changelog                 |    1 +  configure                 |    6 ++  libavcodec/Makefile       |    1 +  libavcodec/allcodecs.c    |    1 +  

Re: [libav-devel] [PATCH] configure: fail if an element is explicitely configured but dependencies are not enabled

2011-04-07 Thread Måns Rullgård
Reinhard Tartler siret...@tauware.de writes: On Sun, Apr 03, 2011 at 15:42:43 (CEST), Måns Rullgård wrote: There is nothing confusing at all. Two simple rules: 1. Everything is enabled by default. 2. External libs must be explicitly enabled. Thus far, nobody has complained about this.

[libav-devel] [PATCH 2/2] avio: deprecate av_protocol_next().

2011-04-07 Thread Anton Khirnov
--- cmdutils.c | 20 libavformat/avio.c |2 ++ libavformat/avio.h |4 +++- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmdutils.c b/cmdutils.c index 6901f56..cc10b48 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -653,20 +653,16 @@ void

[libav-devel] [PATCH 1/2] avio: add a function for iterating though protocol names.

2011-04-07 Thread Anton Khirnov
--- libavformat/avio.c | 10 ++ libavformat/avio.h | 13 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 1d40da6..0ea66b3 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -57,6 +57,16 @@ URLProtocol

Re: [libav-devel] [PATCH] proto: include os_support.h in network.h

2011-04-07 Thread Martin Storsjö
On Thu, 7 Apr 2011, Luca Barbato wrote: Fix compilation on systems without poll() --- libavformat/network.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/network.h b/libavformat/network.h index 6943bc6..84a8f53 100644 --- a/libavformat/network.h

[libav-devel] [PATCH] Last bits of avio cleanup

2011-04-07 Thread Anton Khirnov
Hi, with those patches, the avio cleanup is finally complete. I'm not very sure about url_exist. It's used in ffmpeg, ffserver and img2, but there were some problems with it [1]. There were patches from Stefano adding a replacement [2] [3] [4], but they didn't get much attention. Maybe we could

[libav-devel] [PATCH 1/6] avio: deprecate the typedef for URLInterruptCB

2011-04-07 Thread Anton Khirnov
There's no particular reason to pollute the namespace with a typedef for it. --- libavformat/avio.c |4 ++-- libavformat/avio.h |6 ++ libavformat/url.h |2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index

Re: [libav-devel] [PATCH 4/6] avio: move two ff_udp_* functions from avio_internal to url.h

2011-04-07 Thread Luca Barbato
On 04/07/2011 09:16 PM, Anton Khirnov wrote: --- libavformat/avio_internal.h |4 libavformat/url.h |4 2 files changed, 4 insertions(+), 4 deletions(-) Ok. -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero

Re: [libav-devel] [rfc] Protocol API

2011-04-07 Thread Anton Khirnov
On Thu, Apr 07, 2011 at 10:25:12PM +0200, Luca Barbato wrote: The old URLFoo api is now private, so we can try to shape it up aiming to have it ready and usable for the 0.8 (that means mid or end summer). I am not entirely convinced that protocols should be public at all. Lavf is primarily a

Re: [libav-devel] [PATCH 2/6] avio: avio_ prefix for url_exist().

2011-04-07 Thread Anton Khirnov
On Thu, Apr 07, 2011 at 04:34:39PM -0400, Ronald S. Bultje wrote: Hi, On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c           |    2 +-  ffserver.c         |    4 ++--  libavformat/avio.c |    6 +-  libavformat/avio.h |    3 ++-  

Re: [libav-devel] [PATCH 3/6] asfdec: remove a forgotten declaration of nonexistent function

2011-04-07 Thread Diego Biurrun
On Thu, Apr 07, 2011 at 09:16:20PM +0200, Anton Khirnov wrote: --- libavformat/asfdec.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) OK Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 2/2] Add support for AMR-WB encoding via libvo-amrwbenc

2011-04-07 Thread Diego Biurrun
On Thu, Apr 07, 2011 at 12:45:13PM +0300, Martin Storsjö wrote: --- /dev/null +++ b/libavcodec/libvo-amrwbenc.c @@ -0,0 +1,126 @@ + +#include avcodec.h +#include vo-amrwbenc/enc_if.h Place system headers before local headers, separate by an empty line. Diego

Re: [libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Diego Biurrun
On Thu, Apr 07, 2011 at 12:18:53PM +0300, Martin Storsjö wrote: --- Changelog |1 + configure |6 ++ libavcodec/Makefile |1 + libavcodec/allcodecs.c|1 + libavcodec/libvo-aacenc.c | 132

Re: [libav-devel] [PATCH 1/2] Add an AAC encoder by using the libvo-aacenc library

2011-04-07 Thread Martin Storsjö
On Fri, 8 Apr 2011, Diego Biurrun wrote: On Thu, Apr 07, 2011 at 12:18:53PM +0300, Martin Storsjö wrote: --- Changelog |1 + configure |6 ++ libavcodec/Makefile |1 + libavcodec/allcodecs.c|1 + libavcodec/libvo-aacenc.c |

Re: [libav-devel] [PATCH 2/2] Add support for AMR-WB encoding via libvo-amrwbenc

2011-04-07 Thread Martin Storsjö
On Fri, 8 Apr 2011, Diego Biurrun wrote: On Thu, Apr 07, 2011 at 12:45:13PM +0300, Martin Storsjö wrote: --- /dev/null +++ b/libavcodec/libvo-amrwbenc.c @@ -0,0 +1,126 @@ + +#include avcodec.h +#include vo-amrwbenc/enc_if.h Place system headers before local headers, separate by

Re: [libav-devel] [PATCH 1/3] introduce side information in AVPacket

2011-04-07 Thread Diego Biurrun
On Thu, Apr 07, 2011 at 10:28:25AM +0200, Kostya wrote: --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1054,6 +1054,14 @@ typedef struct AVPacket { int size; +/** + * Additional packet data that may be provided by container. If present by the container Diego

[libav-devel] [PATCH] Experimental DCA encoder

2011-04-07 Thread Benjamin Larsson
MvH Benjamin Larsson From 72e6371e0c98e344275173452cec98940a33ef39 Mon Sep 17 00:00:00 2001 From: Alexander E. Patrakov patra...@gmail.com Date: Fri, 8 Apr 2011 01:33:21 +0200 Subject: [PATCH] Experimental DCA encoder --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |2 +-

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-07 Thread rukhsana afroz
On Wed, Apr 6, 2011 at 9:24 AM, Michael Niedermayer michae...@gmx.atwrote: I suspect the If statement is there as the implementation only supports cblk_style==0 the others simply are not implemented Do you think you can implement them? Hi all, I have submitted my proposal on GSoC this

Re: [libav-devel] [FFmpeg-devel] GSoC project (JPEG 2000)

2011-04-07 Thread rukhsana afroz
On Wed, Apr 6, 2011 at 9:24 AM, Michael Niedermayer michae...@gmx.atwrote: I suspect the If statement is there as the implementation only supports cblk_style==0 the others simply are not implemented Do you think you can implement them? Hi all, I have submitted my proposal on GSoC this

Re: [libav-devel] [PATCH 2/6] avio: avio_ prefix for url_exist().

2011-04-07 Thread Ronald S. Bultje
Hi, On Thu, Apr 7, 2011 at 4:40 PM, Anton Khirnov an...@khirnov.net wrote: On Thu, Apr 07, 2011 at 04:34:39PM -0400, Ronald S. Bultje wrote: On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  ffmpeg.c           |    2 +-  ffserver.c         |    4 ++--  

Re: [libav-devel] [PATCH] Experimental DCA encoder

2011-04-07 Thread Ronald S. Bultje
Hi, 2011/4/7 Benjamin Larsson ba...@ludd.ltu.se: +static inline int32_t mul32(int32_t a, int32_t b) +{ +/* on =i686, gcc compiles this into a single imull instruction */ +int64_t r = (int64_t)a * b; +/* round the result before truncating - improves accuracy */ +return (r +

Re: [libav-devel] [PATCH 2/2] add MicroDVD muxer and demuxer

2011-04-07 Thread Ronald S. Bultje
Hi, On Thu, Apr 7, 2011 at 1:01 AM, Alexander Strange astra...@ithinksw.com wrote: On Apr 6, 2011, at 5:44 PM, Ronald S. Bultje wrote: On Tue, Apr 5, 2011 at 3:08 PM, Luca Barbato lu_z...@gentoo.org wrote: +    if (buffer[0] !(res = av_new_packet(pkt, len))) { +        memcpy(pkt-data,

Re: [libav-devel] [PATCH 5/6] avio: make URLContext internal.

2011-04-07 Thread Ronald S. Bultje
Hi, On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  ffserver.c                   |    6 ++--  libavformat/applehttp.c      |    2 +-  libavformat/applehttpproto.c |   10 +++---  libavformat/avio.c           |   76 +-  

Re: [libav-devel] [PATCH 6/6] avio: make URLProtocol internal.

2011-04-07 Thread Ronald S. Bultje
Hi, On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  libavformat/allformats.c     |    2 +-  libavformat/applehttpproto.c |    2 +-  libavformat/avio.c           |   26 +-  libavformat/avio.h           |    6 +-  libavformat/concat.c    

Re: [libav-devel] [PATCH 2/6] avio: avio_ prefix for url_exist().

2011-04-07 Thread Anton Khirnov
On Thu, Apr 07, 2011 at 09:50:28PM -0400, Ronald S. Bultje wrote: Hi, On Thu, Apr 7, 2011 at 4:40 PM, Anton Khirnov an...@khirnov.net wrote: On Thu, Apr 07, 2011 at 04:34:39PM -0400, Ronald S. Bultje wrote: On Thu, Apr 7, 2011 at 3:16 PM, Anton Khirnov an...@khirnov.net wrote: ---  

[libav-devel] [PATCH] lavf: use designated initializers for all protocols

2011-04-07 Thread Anton Khirnov
This is more readable and makes it easier to reorder URLProtocol members. --- libavformat/applehttpproto.c | 12 ++--- libavformat/concat.c | 11 ++--- libavformat/file.c | 20 +- libavformat/gopher.c | 11 ++--- libavformat/http.c | 16