Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 8:15 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Oct 3, 2015 at 9:11 AM, Ganesh Ajjanagadde wrote: > >> On Sat, Oct 3, 2015 at 7:49 AM, Hendrik Leppkes >> wrote: >> > On Sat, Oct 3, 2015 at 2:33 PM, Ganesh

Re: [FFmpeg-devel] [PATCHv2] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:55 AM, Ronald S. Bultje wrote: > Hi, > > On Fri, Sep 18, 2015 at 9:05 AM, Ganesh Ajjanagadde > wrote: > >> On Fri, Sep 18, 2015 at 4:40 AM, wm4 wrote: >> > On 17.09.2015 15:07, Ganesh Ajjanagadde wrote: >> >>

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Henrik Gramner
On Sat, Oct 3, 2015 at 2:58 PM, Ronald S. Bultje wrote: > I wonder if some compilers will complain that this overflows (strictly > speaking it does) and that it should be -0x8000 instead? -0x8000 isn't a valid 32-bit integer in C. For this reason INT32_MIN is usually

Re: [FFmpeg-devel] [PATCH] avcodec/h264_ps: Fix copying oversized pps data

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 11:04:10PM +0200, Hendrik Leppkes wrote: > On Fri, Oct 2, 2015 at 9:49 PM, wm4 wrote: > > On Fri, 2 Oct 2015 21:41:59 +0200 > > Michael Niedermayer wrote: > > > >> On Fri, Oct 02, 2015 at 09:23:04PM +0200, wm4 wrote: > >> > On Fri,

[FFmpeg-devel] [PATCH] vp9: 16bpp tm/dc/h/v intra pred simd (mostly sse2) functions.

2015-10-03 Thread Ronald S. Bultje
--- libavcodec/x86/Makefile | 1 + libavcodec/x86/constants.c | 4 + libavcodec/x86/constants.h | 2 + libavcodec/x86/h264_idct_10bit.asm | 5 +- libavcodec/x86/h264_intrapred_10bit.asm | 2 +-

Re: [FFmpeg-devel] [PATCHv2] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Sep 26, 2015 at 1:11 PM, Ganesh Ajjanagadde wrote: > On Fri, Sep 18, 2015 at 9:05 AM, Ganesh Ajjanagadde wrote: >> On Fri, Sep 18, 2015 at 4:40 AM, wm4 wrote: >>> On 17.09.2015 15:07, Ganesh Ajjanagadde wrote: When

Re: [FFmpeg-devel] [PATCH] ffplay: more robust mutex, condition variable handling

2015-10-03 Thread Ganesh Ajjanagadde
On Thu, Oct 1, 2015 at 7:16 AM, Ganesh Ajjanagadde wrote: > On Sep 30, 2015 7:50 PM, "Marton Balint" wrote: >> >> >> On Tue, 29 Sep 2015, Ganesh Ajjanagadde wrote: >> >>> SDL_CreateMutex and SDL_CreateCond can fail: >>>

[FFmpeg-devel] [PATCH] avcodec: use av_unused to silence -Wunused-function on --disable-pthreads

2015-10-03 Thread Ganesh Ajjanagadde
When compiled with --disable-pthreads, e.g http://fate.ffmpeg.org/report.cgi?time=20150917015044=alpha-debian-qemu-gcc-4.7, a bunch of -Wunused-functions are reported. This patch should silence such warnings. The alternative of header guards is slightly more brittle and was discouraged.

Re: [FFmpeg-devel] [PATCH 1/2] avutil/attributes: extend av_uninit to clang

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Sep 26, 2015 at 1:32 PM, Ganesh Ajjanagadde wrote: > On Sat, Sep 19, 2015 at 1:00 AM, Ganesh Ajjanagadde > wrote: >> Commit 6dac8c8327 disabled av_uninit for clang, due to some useless warnings. >> The concept of av_uninit is inherently

[FFmpeg-devel] [PATCHv2] ffplay: more robust mutex, condition variable handling

2015-10-03 Thread Ganesh Ajjanagadde
SDL_CreateMutex and SDL_CreateCond can fail: https://wiki.libsdl.org/SDL_CreateMutex. This patch makes handling more robust in one instance. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff

Re: [FFmpeg-devel] [PATCHv2] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Ronald S. Bultje
Hi, On Fri, Sep 18, 2015 at 9:05 AM, Ganesh Ajjanagadde wrote: > On Fri, Sep 18, 2015 at 4:40 AM, wm4 wrote: > > On 17.09.2015 15:07, Ganesh Ajjanagadde wrote: > >> > >> When compiled with --disable-pthreads, e.g > >> > >> >

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: silence -Waddress

