Re: [FFmpeg-devel] [PATCH] avfilter: Port mp=softpulldown to lavfi

2015-01-30 Thread Paul B Mahol
On 1/29/15, Michael Niedermayer wrote: > On Thu, Jan 29, 2015 at 05:42:39PM +, Paul B Mahol wrote: >> On 1/29/15, Michael Niedermayer wrote: >> > On Thu, Jan 29, 2015 at 09:20:43AM +, Paul B Mahol wrote: >> >> On 1/29/15, Michael Niedermayer wrote: >> >> > On Wed, Jan 28, 2015 at 03:13:2

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-30 Thread Matthijs Tempels
Hi Stefano, I did look at the strftime function, but strftime does not provide milliseconds.. What i need is the exact time (to the millisecond) of the first frame of the file.. (so the date from the strftime might even be a few ms of, but we could compensate for that) a seconds-resolution is

[FFmpeg-devel] [PATCH] avfilter: add dcshift filter

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 19 ++ libavfilter/Makefile | 1 + libavfilter/af_dcshift.c | 161 +++ libavfilter/allfilters.c | 1 + 4 files changed, 182 insertions(+) create mode 100644 libavfilter/af_dcshift.

[FFmpeg-devel] [PATCH 1/3] avcodec/qdm2: remove unneeded #include, there are no assert()

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/qdm2.c | 4 1 file changed, 4 deletions(-) diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c index 55d9e3f..5e12469 100644 --- a/libavcodec/qdm2.c +++ b/libavcodec/qdm2.c @@ -46,10 +46,6 @@ #include "qdm2_tablegen.h" -#undef NDEBUG -#include

[FFmpeg-devel] [PATCH 2/3] avcodec/svq1dec: remove unneeded #include, there are no assert()

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/svq1dec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 2f9ea16..7c31e57 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -40,9 +40,6 @@ #include "mathops.h" #include "svq1.h" -

[FFmpeg-devel] [PATCH 3/3] avcodec/vc1: remove unneeded #includes, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/vc1.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index b3955f2..19657ed 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -37,9 +37,6 @@ #include "unary.h" #include "simple_idct.h" -#undef NDEBUG -

[FFmpeg-devel] [PATCH 1/6] avformat/utils: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index f6df49b..81c7a0d 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -19,8 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Fl

[FFmpeg-devel] [PATCH 2/6] avformat/mpeg: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mpeg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index f98d850..a0b5738 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -28,8 +28,6 @@ # include "libavutil/bprint.h" #endif -#undef NDEBU

[FFmpeg-devel] [PATCH 3/6] avformat/asfenc: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/asfenc.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 3dc58f3..13bd5af 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -28,10 +28,6 @@ #include "riff.h" #include "asf.h" -#u

[FFmpeg-devel] [PATCH 4/6] avformat/mux: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index adf8171..050c4d9 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -44,9 +44,6 @@ #include "network.h" #endif -#undef NDEBUG -#include -

[FFmpeg-devel] [PATCH 6/6] avformat/movenc: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/movenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index d7ae5f0..3af3a17 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -48,9 +48,6 @@ #include "rtpenc.h" #include "mov_chan.h"

[FFmpeg-devel] [PATCH 5/6] avformat/mov: remove unneeded #include, there are no assert()

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mov.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f7e6137..91356ad 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -55,10 +55,6 @@ #include "qtpalette.h" - -#undef NDEBUG -#include -

[FFmpeg-devel] [PATCH] avcodec/videodsp_template: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/videodsp_template.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/videodsp_template.c b/libavcodec/videodsp_template.c index f4ff2ba..c569c30 100644 --- a/libavcodec/videodsp_template.c +++ b/libavcodec/videodsp_template.c @@ -19,8 +19,

[FFmpeg-devel] [PATCH] avformat/rtpdec_qdm2: change assert to av_assert0()

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/rtpdec_qdm2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c index e1dd62f..edd9490 100644 --- a/libavformat/rtpdec_qdm2.c +++ b/libavformat/rtpdec_qdm2.c @@ -189,7 +189,7 @@ sta

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-30 Thread Stefano Sabatini
On date Friday 2015-01-30 11:01:16 +0100, Matthijs Tempels encoded: > Hi Stefano, > > I did look at the strftime function, but strftime does not provide > milliseconds.. Yeah, we need gettimeofday for that. > What i need is the exact time (to the millisecond) of the first frame of the > file..

[FFmpeg-devel] PATCH dshow show devices options

2015-01-30 Thread Roger Pack
See attached. Hope I didn't get it reversed or something weird. -roger- 0001-dshow-show-incremental-values-allowed.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/nut: add GIF[0]

