[FFmpeg-devel] [PATCH] x86/flacdsp: add SSE2 and AVX decorrelate functions

2014-11-03 Thread James Almer
Two to four times faster depending on instruction set, block size and channel count. Signed-off-by: James Almer --- Now also with 16 bits indep4 and indep6. libavcodec/arm/flacdsp_init_arm.c | 2 +- libavcodec/flacdec.c | 6 +- libavcodec/flacdsp.c | 6 +- libav

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

2014-11-03 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() yuv2planeX_8() are fixed. The fate test result after merge these 3 patches can be found on website by

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

2014-11-03 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 ff_put_pixels16_altivec() put_no_rnd_pixels16_xy2_altivec() put_no_rnd_pixels8_xy2_altivec() avg_pixels8_altivec() avg_pixels8_xy2_altivec()

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

2014-11-03 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 hadamard8_diff8x8_altivec()hadamard8_diff16x8_altivec() sad16_x2_altivec() sad16_y2_altivec() sad16_xy2_altivec() sad16_altivec() sad8

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: add scan_all_pmts option

2014-11-03 Thread Timothy Gu
On Nov 3, 2014 4:59 PM, "Michael Niedermayer" wrote: > > This allows selecting if the demuxer should consider all streams to be > found after the first PMT and add further streams during decoding or if it rather > should scan all that are within the analyze-duration and other limits > > Fixes Tick

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

2014-11-03 Thread Reynaldo H. Verdejo Pinochet
Hi On 11/03/2014 04:09 PM, Binathi Bingi wrote: > Hello, > > Inside the child process, I closed the file descriptor and then reopened > and redirected them using dup2() and later closed the opened file. I am not > sure if I understood and used the functionality of dup2() in the right > sense. >

[FFmpeg-devel] [PATCH] avformat/mpegts: add scan_all_pmts option

2014-11-03 Thread Michael Niedermayer
This allows selecting if the demuxer should consider all streams to be found after the first PMT and add further streams during decoding or if it rather should scan all that are within the analyze-duration and other limits Fixes Ticket3762 Signed-off-by: Michael Niedermayer --- libavformat/mpe

Re: [FFmpeg-devel] [PATCH 3/3] idet improvements: add repeated field detection

2014-11-03 Thread Kevin Mitchell
rebase and update to use av_rescale. oops didn't know that was there. From 24023583a75e5f120058802a247a41ea0508aa05 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sun, 2 Nov 2014 04:49:34 -0800 Subject: [PATCH] avfilter/vf_idet: add a repeated field detection This can be useful for determini

Re: [FFmpeg-devel] [PATCH] avformat/udp: UDP-Lite (RFC 3828) support added

2014-11-03 Thread Thomas Volkert
On 03.11.2014 23:02, Kieran Kunhya wrote: Out of interest, does UDP-lite have any practical applications? i.e. do you actually ever receive packets which have corruption as opposed to packet loss. That depends on your used layer 2 protocol (implementation). ___

Re: [FFmpeg-devel] [PATCH] avformat/udp: UDP-Lite (RFC 3828) support added

2014-11-03 Thread Kieran Kunhya
On 3 November 2014 14:35, Michael Niedermayer wrote: > On Mon, Nov 03, 2014 at 09:35:16AM +0100, Thomas Volkert wrote: >> From: Thomas Volkert >> >> --- >> Changelog| 1 + >> configure| 3 +++ >> libavformat/allformats.c | 1 + >> libavformat/udp.c| 55

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Ronald S. Bultje
Hi, On Mon, Nov 3, 2014 at 3:03 PM, Michael Niedermayer wrote: > On Mon, Nov 03, 2014 at 02:01:01PM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Mon, Nov 3, 2014 at 12:46 PM, Michael Niedermayer > > wrote: > > > > > On Mon, Nov 03, 2014 at 05:25:40PM +, Carl Eugen Hoyos wrote: > > > >

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 02:01:01PM -0500, Ronald S. Bultje wrote: > Hi, > > On Mon, Nov 3, 2014 at 12:46 PM, Michael Niedermayer > wrote: > > > On Mon, Nov 03, 2014 at 05:25:40PM +, Carl Eugen Hoyos wrote: > > > Reimar Döffinger gmx.de> writes: > > > > > > > Mainly I do not like it though s

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

