[FFmpeg-devel] [PATCH] x86/hpeldsp: fix loop in {avg, avg_no_rnd}_pixels16_x2_mmx

2014-10-22 Thread James Almer
Handle it inside the __asm__() block. Fixes fate-vc1_ilaced_twomv when using the gcc-usan toolchain. Signed-off-by: James Almer --- The entire hpeldsp_rnd_template.c file should be ported to yasm, and/or this function optimized a bit in the long term. But for now this makes FATE a bit greener.

[FFmpeg-devel] Evolution of lavfi's design and API

2014-10-22 Thread Nicolas George
[ CCing Anton, as most that is written here also apply to libav too, and this would be a good occasion to try a cross-fork cooperation; if that is not wanted, please let us know so we can drop the cc. ] 1. Problems with the current design 1.1. Mixed input-/output-driven model Currently, l

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

2014-10-22 Thread Lukasz Marek
On 22.10.2014 22:05, Reynaldo H. Verdejo Pinochet wrote: Guess you are already considered dropping the explicit initialization code as Reimaer suggested. Looks good otherwise. Feel free to push. I've attached updated patch. To save your time: 1. I updated ffserver_apply_stream_config function,

Re: [FFmpeg-devel] [PATCH] Added STL demuxer and decoder

2014-10-22 Thread Clément Bœsch
On Tue, Oct 21, 2014 at 11:04:31PM +0200, Clément Bœsch wrote: [...] > So the patch is now queue and will be pushed soon. > Patch applied. [...] -- Clément B. pgpugD9HZUuqI.pgp Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@f

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

2014-10-22 Thread Lukasz Marek
On 22.10.2014 22:05, Reynaldo H. Verdejo Pinochet wrote: Hi On 10/20/2014 06:57 PM, Lukasz Marek wrote: So far AVCodecContext was created without codec specified. This causes internal data to not be initialized to defaults. This commit postpone context creation until all information are gather

Re: [FFmpeg-devel] [PATCH 3/4] ffserver_conf: factorize parse function per config tag

2014-10-22 Thread Lukasz Marek
On 22.10.2014 21:51, Reynaldo H. Verdejo Pinochet wrote: Feel free to push after removing the explicit/redundant initialization of FFServerConfig config as Reimar suggested. Removed. While you are at this though, can you remove braces on single statement ifs? appreciated. Removed. At least

Re: [FFmpeg-devel] [PATCH] tiffenc: properly compute packet size

2014-10-22 Thread Michael Niedermayer
On Sun, Oct 19, 2014 at 05:10:09PM +0200, Christophe Gisquet wrote: > Hi, > > the attached patch fixes part of ticket #3874, for the part ffmpeg's > encoder is responsible for. The remainder of the issue is decoders not > correctly handling unusual chroma subsamplings. > > Note: I have kept the c

Re: [FFmpeg-devel] [PATCH] ffmpeg: avoid endlessly reading from one input while another is unavailable

2014-10-22 Thread Michael Niedermayer
On Wed, Oct 22, 2014 at 07:52:37PM +0200, Nicolas George wrote: > Le primidi 1er brumaire, an CCXXIII, Michael Niedermayer a écrit : > > Testcase in Ticket 4051 > > > > Signed-off-by: Michael Niedermayer > > --- > > ffmpeg.c |4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > I

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

2014-10-22 Thread Reynaldo H. Verdejo Pinochet
Hi On 10/20/2014 06:57 PM, Lukasz Marek wrote: > So far AVCodecContext was created without codec specified. > This causes internal data to not be initialized to defaults. > > This commit postpone context creation until all information are gathered. are/is > > Partially fixes #1275 > --- > ffs

Re: [FFmpeg-devel] [PATCH 3/4] ffserver_conf: factorize parse function per config tag

2014-10-22 Thread Reynaldo H. Verdejo Pinochet
Feel free to push after removing the explicit/redundant initialization of FFServerConfig config as Reimar suggested. While you are at this though, can you remove braces on single statement ifs? appreciated. Thanks -- Reynaldo H. Verdejo Pinochet Open Source Group Samsung Research America / Sil

Re: [FFmpeg-devel] [PATCH 2/4] ffserver_config: clean up variable initialization

2014-10-22 Thread Reynaldo H. Verdejo Pinochet
On 10/21/2014 07:10 AM, Stefano Sabatini wrote: > [..] > > LGTM. Agree. Bests, -- Reynaldo H. Verdejo Pinochet Open Source Group Samsung Research America / Silicon Valley ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailm

Re: [FFmpeg-devel] [PATCH 1/4] ffserver: move configuration code to separate file

2014-10-22 Thread Reynaldo H. Verdejo Pinochet
Config parsing changeset LGTM. Feel free to push. Bests, -- Reynaldo H. Verdejo Pinochet Open Source Group Samsung Research America / Silicon Valley ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixes issue with idet not flushing last frame.

