[libav-devel] [PATCH] avconv: Use only audio and video to guess discontinuities

2014-09-12 Thread Luca Barbato
Data and subtitle streams might cause false positive. --- avconv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avconv.c b/avconv.c index 634101a..7dd335e 100644 --- a/avconv.c +++ b/avconv.c @@ -2420,7 +2420,9 @@ static int process_input(void) if (pkt.dts != AV_NOPT

[libav-devel] [PATCH] probe: Bump the score for mime type matching

2014-09-12 Thread Luca Barbato
From: Andreas Cadhalpun It should be more trustworthy than extension matching. Signed-off-by: Luca Barbato --- IIRC there were consensus on that but looks like in the end I pushed the unmodified patch... thanks to Andreas for pointing it out. (MIME is 1/2 higher than EXTENSION) libavformat/f

Re: [libav-devel] [PATCH] flacdec: remove unused headers

2014-09-12 Thread Luca Barbato
On 13/09/14 00:50, Tristan Matthews wrote: > --- > libavcodec/flacdec.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c > index 9ca55cc..a475309 100644 > --- a/libavcodec/flacdec.c > +++ b/libavcodec/flacdec.c > @@ -33,8 +33,6 @@ > > #inclu

[libav-devel] [PATCH] flacdec: remove unused headers

2014-09-12 Thread Tristan Matthews
--- libavcodec/flacdec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 9ca55cc..a475309 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -33,8 +33,6 @@ #include -#include "libavutil/channel_layout.h" -#include "libavutil

[libav-devel] [PATCH] log: Unbreak no-tty support on 256color terminals

2014-09-12 Thread Luca Barbato
CC: libav-sta...@libav.org --- libavutil/log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/log.c b/libavutil/log.c index 5a8f293..d38e40b 100644 --- a/libavutil/log.c +++ b/libavutil/log.c @@ -75,7 +75,8 @@ static void check_color_terminal(void) char *term

Re: [libav-devel] [PATCH 1/2] x11grab: Check XFixesGetCursorImage return value

2014-09-12 Thread Luca Barbato
On 12/09/14 18:28, Antonio Ospite wrote: > On Thu, 11 Sep 2014 14:34:35 +0200 > Luca Barbato wrote: > >> It could return NULL if the cursor is outside the screen, the connection >> timed out or the system is out of memory. >> >> CC: libav-sta...@libav.org >> --- > > Hi Luca, this looks a lot lik

Re: [libav-devel] [PATCH 1/2] x11grab: Check XFixesGetCursorImage return value

2014-09-12 Thread Antonio Ospite
On Thu, 11 Sep 2014 14:34:35 +0200 Luca Barbato wrote: > It could return NULL if the cursor is outside the screen, the connection > timed out or the system is out of memory. > > CC: libav-sta...@libav.org > --- Hi Luca, this looks a lot like: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h

Re: [libav-devel] [PATCH 2/2] x11grab: Check for XFixes availability at runtime

2014-09-12 Thread Antonio Ospite
On Thu, 11 Sep 2014 14:34:36 +0200 Luca Barbato wrote: > --- > > As I do with xcbgrab. XFixesSelectCursorInput should hide events outside > the root window. > Hi Luca I tested this and it does not seem to be enough for a multi-screen setup, maybe XFixes does not care at all about the screen id,

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Luca Barbato
On 12/09/14 17:12, Mirko Puliafito wrote: > I can test any patch you want as I have a running development VM (It took > days to have one up and running). > Great, I'd wait for Martin since he is the most knowledgeable person on this field. lu ___ libav

Re: [libav-devel] [PATCH] avdevice/x11grab: fix cursor drawing in multi-screen setup

2014-09-12 Thread Luca Barbato
On 12/09/14 17:06, Antonio Ospite wrote: > What do you think? I prepared a couple of patches that _should_ fix that. The main idea is to just register to get the mouse event for the right window (the selected screen root window) and just handle the NULL returned when the mouse is outside the scree

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
I can test any patch you want as I have a running development VM (It took days to have one up and running). Mirko 2014-09-12 16:25 GMT+02:00 Timothy Gu : > On Fri, Sep 12, 2014 at 6:56 AM, Luca Barbato wrote: > > - threads support missing (what does window phone use for threads?) > > Windows Ph

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
Yes, a kind of the same, just some tuning about armasm. Compilation is fine also with me. The problem is when I try to link libs in an ARM Visual Studio Project (Windows Phone app). Mirko -- *Mirko Puliafito* CTO Mobile: +39 347 276 0256 20124 Milano Via Melchiorre G

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
@Luca: I'm trying both ffmpeg and libav getting the same error. It seems both have the same linking error (or I'm screwing up J). I'm using libav 10.3 just downloaded from the official libav site @Timothy: -- Build started: Project: TestFFMPEG, Configuration: Release ARM -- > pch.cpp >

Re: [libav-devel] [PATCH] avdevice/x11grab: fix cursor drawing in multi-screen setup

