Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-06-04 Thread Wolfgang Lorenz
Am Thu, 4 Jun 2015 03:18:20 +0200 schrieb Michael Niedermayer michae...@gmx.at: On Sun, May 31, 2015 at 06:35:18PM +0200, Wolfgang Lorenz wrote: Am Sat, 30 May 2015 12:58:38 +0200 schrieb Hendrik Leppkes h.lepp...@gmail.com: On Sat, May 30, 2015 at 12:39 PM, Wolfgang Lorenz

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: Write Block Keyframe correctly

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 05:04:08PM -0700, Vignesh Venkatasubramanian wrote: On Thu, Jun 4, 2015 at 4:54 PM, Michael Niedermayer michae...@gmx.at wrote: On Thu, Jun 04, 2015 at 04:29:49PM -0700, Vignesh Venkatasubramanian wrote: Per matroska Block Structure [1], for keyframes 0th bit of the

[FFmpeg-devel] Adding Webvtt in hls muxer

2015-06-04 Thread Anshul
Hello New patch to remove merge conflicts. -Anshul From 4433686fdc62f9aebe23937b51b641febacfa2fe Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari er.anshul.maheshw...@gmail.com Date: Thu, 4 Jun 2015 13:25:52 +0530 Subject: [PATCH] Add WebVtt support in hls Signed-off-by: Anshul Maheshwari

Re: [FFmpeg-devel] [PATCH v3] * mpegts demuxer recognizes private streams on demand