2014-11-03 Thread Binathi Bingi
Hello, Inside the child process, I closed the file descriptor and then reopened and redirected them using dup2() and later closed the opened file. I am not sure if I understood and used the functionality of dup2() in the right sense. Regards, Binathi On Sat, Nov 1, 2014 at 10:18 PM, Lukasz Marek

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Ronald S. Bultje
Hi, On Mon, Nov 3, 2014 at 12:46 PM, Michael Niedermayer wrote: > On Mon, Nov 03, 2014 at 05:25:40PM +, Carl Eugen Hoyos wrote: > > Reimar Döffinger gmx.de> writes: > > > > > Mainly I do not like it though since it means every > > > distribution needs to add a special case in the build > >

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

2014-11-03 Thread arwa arif
Okay. I would try to complete it by tomorrow. On Mon, Nov 3, 2014 at 8:02 PM, Stefano Sabatini wrote: > On date Monday 2014-11-03 12:09:50 +0530, arwa arif encoded: > > I mailed Sergio (Hyllian) and this is his message - > > > > "You can look at this thread: > > > > http://www.libretro.com/forum

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpenc: add quality option

2014-11-03 Thread Michael Niedermayer
On Sat, Nov 01, 2014 at 08:44:30PM +0100, Michael Niedermayer wrote: > previously quality could only be set through qscale/global_quality but the > scale > was inverted. Using a separate option avoids the confusion from qscale working > backward. > > Signed-off-by: Michael Niedermayer > --- > l

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

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 10:01:11AM +0100, Benoit Fouet wrote: > > > - Mail original - > > Signed-off-by: Michael Niedermayer > > --- > > doc/codecs.texi |4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/doc/codecs.texi b/doc/codecs.texi > > index 2bb6

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 05:25:40PM +, Carl Eugen Hoyos wrote: > Reimar Döffinger gmx.de> writes: > > > Mainly I do not like it though since it means every > > distribution needs to add a special case in the build > > instructions. > > A warning could be printed if asm is disabled on x32.

Re: [FFmpeg-devel] [PATCH] [RFC] avformat: use "genpts" option for output file.

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 03:21:33PM +0100, Benoit Fouet wrote: > When "-fflags +genpts" is used for output file, use dts as pts. > > Signed-off-by: Benoit Fouet > --- > libavformat/mux.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/mux.c b/libavformat/mux.c > index 5e4

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Carl Eugen Hoyos
Reimar Döffinger gmx.de> writes: > Mainly I do not like it though since it means every > distribution needs to add a special case in the build > instructions. A warning could be printed if asm is disabled on x32. Carl Eugen ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Reimar Döffinger
On 03.11.2014, at 17:36, "Ronald S. Bultje" wrote: > Hi, > > On Mon, Nov 3, 2014 at 7:02 AM, Nicolas George wrote: > >> Le duodi 12 brumaire, an CCXXIII, Reimar Döffinger a écrit : >>> Configures it as x86_64 with assembler disabled. >> >> If x32 were to become relatively common, i.e. for exam

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Ronald S. Bultje
Hi, On Mon, Nov 3, 2014 at 7:02 AM, Nicolas George wrote: > Le duodi 12 brumaire, an CCXXIII, Reimar Döffinger a écrit : > > Configures it as x86_64 with assembler disabled. > > If x32 were to become relatively common, i.e. for example if one of the > major Linux distros were to make a specific

Re: [FFmpeg-devel] [PATCH 2/3] idet improvements: add reset_count feature

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 06:45:41AM -0800, Kevin Mitchell wrote: > I got rid of the macros, and changed the precision to 2**20 (the > inconsistency in the final statistics was due to overflow because > PRECISION was too high). Now it should be small enough that it would > take 78hrs of 60fps to over

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpenc: add quality option

2014-11-03 Thread James Almer
On 03/11/14 1:11 PM, Clément Bœsch wrote: > On Sat, Nov 01, 2014 at 08:44:30PM +0100, Michael Niedermayer wrote: >> previously quality could only be set through qscale/global_quality but the >> scale >> was inverted. Using a separate option avoids the confusion from qscale >> working >> backward.

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpenc: add quality option

2014-11-03 Thread Nicolas George
Le tridi 13 brumaire, an CCXXIII, Clement Boesch a écrit : > Can't we use "vpx_quality" or something? it sounds like a very generic > option name... If several codecs use "quality" for a target quality value using a codec-specific scale, I think it is fine. It could work the same for libvorbis (og

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpenc: add quality option

