Re: [FFmpeg-devel] [PATCH 4/4] ffserver_config: dont pass pointer to enum as pointer to int

2014-10-31 Thread Michael Niedermayer
On Sat, Nov 01, 2014 at 03:00:55AM +0100, Lukasz Marek wrote: > Signed-off-by: Lukasz Marek > --- > ffserver_config.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness the

[FFmpeg-devel] [PATCH 4/4] ffserver_config: dont pass pointer to enum as pointer to int

2014-10-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- ffserver_config.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ffserver_config.c b/ffserver_config.c index c694934..045b791 100644 --- a/ffserver_config.c +++ b/ffserver_config.c @@ -541,8 +541,11 @@ static int ffserver_apply_stream_co

[FFmpeg-devel] [PATCH 3/4] ffserver_config: improve error handling

2014-10-31 Thread Lukasz Marek
Replace atoi with more advanced parsing routine. Set maximum port value to 65535 (not 65536). Other checks. Signed-off-by: Lukasz Marek --- ffserver_config.c | 48 +++- 1 file changed, 27 insertions(+), 21 deletions(-) diff --git a/ffserver_config.c b

[FFmpeg-devel] [PATCH 2/4] ffserver_config: drop presets support

2014-10-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- ffserver_config.c | 80 +-- ffserver_config.h | 2 -- 2 files changed, 1 insertion(+), 81 deletions(-) diff --git a/ffserver_config.c b/ffserver_config.c index f11db03..6989bd8 100644 --- a/ffserver_config.c +++

[FFmpeg-devel] [PATCH 1/4] ffserver_config: drop requirement video size being multiple of 16