2015-06-04 Thread Wolfgang Lorenz
The option went into the MpegTSContext struct and can be addressed via dictionary: AVFormatContext * formatContext = NULL; /* enable mpeg-ts private stream recognition */ AVDictionary * dict = NULL; av_dict_set_int(dict, mpegts_recognize_private_streams, 1, 0); /* open file

Re: [FFmpeg-devel] [PATCH] swresample/soxr: never return negative delay

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 07:54:15PM +0200, wm4 wrote: This makes no sense in this context, and can cause swr_get_out_samples() and swr_get_delay() negative numbers that are not error codes. --- libswresample/soxr_resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) is there an

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Ganesh Ajjanagadde
I have created a small test case which gets at the heart of one of these spurious warnings, namely the one for libavfilter/vf_swapuv.c. Here is the ticket on the GCC Bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66422 Note that as of the moment, -Warray-bounds appears quite broken on

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/apng: Add support for blending with GRAY8A pixel format

2015-06-04 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 08:21:36PM +0200, Paul B Mahol wrote: On 6/2/15, Donny Yang w...@kota.moe wrote: On 3 June 2015 at 03:38, Paul B Mahol one...@gmail.com wrote: Dana 2. 6. 2015. 17:50 osoba Donny Yang w...@kota.moe napisala je: Signed-off-by: Donny Yang w...@kota.moe ---

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: Write Block Keyframe correctly

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 04:29:49PM -0700, Vignesh Venkatasubramanian wrote: Per matroska Block Structure [1], for keyframes 0th bit of the flag should not be set (unlike SimpleBlocks). For Blocks, keyframes is inferred by the absence of ReferenceBlock element (as done by matroskadec). This CL

[FFmpeg-devel] [PATCH][GSoC] lavf/http: Add simple autodetection for client HTTP method, based on AVIO_FLAG_READ.

2015-06-04 Thread Stephan Holljes
Signed-off-by: Stephan Holljes klaxa1...@googlemail.com --- libavformat/http.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 90e88ad..32fc1ce 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -563,6 +563,7 @@ static int

Re: [FFmpeg-devel] [PATCH] arm: only enable setend on ARMv6

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 11:17:45PM +0200, Andreas Cadhalpun wrote: Without this check it causes SIGILL crashes on ARMv5. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavutil/arm/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/apng: Add partial support for blending with PAL8 pixel format

2015-06-04 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 03:49:27PM +, Donny Yang wrote: Currently restricted to blending pixels that only contain either 0 or 255 in their alpha components Signed-off-by: Donny Yang w...@kota.moe --- libavcodec/pngdec.c | 15 ++- 1 file changed, 14 insertions(+), 1

[FFmpeg-devel] [PATCH] arm: only enable setend on ARMv6

2015-06-04 Thread Andreas Cadhalpun
Without this check it causes SIGILL crashes on ARMv5. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavutil/arm/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/arm/cpu.c b/libavutil/arm/cpu.c index f1683e8..ac42a05 100644 ---

Re: [FFmpeg-devel] [PATCH] avcodec/s302m: Check for non PCM Streams and provide a informative error message instead of noise

2015-06-04 Thread Kieran Kunhya
On 4 June 2015 at 15:57, Michael Niedermayer michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/s302m.c | 34 ++ 1 file changed, 34 insertions(+) This should be made optional - there are legitimate reasons such as

Re: [FFmpeg-devel] [PATCH]Remove some long long occurences in the libraries

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 06:40:25PM +0200, Carl Eugen Hoyos wrote: On Thursday 04 June 2015 06:34:17 pm James Almer wrote: On 04/06/15 9:58 AM, Carl Eugen Hoyos wrote: diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c index b29aad1..152a9f7 100644 --- a/libavdevice/iec61883.c

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 01:31:48PM +0530, shivraj.pa...@imgtec.com wrote: From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in

[FFmpeg-devel] [PATCH] swresample: make swr_get_out_samples() work with all resamplers

2015-06-04 Thread wm4
Making it fail if e.g. soxr is used makes the function completely useless. --- libswresample/swresample.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 9ab29d6..0ef556a 100644 ---

[FFmpeg-devel] [PATCH] swresample/soxr: never return negative delay

2015-06-04 Thread wm4
This makes no sense in this context, and can cause swr_get_out_samples() and swr_get_delay() negative numbers that are not error codes. --- libswresample/soxr_resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswresample/soxr_resample.c

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread James Almer
On 04/06/15 10:08 AM, Ganesh Ajjanagadde wrote: On Thu, Jun 4, 2015 at 7:00 AM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Jun 03, 2015 at 10:05:54PM -0400, Ganesh Ajjanagadde wrote: While compiling ffmpeg, I noticed a bunch of -Warray-bounds warnings. I think it would be great if

[FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-04 Thread Ganesh Ajjanagadde
Version 2.20 of glibc deprecates _BSD_SOURCE and _SVID_SOURCE and replaces with _DEFAULT_SOURCE Signed-off-by: Ganesh Ajjanagadde gajjanaga...@gmail.com --- libavformat/img2dec.c | 2 +- libavformat/udp.c | 2 +- libswscale/utils.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-04 Thread Carl Eugen Hoyos
Ganesh Ajjanagadde gajjanagadde at gmail.com writes: Version 2.20 of glibc deprecates _BSD_SOURCE and _SVID_SOURCE and replaces with _DEFAULT_SOURCE I don't think FFmpeg requires version 2.20 of glibc so unless this fixes more than just a warning it should probably not be committed. Carl

Re: [FFmpeg-devel] [PATCH]Remove some long long occurences in the libraries

2015-06-04 Thread James Almer
On 04/06/15 9:58 AM, Carl Eugen Hoyos wrote: diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c index b29aad1..152a9f7 100644 --- a/libavdevice/iec61883.c +++ b/libavdevice/iec61883.c @@ -271,7 +271,7 @@ static int iec61883_read_header(AVFormatContext *context) } if

Re: [FFmpeg-devel] [PATCH] libavutil: Add new fixed dsp functions.

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 12:58:56PM +, Nedeljko Babic wrote: Add functions needed for implementation of fixed point aac dec. Signed-off-by: Nedeljko Babic nedeljko.ba...@imgtec.com applied these also need a update to doc/APIchanges and version.h i saw a version.h update in a later

Re: [FFmpeg-devel] [PATCH]Remove some long long occurences in the libraries

2015-06-04 Thread Carl Eugen Hoyos
On Thursday 04 June 2015 06:34:17 pm James Almer wrote: On 04/06/15 9:58 AM, Carl Eugen Hoyos wrote: diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c index b29aad1..152a9f7 100644 --- a/libavdevice/iec61883.c +++ b/libavdevice/iec61883.c @@ -271,7 +271,7 @@ static int

[FFmpeg-devel] [PATCH] avcodec/s302m: Check for non PCM Streams and provide a informative error message instead of noise

2015-06-04 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/s302m.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c index 7639a0f..cb10914 100644 --- a/libavcodec/s302m.c +++ b/libavcodec/s302m.c @@ -95,6

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Hendrik Leppkes
On Thu, Jun 4, 2015 at 4:05 AM, Ganesh Ajjanagadde gajja...@mit.edu wrote: While compiling ffmpeg, I noticed a bunch of -Warray-bounds warnings. I think it would be great if ffmpeg could be built warning-free, and -Warray-bounds seems to be one of the biggest culprits. Nevertheless,

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Nicolas George
Le quintidi 15 prairial, an CCXXIII, Ganesh Ajjanagadde a écrit : 1. using av_assert0() to ensure that array access remains in bounds in these few cases. This could lead to performance hit. Using av_assert1() or av_assert2() will yield a performance hit, but only when enabled in development

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Carl Eugen Hoyos
Ganesh Ajjanagadde gajjanag at mit.edu writes: I think it would be great if ffmpeg could be built warning-free I am sure nobody here is against compiling FFmpeg without warnings but I wonder if it is possible and if it is worth the effort. Which option do the devs here prefer? Not

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 10:05:54PM -0400, Ganesh Ajjanagadde wrote: While compiling ffmpeg, I noticed a bunch of -Warray-bounds warnings. I think it would be great if ffmpeg could be built warning-free, and -Warray-bounds seems to be one of the biggest culprits. Nevertheless, -Warray-bounds

[FFmpeg-devel] [PATCH 2/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC loop filter and sao functions in new file hevc_lpf_sao_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil

[FFmpeg-devel] [PATCH 1/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC idct functions

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC idct functions in new file hevc_idct_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil shivraj.pa...@imgtec.com ---

Re: [FFmpeg-devel] colorspace.h

2015-06-04 Thread Chris
The existing code is such a jumble, I'm unable to figure out why it is coded the way it is. When I try to test it I get wacky results. I do get some inaccurate colors in files encoded by ffmpeg. I'm guessing this code may be the source of the inaccuracies. I have tested this fairly thoroughly

[FFmpeg-devel] [PATCH 3/3] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC intra prediction functions

2015-06-04 Thread shivraj.patil
From: Shivraj Patil shivraj.pa...@imgtec.com This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC intra predition functions in new file hevcpred_msa.c Adds new generic macros (needed for this patch) in libavutil/mips/generic_macros_msa.h Signed-off-by: Shivraj Patil

Re: [FFmpeg-devel] [PATCH][GSoC] lavf/http: Parse and set HTTP method when listening on HTTP(S)

2015-06-04 Thread Nicolas George
Le sextidi 16 prairial, an CCXXIII, Stephan Holljes a écrit : I hope I understood what you meant. Exactly. The order of the patches attached was reversed, maybe that's why it looked like the indentation was done first. I was a bit confused at first then I noticed. It was just advice for

Re: [FFmpeg-devel] [PATCH] swresample/swresample: Cleanup on init failure.

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 12:58:56AM -0300, James Almer wrote: On 03/06/15 10:47 PM, Michael Niedermayer wrote: This avoids leaks if the user doest call swr_close() after a failed init This should be backported then, since the doxy mentions swr_init() can be used without swr_close(), so quite

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-06-04 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: Also the S302 in fate is identified by a registration descriptor there should be nothing unreliable in its detection I don't know if this is related at all but FFmpeg (also) detects Dolby-E as S302, see

Re: [FFmpeg-devel] [PATCH 0/3] Authentication callbacks

2015-06-04 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 01:04:55AM +0200, Lukasz Marek wrote: One of the most annoying things with ffmpeg is that password must be provided as a program param. It is visible while typing and on process list. (I'm talking about ffplay/ffmpeg/ffprobe here.) This patchset provides API that

Re: [FFmpeg-devel] [PATCH] swresample: Add swr_get_out_samples()

2015-06-04 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 10:48:01AM +0200, wm4 wrote: On Thu, 4 Jun 2015 04:37:31 +0200 Michael Niedermayer michae...@gmx.at wrote: On Wed, Jun 03, 2015 at 11:11:23AM +0200, wm4 wrote: On Wed, 3 Jun 2015 01:22:49 +0200 Michael Niedermayer michae...@gmx.at wrote: Signed-off-by:

[FFmpeg-devel] [project server] moving homepage to the new server

2015-06-04 Thread Alexander Strasser
Hello all, we are in the process of migrating the FFmpeg website to the new server. The homepage and the git repos are now resolving to the new server. So if you have SSH access to the ffmpeg-web.git or fateserver.git repositories you will get a fat warning that the host changed (possible dns

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-04 Thread Ganesh Ajjanagadde
On Thu, Jun 4, 2015 at 7:00 AM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Jun 03, 2015 at 10:05:54PM -0400, Ganesh Ajjanagadde wrote: While compiling ffmpeg, I noticed a bunch of -Warray-bounds warnings. I think it would be great if ffmpeg could be built warning-free, and

Re: [FFmpeg-devel] [PATCH] libavutil/softfloat: Fix normalizations.

2015-06-04 Thread Nedeljko Babic
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index 8097d28..182e517 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -47,7 +47,7 @@ static const SoftFloat FLOAT_099= { 0x3BCE, 0}; static av_const SoftFloat av_normalize_sf(SoftFloat a){

[FFmpeg-devel] [PATCH]Remove some long long occurences in the libraries

2015-06-04 Thread Carl Eugen Hoyos
Hi! As requested by the developer documentation, fixes some wrong format specifiers and removes a few ugly casts. Please comment, Carl Eugen diff --git a/libavcodec/cinepakenc.c b/libavcodec/cinepakenc.c index 7277345..2931fa3 100644 --- a/libavcodec/cinepakenc.c +++ b/libavcodec/cinepakenc.c

Re: [FFmpeg-devel] [PATCH] libavutil: Add new fixed dsp functions.

2015-06-04 Thread Nedeljko Babic
Add functions needed for implementation of fixed point aac dec. Signed-off-by: Nedeljko Babic nedeljko.ba...@imgtec.com applied these also need a update to doc/APIchanges and version.h i saw a version.h update in a later patch, not sure if theres a doc/APIchange one if not please add one