Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > the feature_tests.h and the header that contains > mreq likely should point at what is the cause The cause is the following check in the relevant header /usr/include/netinet/in.h: #if !defined(_XPG4_2) || defined(__EXTENSIONS__) We had set __EXTENSIONS__ f

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > if you only want t fix the end, then existing \r > and \n should be stripped and crlf be added > litterally without use of \r\n but literal byte > values On which system can I test this (so that it actually makes a difference)? Thank you, Carl Eugen __

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Nicolas George
Le nonidi 19 ventôse, an CCXXIII, Michael Niedermayer a écrit : > there should be a loop that replaces each sequence of any \n\r by a single > crlf sequency > also ensure that one such sequence is at the end I believe this would be correct. > using no \r \n codes but only litteral bytes and Thi

Re: [FFmpeg-devel] Post-processing filter Documentation

2015-03-10 Thread Stefano Sabatini
On date Tuesday 2015-03-03 21:37:03 -0400, Peter Cordes encoded: > On Sat, Feb 7, 2015 at 6:23 AM, arwa arif wrote: > > > On Mon, Feb 2, 2015 at 10:23 AM, Michael Niedermayer > > wrote: > > > > > On Sat, Jan 31, 2015 at 02:30:29PM +0530, arwa arif wrote: > > > > On Thu, Jan 29, 2015 at 5:18 PM,

Re: [FFmpeg-devel] [PATCH] lavfi: Add support to process_command in vf_eq.c

2015-03-10 Thread Stefano Sabatini
On date Tuesday 2015-03-10 00:27:52 +0530, Arwa Arif encoded: > On Fri, Feb 20, 2015 at 5:41 AM, Stefano Sabatini > wrote: > > > On date Thursday 2015-02-19 17:13:15 +0530, Arwa Arif encoded: > > > Updated the patch. > > > > > From 66a8c9d03995c9e7c6ccc05fb9b20756f51c17f4 Mon Sep 17 00:00:00 2001

Re: [FFmpeg-devel] [PATCH] lavfi: Add support to process_command in vf_eq.c

2015-03-10 Thread Stefano Sabatini
On date Monday 2015-03-09 19:54:57 +0530, Arwa Arif encoded: > I was going through the code, and I realized that I have made a mistake. I > have corrected the code, and attached the corresponding patch. > From 2ebd299b55a34914d5549f21d264e8cb7f5f605d Mon Sep 17 00:00:00 2001 > From: Arwa Arif > D

Re: [FFmpeg-devel] [libav-devel] [PATCH 1/2] rtpenc_mpegts: Free the right ->pb in the error path in the init function

2015-03-10 Thread Michael Niedermayer
On Mon, Mar 09, 2015 at 11:16:13PM +0100, Andreas Cadhalpun wrote: > On 09.03.2015 22:15, Martin Storsjö wrote: > >This fixes a typo from 8e32b1f096. > >--- > > libavformat/rtpenc_mpegts.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/libavformat/rtpenc_mpegts.c b/l

Re: [FFmpeg-devel] [libav-devel] [PATCH 2/2] rtpenc_mpegts: Set chain->rtp_ctx only after avformat_write_header succeeded

2015-03-10 Thread Michael Niedermayer
On Mon, Mar 09, 2015 at 11:18:30PM +0100, Andreas Cadhalpun wrote: > On 09.03.2015 22:15, Martin Storsjö wrote: > >By making sure we at each time only have one pointer set, either a > >local variable or one in the context, we avoid potential double frees > >in the cleanup routines. If chain->rtp_ct

[FFmpeg-devel] [PATCH]Fix arm compilation with --disable-neon

2015-03-10 Thread Carl Eugen Hoyos
Hi! Attached patch fixes compilation for arm with --disable-neon, reported by Sebastian Holmqvist. Please comment, Carl Eugen diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c index 04af178..b7a4729 100644 --- a/libavcodec/hevcdsp.c +++ b/libavcodec/hevcdsp.c @@ -259,6 +259,6 @@ int i = 0