2015-01-30 Thread Paul B Mahol
On 1/29/15, Michael Niedermayer wrote: > On Thu, Jan 29, 2015 at 05:10:20PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/nut.c | 1 + >> 1 file changed, 1 insertion(+) > > LGTM > > Thanks > Applied Thanks > [...] > -- > Michael GnuPG fingerprint: 9FF2128B1

Re: [FFmpeg-devel] [PATCH] avformat/nut: support WavPack

2015-01-30 Thread Paul B Mahol
On 1/29/15, Michael Niedermayer wrote: > On Thu, Jan 29, 2015 at 02:59:20PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/nut.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/libavformat/nut.c b/libavformat/nut.c >> index 86a0301..6cd3445 100644 >>

Re: [FFmpeg-devel] [PATCH] lavfi: remove mp=softpulldown

2015-01-30 Thread Michael Niedermayer
On Thu, Jan 29, 2015 at 01:48:16PM +, Paul B Mahol wrote: > It is supposed to work correctly with MEncoder only. > See mplayer(1) manual page. > > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 1 - > libavfilter/Makefile | 1 - > lib

[FFmpeg-devel] [PATCH] avfilter: Add repeatfields filter (Port of mp=softpulldown)

2015-01-30 Thread Michael Niedermayer
From: Paul B Mahol Signed-off-by: Michael Niedermayer --- LICENSE.md|1 + configure |1 + doc/filters.texi |5 ++ libavfilter/Makefile |1 + libavfilter/allfilters.c |1 + libavfilter/vf_repeatfields.c | 191

[FFmpeg-devel] [PATCH 0/2] Fix warnings in ffmpeg.c

2015-01-30 Thread Christophe Gisquet
First patch is pretty straightforward, while the second raises a few questions. Christophe Gisquet (2): ffmpeg: free_input_threads requires HAVE_PTHREADS ffmpeg: don't use deprecated av_log_ask_for_sample ffmpeg.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- 1.9.2.msysg

[FFmpeg-devel] [PATCH 1/2] ffmpeg: free_input_threads requires HAVE_PTHREADS

2015-01-30 Thread Christophe Gisquet
Hide behind that macro to avoid warning on systems with !HAVE_PTHREADS. --- ffmpeg.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index b836448..9b7d585 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -155,8 +155,9 @@ static struct termios oldtty; static int

[FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread Christophe Gisquet
The solution requires accessing an lavu internal, which may not be a good example for ffmpeg as a library user. --- ffmpeg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index 9b7d585..271a638 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -60,6 +60,7 @@ #inc

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-30 Thread Matthijs Tempels
Hi, Just missed you on IRC :-/ > Op 30 jan. 2015, om 12:59 heeft Stefano Sabatini het > volgende geschreven: > > On date Friday 2015-01-30 11:01:16 +0100, Matthijs Tempels encoded: >> Hi Stefano, >> >> I did look at the strftime function, but strftime does not provide >> milliseconds.. > > Y

Re: [FFmpeg-devel] PATCH dshow show devices options

2015-01-30 Thread Don Moir
- Original Message - From: "Roger Pack" To: "FFmpeg development discussions and patches" Sent: Friday, January 30, 2015 7:09 AM Subject: [FFmpeg-devel] PATCH dshow show devices options See attached. Hope I didn't get it reversed or something weird. -roger- -#define DSHOWDEBUG 0

Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: free_input_threads requires HAVE_PTHREADS

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 01:09:02PM +, Christophe Gisquet wrote: > Hide behind that macro to avoid warning on systems with > !HAVE_PTHREADS. applied first hunk, the second was already under #if HAVE_PTHREADS [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Rew

Re: [FFmpeg-devel] Patch for timestamp pattern in filename

2015-01-30 Thread Stefano Sabatini
On date Friday 2015-01-30 14:13:53 +0100, Matthijs Tempels encoded: > Hi, Just missed you on IRC :-/ > > > Op 30 jan. 2015, om 12:59 heeft Stefano Sabatini het > > volgende geschreven: [...] > > The simpler approach I can image is to add another option like > > -epoch_micros which replaces a %Nd

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 01:09:03PM +, Christophe Gisquet wrote: > The solution requires accessing an lavu internal, which may not be > a good example for ffmpeg as a library user. > --- > ffmpeg.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/ffmpeg.c b/ffmpeg.c >

[FFmpeg-devel] [PATCH] ffmpeg: remove unused header

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- ffmpeg.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index 29f61da..9cff557 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -62,8 +62,6 @@ #include "libavutil/threadmessage.h" #include "libavformat/os_support.h" -#include "libavformat/ffm.h

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_qdm2: change assert to av_assert0()

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:44:48AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/rtpdec_qdm2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness the

Re: [FFmpeg-devel] [PATCH] avcodec/videodsp_template: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:29:37AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/videodsp_template.c | 2 -- > 1 file changed, 2 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflake in an avalanch

Re: [FFmpeg-devel] [PATCH] ffmpeg: remove unused header

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 02:08:48PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > ffmpeg.c | 2 -- > 1 file changed, 2 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many things microsoft did are stupid, but not do

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/qdm2: remove unneeded #include, there are no assert()

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 10:53:37AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/qdm2.c | 4 > 1 file changed, 4 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread Christophe Gisquet
Hi, 2015-01-30 14:59 GMT+01:00 Michael Niedermayer : > On Fri, Jan 30, 2015 at 01:09:03PM +, Christophe Gisquet wrote: >> The solution requires accessing an lavu internal, which may not be >> a good example for ffmpeg as a library user. [...] > ffmpeg.c as a user application should not use avp

[FFmpeg-devel] [PATCH] avcodec/vp3: use init_get_bits8()

2015-01-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/vp3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 726eda0..37d41b8 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1998,7 +1998,8 @@ static int vp3_decode_frame(AVCodecContex

Re: [FFmpeg-devel] [PATCH] avformat/rtpdec_qdm2: change assert to av_assert0()

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Fri, Jan 30, 2015 at 11:44:48AM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavformat/rtpdec_qdm2.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > LGTM > applied > [...] > -- > Michael GnuPG fingerprint: 9FF2

Re: [FFmpeg-devel] [PATCH] ffmpeg: remove unused header

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Fri, Jan 30, 2015 at 02:08:48PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> ffmpeg.c | 2 -- >> 1 file changed, 2 deletions(-) > > LGTM > > thanks > applied > [...] > > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/qdm2: remove unneeded #include, there are no assert()

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Fri, Jan 30, 2015 at 10:53:37AM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/qdm2.c | 4 >> 1 file changed, 4 deletions(-) > > LGTM > applied > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF1336

Re: [FFmpeg-devel] [PATCH] avcodec/videodsp_template: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Fri, Jan 30, 2015 at 11:29:37AM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/videodsp_template.c | 2 -- >> 1 file changed, 2 deletions(-) > > LGTM > applied > thanks > > [...] > -- > Michael GnuPG fingerprint: 9FF

Re: [FFmpeg-devel] PATCH dshow show devices options

2015-01-30 Thread Roger Pack
On 1/30/15, Don Moir wrote: > > - Original Message - > From: "Roger Pack" > To: "FFmpeg development discussions and patches" > Sent: Friday, January 30, 2015 7:09 AM > Subject: [FFmpeg-devel] PATCH dshow show devices options > > >> See attached. Hope I didn't get it reversed or somethin

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 03:47:07PM +0100, Christophe Gisquet wrote: > Hi, > > 2015-01-30 14:59 GMT+01:00 Michael Niedermayer : > > On Fri, Jan 30, 2015 at 01:09:03PM +, Christophe Gisquet wrote: > >> The solution requires accessing an lavu internal, which may not be > >> a good example for ffm

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread wm4
On Fri, 30 Jan 2015 15:47:07 +0100 Christophe Gisquet wrote: > Hi, > > 2015-01-30 14:59 GMT+01:00 Michael Niedermayer : > > On Fri, Jan 30, 2015 at 01:09:03PM +, Christophe Gisquet wrote: > >> The solution requires accessing an lavu internal, which may not be > >> a good example for ffmpeg a

Re: [FFmpeg-devel] [PATCH] lavfi: remove mp=softpulldown

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Thu, Jan 29, 2015 at 01:48:16PM +, Paul B Mahol wrote: >> It is supposed to work correctly with MEncoder only. >> See mplayer(1) manual page. >> >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi | 1 - >> libavfil

Re: [FFmpeg-devel] [PATCH] avcodec/vp3: use init_get_bits8()

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 03:01:14PM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/vp3.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Why not whip the teac

Re: [FFmpeg-devel] [PATCH 5/6] avfilter: add paletteuse filter

2015-01-30 Thread Calvin Walton
On Tue, 2015-01-27 at 14:20 +0100, Clément Bœsch wrote: > On Sun, Jan 25, 2015 at 07:55:22PM +0100, Clément Bœsch wrote: > > --- > > doc/filters.texi| 31 + > > libavfilter/Makefile| 1 + > > libavfilter/allfilters.c| 1 + > > libavfilter/vf_paletteuse.c | 282 > >

[FFmpeg-devel] [PATCH] lavd/libcdio: apply minor fixes to options documentation

2015-01-30 Thread Stefano Sabatini
--- libavdevice/libcdio.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c index 16a4b26..8bb95e6 100644 --- a/libavdevice/libcdio.c +++ b/libavdevice/libcdio.c @@ -164,11 +164,11 @@ static int read_seek(AVFormatContext *c

[FFmpeg-devel] [PATCH] doc/indevs/libcdio: apply minor spell fixes, extend documentation

2015-01-30 Thread Stefano Sabatini
--- doc/indevs.texi | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index fa6facf..85ceae4 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -559,20 +559,46 @@ ffmpeg -f lavfi -i "movie=test.ts[out0+subcc]"

[FFmpeg-devel] [PATCH] lavd/libcdio: add more paranoia mode constants

2015-01-30 Thread Stefano Sabatini
--- libavdevice/libcdio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavdevice/libcdio.c b/libavdevice/libcdio.c index 8bb95e6..b0b38d0 100644 --- a/libavdevice/libcdio.c +++ b/libavdevice/libcdio.c @@ -165,10 +165,12 @@ static int read_seek(AVFormatContext *ctx, int

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: don't use deprecated av_log_ask_for_sample

2015-01-30 Thread James Almer
On 30/01/15 1:20 PM, wm4 wrote: > On Fri, 30 Jan 2015 15:47:07 +0100 > Christophe Gisquet wrote: > >> Hi, >> >> 2015-01-30 14:59 GMT+01:00 Michael Niedermayer : >>> On Fri, Jan 30, 2015 at 01:09:03PM +, Christophe Gisquet wrote: The solution requires accessing an lavu internal, which may

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

2015-01-30 Thread arwa arif
I have tried to add process_command in vf_eq.c. I have attached the patch. From 1d65e493a8eb247d86b0db324cb740579662706d Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Fri, 30 Jan 2015 23:06:50 +0530 Subject: [PATCH] Add support to process_command in vf_eq.c --- libavfilter/vf_eq.c | 53 ++

[FFmpeg-devel] [PATCH 3/3] x86/hevc: add ff_hevc_sao_band_filter_{8, 10, 12}_{sse2, avx2}

2015-01-30 Thread James Almer
Original x86 intrinsics code and initial 8bit yasm port by Pierre-Edouard Lepere. 10/12bit yasm ports, refactoring and optimizations by James Almer Benchmarks of BQTerrace_1920x1080_60_qp22.bin with an Intel Core i5-4200U width 32 40338 decicycles in sao_band_filter_0_8, 2048 runs, 0 skips 8585

[FFmpeg-devel] [PATCH 1/3] hevcdsp: remove unused parameter from sao_band_filter

2015-01-30 Thread James Almer
Signed-off-by: James Almer --- libavcodec/hevc_filter.c | 7 ++- libavcodec/hevcdsp.h | 3 +-- libavcodec/hevcdsp_template.c | 3 +-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 3aaf3e5..30ade74 100644

[FFmpeg-devel] [PATCH 2/3] hevcdsp: replace the SAOParams struct parameter from sao_band_filter

2015-01-30 Thread James Almer
Pass instead the two variables from the struct needed in the function. This simplifies writing asm optimized versions of the function Signed-off-by: James Almer --- libavcodec/hevc_filter.c | 3 ++- libavcodec/hevcdsp.h | 2 +- libavcodec/hevcdsp_template.c | 7 +++ 3 files cha

Re: [FFmpeg-devel] [PATCH] avcodec/vp3: use init_get_bits8()

2015-01-30 Thread Paul B Mahol
On 1/30/15, Michael Niedermayer wrote: > On Fri, Jan 30, 2015 at 03:01:14PM +, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/vp3.c | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) > > LGTM > > thanks > applied thanks > [...] > -- > Michael GnuPG

Re: [FFmpeg-devel] [PATCH 1/3] hevcdsp: remove unused parameter from sao_band_filter

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 03:50:12PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/hevc_filter.c | 7 ++- > libavcodec/hevcdsp.h | 3 +-- > libavcodec/hevcdsp_template.c | 3 +-- > 3 files changed, 4 insertions(+), 9 deletions(-) LGTM thanks [...] --

Re: [FFmpeg-devel] [PATCH] lavd/libcdio: apply minor fixes to options documentation

2015-01-30 Thread Paul B Mahol
On 1/30/15, Stefano Sabatini wrote: > --- > libavdevice/libcdio.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > lgtm ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/3] hevcdsp: replace the SAOParams struct parameter from sao_band_filter

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 03:50:13PM -0300, James Almer wrote: > Pass instead the two variables from the struct needed in the function. > This simplifies writing asm optimized versions of the function > > Signed-off-by: James Almer > --- > libavcodec/hevc_filter.c | 3 ++- > libavcodec/hevcds

Re: [FFmpeg-devel] [PATCH 2/3] hevcdsp: replace the SAOParams struct parameter from sao_band_filter

2015-01-30 Thread Christophe Gisquet
Hi, 2015-01-30 19:50 GMT+01:00 James Almer : > Pass instead the two variables from the struct needed in the function. > This simplifies writing asm optimized versions of the function ok, no impact by itself but... > void (*sao_band_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t > _stride_

Re: [FFmpeg-devel] [PATCH 2/3] hevcdsp: replace the SAOParams struct parameter from sao_band_filter

2015-01-30 Thread James Almer
On 30/01/15 5:41 PM, Christophe Gisquet wrote: > Not knowing how it is used, would it be useful for the passed > offset_val to be aligned? (In which case reordering the table could be > useful (maybe). The only instructions that read those values are movd on sse2, and vpbroadcastw on avx2. In bot

Re: [FFmpeg-devel] [PATCH] lavd/libcdio: add more paranoia mode constants

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 06:32:33PM +0100, Stefano Sabatini wrote: > --- > libavdevice/libcdio.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) seems not to apply cleanly but should be ok [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay

Re: [FFmpeg-devel] [PATCH] avfilter: add dcshift filter

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 10:17:59AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 19 ++ > libavfilter/Makefile | 1 + > libavfilter/af_dcshift.c | 161 > +++ > libavfilter/allfilters.c | 1 + >

Re: [FFmpeg-devel] PATCH dshow show devices options

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 08:55:45AM -0700, Roger Pack wrote: > On 1/30/15, Don Moir wrote: > > > > - Original Message - > > From: "Roger Pack" > > To: "FFmpeg development discussions and patches" > > Sent: Friday, January 30, 2015 7:09 AM > > Subject: [FFmpeg-devel] PATCH dshow show devic

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/svq1dec: remove unneeded #include, there are no assert()

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 10:53:38AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/svq1dec.c | 3 --- > 1 file changed, 3 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/vc1: remove unneeded #includes, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 10:53:39AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/vc1.c | 3 --- > 1 file changed, 3 deletions(-) LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or ru

Re: [FFmpeg-devel] [PATCH 1/6] avformat/utils: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:52AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/utils.c | 2 -- > 1 file changed, 2 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which

Re: [FFmpeg-devel] [PATCH 2/6] avformat/mpeg: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:53AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/mpeg.c | 2 -- > 1 file changed, 2 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are too smart to engage in polit

Re: [FFmpeg-devel] [PATCH 3/6] avformat/asfenc: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:54AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/asfenc.c | 4 > 1 file changed, 4 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Observe your enemies, for they first f

Re: [FFmpeg-devel] [PATCH 4/6] avformat/mux: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:55AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/mux.c | 3 --- > 1 file changed, 3 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Into a blind darkness they enter who follow aft

Re: [FFmpeg-devel] [PATCH 5/6] avformat/mov: remove unneeded #include, there are no assert()

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:56AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/mov.c | 4 > 1 file changed, 4 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possibl

Re: [FFmpeg-devel] [PATCH 6/6] avformat/movenc: remove unneeded #include, there are no assert() only av_assert*

2015-01-30 Thread Michael Niedermayer
On Fri, Jan 30, 2015 at 11:27:57AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavformat/movenc.c | 3 --- > 1 file changed, 3 deletions(-) LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB DNS cache poisoning attacks, popular search

Re: [FFmpeg-devel] [PATCH] doc/indevs/libcdio: apply minor spell fixes, extend documentation

2015-01-30 Thread Timothy Gu
On Fri Jan 30 2015 at 9:32:58 AM Stefano Sabatini wrote: > --- > doc/indevs.texi | 32 +--- > 1 file changed, 29 insertions(+), 3 deletions(-) > > diff --git a/doc/indevs.texi b/doc/indevs.texi > index fa6facf..85ceae4 100644 > --- a/doc/indevs.texi > +++ b/doc/indevs

[FFmpeg-devel] [PATCH] avformat/cache: pass options to the underlying protocol via the url_open2

2015-01-30 Thread Zhang Rui
--- libavformat/cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/cache.c b/libavformat/cache.c index 02b02bb..26e68c5 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -70,7 +70,7 @@ static int cmp(void *key, const void *node) return (*