[FFmpeg-devel] [PATCH] Enable mpcodecs without needing inline asm

2014-11-04 Thread Matt Oliver
Currently the extra filters provided by mpcodecs require inline asm support to compile. However these filters all provide non-asm alternatives that can be used with the correct pre-processor guard. Based on some recent discussions it appears that some of these filters are still used but with the r

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

2014-11-04 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 07:55:42PM -0800, Timothy Gu wrote: > 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

Re: [FFmpeg-devel] Broken endian indication in pixfmt list

2014-11-04 Thread wm4
On Wed, 5 Nov 2014 03:19:04 +0100 Michael Niedermayer wrote: > On Wed, Nov 05, 2014 at 02:59:45AM +0100, wm4 wrote: > > On Wed, 5 Nov 2014 02:44:12 +0100 > > Michael Niedermayer wrote: > > > > > On Wed, Nov 05, 2014 at 02:13:29AM +0100, wm4 wrote: > > > > The header pixfmt.h contains the follow

Re: [FFmpeg-devel] Broken endian indication in pixfmt list

2014-11-04 Thread Michael Niedermayer
On Wed, Nov 05, 2014 at 02:59:45AM +0100, wm4 wrote: > On Wed, 5 Nov 2014 02:44:12 +0100 > Michael Niedermayer wrote: > > > On Wed, Nov 05, 2014 at 02:13:29AM +0100, wm4 wrote: > > > The header pixfmt.h contains the following comment in the pixel format > > > list doxygen: > > > > > > * @note >

Re: [FFmpeg-devel] Broken endian indication in pixfmt list