Re: [FFmpeg-devel] [PATCH] AAC: [PATCH] AAC: Add support for 7350Hz sampling rates

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 12:37:34AM -0300, Claudio Freire wrote: > On Mon, Mar 9, 2015 at 3:31 PM, Claudio Freire wrote: > > On Mon, Mar 9, 2015 at 1:38 PM, Michael Niedermayer > > wrote: > >> On Mon, Mar 09, 2015 at 01:31:26PM -0300, Claudio Freire wrote: > >>> On Mon, Mar 9, 2015 at 1:26 PM, Mi

Re: [FFmpeg-devel] [PATCH] pthread: Fix ff_thread_get_formatissues when called outside frame decode.

2015-03-10 Thread wm4
On Mon, 09 Mar 2015 18:56:57 +0100 Reimar Döffinger wrote: > On 9 March 2015 15:28:48 CET, Hendrik Leppkes wrote: > >On Mon, Mar 9, 2015 at 1:50 PM, Reimar Döffinger > > wrote: > >> On 9 March 2015 13:34:24 CET, Hendrik Leppkes > >wrote: > >>>On Mon, Mar 9, 2015 at 7:38 AM, Rainer Hochecker > >

Re: [FFmpeg-devel] [PATCH]Fix arm compilation with --disable-neon

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 12:03:35PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes compilation for arm with --disable-neon, > reported by Sebastian Holmqvist. > > Please comment, Carl Eugen > hevcdsp.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > a2e07b355b70d0a91

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 07:54:15AM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > the feature_tests.h and the header that contains > > mreq likely should point at what is the cause > > The cause is the following check in the relevant > header /usr/include/netinet/in

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 09:39:50AM +0100, Nicolas George wrote: > Le nonidi 19 ventôse, an CCXXIII, Michael Niedermayer a écrit : > > there should be a loop that replaces each sequence of any \n\r by a single > > crlf sequency > > > also ensure that one such sequence is at the end > > I believe t

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > The cause is the following check in the relevant > > header /usr/include/netinet/in.h: > > #if !defined(_XPG4_2) || defined(__EXTENSIONS__) > > We had set __EXTENSIONS__ for many years and I > > don't remember any reports while we set it. > why is _XPG4_

Re: [FFmpeg-devel] [PATCH]Force __EXTENSIONS__ on Solaris

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 12:04:48PM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > > The cause is the following check in the relevant > > > header /usr/include/netinet/in.h: > > > #if !defined(_XPG4_2) || defined(__EXTENSIONS__) > > > We had set __EXTENSIONS__ for many

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Nicolas George
Le decadi 20 ventôse, an CCXXIII, Michael Niedermayer a écrit : > iam fine with either, i was just trying to be completely correct > which may be overkill and indeed make the code less readable for no > gain What about the attached patch? Regards, -- Nicolas George From 28fc644a1d7e4f73921bbc

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Carl Eugen Hoyos
Nicolas George nsup.org> writes: > What about the attached patch? Please add a reference to ticket #3268 to the commit message. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-dev

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread Nicolas George
Le decadi 20 ventôse, an CCXXIII, Carl Eugen Hoyos a écrit : > Please add a reference to ticket #3268 > to the commit message. I was about to reply "locally added", but no, because it does not fix that ticket. Re-thinking on the whole discussion, I withdraw this patch, it is wrong. This part of

Re: [FFmpeg-devel] [PATCH] AAC: [PATCH] AAC: Add support for 7350Hz sampling rates

2015-03-10 Thread Claudio Freire
On Tue, Mar 10, 2015 at 8:05 AM, Michael Niedermayer wrote: >> I cannot test myself yet (cannot build against mips, it will >> probably take me a long while before I can set up qemu for that), but >> the patch should bring both implementations in sync, at least enough >> for the test to pass witho