2014-10-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- ffserver_config.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ffserver_config.c b/ffserver_config.c index d589ff2..f11db03 100644 --- a/ffserver_config.c +++ b/ffserver_config.c @@ -819,8 +819,6 @@ static int ffserver_parse_config_stream(FFServerConfig *c

[FFmpeg-devel] [PATCH] configure: add -Werror=declaration-after-statement for gcc

2014-10-31 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 40d1f07..3322779 100755 --- a/configure +++ b/configure @@ -5227,6 +5227,7 @@ elif enabled gcc; then check_cflags -Werror=missing-prototypes check_cflags -Werror=ret

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-31 Thread Michael Niedermayer
On Sat, Nov 01, 2014 at 04:27:24AM +0530, arwa arif wrote: > On Fri, Oct 31, 2014 at 6:31 PM, Stefano Sabatini > wrote: > > > On date Friday 2014-10-31 01:36:46 +0530, arwa arif encoded: > > [...] > > > > > From b9b56b594f856fef8b113b283df2d2045e8357f7 Mon Sep 17 00:00:00 2001 > > > From: Arwa Ar

Re: [FFmpeg-devel] [PATCH] lavd/alsa: implement get_device_list callbacks

2014-10-31 Thread Lukasz Marek
On 27.10.2014 23:12, Lukasz Marek wrote: On 26.10.2014 23:27, Michael Niedermayer wrote: +/* ported from alsa-utils/aplay.c */ +int ff_alsa_get_device_list(AVDeviceInfoList *device_list, snd_pcm_stream_t stream_type) +{ +int ret = 0; +void **hints, **n; +char *name = NULL, *descr = N

Re: [FFmpeg-devel] [PATCH 4/4] ffserver_config: postpone codec context creation

2014-10-31 Thread Lukasz Marek
On 25.10.2014 19:53, Lukasz Marek wrote: On 24.10.2014 00:18, Reynaldo H. Verdejo Pinochet wrote: Hi Lukasz +static int ffserver_apply_stream_config(AVCodecContext *enc, const AVDictionary *conf, AVDictionary **opts) +{ +static const char *error_message = "Cannot parse '%s' as number for %s

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-31 Thread arwa arif
On Fri, Oct 31, 2014 at 6:31 PM, Stefano Sabatini wrote: > On date Friday 2014-10-31 01:36:46 +0530, arwa arif encoded: > [...] > > > From b9b56b594f856fef8b113b283df2d2045e8357f7 Mon Sep 17 00:00:00 2001 > > From: Arwa Arif > > Date: Thu, 30 Oct 2014 22:06:20 +0530 > > Subject: [PATCH] [PATCH]l

[FFmpeg-devel] [PATCH] doc/codecs: Better documentation for the libavcodec bitexact flag

2014-10-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/codecs.texi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/codecs.texi b/doc/codecs.texi index 2bb6059..5cf2dc0 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -71,7 +71,7 @@ Force low delay. @item global_header Place

Re: [FFmpeg-devel] [PATCH] psy_snr:Psychoacoustic SNR for audio files

2014-10-31 Thread Claudio Freire
I notice you have tons of c++-isms you should check: On Thu, Oct 30, 2014 at 3:03 PM, Senjuti Kundu wrote: > +int i = 0; > +float* maskingfunc = malloc(tempsize*sizeof(float)); > +maskingfunc[tempsize/2] = exp(-db_attenuation*log(10)); Split declaration and initialization, as explain

Re: [FFmpeg-devel] "OPW Qualification Task: Enable daemon mode for FFserver"

2014-10-31 Thread Michael Niedermayer
On Fri, Oct 31, 2014 at 11:32:37PM +0530, Binathi Bingi wrote: > Hello > > I tried to include the changes specified by Nicholas. > We can switch between both Daemon and NoDaemon mode, using the option in > ffserver.conf file. > > From 018f8c1e1acf062a9e6a3ec94f671d574ec4b712 Mon Sep 17 00:00:00 2

Re: [FFmpeg-devel] Discuss: Improved hardware acceleration support

2014-10-31 Thread wm4
On Fri, 31 Oct 2014 19:06:28 +0100 Hendrik Leppkes wrote: > On Fri, Oct 31, 2014 at 5:59 PM, wm4 wrote: > > > On Thu, 30 Oct 2014 20:31:17 -0500 > > Rodger Combs wrote: > > > > > libavcodec currently has support for hardware-accelerated decoding, but > > no support for encoding, and libavcodec

Re: [FFmpeg-devel] Discuss: Improved hardware acceleration support

2014-10-31 Thread Hendrik Leppkes
On Fri, Oct 31, 2014 at 5:59 PM, wm4 wrote: > On Thu, 30 Oct 2014 20:31:17 -0500 > Rodger Combs wrote: > > > libavcodec currently has support for hardware-accelerated decoding, but > no support for encoding, and libavcodec+libavfilter+ffmpeg provide no > support for a decode->filter->encode pipe

Re: [FFmpeg-devel] "OPW Qualification Task: Enable daemon mode for FFserver"

2014-10-31 Thread Binathi Bingi
Hello I tried to include the changes specified by Nicholas. We can switch between both Daemon and NoDaemon mode, using the option in ffserver.conf file. >From 018f8c1e1acf062a9e6a3ec94f671d574ec4b712 Mon Sep 17 00:00:00 2001 From: Binathi Date: Fri, 31 Oct 2014 23:27:20 +0530 Subject: [PATCH] En

Re: [FFmpeg-devel] [PATCH] psy_snr:Psychoacoustic SNR for audio files

2014-10-31 Thread Michael Niedermayer
On Thu, Oct 30, 2014 at 11:33:51PM +0530, Senjuti Kundu wrote: > Implemented an SNR for audio files which takes into a account the > psychoacoustic masking. This results in an SNR which is closer to how humans > percieve sound, compared to tiny_psnr which directly compares audio signals > > Sign

Re: [FFmpeg-devel] Discuss: Improved hardware acceleration support

2014-10-31 Thread wm4
On Thu, 30 Oct 2014 20:31:17 -0500 Rodger Combs wrote: > libavcodec currently has support for hardware-accelerated decoding, but no > support for encoding, and libavcodec+libavfilter+ffmpeg provide no support > for a decode->filter->encode pipeline that doesn't involve copying buffers > back a

[FFmpeg-devel] [PATCH 2/2] avcodec/libwebpenc: support "P" frames in webp animations

2014-10-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/libwebpenc.c | 80 +-- 1 file changed, 77 insertions(+), 3 deletions(-) diff --git a/libavcodec/libwebpenc.c b/libavcodec/libwebpenc.c index 4cb8dc3..c7f9784 100644 --- a/libavcodec/libwebpenc.c +++ b

[FFmpeg-devel] [PATCH 1/2] avformat: add webp muxer

2014-10-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/Makefile |1 + libavformat/allformats.c |1 + libavformat/webpenc.c| 156 ++ 3 files changed, 158 insertions(+) create mode 100644 libavformat/webpenc.c diff --git a/libavformat/Makef

Re: [FFmpeg-devel] Fwd: "OPW Qualification Task: Validate MLP Bitstream

2014-10-31 Thread Ramiro Polla
Greeshma, 2014-10-31 15:41 GMT+01:00 greeshma : > I have first added experimental encoder mlpenc.c from > https://github.com/ramiropolla/mlpenc an updated changes according to the > recent commits in FFmpeg That code is supposed to be sent for review after the end of OPW, not before =) The quali

Re: [FFmpeg-devel] Fwd: "OPW Qualification Task: Validate MLP Bitstream

2014-10-31 Thread Nicolas George
Le decadi 10 brumaire, an CCXXIII, greeshma a écrit : > diff --git a/ffmpeg/libavcodec/mlpenc.c b/ffmpeg/libavcodec/mlpenc.c That is better, but still not good enough. http://ffmpeg.org/pipermail/ffmpeg-devel/2014-October/164770.html These requirements are not gratuitous: git can take a patch fr

[FFmpeg-devel] Fwd: "OPW Qualification Task: Validate MLP Bitstream

2014-10-31 Thread greeshma
Hi, I have first added experimental encoder mlpenc.c from https://github.com/ramiropolla/mlpenc an updated changes according to the recent commits in FFmpeg >From 0fb7dcf1f126bd137e2b2025c5cd6cff4af65801 Mon Sep 17 00:00:00 2001 From: Greeshma Balabhadra Date: Thu, 31 Oct 2014 06:30:00 +0530 Sub

Re: [FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread Nicolas George
Le decadi 10 brumaire, an CCXXIII, Marcus Johnson a écrit : > That's not going to work either, you need to use git to create a patch Yes. > file, upload that file to dropbox or whatever Please, patches should be sent to the mailing-list directly. Even the crappiest of user agents can send attach

Re: [FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread Marcus Johnson
On Fri, Oct 31, 2014 at 10:09 AM, greeshma wrote: > > https://docs.google.com/document/d/1oBy9AoGzJHR4UcvuogYa8sfFGUK96lcgF3qRF4HrIa4/edit?usp=sharing ​That's not going to work either, you need to use git to create a patch file, upload that file to dropbox or whatever, and paste a link to it, O

Re: [FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread Nicolas George
Le decadi 10 brumaire, an CCXXIII, greeshma a écrit : > I can view it perfectly, You can look how it appears to others: http://ffmpeg.org/pipermail/ffmpeg-devel/2014-October/164764.html > but anyways ,please go through the following google doc. > https://docs.google.com/document/d/1oBy9AoGzJHR4U

Re: [FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread greeshma
Hi, I can view it perfectly, but anyways ,please go through the following google doc. https://docs.google.com/document/d/1oBy9AoGzJHR4UcvuogYa8sfFGUK96lcgF3qRF4HrIa4/edit?usp=sharing Greeshma Balabhadra On Fri, Oct 31, 2014 at 7:01 PM, Nicolas George wrote: > Le decadi 10 brumaire, an CCXXIII

Re: [FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread Nicolas George
Le decadi 10 brumaire, an CCXXIII, greeshma a écrit : > @@ -23,13 +23,14 @@ #include "libavutil/crc.h" #include > "libavutil/avstring.h" #include "mlp.h" -#include "dsputil.h" +#include " > mlpdsp.h" #include "lpc.h" #define MAJOR_HEADER_INTERVAL 16 #define > MLP_MIN_LPC_ORDER 1 #define ML

[FFmpeg-devel] "OPW Qualification Task: Validate MLP Bitstream "

2014-10-31 Thread greeshma
Hi, I have first added experimental encoder mlpenc.c from https://github.com/ramiropolla/mlpenc an updated changes according to the recent commits in FFmpeg >From 0fb7dcf1f126bd137e2b2025c5cd6cff4af65801 Mon Sep 17 00:00:00 2001 From: Greeshma Balabhadra > Date: Thu, 31 Oct 2014 06:30:00 +0530 Su

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-31 Thread Stefano Sabatini
On date Friday 2014-10-31 01:36:46 +0530, arwa arif encoded: [...] > From b9b56b594f856fef8b113b283df2d2045e8357f7 Mon Sep 17 00:00:00 2001 > From: Arwa Arif > Date: Thu, 30 Oct 2014 22:06:20 +0530 > Subject: [PATCH] [PATCH]lvafi: add xbr filter typo: lavfi: > > --- > doc/filters.texi

Re: [FFmpeg-devel] [patch 1/3]Fix bug for POWER LE: /libavcodec/ppc/me_cmp.c

2014-10-31 Thread Michael Niedermayer
On Fri, Oct 31, 2014 at 01:03:58PM +0100, Michael Niedermayer wrote: > On Fri, Oct 31, 2014 at 06:45:51PM +0800, rongyan wrote: > > Hi, > > There are 3 patches to fix bugs for POWER8 little endian. I will send 3 > > patches in 3 different email. This is the first, functions sad8_altivec() > > sse

Re: [FFmpeg-devel] [patch 1/3]Fix bug for POWER LE: /libavcodec/ppc/me_cmp.c

2014-10-31 Thread Michael Niedermayer
On Fri, Oct 31, 2014 at 06:45:51PM +0800, rongyan wrote: > Hi, > There are 3 patches to fix bugs for POWER8 little endian. I will send 3 > patches in 3 different email. This is the first, functions sad8_altivec() > sse8_altivec(), hadamard8_diff8x8_altivec(), hadamard8_diff16x8_altivec() are > f

Re: [FFmpeg-devel] FFserver bug?

2014-10-31 Thread Lukasz Marek
On 31 October 2014 03:19, Michael Niedermayer wrote: > On Fri, Oct 31, 2014 at 02:14:29AM +0100, Sevan Gelici wrote: > > Hi, > > > > Two days ago i updated my linux system and also ffmpeg was updated. When > i > > started to stream it was not working anymore. I am using ffserver. i > > determined

[FFmpeg-devel] [patch 3/3]Fix bug for POWER LE: /libswscale/ppc/swscale_altivec.c

2014-10-31 Thread rongyan
Hi, There are 3 patches to fix bugs for POWER8 little endian. I will send 3 patches in 3 different email. This is the third, functions hScale_altivec_real(), yuv2planeX_16_altivec(), and yuv2planeX_8() are fixed. The fate test result after merge these 3 patches can be found on website by searc

[FFmpeg-devel] [patch 2/3]Fix bug for POWER LE: /libavcodec/ppc/hpeldsp_altivec.c

2014-10-31 Thread rongyan
Hi, There are 3 patches to fix bugs for POWER8 little endian. I will send 3 patches in 3 different email. This is the second, functions The fate test result after merge these 3 patches can be found on website by searching "ibmcrl", also attached in the below to facilitate the review. The pas

[FFmpeg-devel] [patch 1/3]Fix bug for POWER LE: /libavcodec/ppc/me_cmp.c

2014-10-31 Thread rongyan
Hi, There are 3 patches to fix bugs for POWER8 little endian. I will send 3 patches in 3 different email. This is the first, functions sad8_altivec() sse8_altivec(), hadamard8_diff8x8_altivec(), hadamard8_diff16x8_altivec() are fixed. The fate test result after merge these 3 patches can be foun

Re: [FFmpeg-devel] [PATCH] libxcb-xhsape in configure

2014-10-31 Thread Carl Eugen Hoyos
Hi! On Thursday 30 October 2014 09:26:16 pm Horváth Balázs wrote: > This is my attempt at fixing the broken build because xcbgrab > uses xcb_shape_rectangles, but doesn't link xcb-shape. Do you consider the attached patch a sufficient fix? Or does it have an advantage for users to disable xcb-sh