[FFmpeg-devel] [PATCH 0/9] simple_idct for 10/12 bits and DNxHD

2015-10-08 Thread Christophe Gisquet
The patch series allowed to find issues on the encoder side with the use of scans. To introduce those idcts, the prores one is kind of 'templated', so as to reuse the code for regular simple_idct. Unfortunately, the 12bits version can't be bitexact to the C version because the later uses too

Re: [FFmpeg-devel] [PATCH v2] avfilter/delogo: Set default band to 1

2015-10-08 Thread Stefano Sabatini
On date Wednesday 2015-10-07 15:03:32 +0200, Jean Delvare encoded: > The original interpolation algorithm behaved poorly on the borders and > did not even guarantee continuity at the borders. For this reason, a > second interpolation/blending pass was required on the borders to make > them

[FFmpeg-devel] [PATCH 3/9] x86: simple_idct_put: 10bits versions

2015-10-08 Thread Christophe Gisquet
Modeled from the prores version. Clips to [0;1023] and is bitexact. Bitexactness requires to add an offset in a different place compared to prores or C, and makes the function approximately 2% slower. For 16 frames of a DNxHD 4:2:2 10bits test sequence: C:60861 decicycles in idct, 1048205

[FFmpeg-devel] [PATCH 2/9] x86: prores: templatize 10 bits simple_idct

2015-10-08 Thread Christophe Gisquet
This should be reused for a generic simple_idct10 function. Requires a bit of trickery to declare common constants in C. --- libavcodec/x86/constants.c| 28 +++ libavcodec/x86/constants.h| 16 ++ libavcodec/x86/proresdsp.asm | 263

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA

2015-10-08 Thread Shivraj Patil
-Original Message- From: Michael Niedermayer [mailto:mich...@niedermayer.cc] Sent: 08 October 2015 00:16 To: FFmpeg development discussions and patches Cc: Shivraj Patil; Parag Salasakar; Manojkumar Bhosale Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA On Wed,

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

2015-10-08 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 currently results in bitstreams with 2 issues: - AC coefficients are encoded in an unexpected order; - Incorrect weights are applied in the (de)quantization. This

[FFmpeg-devel] mov to mp4 Error

2015-10-08 Thread s00b4u 4u
Hi, I am trying to convert an mov file to mp4. I am using following version of FFMPEG: > > > > > > > > > > > *FFMPEG Version:ffmpeg version N-73929-ga906e86 Copyright (c) 2000-2015 > the FFmpeg developersbuilt with gcc 4.8 (Ubuntu > 4.8.4-2ubuntu1~14.04)configuration:

Re: [FFmpeg-devel] [PATCH 2/6] lavf: add API to apply a list of bsfs to a packet

2015-10-08 Thread Nicolas George
Le sextidi 16 vendémiaire, an CCXXIV, Rodger Combs a écrit : > --- > libavformat/avformat.h | 8 > libavformat/utils.c| 48 > 2 files changed, 56 insertions(+) Looks nice. I assume the code was copied directly from the use in

[FFmpeg-devel] [PATCH 7/9] dct-test: allow comparing x86 simple idcts

2015-10-08 Thread Christophe Gisquet
Currently, no arch-specific implementation of the simple idcts actually exist, only their _put version, and for x86. Therefore, wrap also the C version to allow easier comparison of the generated results. --- libavcodec/dct-test.c | 15 --- 1 file changed, 12 insertions(+), 3

[FFmpeg-devel] [PATCH 6/9] x86: dct-test: add 10 bits versions.

2015-10-08 Thread Christophe Gisquet
--- libavcodec/dct-test.c | 4 libavcodec/x86/dct-test.c | 31 ++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 9a195ab..9eab7fe 100644 --- a/libavcodec/dct-test.c +++

[FFmpeg-devel] [PATCH 8/9] dct-test: add 12 bit tests

2015-10-08 Thread Christophe Gisquet
--- libavcodec/dct-test.c | 22 +- libavcodec/x86/dct-test.c | 22 +- 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c index 18d1ba7..24b23e2 100644 --- a/libavcodec/dct-test.c +++

[FFmpeg-devel] [PATCH 4/9] x86: simple_idct_put: 12bits versions

