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

2015-06-03 Thread Hendrik Leppkes
On Thu, Jun 4, 2015 at 4:05 AM, 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 is quite

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

2015-06-03 Thread James Almer
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 a few cases probably exist by now. > > Found-by: jamrial > Sign

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

2015-06-03 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 11:11:23AM +0200, wm4 wrote: > On Wed, 3 Jun 2015 01:22:49 +0200 > Michael Niedermayer wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > libswresample/resample.c| 17 + > > libswresample/swresample.c | 30 > > ++

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

2015-06-03 Thread Ganesh Ajjanagadde
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 is quite useful in most cases. I currently see 2 possible improvements: 1.

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

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 09:04:03PM -0700, Pavel Koshevoy wrote: > On 6/2/15 16:22, Michael Niedermayer wrote: > >Signed-off-by: Michael Niedermayer > >--- > > libswresample/resample.c| 17 + > > libswresample/swresample.c | 30 +

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

2015-06-03 Thread Michael Niedermayer
This avoids leaks if the user doest call swr_close() after a failed init Found-by: jamrial Signed-off-by: Michael Niedermayer --- libswresample/swresample.c | 34 -- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/libswresample/swresample.c b/lib

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

2015-06-03 Thread Michael Niedermayer
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 : > > > On Sat, May 30, 2015 at 12:39 PM, Wolfgang Lorenz wrote: > > > Am Sat, 30 May 2015 11:00:18 +0200 > > > schrieb Wolfgang Lorenz : > > > > > > [...] > > > > > > O

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Chris
If ffmpeg is to support webm, VP8, VP9, etc., the following should be noted (from Wikipedia): << The VP9 format supports the following color spaces: Rec. 601, Rec. 709, Rec. 2020, SMPTE-170, SMPTE-240, and sRGB. >> Also, support for BT.2020 should be kept in mind. My demo program will be writt

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

2015-06-03 Thread Stephan Holljes
On Wed, Jun 3, 2015 at 10:39 PM, Nicolas George wrote: > http_listen(), you wrote it yourself. Maybe I was not clear enough, I just > suggested to move the code in a function for better readability (the name of > the function is self-documentating), nothing more complicated. I hope I understood w

Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-03 Thread Chris
I don't know if we're talking about the same thing, but if ffmpeg is to support BT.2020, some thought should be given to 12-bit samples. -Original Message- From: Kevin Wells To: ffmpeg-devel Sent: Wed, Jun 3, 2015 12:17 pm Subject: [FFmpeg-devel] colormatrix high-bit-depth input suppor

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

2015-06-03 Thread Hendrik Leppkes
On Thu, Jun 4, 2015 at 12:52 AM, Wolfgang Lorenz wrote: > Here is a new version, that doesn't touch the way ffmpeg behaves > without further user actions: > > I added a new flag to AVFormatContext, that activates the check for > private streams, when set. It can be used like this: > > AVFormat

Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-03 Thread Carl Eugen Hoyos
Kevin Wells hotmail.co.uk> writes: > Hi, I believe that currently the colormatrix filter > only supports up to 8-bit input files. Is there any > chance it will, in the future, support > high-bit-depth input files (10-bit)? Patch certainly welcome. Carl Eugen _

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

2015-06-03 Thread Wolfgang Lorenz
Here is a new version, that doesn't touch the way ffmpeg behaves without further user actions: I added a new flag to AVFormatContext, that activates the check for private streams, when set. It can be used like this: AVFormatContext * formatContext = avformat_alloc_context(); formatContext

Re: [FFmpeg-devel] Test case for Closed caption decoder.

2015-06-03 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 04:02:56AM +0530, Anshul wrote: > > > On 06/02/2015 03:54 PM, Michael Niedermayer wrote: > >On Tue, Jun 02, 2015 at 06:13:20AM +, Carl Eugen Hoyos wrote: > >>Anshul gmail.com> writes: > >> > >>>can you provide me link of carl file you said it was > >>>smallest, I woul