2014-11-03 Thread Clément Bœsch
On Sat, Nov 01, 2014 at 08:44:30PM +0100, Michael Niedermayer wrote: > previously quality could only be set through qscale/global_quality but the > scale > was inverted. Using a separate option avoids the confusion from qscale working > backward. > > Signed-off-by: Michael Niedermayer > --- > l

Re: [FFmpeg-devel] [PATCH 3/3] idet improvements: add repeated field detection

2014-11-03 Thread Kevin Mitchell
updated From 8a5e529815160edaf5ddb6f7ee3660542012f968 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Sun, 2 Nov 2014 04:49:34 -0800 Subject: [PATCH 2/2] avfilter/vf_idet: add a repeated field detection This can be useful for determining telecine. --- doc/filters.texi | 19 +

Re: [FFmpeg-devel] [PATCH 2/3] idet improvements: add reset_count feature

2014-11-03 Thread Kevin Mitchell
I got rid of the macros, and changed the precision to 2**20 (the inconsistency in the final statistics was due to overflow because PRECISION was too high). Now it should be small enough that it would take 78hrs of 60fps to overflow. It also now separately keeps track of the absolute total and log t

Re: [FFmpeg-devel] [PATCH] avformat/udp: UDP-Lite (RFC 3828) support added

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 09:35:16AM +0100, Thomas Volkert wrote: > From: Thomas Volkert > > --- > Changelog| 1 + > configure| 3 +++ > libavformat/allformats.c | 1 + > libavformat/udp.c| 55 > +++- > libavfo

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

2014-11-03 Thread Stefano Sabatini
On date Monday 2014-11-03 12:09:50 +0530, arwa arif encoded: > I mailed Sergio (Hyllian) and this is his message - > > "You can look at this thread: > > http://www.libretro.com/forums/viewtopic.php?f=6&t=134 > > And there are some c/c++ implementations out there like this: > > https://github.co

Re: [FFmpeg-devel] [PATCH] [RFC] avformat: use "genpts" option for output file.

2014-11-03 Thread Benoit Fouet
Forgot to mention that this is a possible fix for #1150 and #1598... - Mail original - > When "-fflags +genpts" is used for output file, use dts as pts. > > Signed-off-by: Benoit Fouet > --- > libavformat/mux.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavformat/mux

[FFmpeg-devel] [PATCH] [RFC] avformat: use "genpts" option for output file.

2014-11-03 Thread Benoit Fouet
When "-fflags +genpts" is used for output file, use dts as pts. Signed-off-by: Benoit Fouet --- libavformat/mux.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mux.c b/libavformat/mux.c index 5e45bd8..1d42451 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -884,6 +

Re: [FFmpeg-devel] [PATCH] configure: add xcb cflags and extralibs to cflags and extralibs.

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 11:04:25AM +0100, Benoit Fouet wrote: > Replace xcb_event by xcb, as the former is no more used and the latter > is needed on configurations where only xcb is available, and not > libxcb_shm and/or libxcb_xfixes. > > Signed-off-by: Benoit Fouet > --- > configure | 4 ++--

Re: [FFmpeg-devel] [PATCH 2/2] [RFC]lavf/ffm: update with more options.

2014-11-03 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 01:05:53PM +0100, Lukasz Marek wrote: > On 3 November 2014 01:31, Michael Niedermayer wrote: > > > On Sun, Nov 02, 2014 at 07:19:14PM +0100, Lukasz Marek wrote: > > > > > > shouldnt all these values be checked to be within the allowed ranges > > for the corresponding AVOpt

Re: [FFmpeg-devel] [PATCH 2/3] idet improvements: add reset_count feature

2014-11-03 Thread Michael Niedermayer
On Sun, Nov 02, 2014 at 09:38:17PM -0800, Kevin Mitchell wrote: > Ok, I fixed the logic by removing round() and added an integer power > function to replace pow() > doc/filters.texi |5 ++ > libavfilter/version.h |2 - > libavfilter/vf_idet.c | 93 > +++

Re: [FFmpeg-devel] [PATCH 2/2] [RFC]lavf/ffm: update with more options.