[FFmpeg-devel] [PATCH] Fixed memory leak in EvalContext::channel_values

2015-03-10 Thread Ole Andre Birkedal
There are some doubles being allocated in aeval_config_output which is called by avfilter_graph_config. They are not being deleted and I am (on my filter graph) seeing two doubles (16 bytes on my system) of leaked memory. - Ole Andre Birkedal From e4c6316a2d90624277f933fe64b5c8397793b6ca Mon Sep 1

[FFmpeg-devel] GSoC Introduction

2015-03-10 Thread David Reidler
Hi everyone! My name is David Reidler and I am an undergraduate student looking to participate in GSoC 2015. My IRC handle on freenode is dreidler. After reviewing the ideas on the wiki page, I would like to work on implementing basic servers for network protocols. I enjoy programming in C,

Re: [FFmpeg-devel] [PATCH] Fixed memory leak in EvalContext::channel_values

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 02:23:26PM +0100, Ole Andre Birkedal wrote: > There are some doubles being allocated in aeval_config_output which is > called by avfilter_graph_config. They are not being deleted and I am (on my > filter graph) seeing two doubles (16 bytes on my system) of leaked memory. >

Re: [FFmpeg-devel] GSoC Introduction

2015-03-10 Thread Nicolas George
Le decadi 20 ventôse, an CCXXIII, David Reidler a écrit : > My name is David Reidler and I am an undergraduate student looking to > participate in GSoC 2015. My IRC handle on freenode is dreidler. > > After reviewing the ideas on the wiki page, I would like to work on > implementing basic servers

[FFmpeg-devel] [PATCH]Print number of reference frames if debug level >= verbose