2015-10-03 Thread Ronald S. Bultje
Hi, On Thu, Sep 17, 2015 at 7:03 AM, Ganesh Ajjanagadde wrote: > On Thu, Sep 17, 2015 at 6:15 AM, Hendrik Leppkes > wrote: > > On Thu, Sep 17, 2015 at 12:19 AM, Ganesh Ajjanagadde > > wrote: > >> This patch moves the pointer

[FFmpeg-devel] libavformat/segment : add option to increment timecode

2015-10-03 Thread Martin Vignali
Hello, in attach a patch, who add an option to increment timecode using segment. To test : ffmpeg -i src.mov -timecode 10:00:00:00 -vcodec copy -f segment -segment_time 2 -reset_timestamps 1 -increment_tc 1 target_%03d.mov the second file have timecode 10:00:02:00 (after the patch) instead of

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Henrik Gramner
On Sat, Oct 3, 2015 at 4:22 PM, Ganesh Ajjanagadde wrote: > Should we go ahead with the INT32_MIN then? That seems sensible. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]configure: Simplify dependencies

2015-10-03 Thread Carl Eugen Hoyos
Hi! Attached patch simplifies dependencies in configure, avutil is always built. It also simplifies usage of --disable-all Please comment, Carl Eugen diff --git a/configure b/configure index 3ee1ed2..89cb580 100755 --- a/configure +++ b/configure @@ -2821,33 +2821,28 @@ zmq_filter_deps="libzmq"

Re: [FFmpeg-devel] [PATCH 4/4] lavf/hls: allow subtitles to be read despite incomplete handling

2015-10-03 Thread Michael Niedermayer
On Mon, Sep 21, 2015 at 05:31:24AM -0500, Rodger Combs wrote: > This will give incorrect results in some cases due to not parsing segments > separately, so it currently requires -strict experimental. > --- > libavformat/hls.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) applied

[FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread Ganesh Ajjanagadde
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This solution is on the lines of the one in commit af1818276ef271af98e2e2bbabb4dc875b4fa7d8.

Re: [FFmpeg-devel] [PATCHv2] ffplay: more robust mutex, condition variable handling

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:34 AM, Ganesh Ajjanagadde wrote: > SDL_CreateMutex and SDL_CreateCond can fail: > https://wiki.libsdl.org/SDL_CreateMutex. > This patch makes handling more robust in one instance. > > Signed-off-by: Ganesh Ajjanagadde

Re: [FFmpeg-devel] [PATCH] lavf/utils: avoid giving up probing early with long subtitle events

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 10:39:24PM -0500, Rodger Combs wrote: > --- > libavformat/utils.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index dc83608..be1472b 100644 > --- a/libavformat/utils.c > +++ b/libavformat/utils.c

Re: [FFmpeg-devel] Adding Closed Caption support to Decklink output

2015-10-03 Thread Deron
On 9/29/15 1:42 AM, Carl Eugen Hoyos wrote: Deron pagestream.org> writes: For this to work, I have to output 10 bit YUV ‘v210’ 4:2:2 representation (twelve 10-bit unsigned components packed into four 32-bit little-endian words). Can't you use the v210 encoder to produce this format? Carl

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Sep 26, 2015 at 9:57 AM, Ganesh Ajjanagadde wrote: > On Sat, Sep 19, 2015 at 10:20 AM, Ganesh Ajjanagadde > wrote: >> This patch silences such warnings by placing initializations under a header >> guard, >> see e.g >>

Re: [FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmx

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 07:18:16AM -0500, Ganesh Ajjanagadde wrote: > On Tue, Sep 29, 2015 at 6:28 PM, Ganesh Ajjanagadde > wrote: > > This silences some of the -Wunused-function warnings when compiled with > > --disable-mmx, e.g > >

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:31 AM, Ganesh Ajjanagadde wrote: > Signed-off-by: Ganesh Ajjanagadde > --- > libavcodec/apedec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c >

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 8:53 AM, Ganesh Ajjanagadde wrote: > On Sat, Oct 3, 2015 at 7:58 AM, Ronald S. Bultje wrote: >> Hi, >> >> On Sat, Oct 3, 2015 at 8:31 AM, Ganesh Ajjanagadde >> wrote: >>> >>> Signed-off-by: Ganesh

Re: [FFmpeg-devel] modify ffplay for dumpstream in rtsp?

2015-10-03 Thread Nicolas George
Le duodi 12 vendémiaire, an CCXXIV, Jan Panteltje a écrit : > I was thinking about adding a command line option to ffplay to enable the > 'dump to stdout' modification, but am taken aback by why I do not > understand the double speed effect in playback. Well, patches are usually welcome here if

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread wm4
On Sat, 3 Oct 2015 07:41:00 -0500 Ganesh Ajjanagadde wrote: > Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE > and _SVID_SOURCE. > The solution from man feature_test_macros is to define both _DEFAULT_SOURCE > and the old macros. > This

Re: [FFmpeg-devel] [PATCH] avcodec/libx264: silence -Waddress

2015-10-03 Thread Ganesh Ajjanagadde
On Thu, Sep 17, 2015 at 6:03 AM, Ganesh Ajjanagadde wrote: > On Thu, Sep 17, 2015 at 6:15 AM, Hendrik Leppkes wrote: >> On Thu, Sep 17, 2015 at 12:19 AM, Ganesh Ajjanagadde >> wrote: >>> This patch moves the pointer validity

Re: [FFmpeg-devel] [PATCH] avformat/movenc: suppress -Wstrict-overflow warnings

2015-10-03 Thread Ganesh Ajjanagadde
On Tue, Sep 29, 2015 at 10:49 AM, Ganesh Ajjanagadde wrote: > On Sun, Sep 27, 2015 at 9:39 PM, Ganesh Ajjanagadde wrote: >> On Sun, Sep 27, 2015 at 9:18 PM, Michael Niedermayer >> wrote: >>> On Sun, Sep 27, 2015 at 01:23:03PM -0400, Ganesh

Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Tue, Sep 29, 2015 at 8:25 PM, Ganesh Ajjanagadde wrote: > On Tue, Sep 29, 2015 at 9:08 PM, Michael Niedermayer wrote: >> On Tue, Sep 29, 2015 at 07:27:03PM -0400, Ganesh Ajjanagadde wrote: >>> Signed-off-by: Ganesh Ajjanagadde >>>

Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Hendrik Leppkes
On Sat, Oct 3, 2015 at 2:33 PM, Ganesh Ajjanagadde wrote: > On Tue, Sep 29, 2015 at 8:25 PM, Ganesh Ajjanagadde wrote: >> On Tue, Sep 29, 2015 at 9:08 PM, Michael Niedermayer >> wrote: >>> On Tue, Sep 29, 2015 at 07:27:03PM -0400, Ganesh

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:47 AM, wm4 wrote: > On Sat, 3 Oct 2015 07:41:00 -0500 > Ganesh Ajjanagadde wrote: > > > Glibc 2.20 onwards generates a deprecation warning for usage of > _BSD_SOURCE and _SVID_SOURCE. > > The solution from man

Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 9:11 AM, Ganesh Ajjanagadde wrote: > On Sat, Oct 3, 2015 at 7:49 AM, Hendrik Leppkes > wrote: > > On Sat, Oct 3, 2015 at 2:33 PM, Ganesh Ajjanagadde > wrote: > >> On Tue, Sep 29, 2015 at 8:25 PM, Ganesh

Re: [FFmpeg-devel] [PATCH] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:49 AM, Hendrik Leppkes wrote: > On Sat, Oct 3, 2015 at 2:33 PM, Ganesh Ajjanagadde wrote: >> On Tue, Sep 29, 2015 at 8:25 PM, Ganesh Ajjanagadde wrote: >>> On Tue, Sep 29, 2015 at 9:08 PM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Ronald S. Bultje
Hi, On Thu, Sep 17, 2015 at 7:51 AM, Michael Niedermayer wrote: > On Thu, Sep 17, 2015 at 06:54:37AM -0400, Ganesh Ajjanagadde wrote: > > On Thu, Sep 17, 2015 at 6:17 AM, Michael Niedermayer > wrote: > > > On Wed, Sep 16, 2015 at 10:22:27PM -0400, Ganesh

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 10:22 AM, Ganesh Ajjanagadde wrote: > On Sat, Oct 3, 2015 at 9:15 AM, Henrik Gramner wrote: > > On Sat, Oct 3, 2015 at 2:58 PM, Ronald S. Bultje > wrote: > >> I wonder if some compilers will complain that

Re: [FFmpeg-devel] [PATCH] avcodec/x86/hpeldsp_rnd_template: silence -Wunused-function on --disable-mmx

2015-10-03 Thread Ganesh Ajjanagadde
On Tue, Sep 29, 2015 at 6:28 PM, Ganesh Ajjanagadde wrote: > This silences some of the -Wunused-function warnings when compiled with > --disable-mmx, e.g > http://fate.ffmpeg.org/log.cgi?time=20150919094617=compile=x86_64-archlinux-gcc-disable-mmx. > Header guards are too

Re: [FFmpeg-devel] [PATCH] lavf: add chromaprint muxer

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 03:45:48PM -0500, Rodger Combs wrote: [...] > +break;/* > +case FINGERPRINT_HASH_RAW: > +case FINGERPRINT_HASH_HEX: > +if (!chromaprint_hash_fingerprint(fp, size, )) { > +av_log(s, AV_LOG_ERROR, "Failed to hash fingerprint\n"); > +

[FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 7b34d26..05cb17e 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -1281,7 +1281,7 @@

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:52 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Oct 3, 2015 at 8:45 AM, Ganesh Ajjanagadde > wrote: >> >> On Sat, Oct 3, 2015 at 7:42 AM, Ronald S. Bultje >> wrote: >> > Hi, >> > >> > On Sat, Oct 3, 2015

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 9:15 AM, Henrik Gramner wrote: > On Sat, Oct 3, 2015 at 2:58 PM, Ronald S. Bultje wrote: >> I wonder if some compilers will complain that this overflows (strictly >> speaking it does) and that it should be -0x8000 instead? > >

Re: [FFmpeg-devel] [PATCH] vp9: 16bpp tm/dc/h/v intra pred simd (mostly sse2) functions.

2015-10-03 Thread Henrik Gramner
On Sat, Oct 3, 2015 at 2:12 AM, Ronald S. Bultje wrote: > Well, they prototype is different. For H/V, it's not critical, but for the > directional ones, the edge handling is very quirky so I wanted to do that > in C, so l/a are arguments instead of part of the source buffer. >

Re: [FFmpeg-devel] [PATCHv2] configure: add -D_DEFAULT_SOURCE to silence -Wcpp

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Sep 19, 2015 at 2:05 PM, Ganesh Ajjanagadde wrote: > On Sat, Sep 19, 2015 at 2:13 PM, Hendrik Leppkes wrote: >> On Sat, Sep 19, 2015 at 6:07 PM, Ganesh Ajjanagadde wrote: >>> On Thu, Sep 17, 2015 at 6:45 AM, Ganesh Ajjanagadde

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:42 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Oct 3, 2015 at 8:39 AM, Ganesh Ajjanagadde > wrote: >> >> On Sat, Sep 26, 2015 at 9:57 AM, Ganesh Ajjanagadde >> wrote: >> > On Sat, Sep 19, 2015 at

Re: [FFmpeg-devel] [PATCH][RFC] configure: silence preprocessor noise from dependency generation

2015-10-03 Thread Ganesh Ajjanagadde
On Fri, Sep 18, 2015 at 2:28 PM, Ganesh Ajjanagadde wrote: > Currently, errors are thrown for various macros while building that are > completely bogus. > They occur during the dependency (.d) generation phase, and have no bearing > on the compiled output, > since only

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:39 AM, Ganesh Ajjanagadde wrote: > On Sat, Sep 26, 2015 at 9:57 AM, Ganesh Ajjanagadde > wrote: > > On Sat, Sep 19, 2015 at 10:20 AM, Ganesh Ajjanagadde > > wrote: > >> This patch silences

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 8:45 AM, Ganesh Ajjanagadde wrote: > On Sat, Oct 3, 2015 at 7:42 AM, Ronald S. Bultje > wrote: > > Hi, > > > > On Sat, Oct 3, 2015 at 8:39 AM, Ganesh Ajjanagadde < > gajjanaga...@gmail.com> > > wrote: > >> > >> On Sat, Sep

Re: [FFmpeg-devel] [PATCH] all: add _DEFAULT_SOURCE locally wherever needed

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:47 AM, wm4 wrote: > On Sat, 3 Oct 2015 07:41:00 -0500 > Ganesh Ajjanagadde wrote: > >> Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE >> and _SVID_SOURCE. >> The solution from man

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 7:58 AM, Ronald S. Bultje wrote: > Hi, > > On Sat, Oct 3, 2015 at 8:31 AM, Ganesh Ajjanagadde > wrote: >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> libavcodec/apedec.c | 2 +- >> 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread wm4
On Sat, 3 Oct 2015 11:13:35 -0400 "Ronald S. Bultje" wrote: > Hi, > > On Thu, Sep 17, 2015 at 7:51 AM, Michael Niedermayer > wrote: > > > On Thu, Sep 17, 2015 at 06:54:37AM -0400, Ganesh Ajjanagadde wrote: > > > On Thu, Sep 17, 2015 at 6:17 AM, Michael

[FFmpeg-devel] [PATCH 6/9] dnxhd: add decoder support for DNxHR

2015-10-03 Thread Christophe Gisquet
From: Jeremy James Signed-off-by: Christophe Gisquet --- libavcodec/dnxhddata.c | 8 libavcodec/dnxhddec.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c

[FFmpeg-devel] [PATCH 9/9] dnxhdenc: fix scan used for bitstream generation

2015-10-03 Thread Christophe Gisquet
The functions related to bitstream reading must use the natural zigzag order, and not the one permuted for use in the iDCT. This resulted in a bitstream where the AC coefficients were encoded in an unexpected order. --- libavcodec/dnxhdenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [FFmpeg-devel] [PATCH] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 11:13:35AM -0400, Ronald S. Bultje wrote: > Hi, > > On Thu, Sep 17, 2015 at 7:51 AM, Michael Niedermayer > wrote: > > > On Thu, Sep 17, 2015 at 06:54:37AM -0400, Ganesh Ajjanagadde wrote: > > > On Thu, Sep 17, 2015 at 6:17 AM, Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] avcodec: remove old vdpau decoder implementation

2015-10-03 Thread Carl Eugen Hoyos
On Saturday 03 October 2015 10:05:29 pm wm4 wrote: > Ping. Will push in 24 hours or so if nobody complains. The reason I am against this is just that users told me repeatedly (in person) that they switched from the dark side to FFmpeg because this (and possibly) other API was removed there. I

[FFmpeg-devel] [PATCH 2/9] dnxhd: profile flags

2015-10-03 Thread Christophe Gisquet
Move the 'interlaced' flag to this element (arbitrarily set to 16bits). This should allow better detection/selection of profiles. --- libavcodec/dnxhddata.c | 49 - libavcodec/dnxhddata.h | 6 +- 2 files changed, 37 insertions(+), 18

[FFmpeg-devel] [PATCH 0/9] Initial support for DNxHR, v2

2015-10-03 Thread Christophe Gisquet
Cleaned up version of v1, with the first patches fixing bugs exacerbated by the following new code, in general improving the current code so as to introduce DNxHR. DNxHR is then added progressively, in particular the extended handling needed. Christophe Gisquet (7): dnxhddec: cleanup frame

[FFmpeg-devel] [PATCH 1/9] dnxhddec: cleanup frame header parsing

2015-10-03 Thread Christophe Gisquet
Rely more on the actual syntax from the specs (also seen in the encoder code). --- libavcodec/dnxhddec.c | 55 +-- 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 296f7f7..2f2d989

Re: [FFmpeg-devel] [PATCH 1/9] dnxhddec: cleanup frame header parsing

2015-10-03 Thread Carl Eugen Hoyos
On Saturday 03 October 2015 06:59:14 pm Christophe Gisquet wrote: > +++ b/libavcodec/dnxhddec.c > @@ -10,7 +10,6 @@ > * This file is part of FFmpeg. > * > * FFmpeg is free software; you can redistribute it and/or > - * modify it under the terms of the GNU Lesser General Public > * License

Re: [FFmpeg-devel] [PATCH] avcodec: use HAVE_THREADS header guards to silence -Wunused-function

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 2:25 PM, Michael Niedermayer wrote: > On Sat, Oct 03, 2015 at 11:13:35AM -0400, Ronald S. Bultje wrote: >> Hi, >> >> On Thu, Sep 17, 2015 at 7:51 AM, Michael Niedermayer >> wrote: >> >> > On Thu, Sep 17, 2015 at 06:54:37AM -0400, Ganesh

[FFmpeg-devel] [PATCHv3] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- libavcodec/apedec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 7b34d26..fcccfbe 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -1281,7 +1281,7 @@

Re: [FFmpeg-devel] [PATCH] avcodec: remove old vdpau decoder implementation

2015-10-03 Thread wm4
On Fri, 2 Oct 2015 20:56:10 +0200 wm4 wrote: > This is all duplicated functionality with the vdpau hwaccel API, which > was introduced almost 3 years ago. > > API users had time enough to switch to the new API. But note that the > API stubs are kept, and old programs

Re: [FFmpeg-devel] [PATCH] avcodec: remove old vdpau decoder implementation

2015-10-03 Thread wm4
On Sat, 3 Oct 2015 22:23:21 +0200 Carl Eugen Hoyos wrote: > On Saturday 03 October 2015 10:05:29 pm wm4 wrote: > > Ping. Will push in 24 hours or so if nobody complains. > > The reason I am against this is just that users told me > repeatedly (in person) that they switched

Re: [FFmpeg-devel] [PATCHv3] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 02:48:14PM -0400, Ganesh Ajjanagadde wrote: > Signed-off-by: Ganesh Ajjanagadde > --- > libavcodec/apedec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH 7/9] dnxhd: add CID 1270

2015-10-03 Thread Christophe Gisquet
This a 4:4:4 10 bits profile, where image size is not fixed by the profile, and which strays a bit outside the old frame header parsing code. Fixes ticket #4581 (DNxHR is not stricly supported, but that sequence is). --- libavcodec/dnxhddata.c | 24 libavcodec/dnxhddec.c

[FFmpeg-devel] [PATCH 8/9] dnxhd: add better support for CIDs 1270 to 1274

2015-10-03 Thread Christophe Gisquet
From: Jeremy James These are DNxHR profiles with the following properties: - Variable size in a profile (property added in a previous commit), requiring variable-sized macroblock table; - Variable bitdepth, up to 12 bits. - Better validation of buffer sizes and

[FFmpeg-devel] [PATCH 5/9] isom: add support for DNxHR codec family

2015-10-03 Thread Christophe Gisquet
This is actually similar to DNxHD. --- libavformat/isom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/isom.c b/libavformat/isom.c index eff04ff..e55738b 100644 --- a/libavformat/isom.c +++ b/libavformat/isom.c @@ -240,6 +240,7 @@ const AVCodecTag ff_codec_movvideo_tags[] = {

[FFmpeg-devel] [PATCH 3/9] dnxhdenc: do not select 4:4:4 profiles

2015-10-03 Thread Christophe Gisquet
The encoder can only deal with 4:2:2. --- libavcodec/dnxhddata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dnxhddata.c b/libavcodec/dnxhddata.c index 4bb215a..798cc0e 100644 --- a/libavcodec/dnxhddata.c +++ b/libavcodec/dnxhddata.c @@ -,7 +,7 @@ int

Re: [FFmpeg-devel] [PATCH 0/7] [RFC] x86 assembly constants

2015-10-03 Thread James Darnley
On 2015-10-03 04:08, Ronald S. Bultje wrote: > Hi, > > On Fri, Oct 2, 2015 at 4:58 PM, Hendrik Leppkes wrote: > >> On Fri, Oct 2, 2015 at 7:16 PM, Timothy Gu wrote: >>> On Fri, Oct 2, 2015 at 10:08 AM James Darnley >>>

Re: [FFmpeg-devel] [PATCH]configure: Simplify dependencies

2015-10-03 Thread Carl Eugen Hoyos
On Saturday 03 October 2015 05:45:46 pm Carl Eugen Hoyos wrote: > Attached patch simplifies dependencies in configure, avutil is always > built. It also simplifies usage of --disable-all This does not work (fate fails), I will most likely apply the small patch that forces enabling avutil for

[FFmpeg-devel] [PATCH] ffplay: more robust thread creation

2015-10-03 Thread Ganesh Ajjanagadde
SDL_CreateThread can fail: https://wiki.libsdl.org/SDL_CreateThread. This patch makes thread creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH]lavf/shortendec: Autodetect raw Shorten streams.

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 01:05:50PM +0200, Carl Eugen Hoyos wrote: > On Friday 02 October 2015 12:48:17 pm Paul B Mahol wrote: > > On 10/2/15, Carl Eugen Hoyos wrote: > > > Hi! > > > > > > Attached patch implements Shorten auto-detection. > > > > > > Please comment, Carl Eugen >

Re: [FFmpeg-devel] [PATCH 0/7] [RFC] x86 assembly constants

2015-10-03 Thread Ronald S. Bultje
Hi, On Sat, Oct 3, 2015 at 2:46 PM, James Darnley wrote: > On 2015-10-03 04:08, Ronald S. Bultje wrote: > > Hi, > > > > On Fri, Oct 2, 2015 at 4:58 PM, Hendrik Leppkes > wrote: > > > >> On Fri, Oct 2, 2015 at 7:16 PM, Timothy Gu

Re: [FFmpeg-devel] [PATCH 1/3] ffmpeg: modify tty state when stderr is redirected

2015-10-03 Thread Ganesh Ajjanagadde
ping ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCHv2] ffplay: more robust mutex, condition variable handling

2015-10-03 Thread Marton Balint
On Sat, 3 Oct 2015, Ganesh Ajjanagadde wrote: SDL_CreateMutex and SDL_CreateCond can fail: https://wiki.libsdl.org/SDL_CreateMutex. This patch makes handling more robust in one instance. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 18 ++ 1 file

[FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2015-10-03 Thread Rodger Combs
Fixes trac #3842 --- libavformat/isom.h | 2 + libavformat/mov.c | 250 - 2 files changed, 213 insertions(+), 39 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index aee9d6e..6e921c0 100644 --- a/libavformat/isom.h +++

Re: [FFmpeg-devel] [PATCH] cmdutils: silence unused warnings under --disable-swscale, --disable-swresample

2015-10-03 Thread Paul B Mahol
On 9/19/15, Ganesh Ajjanagadde wrote: > This patch silences such warnings by placing initializations under a header > guard, > see e.g > http://fate.ffmpeg.org/log.cgi?time=20150919095430=compile=x86_64-archlinux-gcc-disableswscale, >

Re: [FFmpeg-devel] [PATCHv2] avcodec/apedec: fix bug introduced in commit d3e5fbb1406995e07fccbff3ca8c1e24f57a1f7b

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 11:32 AM, Henrik Gramner wrote: > On Sat, Oct 3, 2015 at 4:22 PM, Ganesh Ajjanagadde wrote: >> Should we go ahead with the INT32_MIN then? > > That seems sensible. updated patch. > ___ >

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: Use of uninitialized memory unlinking old files

2015-10-03 Thread DeHackEd
Pinging this issue. While likely not a security concern it does cause uninitialized memory to be printed to the user's terminal and that's pretty bad. On 10/01/2015 07:21 PM, DeHackEd wrote: > From: DHE > > Fixes ticket#4900 > > Signed-off-by: DHE > --- >

Re: [FFmpeg-devel] [PATCH][RFC] configure: silence preprocessor noise from dependency generation

2015-10-03 Thread Michael Niedermayer
On Fri, Sep 18, 2015 at 03:28:47PM -0400, Ganesh Ajjanagadde wrote: > Currently, errors are thrown for various macros while building that are > completely bogus. > They occur during the dependency (.d) generation phase, and have no bearing > on the compiled output, > since only the stdout is

[FFmpeg-devel] [PATCH] concatdec: fix metadata memleak on error

2015-10-03 Thread Marton Balint
Fixes Coverity CID 1323077. Signed-off-by: Marton Balint --- libavformat/concatdec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index 88b6dbe..832b7f4 100644 --- a/libavformat/concatdec.c +++

Re: [FFmpeg-devel] [PATCH]Remove --disable-avutil and sanitize --disable-all

2015-10-03 Thread Carl Eugen Hoyos
On Thursday 24 September 2015 04:01:12 am Carl Eugen Hoyos wrote: > diff --git a/configure b/configure > index f6bc622..f9c035b 100755 > --- a/configure > +++ b/configure > @@ -128,7 +128,6 @@ Component options: >    --disable-avdevice       disable libavdevice build >    --disable-avcodec        

[FFmpeg-devel] [PATCH 2/2] x86/alacdsp: add simd optimized functions

2015-10-03 Thread James Almer
Signed-off-by: James Almer --- libavcodec/alacdsp.c | 3 + libavcodec/alacdsp.h | 1 + libavcodec/x86/Makefile | 2 + libavcodec/x86/alacdsp.asm| 133 ++ libavcodec/x86/alacdsp_init.c | 44

Re: [FFmpeg-devel] [PATCH]Set option flags for AV_CODEC_FLAG_TRUNCATED

2015-10-03 Thread Carl Eugen Hoyos
On Wednesday 23 September 2015 09:36:35 am Carl Eugen Hoyos wrote: > The flag truncated is currently not shown by the help output. Patch applied after being ok'ed by Michael. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 01/15] lavfi/af_aresample: remove looping on request_frame().

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 05:13:12PM +0200, Nicolas George wrote: > Signed-off-by: Nicolas George > --- > libavfilter/af_aresample.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > > > All patches in this series were tested with FATE or manually. whole patchset

Re: [FFmpeg-devel] [PATCH] ffplay: more robust thread creation

2015-10-03 Thread Marton Balint
On Sat, 3 Oct 2015, Ganesh Ajjanagadde wrote: SDL_CreateThread can fail: https://wiki.libsdl.org/SDL_CreateThread. This patch makes thread creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 16 1 file changed, 12

[FFmpeg-devel] [PATCH] libavformat/tls_securetransport: silence uninitialized value warning

2015-10-03 Thread Rodger Combs
--- libavformat/tls_securetransport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index 73662d7..cdc7953 100644 --- a/libavformat/tls_securetransport.c +++ b/libavformat/tls_securetransport.c @@

[FFmpeg-devel] [PATCH] Changelog: add note on ffplay dynamic volume control

2015-10-03 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index 4b18d00..2d1c842 100644 --- a/Changelog +++ b/Changelog @@ -15,6 +15,7 @@ version : - maskedmerge filter - Screenpresso SPV1 decoding -

[FFmpeg-devel] [PATCH 1/2] avcodec/alacdec: split off decorrelate_stereo and append_extra_bits as alacdsp

2015-10-03 Thread James Almer
Signed-off-by: James Almer --- libavcodec/Makefile | 2 +- libavcodec/alac.c| 65 +++- libavcodec/alacdsp.c | 57 + libavcodec/alacdsp.h | 35 4 files

Re: [FFmpeg-devel] [PATCH] libx264: copy A53 closed captions from source

2015-10-03 Thread Michael Niedermayer
On Tue, Sep 29, 2015 at 01:19:34PM -0400, DeHackEd wrote: > Assumes 'GA94' format (ATSC standard) > > Signed-off-by: DHE > --- > doc/encoders.texi| 4 > libavcodec/libx264.c | 45 + > 2 files changed, 49 insertions(+)

Re: [FFmpeg-devel] [PATCH 9/9] dnxhdenc: fix scan used for bitstream generation

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 06:59:22PM +0200, Christophe Gisquet wrote: > The functions related to bitstream reading must use the natural zigzag > order, and not the one permuted for use in the iDCT. > > This resulted in a bitstream where the AC coefficients were encoded in > an unexpected order. >

Re: [FFmpeg-devel] [PATCH] blockdsp: remove high bit depth parameter

2015-10-03 Thread Michael Niedermayer
On Fri, Oct 02, 2015 at 08:58:10AM +0200, Christophe Gisquet wrote: > 2015-09-28 18:51 GMT+02:00 Christophe Gisquet : > [SNIP] > > Could someone also apply the cosmetic patch for reindentation? applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH]lavf/rawdec: Simplify mlp/thd probe function

2015-10-03 Thread Carl Eugen Hoyos
On Saturday 03 October 2015 01:32:11 am Michael Niedermayer wrote: > > rawdec.c | 13 ++--- > > 1 file changed, 6 insertions(+), 7 deletions(-) > > 2ac4375102534142befdaf1482543dceb73ae306 patchmlpprobe.diff > > LGTM > > thx Patch applied after moving the demuxers in a new file.

Re: [FFmpeg-devel] [PATCH]lavf/shortendec: Autodetect raw Shorten streams.

2015-10-03 Thread Carl Eugen Hoyos
On Saturday 03 October 2015 06:51:26 pm Michael Niedermayer wrote: > > Makefile |2 - > > rawdec.c | 12 - > > shortendec.c | 71 > > +++ version.h > > |2 - > > 4 files changed, 73 insertions(+), 14

Re: [FFmpeg-devel] [PATCH] ffplay: more robust thread creation

2015-10-03 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 6:05 PM, Marton Balint wrote: > > On Sat, 3 Oct 2015, Ganesh Ajjanagadde wrote: > >> SDL_CreateThread can fail: >> https://wiki.libsdl.org/SDL_CreateThread. >> This patch makes thread creation more robust in one instance. >> >> Signed-off-by: Ganesh

[FFmpeg-devel] [PATCHv2] ffplay: more robust thread creation

2015-10-03 Thread Ganesh Ajjanagadde
SDL_CreateThread can fail: https://wiki.libsdl.org/SDL_CreateThread. This patch makes thread creation more robust in one instance. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 01:14:26AM +0800, Ching-Yi Chan wrote: > Here is a new patch: > > 1. fix compilation warning > 2. remove ff_ prefix on my patch > 3. toggle AVFMT_FLAG_FAST_SEEK when no seektalbe in the flac metadata (this > will disable flac_seek when no seekpoint) > flacdec.c | 59

Re: [FFmpeg-devel] modify ffplay for dumpstream in rtsp?

2015-10-03 Thread compn
On Sat, 3 Oct 2015 10:45:25 +0200 Nicolas George wrote: > Le duodi 12 vendémiaire, an CCXXIV, Jan Panteltje a écrit : > > I was thinking about adding a command line option to ffplay to > > enable the 'dump to stdout' modification, but am taken aback by why > > I do not

Re: [FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

2015-10-03 Thread Ching-Yi Chan
2015-10-04 7:37 GMT+08:00 Michael Niedermayer : > On Sat, Oct 03, 2015 at 01:14:26AM +0800, Ching-Yi Chan wrote: > > iam not sure changing the format flags is a great idea, i think no > other demuxer does that > that said, the documentation does not say that only the user can >

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: Use of uninitialized memory unlinking old files

2015-10-03 Thread Michael Niedermayer
On Thu, Oct 01, 2015 at 07:21:33PM -0400, DeHackEd wrote: > From: DHE > > Fixes ticket#4900 > > Signed-off-by: DHE applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflake in an avalanche ever feels

Re: [FFmpeg-devel] [PATCH] avformat/flacdec: support fast-seek

2015-10-03 Thread Hendrik Leppkes
On Sun, Oct 4, 2015 at 1:37 AM, Michael Niedermayer wrote: > On Sat, Oct 03, 2015 at 01:14:26AM +0800, Ching-Yi Chan wrote: >> Here is a new patch: >> >> 1. fix compilation warning >> 2. remove ff_ prefix on my patch >> 3. toggle AVFMT_FLAG_FAST_SEEK when no seektalbe in the

Re: [FFmpeg-devel] [PATCH] lavf: add chromaprint muxer

2015-10-03 Thread Michael Niedermayer
On Sat, Oct 03, 2015 at 05:24:06PM -0500, Rodger Combs wrote: > --- > Changelog | 1 + > configure | 4 + > doc/muxers.texi | 35 + > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/chromaprint.c | 186 >

  1   2   >