2014-11-03 Thread Lukasz Marek
On 3 November 2014 01:31, Michael Niedermayer wrote: > On Sun, Nov 02, 2014 at 07:19:14PM +0100, Lukasz Marek wrote: > > > shouldnt all these values be checked to be within the allowed ranges > for the corresponding AVOptions? > > being able to set so many field so arbitrarily could be usefull to

Re: [FFmpeg-devel] [PATCH] configure: Hack to allow compilation for x32.

2014-11-03 Thread Nicolas George
Le duodi 12 brumaire, an CCXXIII, Reimar Döffinger a écrit : > Configures it as x86_64 with assembler disabled. If x32 were to become relatively common, i.e. for example if one of the major Linux distros were to make a specific x32 release where this is the default compiler mode, it may become a p

[FFmpeg-devel] [PATCH] configure: add xcb cflags and extralibs to cflags and extralibs.

2014-11-03 Thread Benoit Fouet
Replace xcb_event by xcb, as the former is no more used and the latter is needed on configurations where only xcb is available, and not libxcb_shm and/or libxcb_xfixes. Signed-off-by: Benoit Fouet --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/c

Re: [FFmpeg-devel] [PATCH] lavf/flvenc: fail in case the muxed packet is too big

2014-11-03 Thread wm4
On Mon, 3 Nov 2014 10:05:40 +0100 Stefano Sabatini wrote: > On date Monday 2014-11-03 01:18:05 +0100, wm4 encoded: > > On Mon, 3 Nov 2014 00:35:58 +0100 > > Stefano Sabatini wrote: > > > > > On date Monday 2014-11-03 00:32:04 +0100, Stefano Sabatini encoded: > > > > Avoid the creation of files

Re: [FFmpeg-devel] [PATCH] lavf/flvenc: fail in case the muxed packet is too big

2014-11-03 Thread Stefano Sabatini
On date Monday 2014-11-03 01:18:05 +0100, wm4 encoded: > On Mon, 3 Nov 2014 00:35:58 +0100 > Stefano Sabatini wrote: > > > On date Monday 2014-11-03 00:32:04 +0100, Stefano Sabatini encoded: > > > Avoid the creation of files which cannot be successfully decoded by > > > ffmpeg, for example genera

Re: [FFmpeg-devel] [PATCH] lavf/flvenc: fail in case the muxed packet is too big

2014-11-03 Thread Stefano Sabatini
On date Monday 2014-11-03 01:56:39 +0100, Michael Niedermayer encoded: > On Mon, Nov 03, 2014 at 12:32:04AM +0100, Stefano Sabatini wrote: > > Avoid the creation of files which cannot be successfully decoded by > > ffmpeg, for example generated with: > > ffmpeg -f lavfi -i sine -af > > "aselect='n

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

2014-11-03 Thread Benoit Fouet
- Mail original - > Signed-off-by: Michael Niedermayer > --- > doc/codecs.texi |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/doc/codecs.texi b/doc/codecs.texi > index 2bb6059..85e6d47 100644 > --- a/doc/codecs.texi > +++ b/doc/codecs.texi > @@ -71,7 +71

Re: [FFmpeg-devel] [PATCH] avcodec/libwebpenc: add quality option

2014-11-03 Thread Benoit Fouet
Hi, - Mail original - > previously quality could only be set through qscale/global_quality > but the scale > was inverted. Using a separate option avoids the confusion from > qscale working > backward. > > Signed-off-by: Michael Niedermayer > --- > libavcodec/libwebpenc.c |8 ---

Re: [FFmpeg-devel] [PATCH] avformat/udp: UDP-Lite (RFC 3828) support added

2014-11-03 Thread Thomas Volkert
On 11/03/2014 09:35 AM, Thomas Volkert wrote: From: Thomas Volkert --- Changelog| 1 + configure| 3 +++ libavformat/allformats.c | 1 + libavformat/udp.c| 55 +++- libavformat/version.h| 2 +- 5

[FFmpeg-devel] [PATCH] avformat/udp: UDP-Lite (RFC 3828) support added

2014-11-03 Thread Thomas Volkert
From: Thomas Volkert --- Changelog| 1 + configure| 3 +++ libavformat/allformats.c | 1 + libavformat/udp.c| 55 +++- libavformat/version.h| 2 +- 5 files changed, 60 insertions(+), 2 deletions(-) diff