Re: [FFmpeg-devel] Modified force_key_frames option to accept frame numbers

2014-11-13 Thread Michael Niedermayer
On Sun, Nov 09, 2014 at 11:42:32PM +, Sylvester Zaluga wrote: [...] > @@ -2333,6 +2338,12 @@ static InputStream *get_input_stream(OutputStream *ost) > return NULL; > } > > +static int compare_int(const void *a, const void *b) > +{ > +int va = *(int *)a, vb = *(int *)b; > +retur

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lut: gammaval709()

2014-11-13 Thread Michael Niedermayer
On Fri, Nov 14, 2014 at 09:14:24AM +1100, Peter Ross wrote: > See http://www.itu.int/rec/R-REC-BT.709 > Item 1.2, overall opto-electronic transfer characteristics at source > > Signed-off-by: Peter Ross > --- > > This is required for cine playback. > (Yes, the transform still occurs in yuv color

Re: [FFmpeg-devel] [PATCH] ppc: replace vec_ld(0), vec_ld(1) by VEC_LD2() which has fewer loads

2014-11-13 Thread Michael Niedermayer
On Fri, Nov 07, 2014 at 03:12:19PM +0100, Michael Niedermayer wrote: > This needs to be benchmarked, i do not have ppc hw > This is on big endian more similar to how the code was before > 79e0255956bc8fcdb143f39b2e45db77144ac017 > > Signed-off-by: Michael Niedermayer ping can someone with a al

[FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: Fix output top field first flag for MODE_INTERLACEX2

2014-11-13 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavfilter/vf_tinterlace.c |1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 7397beb..4ce69da 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -342,6 +342,7 @@

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: fix incorrect field order in interlacex2 mode

2014-11-13 Thread Michael Niedermayer
On Thu, Nov 13, 2014 at 01:40:12AM +0300, Aleksey Vasenev wrote: > Signed-off-by: Aleksey Vasenev > --- > libavfilter/vf_tinterlace.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) this doesnt look correct, the combined fields are at the wrong locations vertically with this patc

Re: [FFmpeg-devel] [SPI] [OPW] Funding a 3rd slot

2014-11-13 Thread compn
sounds good! :) -compn ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter/vf_lut: gammaval709()

2014-11-13 Thread Peter Ross
See http://www.itu.int/rec/R-REC-BT.709 Item 1.2, overall opto-electronic transfer characteristics at source Signed-off-by: Peter Ross --- This is required for cine playback. (Yes, the transform still occurs in yuv colorspace, which is a limitation.) libavfilter/vf_lut.c | 17 +

Re: [FFmpeg-devel] [PATCH] fate: add xBR filter tests

2014-11-13 Thread Clément Bœsch
On Mon, Nov 10, 2014 at 06:43:15AM +0100, Clément Bœsch wrote: > --- > If anyone can fix that, that would be great: > > remote: -Info- Update is fast-forward > remote: -Deny- In f079201a6ddab1a3e1dd0018990e3f7c6a11361b: > remote: -Deny- Tabs found in tests/fate/filter-vi