2014-09-12 Thread Antonio Ospite
On Mon, 8 Sep 2014 18:05:02 +0200 Antonio Ospite wrote: > On Mon, 08 Sep 2014 17:26:13 +0200 > Luca Barbato wrote: > > > On 08/09/14 13:39, Antonio Ospite wrote: > > > The code uses XFixes to retrieve the cursor coordinates, but XFixes > > > gives no information of what screen the pointer is on

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Timothy Gu
On Fri, Sep 12, 2014 at 6:56 AM, Luca Barbato wrote: > - threads support missing (what does window phone use for threads?) Windows Phone has CreateSemaphoreExW and other Unicode functions, but no ANSI which Libav uses. > - log support requires non-standard support Windows Phone doesn't seem to

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Luca Barbato
On 12/09/14 15:43, Mirko Puliafito wrote: > @Luca: I'm trying both ffmpeg and libav getting the same error. It seems > both have the same linking error (or I'm screwing up J). I'm using libav > 10.3 just downloaded from the official libav site > > @Timothy: > > -- Build started: Project: Test

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
@Luca: I'm trying both ffmpeg and libav getting the same error. It seems both have the same linking error (or I'm screwing up J). I'm using libav 10.3 just downloaded from the official libav site @Timothy: -- Build started: Project: TestFFMPEG, Configuration: Release ARM -- > pch.cpp >

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Luca Barbato
On 12/09/14 15:18, Mirko Puliafito wrote: > Yes, a kind of the same, just some tuning about armasm. No, if you use Libav you get support here, if you use FFmpeg you have to ask it in the right ml. It is quite rude asking questions and have people spend time on something while you are using the co

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Timothy Gu
On Sep 12, 2014 6:19 AM, "Mirko Puliafito" wrote: > > Yes, a kind of the same, just some tuning about armasm. > > Compilation is fine also with me. The problem is when I try to link libs in > an ARM Visual Studio Project (Windows Phone app). Can you posted the log of the failed build here so we c

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
Yes, a kind of the same, just some tuning about armasm. Compilation is fine also with me. The problem is when I try to link libs in an ARM Visual Studio Project (Windows Phone app). Mirko 2014-09-12 15:11 GMT+02:00 Luca Barbato : > On 12/09/14 12:07, Mirko Puliafito wrote: > > Are they the same

Re: [libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Luca Barbato
On 12/09/14 12:07, Mirko Puliafito wrote: Are they the same as? https://libav.org/platform.html#Microsoft-Visual-C_002b_002b-or-Intel-C_002b_002b-Compiler-for-Windows Libav and FFmpeg are different projects, I'll add a section to http://wiki.libav.org/Platform once I'll have some time to nag Mar

[libav-devel] VDD organization (and fosdem)

2014-09-12 Thread Luca Barbato
Hi, I'm planning to get some t-shirt (or polo) printed for the event, I'd need to know who wants them, the size, (how many if they want). It will be the traditional black with front small label and back with larger writing in the back, it will be for community members. Please tell me asap and pos

Re: [libav-devel] [PATCH] vc1: Disentangle vc1dsp from the common VC-1 code

2014-09-12 Thread Luca Barbato
On 12/09/14 10:23, Diego Biurrun wrote: > This fixes standalone compilation of the VC-1 parser. > --- > libavcodec/Makefile | 2 +- > libavcodec/vc1.c| 2 -- > libavcodec/vc1dec.c | 1 + > 3 files changed, 2 insertions(+), 3 deletions(-) > Ok. that reminds me that I have pending patches abou

Re: [libav-devel] [PATCH] ismindex: handle time discontinuities

2014-09-12 Thread Raento Mika
On 11/09/14 14:18, "Martin Storsjö" wrote: >On Thu, 11 Sep 2014, Raento Mika wrote: > >> After looking at the files I have, I think we need a parser for the Tfxd >> to get a real fix. > >Yeah, that's pretty much my conclusion as well. I can try to create a >patch for that, but it'll probably take

[libav-devel] Libav compilation issue on Windows phone 8.1

2014-09-12 Thread Mirko Puliafito
I was able to compile static libav libs on Windows phone 8.1 but not able to link them to create an app. I used these steps: *My configuration* -) OS: Windows 8.1 VS: Ultimate 2013 Update 3 (If armasm fails, msvcdis110.dll missing download it from dllsearch ) -) Mingw (be sure that "link" and "cl

Re: [libav-devel] [PATCH 4/5] Split off fixed point IJG IDCT into separate component

2014-09-12 Thread Diego Biurrun
On Thu, Sep 11, 2014 at 11:04:53PM +0200, Luca Barbato wrote: > On 09/09/14 15:25, Diego Biurrun wrote: > > --- > > configure | 4 > > libavcodec/Makefile | 3 ++- > > libavcodec/arm/Makefile | 4 ++-- > > libavcodec/arm/dct-test.c |

[libav-devel] [PATCH] Split off fixed point IJG IDCT into separate component

2014-09-12 Thread Diego Biurrun
--- The previous version still contained a rebasing mistake and used function names that were changed in a previous patch. configure | 4 libavcodec/Makefile | 3 ++- libavcodec/arm/Makefile | 4 ++-- libavcodec/arm/dct-test.c | 2

[libav-devel] [PATCH] vc1: Disentangle vc1dsp from the common VC-1 code

2014-09-12 Thread Diego Biurrun
This fixes standalone compilation of the VC-1 parser. --- libavcodec/Makefile | 2 +- libavcodec/vc1.c| 2 -- libavcodec/vc1dec.c | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9122029..a209870 100644 --- a/libavcodec/Makef