2015-03-10 Thread Carl Eugen Hoyos
Hi! Attached patch prints the number of reference frames on increased loglevel. Please comment, Carl Eugen diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 5b28496..aa00581 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -3024,6 +3024,8 @@ void avcodec_string(char *buf, int

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-10 Thread wm4
On Tue, 10 Mar 2015 14:09:10 +0100 Nicolas George wrote: > Le decadi 20 ventôse, an CCXXIII, Carl Eugen Hoyos a écrit : > > Please add a reference to ticket #3268 > > to the commit message. > > I was about to reply "locally added", but no, because it does not fix that > ticket. > > Re-thinking

Re: [FFmpeg-devel] [PATCH] pthread: Fix ff_thread_get_formatissues when called outside frame decode.

2015-03-10 Thread Reimar Döffinger
On 10.03.2015, at 12:10, wm4 wrote: > On Mon, 09 Mar 2015 18:56:57 +0100 > Reimar Döffinger wrote: >>> >>> What I do is simply restart decoding with the packet that failed the >>> hardware decoder. Don't need to buffer anything, you still have the >>> AVPacket in question anyway. >> >> Uh, so

[FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Himangi Saraogi
This is an exact inverse of the telecine filter unlike previously existing pullup and fieldmatch ones. The algorithm was briefly discussed with Carl. The algorithm is not completely tested, though I do have a some sample suggestions and will be testing on them soon. Documentation is yet to be adde

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Carl Eugen Hoyos
Himangi Saraogi gmail.com> writes: > +{"pattern", "pattern that describe for how many > fields a frame is to be displayed", OFFSET(pattern), This works fine in a quick test. An additional parameter could be "start_frame" to allow using the filter after a stream was cut. For example: Assumi

[FFmpeg-devel] [PATCH] x86: Makefile: fix DBG parameter evaluation

2015-03-10 Thread Christophe Gisquet
This recently caused me some issues, as in, being ignored. -- Christophe From 5c1b07147502135a9f6a04a1edcf060a1575efd3 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Sun, 8 Mar 2015 17:54:25 +0100 Subject: [PATCH] x86: Makefile: fix DBG parameter evaluation --- common.mak | 2 +- 1 fi

[FFmpeg-devel] [PATCH 0/4] Port XvID iDCT to yasm syntax

2015-03-10 Thread Christophe Gisquet
This patch series does not attempt to change the core implementation of the iDCT. First patch is relatively straightforward. I've only dropped the alignment on a series of jumps which I didn't see helping at all. Second patch is less, as I've also tried to reuse tables. Some of them seem to be si

[FFmpeg-devel] [PATCH 2/4] x86: xvid_idct: port MMX IDCT to yasm

2015-03-10 Thread Christophe Gisquet
Also reduce the table duplication with SSE2 code, remove duplicated macro parameters. --- libavcodec/x86/Makefile| 3 +- libavcodec/x86/xvididct.asm| 450 - libavcodec/x86/xvididct_init.c | 40 ++- libavcodec/x86/xvididct_mmx.c | 549

[FFmpeg-devel] [PATCH 1/4] x86: xvid: port SSE2 idct to yasm

2015-03-10 Thread Christophe Gisquet
The main difference consists in renaming properly labels, and letting yasm select the gprs for skipping 1D transforms. --- libavcodec/x86/Makefile| 2 +- libavcodec/x86/xvididct.asm| 379 ++ libavcodec/x86/xvididct_init.c | 18 +- libavcodec/x86/x

[FFmpeg-devel] [PATCH 3/4] x86: xvid_idct: merged idct_put SSE2 versions

2015-03-10 Thread Christophe Gisquet
--- libavcodec/x86/xvididct.asm| 202 - libavcodec/x86/xvididct_init.c | 8 +- 2 files changed, 140 insertions(+), 70 deletions(-) diff --git a/libavcodec/x86/xvididct.asm b/libavcodec/x86/xvididct.asm index 4c52bf1..58ffb11 100644 --- a/libavcodec/x8

[FFmpeg-devel] [PATCH 4/4] x86: xvid_idct: SSE2 merged add version

2015-03-10 Thread Christophe Gisquet
--- libavcodec/x86/xvididct.asm| 92 -- libavcodec/x86/xvididct_init.c | 9 + 2 files changed, 91 insertions(+), 10 deletions(-) diff --git a/libavcodec/x86/xvididct.asm b/libavcodec/x86/xvididct.asm index 58ffb11..0220885 100644 --- a/libavcodec/x

[FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Florian Jacob
libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set in the url. It also supports host aliases, i.

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 00:22, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set i

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Florian Jacob
> > libavformat/libssh.c | 11 --- > > 1 file changed, 8 insertions(+), 3 deletions(-) > > > > diff --git a/libavformat/libssh.c b/libavformat/libssh.c > > index 3ec60cb..1ed1d72 100644 > > --- a/libavformat/libssh.c > > +++ b/libavformat/libssh.c > > @@ -55,6 +55,10 @@ static av_cold

[FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Florian Jacob
libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set in the url. It also supports host aliases, i.

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Himangi Saraogi
On 11 March 2015 at 04:00, Carl Eugen Hoyos wrote: > Himangi Saraogi gmail.com> writes: > > > +{"pattern", "pattern that describe for how many > > fields a frame is to be displayed", OFFSET(pattern), > > This works fine in a quick test. > An additional parameter could be "start_frame" to > a

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 01:13, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use this function to take parameters from the config file for everything that's not explicitely set i

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-10 Thread Timothy Gu
On Tue, Mar 10, 2015 at 2:52 PM Himangi Saraogi wrote: > This is an exact inverse of the telecine filter unlike previously existing > pullup and fieldmatch ones. > What's the difference between the three seemingly similar filters? Timothy ___ ffmpeg-d

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Timothy Gu
On Tue, Mar 10, 2015 at 5:47 PM Lukasz Marek wrote: > On 11.03.2015 01:13, Florian Jacob wrote: > > libssh provides a function for parsing ~/.ssh/config for ssh connection > parameters like user, hostname, identity file > > and port. This patch makes ffmpeg use this function to take parameters >

Re: [FFmpeg-devel] [PATCH] sftp: support reading config from ~/.ssh/config

2015-03-10 Thread Lukasz Marek
On 11.03.2015 01:51, Timothy Gu wrote: On Tue, Mar 10, 2015 at 5:47 PM Lukasz Marek wrote: On 11.03.2015 01:13, Florian Jacob wrote: libssh provides a function for parsing ~/.ssh/config for ssh connection parameters like user, hostname, identity file and port. This patch makes ffmpeg use th

Re: [FFmpeg-devel] [PATCH] x86: Makefile: fix DBG parameter evaluation

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 11:54:55PM +0100, Christophe Gisquet wrote: > This recently caused me some issues, as in, being ignored. > > -- > Christophe > common.mak |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 40122fe4b5590c27d7280b402ae8992bd6a63d53 > 0001-x86-Makefile-fix-DBG-p

Re: [FFmpeg-devel] [PATCH 2/4] x86: xvid_idct: port MMX IDCT to yasm

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 11:11:52PM +, Christophe Gisquet wrote: > Also reduce the table duplication with SSE2 code, remove duplicated > macro parameters. > --- > libavcodec/x86/Makefile| 3 +- > libavcodec/x86/xvididct.asm| 450 - > libavcodec/x86/

Re: [FFmpeg-devel] [PATCH 1/4] x86: xvid: port SSE2 idct to yasm

2015-03-10 Thread James Almer
On 10/03/15 8:11 PM, Christophe Gisquet wrote: > The main difference consists in renaming properly labels, and > letting yasm select the gprs for skipping 1D transforms. > --- > libavcodec/x86/Makefile| 2 +- > libavcodec/x86/xvididct.asm| 379 ++ >

[FFmpeg-devel] Does FFmpeg support SDL 2.0?

2015-03-10 Thread m...@echoliao.com
Hi all, I found the newest FFmpeg is only support SDL 1.2 from its configure file. But i need use SDL 2.0, Does it has plan to support SDL 2.0? Thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH]Print number of reference frames if debug level >= verbose

2015-03-10 Thread Michael Niedermayer
On Tue, Mar 10, 2015 at 03:27:20PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch prints the number of reference frames > on increased loglevel. > > Please comment, Carl Eugen > utils.c |2 ++ > 1 file changed, 2 insertions(+) > 3027911b398c8e5f89bc5b868f980f4a2ff50b01 patchrefs.

[FFmpeg-devel] [PATCH] Reorganized libpostproc code

2015-03-10 Thread Tucker DiNapoli
From: Tucker DiNapoli The only changes were formating and moving code. --- libpostproc/postprocess.c | 436 ++-- libpostproc/postprocess_c.c| 1328 libpostproc/postprocess_internal.h | 30 +- libpostproc/postprocess_template.c | 1

Re: [FFmpeg-devel] [PATCH] lavfi: Add support to process_command in vf_eq.c

2015-03-10 Thread arwa arif
On Tue, Mar 10, 2015 at 2:41 PM, Stefano Sabatini wrote: > On date Tuesday 2015-03-10 00:27:52 +0530, Arwa Arif encoded: > > On Fri, Feb 20, 2015 at 5:41 AM, Stefano Sabatini > > wrote: > > > > > On date Thursday 2015-02-19 17:13:15 +0530, Arwa Arif encoded: > > > > Updated the patch. > > > > >

Re: [FFmpeg-devel] [PATCH] Reorganized libpostproc code

2015-03-10 Thread James Almer
On 11/03/15 12:57 AM, Tucker DiNapoli wrote: > From: Tucker DiNapoli A couple comments below. > > The only changes were formating and moving code. This needs to be split into several different patches. Also, why does "moving code" end up with the addition of one thousand new lines? > --- >