Re: [FFmpeg-devel] [PATCH] WebP native muxer bugfix: frames should have alpha blending off

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 05:52:35PM +, Urvang Joshi wrote: > On Wed, May 27, 2015 at 5:33 PM Michael Niedermayer > wrote: > > > On Wed, May 27, 2015 at 03:10:05PM -0700, Urvang Joshi wrote: > > > All the frames that the native muxer gets are fully reconstructed > > > frames, > > > > wrong > >

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

2015-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- libavformat/http.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/http.c b/libavformat/http.c index 4f6716a..3fad43d 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -556,6 +556,14 @@ static int process_line(URLContext *h, cha

Re: [FFmpeg-devel] [PATCH] mov: fix DTS calculation for samples with negative stts duration

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:49:02PM +0200, Andreas Cadhalpun wrote: > On 28.05.2015 04:29, Michael Niedermayer wrote: > > On Thu, May 28, 2015 at 12:11:00AM +0200, Andreas Cadhalpun wrote: > >> A negative sample duration is invalid according to the spec, but there > >> are samples that use it for th

Re: [FFmpeg-devel] [PATCH 2/2] dxva2_hevc: re-write reference frame handling

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:20:25PM +0200, Hendrik Leppkes wrote: > The old logic required and explicit clearing of the lists first and was > prone to overflow the DXVA2 struct in some circumstances. > --- > libavcodec/dxva2_hevc.c | 40 ++-- > 1 file changed, 22

Re: [FFmpeg-devel] [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize and denoise with mmi

2015-05-28 Thread 周晓勇
> > > On Wed, May 27, 2015 at 06:10:31PM +0800, 周晓勇 wrote: > > > > From eb476eba51fffd30989917606a9b239f7c67ad26 Mon Sep 17 00:00:00 2001 > > > > From: ZhouXiaoyong > > > > Date: Thu, 21 May 2015 16:32:35 +0800 > > > > Subject: [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize > > > >

Re: [FFmpeg-devel] [PATCH 1/2] dxva2_hevc: fix 32x32 scaling lists

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:20:24PM +0200, Hendrik Leppkes wrote: > --- > libavcodec/dxva2_hevc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 3 "Rare i

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mpegvideo: Check pointer when allocation fail

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:25:57PM +0300, Roman Savchenko wrote: > --- > libavcodec/mpegvideo.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyrant has disposed of foreig

Re: [FFmpeg-devel] [PATCH 1/2] avformat/avienc: Correct possible dereference of null

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 06:25:56PM +0300, Roman Savchenko wrote: > --- > libavformat/avienc.c | 2 ++ > 1 file changed, 2 insertions(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of t

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-28 Thread James Almer
On 28/05/15 2:39 PM, Stefano Sabatini wrote: > From f3b4e77dd9dd299aba8f4fa83625d2b61b243c3c Mon Sep 17 00:00:00 2001 > From: Stefano Sabatini > Date: Fri, 15 May 2015 18:58:17 +0200 > Subject: [PATCH] lavu/imgutils: add av_image_copy_plane_from_uswc() function. > > This function allows support t

[FFmpeg-devel] [PATCH] lavf/tls: Support Secure Transport

2015-05-28 Thread Rodger Combs
--- configure | 14 +- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/avio.c| 4 +- libavformat/tls.h | 2 +- libavformat/tls_securetransport.c | 393

[FFmpeg-devel] [PATCH 1/2] avformat/avienc: Correct possible dereference of null

2015-05-28 Thread Roman Savchenko
--- libavformat/avienc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/avienc.c b/libavformat/avienc.c index fb2cdd2..62d84d5 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -386,6 +386,8 @@ static int avi_write_header(AVFormatContext *s) t = NU

[FFmpeg-devel] [PATCH 2/2] avcodec/mpegvideo: Check pointer when allocation fail

2015-05-28 Thread Roman Savchenko
--- libavcodec/mpegvideo.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 11d6729..bd47203 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1044,11 +1044,14 @@ do {\ if (s1->bitstream_buffe

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 08:14:42PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch modifies HEVC mc MIPS-SIMD optimized code according to improved > version of generic macros. > > Overall, this patch is just upgrading the code with styling changes and will > bring i

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-28 Thread Hendrik Leppkes
On Thu, May 28, 2015 at 7:39 PM, Stefano Sabatini wrote: > On date Monday 2015-05-18 13:26:56 +0200, Stefano Sabatini encoded: >> On Mon, May 18, 2015 at 1:17 PM, Hendrik Leppkes >> wrote: >> >> > On Mon, May 18, 2015 at 12:37 PM, Stefano Sabatini >> > wrote: >> > >> [...] >> >> > > >> > > I hav

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-28 Thread Stefano Sabatini
On date Monday 2015-05-18 13:26:56 +0200, Stefano Sabatini encoded: > On Mon, May 18, 2015 at 1:17 PM, Hendrik Leppkes > wrote: > > > On Mon, May 18, 2015 at 12:37 PM, Stefano Sabatini > > wrote: > > > [...] > > > > > > > I have a first hackish patch, performed some tests and I got some > > > s

Re: [FFmpeg-devel] [PATCH] mov: fix DTS calculation for samples with negative stts duration

2015-05-28 Thread Andreas Cadhalpun
On 28.05.2015 04:29, Michael Niedermayer wrote: > On Thu, May 28, 2015 at 12:11:00AM +0200, Andreas Cadhalpun wrote: >> A negative sample duration is invalid according to the spec, but there >> are samples that use it for the DTS calculation, e.g.: >> http://files.1f0.de/samples/mp4-negative-stts-p

[FFmpeg-devel] [PATCH 1/2] dxva2_hevc: fix 32x32 scaling lists

2015-05-28 Thread Hendrik Leppkes
--- libavcodec/dxva2_hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c index dae990d..71aab54 100644 --- a/libavcodec/dxva2_hevc.c +++ b/libavcodec/dxva2_hevc.c @@ -209,12 +209,12 @@ static void fill_scaling_lists(AVDXV

[FFmpeg-devel] [PATCH 2/2] dxva2_hevc: re-write reference frame handling

2015-05-28 Thread Hendrik Leppkes
The old logic required and explicit clearing of the lists first and was prone to overflow the DXVA2 struct in some circumstances. --- libavcodec/dxva2_hevc.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/libavcodec/dxva2_hevc.c b/lib

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mips: Split uni mc optimizations to new file

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 08:10:58PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch moves HEVC code of uni mc cases to new file hevc_mc_uni_msa.c. > (There are total 5 sub-modules of HEVC mc functions, if we add all these > modules in one single file, its size would be

[FFmpeg-devel] [PATCH 2/2] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil This patch modifies HEVC mc MIPS-SIMD optimized code according to improved version of generic macros. Overall, this patch is just upgrading the code with styling changes and will bring it in sync with MIPS-SIMD optimized latest codebase at our end. Signed-off-by: Shivraj P

Re: [FFmpeg-devel] [PATCH 2/2] dvdsubdec: implement flushing

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 02:16:36PM +0200, wm4 wrote: > This is needed for proper operation with seeking. > --- > libavcodec/dvdsubdec.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I

Re: [FFmpeg-devel] [PATCH] dvdsubdec: reset buffer size on invalid over-large packets

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 02:30:14PM +0200, wm4 wrote: > Otherwise it will never be reset, and remain "stuck" in this state > forever. Can happen when seeking: the decoder will receive fragments > from different file positions, which triggers the condition easily. > --- > Minor fix: reset this field

[FFmpeg-devel] [PATCH] build: allow for PKG_CONFIG_LIBDIR

2015-05-28 Thread Ingo Brückl
The pkgconfig files should be installed in PKG_CONFIG_LIBDIR if defined, rather than in LIBDIR. Signed-off-by: Ingo Brückl diff --git a/library.mak b/library.mak index e23abd2..d5c11d6 100644 --- a/library.mak +++ b/library.mak @@ -90,8 +90,8 @@ install-lib$(NAME)-headers: $(addprefix $(SUBDIR),

Re: [FFmpeg-devel] [PATCH]lavc/x264: Support bgr0 as input pix_fmt

2015-05-28 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > libx264.c |4 > > 1 file changed, 4 insertions(+) > > e9cce60b166d4585c8c600ee9a7126a8b577e2d1 patchx264bgr0.diff > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > > probably ok I did some tests related to ticket #4287 and the out

Re: [FFmpeg-devel] [PATCH]Use av_codec_get_tag2() in avformat_query_codec()

2015-05-28 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > utils.c |3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > 53709a243d559e659c62867e4a17b7b3fd589576 patchquerycodec.diff > > diff --git a/libavformat/utils.c b/libavformat/utils.c > > LGTM The patch was merged. Thank you, Carl Eugen __

[FFmpeg-devel] [PATCH] dvdsubdec: reset buffer size on invalid over-large packets

2015-05-28 Thread wm4
Otherwise it will never be reset, and remain "stuck" in this state forever. Can happen when seeking: the decoder will receive fragments from different file positions, which triggers the condition easily. --- Minor fix: reset this field in append_to_cached_buf() directly. My previous patch missed on

[FFmpeg-devel] [PATCH 2/2] dvdsubdec: implement flushing

2015-05-28 Thread wm4
This is needed for proper operation with seeking. --- libavcodec/dvdsubdec.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavcodec/dvdsubdec.c b/libavcodec/dvdsubdec.c index 5abf014..08a1500 100644 --- a/libavcodec/dvdsubdec.c +++ b/libavcodec/dvdsubdec.c @@ -719,10

[FFmpeg-devel] [PATCH 1/2] dvdsubdec: reset buffer size on invalid over-large packets

2015-05-28 Thread wm4
Otherwise it will never be reset, and remain "stuck" in this state forever. Can happen when seeking: the decoder will receive fragments from different file positions, which triggers the condition easily. --- These patches basically fix seeking. --- libavcodec/dvdsubdec.c | 1 + 1 file changed, 1 i

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Support storing signal standard

2015-05-28 Thread Michael Niedermayer
On Tue, May 26, 2015 at 02:43:15PM +0200, Michael Niedermayer wrote: > On Tue, May 26, 2015 at 09:45:28AM +0100, tim nicholson wrote: > > On 24/05/15 02:15, Michael Niedermayer wrote: > > > also store 1 for D10 > > > > > > Signed-off-by: Michael Niedermayer > > > --- > > > libavformat/mxfenc.c

Re: [FFmpeg-devel] [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize and denoise with mmi

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 10:47:27AM +0800, 周晓勇 wrote: > > > > > -原始邮件- > > 发件人: "Michael Niedermayer" > > 发送时间: 2015年5月27日 星期三 > > 收件人: "FFmpeg development discussions and patches" > > 抄送: > > 主题: Re: [FFmpeg-devel] [PATCH] avcodec: loongson3 optimized mpegvideo dct > > unquantize and

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/mips: Disable uni mc optimizations

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 02:47:56PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch removes HEVC code of uni mc cases for time being. It will be added > in subsequent patches under different file name. When code is moved it should not be removed and added in seperate

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 02:43:25PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch modifies H264 loopfilter, weighted & bi-weighted prediction > MIPS-SIMD optimized code according to improved version of generic macros. > Also there are minor code alignment changes. >

Re: [FFmpeg-devel] [PATCH 1/4] avutil/mips: Restructure of generic macros

2015-05-28 Thread Michael Niedermayer
On Thu, May 28, 2015 at 02:36:53PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > This patch includes restructuring of existing macros and addition of more > generic macros. > > This change was necessary to avoid repeated review comments in remaining > patches which we were a

[FFmpeg-devel] [PATCH 4/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil This patch modifies HEVC mc MIPS-SIMD optimized code according to improved version of generic macros. This patch also adds new HEVC header file .libavcodec/mips/hevc_macros_msa.h. Overall, this patch is just upgrading the code with styling changes and will bring it in sync

[FFmpeg-devel] [PATCH 3/4] avcodec/mips: Disable uni mc optimizations

2015-05-28 Thread shivraj.patil
From: Shivraj Patil This patch removes HEVC code of uni mc cases for time being. It will be added in subsequent patches under different file name. There are total 5 sub-modules of HEVC mc functions, if we add all these modules in one single file, its size would be huge (~750k) & difficult to ma

[FFmpeg-devel] [PATCH 2/4] avcodec/mips: Restructure as per avutil/mips/generic_macros_msa.h

2015-05-28 Thread shivraj.patil
From: Shivraj Patil This patch modifies H264 loopfilter, weighted & bi-weighted prediction MIPS-SIMD optimized code according to improved version of generic macros. Also there are minor code alignment changes. Overall, this patch is just upgrading the code with styling changes and will bring i

[FFmpeg-devel] [PATCH 1/4] avutil/mips: Restructure of generic macros

2015-05-28 Thread shivraj.patil
From: Shivraj Patil This patch includes restructuring of existing macros and addition of more generic macros. This change was necessary to avoid repeated review comments in remaining patches which we were about to submit. Also this patch reduces number of code lines due to maximum use of gene

Re: [FFmpeg-devel] [PATCH]Use av_codec_get_tag2() in avformat_query_codec()

2015-05-28 Thread wm4
On Thu, 28 May 2015 02:33:08 +0200 Carl Eugen Hoyos wrote: > Hi! > > I believe that attached patch - that I don't really know how to test - fixes > a > theoretical issue with rawvideo. > > Please review, Carl Eugen Missing commit message (with adequate explanation), wrong patch format, and i