Re: [FFmpeg-devel] [PATCH 03/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [1/4]

2015-06-03 Thread Michael Niedermayer
On Fri, May 29, 2015 at 03:46:22PM +0200, Nedeljko Babic wrote: > From: Jovan Zelincevic > > Move existing code to the new template files > > Signed-off-by: Nedeljko Babic > --- > libavcodec/aacdec.c| 3101 > +--- > libavcodec/aacdec_template.c

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

2015-06-03 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 04:00:36PM +0200, Nedeljko Babic wrote: > Add functions needed for implementation of fixed point aac dec. > > Signed-off-by: Nedeljko Babic 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 do

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

2015-06-03 Thread Nicolas George
Le quintidi 15 prairial, an CCXXIII, Stephan Holljes a écrit : > I also just now noticed while testing that sending a CTRL+C interrupt > results in a segmentation fault, because no client was connected and > ffurl_write() tried to send data anyway. That is (hopefully) fixed > now. Good to have cau

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Chris
I can post my modified code but I am not able to compile ffmpeg and test it. To give the original author the benefit of the doubt, I am trying to compile a very simplified version of his code to see if it's even close to correct. The code is written very strangely and I'm still trying to figure

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel functions

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:08:12PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC uni mc epel > functions. > Adds new generic macros (needed for this patch) in > libavutil/mips/generic_macros_msa.h > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:08:11PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC mc epel functions. > > Signed-off-by: Shivraj Patil > --- > libavcodec/mips/hevcdsp_init_mips.c | 32 + > libavcodec/mips/hevcdsp_mi

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC biw mc functions

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:08:10PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC biw mc functions > (qpel as well as epel) in new file hevc_mc_biw_msa.c > Adds new generic macros (needed for this patch) in > libavuti

[FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-03 Thread Kevin Wells
Hi, I believe that currently the colormatrix filter only supports up to 8-bit input files. Is there any chance it will, in the future, support high-bit-depth input files (10-bit)? Kind regards. ___ ffmpeg-devel maili

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

2015-06-03 Thread Stephan Holljes
On Tue, Jun 2, 2015 at 10:56 AM, Nicolas George wrote: > Le quartidi 14 prairial, an CCXXIII, Stephan Holljes a écrit : >> I agree, I have probably thought a little bit too far ahead. >> >> I hope the attached patches are okay. >> I'm somewhat unsure about the first patch, because it checks ret an

[FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-03 Thread Kevin Wells
Hi, I believe that currently the colormatrix filter only supports up to 8-bit input files. Is there any chance it will, in the future, support high-bit-depth input files (10-bit)? Kind regards. _

Re: [FFmpeg-devel] colorspace.h

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:28:59AM -0400, Chris wrote: > Hello - > > I have found what I believe to be some questionable code in colorspace.h. I > have modified the code to what I believe is correct but am unable to compile > ffmpeg myself on Windows to test my modifications, despite spending ma

Re: [FFmpeg-devel] video is not shown while playing flv file

2015-06-03 Thread Lou Logan
On Wed, Jun 3, 2015, at 12:51 AM, Joey wrote: > Dear ffmpeg guys > > > While I playing a file named "afd_len_1080p_1200.flv" the video is not > shown but got below msg > still occurs, it means that your file has a feature which has not been > implemented. > [flv @ 0x7f9ebc0008c0] If you want

[FFmpeg-devel] video is not shown while playing flv file

2015-06-03 Thread Joey
Dear ffmpeg guys While I playing a file named "afd_len_1080p_1200.flv" the video is not shown but got below msg still occurs, it means that your file has a feature which has not been implemented. [flv @ 0x7f9ebc0008c0] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mov: increase current_sample after reading, to avoid discontinuous sample

2015-06-03 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 07:49:25PM +0800, Zhang Rui wrote: > 2015-06-03 19:24 GMT+08:00 Michael Niedermayer : > > would below work ? > > Looks better than mine. ok, applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can

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

2015-06-03 Thread Michael Niedermayer
On Wed, Jun 03, 2015 at 04:17:39PM +0200, Nedeljko Babic wrote: > av_normalize_sf doesn't properly address case when negative numbers are out > of defined range. > > av_normalize1_sf doesn't properly address border case when mantis is > exactly 0x4000. > > This patch solves both of these prob

Re: [FFmpeg-devel] [PATCH] ffmpeg_dxva2: call GetDesktopWindow() in place of GetShellWindow()

2015-06-03 Thread Stefano Sabatini
On date Tuesday 2015-06-02 22:03:24 +0200, Hendrik Leppkes encoded: > On Tue, Jun 2, 2015 at 10:02 PM, Hendrik Leppkes wrote: [...] > >>> So after rechecking, I realized that I was using the gcc defined in > >>> the MinGW32 directory. Compilation with MSYS2 went fine, with and > >>> without the pa

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

2015-06-03 Thread Nedeljko Babic
av_normalize_sf doesn't properly address case when negative numbers are out of defined range. av_normalize1_sf doesn't properly address border case when mantis is exactly 0x4000. This patch solves both of these problems. Signed-off-by: Nedeljko Babic --- libavutil/softfloat.h | 4 ++-- 1 f

Re: [FFmpeg-devel] [PATCH 13/14] tests: Add aac_fixed decoder test

2015-06-03 Thread Nedeljko Babic
>> >> Configuration that I am using is: >> ./configure --samples=../fate_tests --enable-gpl --enable-memory-poisoning >> --enable-avresample --enable-debug=2 --disable-iconv --target-os=linux >> --disable-yasm > >probably needs --assert-level=2 Yes, that was it. The problem is in edge cases in

[FFmpeg-devel] [PATCH] Edit documentation and versioning

2015-06-03 Thread Nedeljko Babic
From: Jovan Zelincevic Signed-off-by: Nedeljko Babic --- Changelog | 1 + doc/general.texi| 2 +- doc/mips.txt| 4 libavutil/version.h | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 193ca43..bea12e8 100644 --- a/Chan

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

2015-06-03 Thread Nedeljko Babic
Add functions needed for implementation of fixed point aac dec. Signed-off-by: Nedeljko Babic --- libavutil/fixed_dsp.c | 62 +++ libavutil/fixed_dsp.h | 59 2 files changed, 121 insertions(+) diff

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mips: MSA (MIPS-SIMD-Arch) optimizations for HEVC uniw mc functions

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 02:08:09PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch adds MSA (MIPS-SIMD-Arch) optimizations for HEVC uniw mc functions > (qpel as well as epel) in new file hevc_mc_uniw_msa.c > Adds new generic macros (needed for this patch) in > libavu

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/apng: Remove threading support

2015-06-03 Thread Ronald S. Bultje
Hi, On Wed, Jun 3, 2015 at 1:20 AM, Donny Yang wrote: > On 3 June 2015 at 04:15, Ronald S. Bultje wrote: > > On Tue, Jun 2, 2015 at 1:42 PM, Donny Yang wrote: > > > On 3 June 2015 at 03:31, Paul B Mahol wrote: > > > > Dana 2. 6. 2015. 17:49 osoba "Donny Yang" napisala > je: > > > > > > > > >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mov: increase current_sample after reading, to avoid discontinuous sample

2015-06-03 Thread Zhang Rui
2015-06-03 19:24 GMT+08:00 Michael Niedermayer : > would below work ? Looks better than mine. > > commit 816047eb161e804ba6312947f6bd7349cf934f80 > Author: Michael Niedermayer > Date: Wed Jun 3 13:04:37 2015 +0200 > > avformat/mov: Retry same packet on IO failure to avoid loosing a packet

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mov: increase current_sample after reading, to avoid discontinuous sample

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 11:15:16AM +0800, Zhang Rui wrote: > 2015-06-02 7:26 GMT+08:00 Michael Niedermayer : > > On Thu, May 21, 2015 at 12:31:21PM +0800, Zhang Rui wrote: > >> Discontinuous sample could cause corrupted image if next video frame > >> is non-key frame. > >> > >> Mostly, avio_seek()

Re: [FFmpeg-devel] Test case for Closed caption decoder.

2015-06-03 Thread Anshul
On 06/02/2015 03:54 PM, Michael Niedermayer wrote: On Tue, Jun 02, 2015 at 06:13:20AM +, Carl Eugen Hoyos wrote: Anshul gmail.com> writes: can you provide me link of carl file you said it was smallest, I would make that test case again with carl file. http://thread.gmane.org/gmane.comp

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Accept MXF D-10 with 49.999840 Mbit/sec

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 07:43:23AM +0100, tim nicholson wrote: > On 01/06/15 20:35, Michael Niedermayer wrote: > > This is the maximum rate possible based on the frame size limit of MXF D-10 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/mxfenc.c |2 +- > > 1 file changed

Re: [FFmpeg-devel] [PATCH 1/1] swresample/dither: check memory allocation

2015-06-03 Thread Michael Niedermayer
On Tue, Jun 02, 2015 at 11:17:48PM -0400, Ganesh Ajjanagadde wrote: > check memory allocation in swri_get_dither() > > Signed-off-by: Ganesh Ajjanagadde > --- > libswresample/dither.c | 5 - > libswresample/swresample.c | 3 ++- > libswresample/swresample_internal.h | 2

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

2015-06-03 Thread wm4
On Wed, 3 Jun 2015 01:22:49 +0200 Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libswresample/resample.c| 17 + > libswresample/swresample.c | 30 > ++ libswresample/swresample.h > | 14