2014-10-22 Thread Neil Birkbeck
Before sending patch, I had tested a variety of settings like this: for r in 25 10 2 1; do for t in 1 2; do ./ffmpeg -r $r -t $t \ -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm \ ${filt2} -y /tmp/none.flv 2>&1 | tail -n 1 ... do some comparsions be

Re: [FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixes issue with idet not flushing last frame.

2014-10-22 Thread Thierry Foucu
On Wed, Oct 22, 2014 at 7:43 AM, Pascal Massimino < pascal.massim...@gmail.com> wrote: > Hi, > > On Tue, Oct 21, 2014 at 11:40 PM, Neil Birkbeck > wrote: > > > Uses a similar approach as vf_yadif to flush the last frame in idet. > > > > Quick test with 50 frames from vsynth1: > > ./ffmpeg.old -i

Re: [FFmpeg-devel] [PATCH] ffmpeg: avoid endlessly reading from one input while another is unavailable

2014-10-22 Thread Nicolas George
Le primidi 1er brumaire, an CCXXIII, Michael Niedermayer a écrit : > Testcase in Ticket 4051 > > Signed-off-by: Michael Niedermayer > --- > ffmpeg.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I am not entirely sure this will not break a few corner cases, but it looks more co

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread Rodger Combs
> On Oct 22, 2014, at 08:01, wm4 wrote: > > On Wed, 22 Oct 2014 06:09:10 -0500 > Rodger Combs wrote: > >> >>> On Oct 21, 2014, at 21:38, Michael Niedermayer wrote: >>> >>> Fixes Ticket2263 >>> Fixes Ticket3934 >>> >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavformat/matroskadec.

Re: [FFmpeg-devel] Outreach program for Women

2014-10-22 Thread Michael Niedermayer
On Wed, Oct 22, 2014 at 07:33:45PM +0530, Geetika Batra wrote: > Hello > > I am a final year student and developed interest in programming sometimes > back.The idea was just to develop an application.In order to do so I > searched internet settled on developing a windows app since its resources >

[FFmpeg-devel] [PATCH] ffmpeg: avoid endlessly reading from one input while another is unavailable

2014-10-22 Thread Michael Niedermayer
Testcase in Ticket 4051 Signed-off-by: Michael Niedermayer --- ffmpeg.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 051feae..e6ba0f6 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -3090,9 +3090,9 @@ static OutputStream *choose_output(void)

Re: [FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixes issue with idet not flushing last frame.

2014-10-22 Thread Pascal Massimino
Hi, On Tue, Oct 21, 2014 at 11:40 PM, Neil Birkbeck wrote: > Uses a similar approach as vf_yadif to flush the last frame in idet. > > Quick test with 50 frames from vsynth1: > ./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f > mp4 -y /dev/null 2>&1 | grep Multi > (gives

Re: [FFmpeg-devel] [PATCH] v4l2: setting device parameters early

2014-10-22 Thread Giorgio Vazzana
Hello, this was probably wrong and has caused https://trac.ffmpeg.org/ticket/3517 . Will investigate. Giorgio Vazzana 2014-01-05 17:17 GMT+01:00 Michael Niedermayer : > On Sun, Jan 05, 2014 at 12:33:42PM +0100, Federico Simoncelli wrote: >> Any feedback? > > looks good, thus applied > > thanks >

[FFmpeg-devel] Outreach program for Women

2014-10-22 Thread Geetika Batra
Hello I am a final year student and developed interest in programming sometimes back.The idea was just to develop an application.In order to do so I searched internet settled on developing a windows app since its resources were abundant.But then,I realized that I need to learn C# and voila!!,I did

Re: [FFmpeg-devel] opw ffmpeg mail alias

2014-10-22 Thread Michael Niedermayer
On Wed, Oct 22, 2014 at 08:56:58AM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > does any mentor want to be added to the opw ffmpeg > > alias if so, tell me and ill add you > > Is there an archive of this mailing list? > (Or is this no mailing list?) its no ML atm

Re: [FFmpeg-devel] Finding residuals in h264 decoding in ffmpeg

2014-10-22 Thread Michael Niedermayer
On Tue, Oct 21, 2014 at 01:11:39PM +0200, Norbert Schmitt wrote: > Hello, > > I am trying to understand how the H.264 Decoder in ffmpeg works and > saving data (Macroblock types and motion vectors for example) from > the decoding of a H.264 video. I also want to save the residuals for > each frame

Re: [FFmpeg-devel] [PATCH] avfilter/vf_idet: Fixes issue with idet not flushing last frame.

2014-10-22 Thread Michael Niedermayer
On Tue, Oct 21, 2014 at 11:40:06PM -0700, Neil Birkbeck wrote: > Uses a similar approach as vf_yadif to flush the last frame in idet. > > Quick test with 50 frames from vsynth1: > ./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 > -y /dev/null 2>&1 | grep Multi > (gi

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread wm4
On Wed, 22 Oct 2014 06:09:10 -0500 Rodger Combs wrote: > > > On Oct 21, 2014, at 21:38, Michael Niedermayer wrote: > > > > Fixes Ticket2263 > > Fixes Ticket3934 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/matroskadec.c |4 ++-- > > 1 file changed, 2 insertions(+), 2

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

2014-10-22 Thread wm4
On Wed, 22 Oct 2014 12:07:52 +0200 Lukasz Marek wrote: > On 22 October 2014 11:53, Nicolas George wrote: > > > Le septidi 27 vendémiaire, an CCXXIII, Lukasz Marek a écrit : > > > --- > > > libavdevice/alsa-audio-common.c | 60 > > + > > > libavdevice/als

Re: [FFmpeg-devel] [RFC] How to deal with libavfilter buffer overflows?

2014-10-22 Thread Michael Niedermayer
On Wed, Oct 22, 2014 at 01:39:07PM +0200, Nicolas George wrote: > Le decadi 30 vendémiaire, an CCXXIII, Stefano Sabatini a écrit : > > $ ffmpeg -f lavfi -i "testsrc=d=10, split[t0][t1]; > > [t0]select='gte(t,5)',setpts=PTS-STARTPTS[s0]; [t1] select='lt(t,5)', > > setpts=PTS-STARTPTS[s1]; [s0][s1]

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread Michael Niedermayer
On Wed, Oct 22, 2014 at 06:09:10AM -0500, Rodger Combs wrote: > > > On Oct 21, 2014, at 21:38, Michael Niedermayer wrote: > > > > Fixes Ticket2263 > > Fixes Ticket3934 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/matroskadec.c |4 ++-- > > 1 file changed, 2 insertions(

Re: [FFmpeg-devel] [RFC] How to deal with libavfilter buffer overflows?

2014-10-22 Thread Nicolas George
Le decadi 30 vendémiaire, an CCXXIII, Stefano Sabatini a écrit : > $ ffmpeg -f lavfi -i "testsrc=d=10, split[t0][t1]; > [t0]select='gte(t,5)',setpts=PTS-STARTPTS[s0]; [t1] select='lt(t,5)', > setpts=PTS-STARTPTS[s1]; [s0][s1] concat" -y outtest.mp4 > [...] > Input #0, lavfi, from 'testsrc=d=10, s

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread Rodger Combs
> On Oct 21, 2014, at 21:38, Michael Niedermayer wrote: > > Fixes Ticket2263 > Fixes Ticket3934 > > Signed-off-by: Michael Niedermayer > --- > libavformat/matroskadec.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/matroskadec.c b/libavformat/matro

Re: [FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-22 Thread Rodger Combs
> On Oct 21, 2014, at 19:19, Carl Eugen Hoyos wrote: > > Rodger Combs gmail.com> writes: > >> This fixes https://trac.ffmpeg.org/ticket/3934 but I'm >> not sure if there was a good reason for this to be >> here to begin with. Perhaps a protection against >> infinite recursion (though I belie

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

2014-10-22 Thread Lukasz Marek
On 22 October 2014 11:53, Nicolas George wrote: > Le septidi 27 vendémiaire, an CCXXIII, Lukasz Marek a écrit : > > --- > > libavdevice/alsa-audio-common.c | 60 > + > > libavdevice/alsa-audio-dec.c| 6 + > > libavdevice/alsa-audio-enc.c| 6 +

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

2014-10-22 Thread Nicolas George
Le septidi 27 vendémiaire, an CCXXIII, Lukasz Marek a écrit : > --- > libavdevice/alsa-audio-common.c | 60 > + > libavdevice/alsa-audio-dec.c| 6 + > libavdevice/alsa-audio-enc.c| 6 + > libavdevice/alsa-audio.h| 2 ++ > 4 files

Re: [FFmpeg-devel] opw ffmpeg mail alias

2014-10-22 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > does any mentor want to be added to the opw ffmpeg > alias if so, tell me and ill add you Is there an archive of this mailing list? (Or is this no mailing list?) Thank you, Carl Eugen ___ ffmpeg-devel mailing l

Re: [FFmpeg-devel] [PATCH] configure: add build tree's directories to rpath

2014-10-22 Thread Nicolas George
Le decadi 30 vendémiaire, an CCXXIII, Lukasz Marek a écrit : > Building with static link is much slower. > I agree patch is wrong, it could be controlled by separate option, just > for devel, but nvm. It can be controlled by LD_LIBRARY_PATH, as Derek pointed out. I use this (zsh): libs=($src/li