2014-11-04 Thread wm4
On Wed, 5 Nov 2014 02:44:12 +0100 Michael Niedermayer wrote: > On Wed, Nov 05, 2014 at 02:13:29AM +0100, wm4 wrote: > > The header pixfmt.h contains the following comment in the pixel format > > list doxygen: > > > > * @note > > * Make sure that all newly added big-endian formats have (pix_fmt

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

2014-11-04 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 11:48:05PM +0100, Thomas Volkert wrote: > From: Thomas Volkert > > --- [...] > @@ -893,3 +938,15 @@ URLProtocol ff_udp_protocol = { > .priv_data_class = &udp_context_class, > .flags = URL_PROTOCOL_FLAG_NETWORK, > }; > + > +URLProtocol ff_udplit

Re: [FFmpeg-devel] Broken endian indication in pixfmt list

2014-11-04 Thread Michael Niedermayer
On Wed, Nov 05, 2014 at 02:13:29AM +0100, wm4 wrote: > The header pixfmt.h contains the following comment in the pixel format > list doxygen: > > * @note > * Make sure that all newly added big-endian formats have (pix_fmt & 1) == 1 > * and that all newly added little-endian formats have (pix_fm

Re: [FFmpeg-devel] FFserver bug?

2014-11-04 Thread Lukasz Marek
W dniu środa, 5 listopada 2014 Michael Niedermayer napisał(a): > On Wed, Nov 05, 2014 at 12:07:14AM +0100, Lukasz Marek wrote: > > On 31.10.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 li

Re: [FFmpeg-devel] [PATCH] doc: clarify -frames options behavior

2014-11-04 Thread Lou Logan
On Tue, 4 Nov 2014 12:56:38 -0800, Timothy Gu wrote: > On Tue, Nov 4, 2014 at 11:29 AM, Lou Logan wrote: > > Replace "frames to record" with "frames to output". The "to record" > > makes it seem like an input option, or that it would capture the frames > > insead of outputting them. > > > > Signe

Re: [FFmpeg-devel] FFserver bug?

2014-11-04 Thread Lukasz Marek
On 31.10.2014 02:14, 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 the problem which causes the problem thats the bitrate it makes like 50mb of it. i reinstalled t

[FFmpeg-devel] Broken endian indication in pixfmt list

2014-11-04 Thread wm4
The header pixfmt.h contains the following comment in the pixel format list doxygen: * @note * Make sure that all newly added big-endian formats have (pix_fmt & 1) == 1 * and that all newly added little-endian formats have (pix_fmt & 1) == 0. * This allows simpler detection of big vs little-en

Re: [FFmpeg-devel] FFserver bug?

2014-11-04 Thread Michael Niedermayer
On Wed, Nov 05, 2014 at 12:07:14AM +0100, Lukasz Marek wrote: > On 31.10.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 n

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

2014-11-04 Thread Carl Eugen Hoyos
Thomas Volkert gmx.net> writes: > +#define UDPLITE_SEND_CSCOV10 tabs cannot be committed to FFmpeg git, please remove them. There is a tool tools/patcheck that finds the tabs (and other issues) for you. Carl Eugen ___

Re: [FFmpeg-devel] FFserver bug?

2014-11-04 Thread Lukasz Marek
On 05.11.2014 00:07, Lukasz Marek wrote: Maybe worth to mention I recently created function to dump AvCodecContext, to test if ffm is transmitting context properly. And strange thing I noticed ffm demuxer's read_header callback is called only once, even though there are 2 streams. I guess it is

Re: [FFmpeg-devel] FFserver bug?

2014-11-04 Thread Lukasz Marek
On 31.10.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 the problem which causes t

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

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

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

2014-11-04 Thread Binathi Bingi
Hi there, I see, we need dup2() to redirect the output to logfile. Therefore, I put it back in the patch. But, I am not sure if we should definitely use it, because I can't see any messages on the console as all are being redirected to log file For instance, when I run ffserver, I can't see the o

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

2014-11-04 Thread Kevin Mitchell
oops. fixed. From 7a8b181f88c8039c044d662fadbb92befeb8f163 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 determining telecine. --- doc/filters.texi | 19

[FFmpeg-devel] [PATCH] x86/swr: replace sse4 instructions in pack_6ch with sse ones

2014-11-04 Thread James Almer
There's no benefit from using blendps here except on CPUs with AVX, where it's faster than shufps according to Intel's documentation. As such, rename the sse4 functions to sse/sse2 and use shufps instead. Signed-off-by: James Almer --- libswresample/x86/audio_convert.asm| 31

Re: [FFmpeg-devel] [PATCH] doc: clarify -frames options behavior

2014-11-04 Thread Timothy Gu
On Tue, Nov 4, 2014 at 11:29 AM, Lou Logan wrote: > Replace "frames to record" with "frames to output". The "to record" > makes it seem like an input option, or that it would capture the frames > insead of outputting them. > > Signed-off-by: Lou Logan > --- > doc/ffmpeg.texi | 6 +++--- > ffmpeg

[FFmpeg-devel] [PATCH] doc: clarify -frames options behavior

2014-11-04 Thread Lou Logan
Replace "frames to record" with "frames to output". The "to record" makes it seem like an input option, or that it would capture the frames insead of outputting them. Signed-off-by: Lou Logan --- doc/ffmpeg.texi | 6 +++--- ffmpeg_opt.c| 8 2 files changed, 7 insertions(+), 7 deleti

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

2014-11-04 Thread Binathi Bingi
Hi there, I am sorry for the indentation errors in the above mail, it was because of bad email agent. In the attached patch, if the config.logfilename is not "-", then stdout is closed and then I reopened. Reynaldo, is right. I don't think it is good idea to use dup2(). There were problems in ru

[FFmpeg-devel] doc/examples/muxing.c

2014-11-04 Thread JULIAN GARDNER
I have been working on a program which needs to do audio resampling, and used muxing.c as a base but now i am coming up against a problem. Changing muxing.c so that the sound produced by the routine get_audio_frame is not the same audio rate as the output causes an assert in the write_audio_fram

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

2014-11-04 Thread Benoit Fouet
Hi, - Mail original - > On Tue, Nov 04, 2014 at 02:32:55PM +0100, Benoit Fouet wrote: > > Hi, > > > > - Mail original - > > > On Tue, Nov 04, 2014 at 01:15:02PM +0100, Benoit Fouet wrote: > > > > Hi, > > > > > > > > - Mail original - > > > > > On Mon, Nov 03, 2014 at 03:2

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

2014-11-04 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 02:32:55PM +0100, Benoit Fouet wrote: > Hi, > > - Mail original - > > On Tue, Nov 04, 2014 at 01:15:02PM +0100, Benoit Fouet wrote: > > > Hi, > > > > > > - Mail original - > > > > On Mon, Nov 03, 2014 at 03:21:33PM +0100, Benoit Fouet wrote: > > > > > When

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

2014-11-04 Thread Michael Niedermayer
On Mon, Nov 03, 2014 at 03:34:16PM -0800, Kevin Mitchell wrote: > rebase and update to use av_rescale. oops didn't know that was there. [...] > > +idet->total_repeats [ repeat] ++; > +idet->repeats [ repeat] += PRECISION; > + > idet->total_prestat [ ty

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

2014-11-04 Thread Benoit Fouet
Hi, - Mail original - > On Tue, Nov 04, 2014 at 01:15:02PM +0100, Benoit Fouet wrote: > > Hi, > > > > - Mail original - > > > 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. > > > > > > > > Sign

Re: [FFmpeg-devel] [PATCH] id3v2: prefer TDRC for date over TDRL.

2014-11-04 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 01:54:43PM +0100, Benoit Fouet wrote: > TDRL is what we used as a replacement of TYER, and, according to > http://id3.org/id3v2.4.0-changes : > TYER - Year > This frame is replaced by the TDRC frame, 'Recording time' > [F:4.2.5]. > So change TDRL usages t

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

2014-11-04 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 01:15:02PM +0100, Benoit Fouet wrote: > Hi, > > - Mail original - > > 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 > > > --- > > > libav

[FFmpeg-devel] [PATCH] id3v2: prefer TDRC for date over TDRL.

2014-11-04 Thread Benoit Fouet
TDRL is what we used as a replacement of TYER, and, according to http://id3.org/id3v2.4.0-changes : TYER - Year This frame is replaced by the TDRC frame, 'Recording time' [F:4.2.5]. So change TDRL usages to TDRC. Fixes ticket #3694 --- libavformat/id3v2.c | 2 +- libavformat/

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

2014-11-04 Thread Benoit Fouet
Hi, - Mail original - > 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/

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

2014-11-04 Thread Michael Niedermayer
On Sun, Nov 02, 2014 at 06:13:16PM +0800, rongyan wrote: > Timothy and Michael, > > I will modify the code according to your comments, then re-submit it. > Thanks. Thanks! [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The greatest way to live with honor

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

2014-11-04 Thread Michael Niedermayer
On Sat, Nov 01, 2014 at 09:37:20PM -0700, Timothy Gu wrote: > 你好: > Hi, > > On Friday, October 31, 2014, Michael Niedermayer wrote: > > > > > Why do you keep sending patches which duplicate code? > > > > Maybe someone can translate this to a language you understand > > better then english: > >

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

2014-11-04 Thread Michael Niedermayer
On Tue, Nov 04, 2014 at 03:05:24PM +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 > hadamard8_diff8x8_altivec()hadamard8_diff16x8_altivec() > sad16_x2_altivec() > sa