2015-10-08 Thread Christophe Gisquet
On 12 frames of a 444p 12 bits DNxHR sequence: C: 78902 decicycles in idct, 262071 runs, 73 skips avx: 32478 decicycles in idct, 262045 runs, 99 skips Difference between the 2: stddev:0.39 PSNR:104.47 MAXDIFF:2 This is unavoidable and due to the scale factors used

[FFmpeg-devel] [PATCH 5/9] dct-test: add infrastructure for 10 bits

2015-10-08 Thread Christophe Gisquet
--- libavcodec/arm/dct-test.c | 10 -- libavcodec/dct-test.c | 41 +++-- libavcodec/ppc/dct-test.c | 10 -- libavcodec/x86/dct-test.c | 9 +++-- 4 files changed, 58 insertions(+), 12 deletions(-) diff --git a/libavcodec/arm/dct-test.c

Re: [FFmpeg-devel] [PATCHv2] avutil/attributes: extend av_uninit to clang

2015-10-08 Thread Nicolas George
Le sextidi 16 vendémiaire, an CCXXIV, Ganesh Ajjanagadde a écrit : > Anyway, it seems to me that for whatever reason short circuit > evaluation is not respected by the GCC preprocessor (I lack the energy > or interest to investigate why, it seems ridiculous to me): >

[FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA

2015-10-08 Thread shivraj.patil
From: Shivraj Patil Modified sps and pps access from old HEVCContext(s) structure to newly introduced HEVCParamSets(ps). Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcpred_msa.c | 282 1 file

Re: [FFmpeg-devel] mov to mp4 Error

2015-10-08 Thread Moritz Barsnick
On Thu, Oct 08, 2015 at 14:01:07 +0530, s00b4u 4u wrote: > Hi, > > I am trying to convert an mov file to mp4. I am using following version of > FFMPEG: ffmpeg-user was the right place to ask this (an answer is already there), ffmpeg-devel definitely not! Moritz

Re: [FFmpeg-devel] [PATCH 2/9] x86: prores: templatize 10 bits simple_idct

2015-10-08 Thread Christophe Gisquet
2015-10-08 8:22 GMT+02:00 Christophe Gisquet : > +#define TIMES4(a, b)\ > + > (((b)&0xLL)<<48)+(((a)&0xLL)<<32)+(((b)&0xLL)<<16)+((a)&0xLL), > \ > + >

Re: [FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-10-08 Thread Nicolas George
Le sextidi 16 vendémiaire, an CCXXIV, Rodger Combs a écrit : > + * FIXME: Data allocated here would be leaked if there's a failure before > + * write_header is called. Ban allocations? Add a `deinit` cleanup > function? I would definitely favour the "deinit" idea. This is similar to

[FFmpeg-devel] [PATCH 9/9] dnxhddec: use auto as default idct

2015-10-08 Thread Christophe Gisquet
It's an intra codec, so no risk of drift. The simple idct version clips to an incorrect range, which should be [4;1019] for YUV 10b, while RGB 10b is fine. --- libavcodec/dnxhddec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread shivraj.patil
From: Shivraj Patil Modified datatype of function argument (pitch from int32_t to ptrdiff_t). Signed-off-by: Shivraj Patil --- libavcodec/mips/vp9_lpf_msa.c | 42 - 1 file changed, 21 insertions(+),

Re: [FFmpeg-devel] [PATCH 3/6] ffmpeg: use lavf API for applying bitstream filters

2015-10-08 Thread Michael Niedermayer
On Wed, Oct 07, 2015 at 09:50:04PM -0500, Rodger Combs wrote: > --- > ffmpeg.c | 46 -- > ffmpeg.h | 1 - > ffmpeg_opt.c | 6 +- > 3 files changed, 9 insertions(+), 44 deletions(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index

Re: [FFmpeg-devel] [PATCH v2] avfilter/delogo: Set default band to 1

2015-10-08 Thread Jean Delvare
On Thu, 8 Oct 2015 12:20:25 +0200, Hendrik Leppkes wrote: > On Thu, Oct 8, 2015 at 11:30 AM, Stefano Sabatini wrote: > > On date Wednesday 2015-10-07 15:03:32 +0200, Jean Delvare encoded: > >> The original interpolation algorithm behaved poorly on the borders and > >> did not

Re: [FFmpeg-devel] [PATCH 8/9] dct-test: add 12 bit tests

2015-10-08 Thread Christophe Gisquet
2015-10-08 8:22 GMT+02:00 Christophe Gisquet : > +SIC_WRAP(12) > + > +static const struct algo idct_tab12[] = { > +{ "SIMPLE12-C", simple_idct12_put_wrap,FF_IDCT_PERM_NONE }, > +{ 0 } > +}; Strange results are generated for it, and I don't know why (the

Re: [FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

2015-10-08 Thread Hendrik Leppkes
On Wed, Oct 7, 2015 at 10:27 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/vf_w3fdif.c | 139 +++ > libavfilter/w3fdif.h | 61 +++ > libavfilter/x86/Makefile | 2 + >

Re: [FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-10-08 Thread Michael Niedermayer
On Wed, Oct 07, 2015 at 09:50:05PM -0500, Rodger Combs wrote: > This solves the problem discussed in > https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html > by allowing AVCodec::write_header to be delayed until after packets have been > run through required bitstream filters in

Re: [FFmpeg-devel] [PATCHv3] avutil/attributes: extend av_uninit to clang

2015-10-08 Thread Ronald S. Bultje
Hi, On Wed, Oct 7, 2015 at 8:50 PM, Ganesh Ajjanagadde wrote: > On Wed, Oct 7, 2015 at 8:21 PM, Michael Niedermayer > wrote: > > On Wed, Oct 07, 2015 at 06:22:08PM -0400, Ganesh Ajjanagadde wrote: > >> Commit 6dac8c8327 disabled av_uninit for clang,

Re: [FFmpeg-devel] [PATCHv3] avutil/attributes: extend av_uninit to clang

2015-10-08 Thread Ganesh Ajjanagadde
On Thu, Oct 8, 2015 at 7:28 AM, Ronald S. Bultje wrote: > Hi, > > On Wed, Oct 7, 2015 at 8:50 PM, Ganesh Ajjanagadde wrote: > >> On Wed, Oct 7, 2015 at 8:21 PM, Michael Niedermayer >> wrote: >> > On Wed, Oct 07, 2015 at 06:22:08PM

Re: [FFmpeg-devel] [PATCH v2] avfilter/delogo: Set default band to 1

2015-10-08 Thread Hendrik Leppkes
On Thu, Oct 8, 2015 at 11:30 AM, Stefano Sabatini wrote: > On date Wednesday 2015-10-07 15:03:32 +0200, Jean Delvare encoded: >> The original interpolation algorithm behaved poorly on the borders and >> did not even guarantee continuity at the borders. For this reason, a >>

[FFmpeg-devel] [PATCH] build system: fix dependency generation

2015-10-08 Thread Christophe Gisquet
Hi, I came across a weird bug in dependency generation: basically, the SUBDIR is sometimes not added. That seems easy to fix once the offending line is found, but my knowledge in Makefile and git blame does not allow me to see if this is correct or there's an historical reason. Only tested

Re: [FFmpeg-devel] [PATCH] build system: fix dependency generation

2015-10-08 Thread Hendrik Leppkes
On Thu, Oct 8, 2015 at 12:39 PM, Christophe Gisquet wrote: > Hi, > > I came across a weird bug in dependency generation: basically, the > SUBDIR is sometimes not added. > > That seems easy to fix once the offending line is found, but my > knowledge in Makefile and

Re: [FFmpeg-devel] [PATCH v2] avfilter/delogo: Set default band to 1

2015-10-08 Thread Jean Delvare
On Thu, 8 Oct 2015 13:00:33 +0200, Stefano Sabatini wrote: > On date Thursday 2015-10-08 12:42:34 +0200, Jean Delvare encoded: > > On Thu, 8 Oct 2015 12:20:25 +0200, Hendrik Leppkes wrote: > [...] > > > This seems to have broken FATE, ie: > > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

2015-10-08 Thread Paul B Mahol
On 10/8/15, Hendrik Leppkes wrote: > On Wed, Oct 7, 2015 at 10:27 PM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/vf_w3fdif.c | 139 +++ >> libavfilter/w3fdif.h | 61

Re: [FFmpeg-devel] [PATCH v2] avfilter/delogo: Set default band to 1

2015-10-08 Thread Stefano Sabatini
On date Thursday 2015-10-08 12:42:34 +0200, Jean Delvare encoded: > On Thu, 8 Oct 2015 12:20:25 +0200, Hendrik Leppkes wrote: [...] > > This seems to have broken FATE, ie: > > http://fate.ffmpeg.org/report.cgi?time=20151008101706=x86_32-mingw-w64-dll-windows-native > > Oops, yes, sorry. The

Re: [FFmpeg-devel] [PATCH 7/9] dct-test: allow comparing x86 simple idcts

2015-10-08 Thread Christophe Gisquet
Hi, 2015-10-08 8:22 GMT+02:00 Christophe Gisquet : > -else if (!strcmp(dct->name, "SIMPLE10-SSE2") || > - !strcmp(dct->name, "SIMPLE10-AVX")) > +else if (strcmp(dct->name, "SIMPLE10-") > 0) Not correct, I'll use strncmp in a later

Re: [FFmpeg-devel] [PATCHv2] avutil/attributes: extend av_uninit to clang

2015-10-08 Thread Ganesh Ajjanagadde
On Thu, Oct 8, 2015 at 3:11 AM, Nicolas George wrote: > Le sextidi 16 vendémiaire, an CCXXIV, Ganesh Ajjanagadde a écrit : >> Anyway, it seems to me that for whatever reason short circuit >> evaluation is not respected by the GCC preprocessor (I lack the energy >> or interest to

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: build fix for MSA

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 02:03:22PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Modified sps and pps access from old HEVCContext(s) structure to newly > introduced HEVCParamSets(ps). > > Signed-off-by: Shivraj Patil > ---

[FFmpeg-devel] FFmpeg 2.8.1

2015-10-08 Thread Michael Niedermayer
Hi ill make 2.8.1 soon from release/2.8 if you want something backported push it to release/2.8 soon! (or ask me to pull from your git tree, or if its trivial without conflicts then the commit hash to cherry pick is fine too) -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH 3/4] configure: add message to avoid manual modification of config.texi

2015-10-08 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 43d1bed..98cf4fa 100755 --- a/configure +++ b/configure @@ -6221,7 +6221,7 @@ enabled getenv || echo "#define getenv(x) NULL" >>

[FFmpeg-devel] [PATCH 4/4] doc/developer: minor typo and consistency fixes

2015-10-08 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- doc/developer.texi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/developer.texi b/doc/developer.texi index 31952d8..9eda196 100644 --- a/doc/developer.texi +++ b/doc/developer.texi @@ -124,10 +124,10

Re: [FFmpeg-devel] [PATCH 4/4] doc/developer: minor typo and consistency fixes

2015-10-08 Thread Moritz Barsnick
On Thu, Oct 08, 2015 at 09:01:38 -0400, Ganesh Ajjanagadde wrote: > For variables and functions visible outside of file scope, but only used > -internally by a library, an @code{ff_} prefix should be used, > +internally by a library, a @code{ff_} prefix should be used, > e.g.

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 02:30:01PM +0200, Michael Niedermayer wrote: > On Thu, Oct 08, 2015 at 02:47:52PM +0530, shivraj.pa...@imgtec.com wrote: > > From: Shivraj Patil > > > > Modified datatype of function argument (pitch from int32_t to ptrdiff_t). > > > >

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 02:47:52PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Modified datatype of function argument (pitch from int32_t to ptrdiff_t). > > Signed-off-by: Shivraj Patil > --- >

[FFmpeg-devel] [PATCH 1/4] doc/writing_filters: miscellaneous grammar and typo fixes

2015-10-08 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- doc/writing_filters.txt | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/doc/writing_filters.txt b/doc/writing_filters.txt index eb16d42..66ebb53 100644 --- a/doc/writing_filters.txt

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread Shivraj Patil
-Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Michael Niedermayer Sent: 08 October 2015 18:00 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit On Thu, Oct 08, 2015

[FFmpeg-devel] [PATCH] vp9: add 10/12bpp sse2 SIMD version for idct_idct_16x16.

2015-10-08 Thread Ronald S. Bultje
--- libavcodec/x86/vp9dsp_init_16bpp_template.c | 2 + libavcodec/x86/vp9itxfm_16bpp.asm | 237 ++-- 2 files changed, 223 insertions(+), 16 deletions(-) diff --git a/libavcodec/x86/vp9dsp_init_16bpp_template.c b/libavcodec/x86/vp9dsp_init_16bpp_template.c

Re: [FFmpeg-devel] [PATCH] vp9: add 10/12bpp sse2 SIMD version for idct_idct_16x16.

2015-10-08 Thread Ronald S. Bultje
Hi, On Thu, Oct 8, 2015 at 10:16 AM, Ronald S. Bultje wrote: > --- > libavcodec/x86/vp9dsp_init_16bpp_template.c | 2 + > libavcodec/x86/vp9itxfm_16bpp.asm | 237 > ++-- > 2 files changed, 223 insertions(+), 16 deletions(-) Oops, I

[FFmpeg-devel] [PATCH 2/4] doc/build_system: miscellaneous typo and consistency fixes

2015-10-08 Thread Ganesh Ajjanagadde
Signed-off-by: Ganesh Ajjanagadde --- doc/build_system.txt | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/build_system.txt b/doc/build_system.txt index 1efe6b5..964980d 100644 --- a/doc/build_system.txt +++

Re: [FFmpeg-devel] [PATCH 1/4] doc/writing_filters: miscellaneous grammar and typo fixes

2015-10-08 Thread Stefano Sabatini
On date Thursday 2015-10-08 09:00:44 -0400, Ganesh Ajjanagadde encoded: > Signed-off-by: Ganesh Ajjanagadde > --- > doc/writing_filters.txt | 28 ++-- > 1 file changed, 14 insertions(+), 14 deletions(-) LGTM, will apply it soon, thanks. -- FFmpeg

Re: [FFmpeg-devel] [PATCH 2/4] doc/build_system: miscellaneous typo and consistency fixes

2015-10-08 Thread Stefano Sabatini
On date Thursday 2015-10-08 09:01:04 -0400, Ganesh Ajjanagadde encoded: > Signed-off-by: Ganesh Ajjanagadde > --- > doc/build_system.txt | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/doc/build_system.txt

Re: [FFmpeg-devel] [PATCH 2/4] doc/build_system: miscellaneous typo and consistency fixes

2015-10-08 Thread Ganesh Ajjanagadde
On Thu, Oct 8, 2015 at 10:29 AM, Stefano Sabatini wrote: > On date Thursday 2015-10-08 09:01:04 -0400, Ganesh Ajjanagadde encoded: >> Signed-off-by: Ganesh Ajjanagadde >> --- >> doc/build_system.txt | 20 ++-- >> 1 file changed, 10

Re: [FFmpeg-devel] [PATCH 3/4] configure: add message to avoid manual modification of config.texi

2015-10-08 Thread Stefano Sabatini
On date Thursday 2015-10-08 09:01:20 -0400, Ganesh Ajjanagadde encoded: > Signed-off-by: Ganesh Ajjanagadde > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 43d1bed..98cf4fa 100755 > --- a/configure

[FFmpeg-devel] [PATCH] vp9: refactor 10/12bpp dc-only code in 4x4/8x8 and add to 16x16.

2015-10-08 Thread Ronald S. Bultje
--- libavcodec/x86/vp9itxfm_16bpp.asm | 135 ++ 1 file changed, 79 insertions(+), 56 deletions(-) diff --git a/libavcodec/x86/vp9itxfm_16bpp.asm b/libavcodec/x86/vp9itxfm_16bpp.asm index cb9df17..cad8021 100644 --- a/libavcodec/x86/vp9itxfm_16bpp.asm +++

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: build fix for MSA 64bit

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 01:22:57PM +, Shivraj Patil wrote: > > > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Michael Niedermayer > Sent: 08 October 2015 18:00 > To: FFmpeg development discussions and patches > Subject: Re:

[FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Ivan Uskov
Hello All, Since libmfx is not under GPL, Intel asked to correct "configure" behavior for --enable-libmfx option to avoid licenses violation: ./configure --enable-libmfx - allowed ./configure --enable-libmfx --enable-gpl -prohibited, error message ./configure --enable-libmfx --enable-gpl

Re: [FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Hendrik Leppkes
Am 08.10.2015 17:40 schrieb "Ivan Uskov" : > > Hello All, > > Since libmfx is not under GPL, Intel asked to correct "configure" behavior > for --enable-libmfx option to avoid licenses violation: > ./configure --enable-libmfx > - allowed > > ./configure --enable-libmfx

[FFmpeg-devel] [PATCH] avcodec/webvttdec: Unescape HTML entities

2015-10-08 Thread Ricardo Constantino
Also fixes adjacent tags not being parsed correctly. Signed-off-by: Ricardo Constantino --- libavcodec/webvttdec.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index 1284a17..dec4105 100644

Re: [FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Ivan Uskov
Hello Hendrik, Thursday, October 8, 2015, 7:03:36 PM, you wrote: HL> That doesn't seem correct to me. The mfx dispatcher library has the BSD HL> license plastered all over it. BSD is compatible with the GPL. Dispatcher, yes, but mfx library by itself which loaded by dispatcher is not. HL> On

[FFmpeg-devel] [PATCH] avformat/srtdec: give WebVTT priority

2015-10-08 Thread wm4
WevVTT and SRT can look very similar. For some samples, they both succeed and return AVPROBE_SCORE_MAX, which leads to probing failure. This gives priority to WebVTT in ambiguous cases. Since WebVTT only succeeds if the header is present, it's pretty sure WebVTT should win in these cases. ---

Re: [FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

2015-10-08 Thread James Almer
On 10/8/2015 2:02 PM, Paul B Mahol wrote: > diff --git a/libavfilter/x86/vf_w3fdif.asm b/libavfilter/x86/vf_w3fdif.asm > new file mode 100644 > index 000..96b61d7 > --- /dev/null > +++ b/libavfilter/x86/vf_w3fdif.asm > @@ -0,0 +1,284 @@ >

Re: [FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Timothy Gu
On Thu, Oct 8, 2015 at 9:55 AM Ivan Uskov wrote: > Hello Hendrik, > > Thursday, October 8, 2015, 7:03:36 PM, you wrote: > > HL> That doesn't seem correct to me. The mfx dispatcher library has the BSD > HL> license plastered all over it. BSD is compatible with the GPL. >

[FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

2015-10-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_w3fdif.c | 127 - libavfilter/w3fdif.h | 47 +++ libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_w3fdif.asm| 284 +++

[FFmpeg-devel] [PATCH] af_pan: avoid null dereference on query_formats()

2015-10-08 Thread Reynaldo H. Verdejo Pinochet
Fixes Coverity CID 1325680 Signed-off-by: Reynaldo H. Verdejo Pinochet --- libavfilter/af_pan.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index 9117cc0..91cc434 100644 --- a/libavfilter/af_pan.c +++

Re: [FFmpeg-devel] [PATCH] af_pan: avoid null dereference on query_formats()

2015-10-08 Thread Nicolas George
Le septidi 17 vendémiaire, an CCXXIV, Reynaldo H. Verdejo Pinochet a écrit : > Fixes Coverity CID 1325680 > > Signed-off-by: Reynaldo H. Verdejo Pinochet > --- > libavfilter/af_pan.c | 4 > 1 file changed, 4 insertions(+) See:

Re: [FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Ivan Uskov
Hello Timothy, Thursday, October 8, 2015, 8:29:31 PM, you wrote: >> HL> That doesn't seem correct to me. The mfx dispatcher library has the BSD >> HL> license plastered all over it. BSD is compatible with the GPL. >> Dispatcher, yes, but mfx library by itself which loaded by dispatcher is >> not.

[FFmpeg-devel] [PATCH 5/7] lavf: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

Re: [FFmpeg-devel] [PATCH 4/4] doc/developer: minor typo and consistency fixes

2015-10-08 Thread Ganesh Ajjanagadde
On Thu, Oct 8, 2015 at 10:05 AM, Moritz Barsnick wrote: > On Thu, Oct 08, 2015 at 09:01:38 -0400, Ganesh Ajjanagadde wrote: >> For variables and functions visible outside of file scope, but only used >> -internally by a library, an @code{ff_} prefix should be used, >>

[FFmpeg-devel] [PATCH] vp9: 10/12bpp sse2 SIMD for iadst16.

2015-10-08 Thread Ronald S. Bultje
--- libavcodec/x86/vp9dsp_init_16bpp_template.c | 4 +- libavcodec/x86/vp9itxfm_16bpp.asm | 294 2 files changed, 296 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/vp9dsp_init_16bpp_template.c b/libavcodec/x86/vp9dsp_init_16bpp_template.c

Re: [FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread wm4
On Thu, 8 Oct 2015 15:34:59 -0500 Rodger Combs wrote: > --- > libavformat/matroskadec.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) > > diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c > index 9db2b59..02cc6a5 100644 > ---

[FFmpeg-devel] [PATCH 7/7] lavf/matroska: add automatic bitstream filtering

2015-10-08 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 1fb39fe..81e859f 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread Rodger Combs
--- libavformat/matroskadec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 9db2b59..02cc6a5 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1521,10 +1521,11 @@ static void

Re: [FFmpeg-devel] [PATCH] avformat/srtdec: give WebVTT priority

2015-10-08 Thread wm4
On Thu, 8 Oct 2015 19:40:38 +0200 wm4 wrote: > WevVTT and SRT can look very similar. For some samples, they both > succeed and return AVPROBE_SCORE_MAX, which leads to probing failure. > > This gives priority to WebVTT in ambiguous cases. Since WebVTT only > succeeds if

[FFmpeg-devel] [PATCH 2/7] lavf: add API to apply a list of bsfs to a packet

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 48 2 files changed, 56 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index e2a27d4..5226b0a 100644 --- a/libavformat/avformat.h +++

Re: [FFmpeg-devel] [PATCH] configure: disabling --enable-libmfx and --enable-gpl combination

2015-10-08 Thread Hendrik Leppkes
Am 08.10.2015 21:21 schrieb "Ivan Uskov" : > > Hello Timothy, > > Thursday, October 8, 2015, 8:29:31 PM, you wrote: > >> HL> That doesn't seem correct to me. The mfx dispatcher library has the BSD > >> HL> license plastered all over it. BSD is compatible with the GPL. > >>

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: Unescape HTML entities

2015-10-08 Thread Ricardo
That would probably be considered a broken WebVTT file, since "&" need to be encoded as "". On 8 October 2015 at 20:46, Clément Bœsch wrote: > On Thu, Oct 08, 2015 at 05:20:52PM +0100, Ricardo Constantino wrote: > > Also fixes adjacent tags not being parsed correctly. > > > >

[FFmpeg-devel] [PATCH 1/7] lavc: move bitstream filter args to the bsf ctx

2015-10-08 Thread Rodger Combs
--- libavcodec/avcodec.h | 1 + libavcodec/bitstream_filter.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ff70d25..ce42e57 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -5026,6 +5026,7 @@

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: Unescape HTML entities

2015-10-08 Thread Ricardo
Even if not valid WebVTT, it should now work with something like "Ben". Sample: http://trac.ffmpeg.org/attachment/ticket/4915/htmlescapes.vtt Only issue left is CR-only endings not working, but since Apple stopped using that, it's probably not that important.

[FFmpeg-devel] [PATCH] ffplay: log possible error of SDL_EnableKeyRepeat

2015-10-08 Thread Ganesh Ajjanagadde
Note that for the current SDL source code, 0 is always returned. Nevertheless, this makes the code more robust. Signed-off-by: Ganesh Ajjanagadde --- ffplay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffplay.c b/ffplay.c index 79f430d..c143e96

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

2015-10-08 Thread Ganesh Ajjanagadde
On Sat, Oct 3, 2015 at 8:17 AM, Ganesh Ajjanagadde wrote: > 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

[FFmpeg-devel] [PATCH 3/7] ffmpeg: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index e31a2c6..443e1b1 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -682,47 +682,10 @@ static void

[FFmpeg-devel] [PATCH 4/7] lavf/tee: use lavf API for applying bitstream filters

2015-10-08 Thread Rodger Combs
--- libavformat/tee.c | 43 ++- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index c619eae..5080c8d 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -384,45 +384,6 @@ fail: return ret; }

[FFmpeg-devel] [PATCH 6/7] lavf: add API to append a bsf to a stream's list

2015-10-08 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 19 +++ 2 files changed, 27 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index f3c8260..20759e3 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2758,6 +2758,14 @@

[FFmpeg-devel] [PATCH] avcodec/webvttdec: Unescape HTML entities

2015-10-08 Thread Ricardo Constantino
Also fixes adjacent tags not being parsed correctly. Signed-off-by: Ricardo Constantino --- libavcodec/webvttdec.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libavcodec/webvttdec.c b/libavcodec/webvttdec.c index 1284a17..ae16630

[FFmpeg-devel] [PATCH] Fix afade timings (trac 4919)

2015-10-08 Thread Justin Greer
Fixes https://trac.ffmpeg.org/ticket/4919 diff --git a/libavfilter/af_afade.c b/libavfilter/af_afade.c index 2f18222..7bc7eb3 100644 --- a/libavfilter/af_afade.c +++ b/libavfilter/af_afade.c @@ -272,7 +272,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf) int64_t cur_sample

Re: [FFmpeg-devel] [PATCH] Fix afade timings (trac 4919)

2015-10-08 Thread Paul B Mahol
On 10/8/15, Justin Greer wrote: > Fixes https://trac.ffmpeg.org/ticket/4919 Applied. Thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter/drawtext: allow to format pts with strftime

2015-10-08 Thread Alex Agranovsky
--  Alex Agranovsky 0001-avfilter-drawtext-allow-to-format-pts-with-strftime.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 03:34:59PM -0500, Rodger Combs wrote: > --- > libavformat/matroskadec.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) tested works applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I do not agree with

Re: [FFmpeg-devel] [PATCH] lavf/matroskadec: drop indexes that appear broken

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 03:34:59PM -0500, Rodger Combs wrote: > --- > libavformat/matroskadec.c | 9 + > 1 file changed, 5 insertions(+), 4 deletions(-) do you have a testcase for this which you can share ? [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] build system: fix dependency generation

2015-10-08 Thread Michael Niedermayer
On Thu, Oct 08, 2015 at 12:39:09PM +0200, Christophe Gisquet wrote: > Hi, > > I came across a weird bug in dependency generation: basically, the > SUBDIR is sometimes not added. > > That seems easy to fix once the offending line is found, but my > knowledge in Makefile and git blame does not

Re: [FFmpeg-devel] [PATCH] avfilter/vf_w3fdif: add x86 SIMD

2015-10-08 Thread Paul B Mahol
On 10/8/15, James Almer wrote: > On 10/8/2015 2:02 PM, Paul B Mahol wrote: >> diff --git a/libavfilter/x86/vf_w3fdif.asm b/libavfilter/x86/vf_w3fdif.asm >> new file mode 100644 >> index 000..96b61d7 >> --- /dev/null >> +++ b/libavfilter/x86/vf_w3fdif.asm >> @@ -0,0 +1,284

Re: [FFmpeg-devel] [PATCH] af_pan: avoid null dereference on query_formats()

2015-10-08 Thread Reynaldo H. Verdejo Pinochet
Totally missed it. Thanks & please ignore. Proly a good idea to update entry at coverity.com though. Bests. -- Reynaldo H. Verdejo Pinochet Open Source Group Samsung Research America / Silicon Valley ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avformat/srtdec: give WebVTT priority

2015-10-08 Thread Clément Bœsch
On Thu, Oct 08, 2015 at 07:40:38PM +0200, wm4 wrote: > WevVTT and SRT can look very similar. For some samples, they both > succeed and return AVPROBE_SCORE_MAX, which leads to probing failure. > oO Can I see a sample that this commit fixes? > This gives priority to WebVTT in ambiguous cases.

Re: [FFmpeg-devel] [PATCH] avcodec/webvttdec: Unescape HTML entities

2015-10-08 Thread Clément Bœsch
On Thu, Oct 08, 2015 at 05:20:52PM +0100, Ricardo Constantino wrote: > Also fixes adjacent tags not being parsed correctly. > > Signed-off-by: Ricardo Constantino > --- > libavcodec/webvttdec.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff

Re: [FFmpeg-devel] [PATCH] doc/faq: use https instead of http

2015-10-08 Thread Michael Niedermayer
On Wed, Oct 07, 2015 at 09:40:53PM -0400, Ganesh Ajjanagadde wrote: > Change to https for FFmpeg websites. > > Signed-off-by: Ganesh Ajjanagadde > --- > doc/faq.texi | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) applied thanks [...] --