Re: [FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: fix frame rate

2014-11-13 Thread Michael Niedermayer
On Thu, Nov 13, 2014 at 01:39:45AM +0300, Aleksey Vasenev wrote: > Signed-off-by: Aleksey Vasenev > --- > libavfilter/vf_tinterlace.c | 2 ++ > 1 file changed, 2 insertions(+) fate tests updated patch applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: more accurate pts calculation

2014-11-13 Thread Michael Niedermayer
On Thu, Nov 13, 2014 at 01:38:29AM +0300, Aleksey Vasenev wrote: > Signed-off-by: Aleksey Vasenev > --- > libavfilter/vf_interlace.c | 2 -- > 1 file changed, 2 deletions(-) patch applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is dangerous

Re: [FFmpeg-devel] [PATCH]Clarify that the tcp timeout option takes microseconds

2014-11-13 Thread Carl Eugen Hoyos
Stefano Sabatini gmail.com> writes: > > -{ "timeout", "set timeout of socket I/O operations", > > OFFSET(rw_timeout), AV_OPT_TYPE_INT, { .i64 = -1 > > }, -1, INT_MAX, .flags = D|E }, > > +{ "timeout", "set timeout (in microseconds) of > > socket I/O operations", OFFS

Re: [FFmpeg-devel] [RFC]Improve flashsv2 encoder dimension error message

2014-11-13 Thread Carl Eugen Hoyos
Lou Logan lrcd.com> writes: > > Please suggest a better wording. > > What is wrong with the current wording? Apparently nothing. Pushed as is, thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/list

Re: [FFmpeg-devel] [RFC]Improve flashsv2 encoder dimension error message

2014-11-13 Thread Lou Logan
On Thu, 13 Nov 2014 08:45:45 +0100, Carl Eugen Hoyos wrote: > Hi! > > Please suggest a better wording. What is wrong with the current wording? > Thank you, Carl Eugen > > diff --git a/libavcodec/flashsv2enc.c b/libavcodec/flashsv2enc.c > index 9735a13..1c016f2 100644 > --- a/libavcodec/flashsv2

[FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: fix incorrect field order in interlacex2 mode

2014-11-13 Thread Aleksey Vasenev
Signed-off-by: Aleksey Vasenev --- libavfilter/vf_tinterlace.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 6bc55b5..42726c6 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@

[FFmpeg-devel] [PATCH] avfilter/vf_tinterlace: fix frame rate

2014-11-13 Thread Aleksey Vasenev
Signed-off-by: Aleksey Vasenev --- libavfilter/vf_tinterlace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 6bc55b5..7397beb 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -149,6 +149,8 @@ stat

Re: [FFmpeg-devel] Use ffmpeg as an Android stagefright plugin

2014-11-13 Thread Fabio Fumi
Sorry posted wrong logcat fragment in my last update. During playback I keep getting messages like these below, though no image is shown: ... V/ACodec ( 75): [OMX.ffmpeg.h264.decoder] calling emptyBuffer 0x2a06c4f0 w/ time 53232200 us V/ACodec ( 75): [OMX.google.aac.decoder] onOMXFillBuffe

[FFmpeg-devel] [PATCH] avfilter/vf_interlace: more accurate pts calculation

2014-11-13 Thread Aleksey Vasenev
Signed-off-by: Aleksey Vasenev --- libavfilter/vf_interlace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c index e07963f..42e2c9a 100644 --- a/libavfilter/vf_interlace.c +++ b/libavfilter/vf_interlace.c @@ -111,7 +111,6 @@ static int

Re: [FFmpeg-devel] Use ffmpeg as an Android stagefright plugin

2014-11-13 Thread Fabio Fumi
Forgetting for the moment the image issues above (as I've restored playback through the HW H264 codec), I'm now hitting another issue... Testing on a "Live" (m3u8) streaming (.m3u8 URLs; which is the reason I'm trying to use ffmpeg SW codecs at all, as HW one failed to playback these), I got th

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

2014-11-13 Thread James Almer
On 13/11/14 11:59 AM, Michael Niedermayer wrote: > On Mon, Nov 10, 2014 at 05:37:29PM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> Now also with indep8 (x86_64 only), and I'm pretty much done with these. >> >> libavcodec/arm/flacdsp_init_arm.c | 2 +- >> libavcodec/flacdec.

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Introduce device alias 'none'.

2014-11-13 Thread Thilo Borgmann
Am 13.11.14 um 16:32 schrieb Timothy Gu: > On Thu, Nov 13, 2014 at 7:25 AM, Thilo Borgmann > wrote: >> Hi, >> >> this allows to record audio or video only and prevents to find a usable >> device >> in any case. This change in behaviour requires a version bump? > > Yes, minor bump. Also a RELEAS

[FFmpeg-devel] [PATCH 3/3] doc/indevs: Rework and update documentation of AVFoundation device.

2014-11-13 Thread Thilo Borgmann
>From ee349f8572fb9fdf808a6d32efe75c8ab17a7f1e Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Thu, 13 Nov 2014 17:25:02 +0100 Subject: [PATCH 3/3] doc/indevs: Rework and update documentation of AVFoundation device. --- doc/indevs.texi | 86 +++--

[FFmpeg-devel] [PATCH 2/3] Changelog: Mention AVFoundation screen capturing.

2014-11-13 Thread Thilo Borgmann
>From c10ddfa22e3fb33711b3de83802cf2a1ced14741 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Thu, 13 Nov 2014 17:24:14 +0100 Subject: [PATCH 2/3] Changelog: Mention AVFoundation screen capturing. --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index

[FFmpeg-devel] [PATCH 1/3] lavd/avfoundation: Introduce device alias 'none'.

2014-11-13 Thread Thilo Borgmann
>From 3a6abd8f9f8483aebed987dc73e546a55b03b3d9 Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Thu, 13 Nov 2014 17:22:48 +0100 Subject: [PATCH 1/3] lavd/avfoundation: Introduce device alias 'none' to allow the user to record only audio or video. Changes the selection of a default device to

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Introduce device alias 'none'.

2014-11-13 Thread Timothy Gu
On Thu, Nov 13, 2014 at 7:25 AM, Thilo Borgmann wrote: > Hi, > > this allows to record audio or video only and prevents to find a usable device > in any case. This change in behaviour requires a version bump? Yes, minor bump. Also a RELEASE_NOTES and Changelog entry would be helpful. Also, a doc

[FFmpeg-devel] [PATCH] lavd/avfoundation: Introduce device alias 'none'.

2014-11-13 Thread Thilo Borgmann
Hi, this allows to record audio or video only and prevents to find a usable device in any case. This change in behaviour requires a version bump? -Thilo From 611e1cd763b04697f17aa5ea4d69d0280bef9a5f Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Thu, 13 Nov 2014 16:22:48 +0100 Subject: [PAT

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

2014-11-13 Thread Michael Niedermayer
On Mon, Nov 10, 2014 at 05:37:29PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > Now also with indep8 (x86_64 only), and I'm pretty much done with these. > > libavcodec/arm/flacdsp_init_arm.c | 2 +- > libavcodec/flacdec.c | 6 +- > libavcodec/flacdsp.c

Re: [FFmpeg-devel] [RFC] cinedec: report white balance gain coefficients using metadata

2014-11-13 Thread Michael Niedermayer
On Thu, Nov 13, 2014 at 05:37:29PM +1100, Peter Ross wrote: > On Thu, Nov 13, 2014 at 12:58:07AM +0100, Michael Niedermayer wrote: > > On Sun, Nov 09, 2014 at 12:05:41PM +1100, Peter Ross wrote: > > > For cehoyos: > > > > > > The PhantomCINE file format stores unprocessed sensor data from the > >

Re: [FFmpeg-devel] [RFC]Improve flashsv2 encoder dimension error message

2014-11-13 Thread Michael Niedermayer
On Thu, Nov 13, 2014 at 08:45:45AM +0100, Carl Eugen Hoyos wrote: > Hi! > > Please suggest a better wording. > > Thank you, Carl Eugen > flashsv2enc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > ec3c0c3e65d5b28031d183ca261f943ef1796d7b patchflashsv2enc.diff > diff --git a/liba

Re: [FFmpeg-devel] [PATCH] Enables parsing DVD color palette directly from IFO file

2014-11-13 Thread Clément Bœsch
On Thu, Nov 13, 2014 at 09:39:49PM +0900, TOYAMA Shin-ichi wrote: > Michael Niedermayer wrote in <2014172026.GS32286@nb4> > >> +if ((in = fopen(p, "r")) == NULL) { > > > >why does this not use avio_open2() ? > >this would permit to also use ifo files in other locations than > >local files >

Re: [FFmpeg-devel] [PATCH] Enables parsing DVD color palette directly from IFO file

2014-11-13 Thread TOYAMA Shin-ichi
Michael Niedermayer wrote in <2014172026.GS32286@nb4> >> +if ((in = fopen(p, "r")) == NULL) { > >why does this not use avio_open2() ? >this would permit to also use ifo files in other locations than >local files Thank you for your suggestion. I revised the patch to use avio_open2(). -- T

Re: [FFmpeg-devel] [PATCH 9/9] lavf/ffm: use AVOption API to store/restore stream properties

2014-11-13 Thread Lukasz Marek
On 13 November 2014 01:50, Michael Niedermayer wrote: > > > > > I pushed to github current patches too. > > > > > > it seems your github tree doesnt pass fate: > > > > > > git checkout lukaszmluki/master > > > make distclean ; ./configure && make -j12 fate > > > > > > --- ./tests/ref/lavf/ffm

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

2014-11-13 Thread Nicolas George
Le duodi 22 brumaire, an CCXXIII, Binathi Bingi a écrit : > From a7c6a1f74902b6df8e4cc62480e8fd6f023905c4 Mon Sep 17 00:00:00 2001 > From: Binathi Bingi > Date: Tue, 4 Nov 2014 21:42:07 +0530 > Subject: [PATCH] Restore Daemon mode in FFserver > > Signed-off-by: Binathi Bingi > > Author:Bin

Re: [FFmpeg-devel] [PATCH]Remove the option -frame_rate from avfoundation: It has no effect

2014-11-13 Thread Thilo Borgmann
Am 13.11.14 um 11:15 schrieb Carl Eugen Hoyos: > Carl Eugen Hoyos ag.or.at> writes: > >> static const AVOption options[] = { >> -{ "frame_rate", "set frame rate", offsetof(AVFContext, >> frame_rate), AV_OPT_TYPE_FLOAT, { .dbl = 30.0 >> }, 0.1, 30.0, AV_OPT_TYPE_VIDEO_RATE, NULL }, > > Shou

Re: [FFmpeg-devel] [PATCH 3/9] lavf/ffm: store/restore private codec context

2014-11-13 Thread Lukasz Marek
On 13 November 2014 01:42, Michael Niedermayer wrote: > On Thu, Nov 13, 2014 at 01:04:28AM +0100, Lukasz Marek wrote: > > On 12.11.2014 20:32, Michael Niedermayer wrote: > > >On Wed, Nov 12, 2014 at 06:31:52PM +0100, Lukasz Marek wrote: > > >>On 12 November 2014 17:53, Michael Niedermayer > wrot

Re: [FFmpeg-devel] [PATCH]Remove the option -frame_rate from avfoundation: It has no effect

2014-11-13 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > static const AVOption options[] = { > -{ "frame_rate", "set frame rate", offsetof(AVFContext, > frame_rate), AV_OPT_TYPE_FLOAT, { .dbl = 30.0 > }, 0.1, 30.0, AV_OPT_TYPE_VIDEO_RATE, NULL }, Should this also get removed from 2.3 and 2.4? Or better print

Re: [FFmpeg-devel] [RFC] cinedec: report white balance gain coefficients using metadata

2014-11-13 Thread Peter Ross
On Thu, Nov 13, 2014 at 12:58:07AM +0100, Michael Niedermayer wrote: > On Sun, Nov 09, 2014 at 12:05:41PM +1100, Peter Ross wrote: > > For cehoyos: > > > > The PhantomCINE file format stores unprocessed sensor data from the > > camera CFA, and reports image processing coefficients in the file hea