Re: [FFmpeg-devel] [PATCH] fate: Test pullup and fieldmatch with 5 instead of 1 frame

2015-05-12 Thread Clément Bœsch
On Mon, May 11, 2015 at 12:59:57PM +0200, Michael Niedermayer wrote: On Mon, May 11, 2015 at 07:34:11AM +0200, Clément Bœsch wrote: On Mon, May 11, 2015 at 12:44:14AM +0200, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- tests/fate-run.sh

Re: [FFmpeg-devel] Fwd: Help with codecs

2015-05-12 Thread Carl Eugen Hoyos
Fernandon Bautista fernandobautista017 at gmail.com writes: Along with these email I have attached an audio file If you want to help, please provide a useful sample. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Andreas Cadhalpun
On 12.05.2015 21:12, Michael Niedermayer wrote: On Tue, May 12, 2015 at 04:02:44PM +0200, Andreas Cadhalpun wrote: On 12.05.2015 14:51, Michael Niedermayer wrote: On Tue, May 12, 2015 at 02:31:38PM +0200, Andreas Cadhalpun wrote: @@ -108,6 +109,14 @@ static int decode_packet(int *got_frame,

Re: [FFmpeg-devel] [PATCH] aacdec: don't return frames without data

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 08:27:21PM +0200, Andreas Cadhalpun wrote: Since commit 676a395a aac-frame-data is not necessarily allocated at the end of aac_decode_frame_int if avctx-channels is 0. In this case a bogus frame without any data, but non-zero nb_samples is returned. Signed-off-by:

[FFmpeg-devel] [PATCH] aacdec: remove a duplicated line

2015-05-12 Thread Andreas Cadhalpun
got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavcodec/aacdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index a405faf..48cf637 100644 --- a/libavcodec/aacdec.c +++

Re: [FFmpeg-devel] [PATCH] avfilter/vf_zoompan: free out AVFrame on failure

2015-05-12 Thread Paul B Mahol
Dana 12. 5. 2015. 20:07 osoba Michael Niedermayer michae...@gmx.at napisala je: Fixes: CID1197065 Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavfilter/vf_zoompan.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_zoompan.c

[FFmpeg-devel] [PATCH] aacdec: don't return frames without data

2015-05-12 Thread Andreas Cadhalpun
Since commit 676a395a aac-frame-data is not necessarily allocated at the end of aac_decode_frame_int if avctx-channels is 0. In this case a bogus frame without any data, but non-zero nb_samples is returned. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com ---

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 04:02:44PM +0200, Andreas Cadhalpun wrote: On 12.05.2015 14:51, Michael Niedermayer wrote: On Tue, May 12, 2015 at 02:31:38PM +0200, Andreas Cadhalpun wrote: @@ -108,6 +109,14 @@ static int decode_packet(int *got_frame, int cached) (const

Re: [FFmpeg-devel] Fwd: Help with codecs

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 05:16:51PM +0200, Fernandon Bautista wrote: Dear all, we have some audio files that we need to convert to WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz format. They are encoded in a proprietary software codec that it only runs on Windows. We need to process the

[FFmpeg-devel] [PATCH] doc/ffprobe.xsd: remove extra sequence from streamType

2015-05-12 Thread Dave Rice
I found that ffprobe.xsd could no longer validate records, this patch makes the xsd valid once again. Best Regards, Dave Rice From f55d5dfd3a4980f6f86efee76d18453c7b534b2a Mon Sep 17 00:00:00 2001 From: Dave Rice d...@dericed.com Date: Tue, 12 May 2015 16:44:52 -0400 Subject: [PATCH] remove

[FFmpeg-devel] [PATCH] doc/ffprobe.xsd: add build_date and build_time as optional attributes

2015-05-12 Thread Dave Rice
This patch puts back two attributes that were removed in 7b35a01. If I understand correctly the intent of patch 7b35a01 was to no longer use build_date and build_time as attributes of programVersion, but the patch also had the effect of making all records generated with an earlier ffprobe build

[FFmpeg-devel] [PATCH] avfilter/vf_zoompan: free out AVFrame on failure

2015-05-12 Thread Michael Niedermayer
Fixes: CID1197065 Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavfilter/vf_zoompan.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index d126851..c49193a 100644 --- a/libavfilter/vf_zoompan.c +++

Re: [FFmpeg-devel] [PATCH] aacdec: remove a duplicated line

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 10:06:22PM +0200, Andreas Cadhalpun wrote: got_frame_ptr is set again after the if block. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavcodec/aacdec.c | 1 - 1 file changed, 1 deletion(-) applied thanks [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for loongson and remove redundant flags

2015-05-12 Thread 周晓勇
@@ -3937,7 +3937,6 @@ elif enabled mips; then enable fast_cmov enable fast_unaligned disable aligned_stack -cpuflags=-march=$cpu ;; generic) disable mips32r5 @@ -4716,8 +4715,6 @@ elif enabled mips; then

Re: [FFmpeg-devel] [PATCH] ff_h[yc]scale_fast_mmext always clobbers %rbx

2015-05-12 Thread Nick Lewycky
On 11 May 2015 at 16:18, Michael Niedermayer michae...@gmx.at wrote: On Mon, May 11, 2015 at 03:55:40PM -0700, Nick Lewycky wrote: On 8 May 2015 at 14:28, Michael Niedermayer michae...@gmx.at wrote: On Fri, May 08, 2015 at 12:43:20PM -0700, Nick Lewycky wrote: On 8 May 2015 at 12:06,

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 09:48:45PM +0200, Andreas Cadhalpun wrote: On 12.05.2015 21:12, Michael Niedermayer wrote: On Tue, May 12, 2015 at 04:02:44PM +0200, Andreas Cadhalpun wrote: On 12.05.2015 14:51, Michael Niedermayer wrote: On Tue, May 12, 2015 at 02:31:38PM +0200, Andreas Cadhalpun

Re: [FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for loongson and remove redundant flags

2015-05-12 Thread Michael Niedermayer
On Wed, May 13, 2015 at 10:16:26AM +0800, 周晓勇 wrote: [...] @@ -4716,8 +4715,6 @@ elif enabled mips; then check_inline_asm mipsfpu 'madd.d $f0, $f2, $f4, $f6' enabled msacheck_cflags -mmsa check_ldflags -mmsa check_inline_asm msa 'addvi.b $w0, $w1, 1' -

Re: [FFmpeg-devel] [PATCH 1/4] avutil: add av_format_option_for_user() callback system

2015-05-12 Thread Carl Eugen Hoyos
James Almer jamrial at gmail.com writes: If this is meant to solve the whole debate from the Tell users about -use_absolute_path thread, then i think it's a bit overkill. Set AVOption to value is generic enough that works in any situation, be it for API user or ffmpeg.c Could you

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1

2015-05-12 Thread Hendrik Leppkes
On Mon, May 11, 2015 at 6:41 AM, 周晓勇 zhouxiaoy...@loongson.cn wrote: From 3d5a9d0d38c96d6b6ec51b082102f3a231b5b881 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong zhouxiaoy...@loongson.cn Date: Mon, 11 May 2015 09:27:00 +0800 Subject: [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1

2015-05-12 Thread 周晓勇
-原始邮件- 发件人: Carl Eugen Hoyos ceho...@ag.or.at 发送时间: 2015年5月12日 星期二 收件人: ffmpeg-devel@ffmpeg.org 抄送: 主题: Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1 周晓勇 zhouxiaoyong at loongson.cn writes: why are the optimized functions and the

Re: [FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for loongson and remove redundant flags

2015-05-12 Thread 周晓勇
-原始邮件- 发件人: Michael Niedermayer michae...@gmx.at 发送时间: 2015年5月12日 星期二 收件人: FFmpeg development discussions and patches ffmpeg-devel@ffmpeg.org 抄送: 主题: Re: [FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for loongson and remove redundant flags On Tue, May 12,

Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1

2015-05-12 Thread Carl Eugen Hoyos
周晓勇 zhouxiaoyong at loongson.cn writes: why are the optimized functions and the code that sets them in the context in 2 seperate files ? this seems unneccesarily complicated i case mipstec optimize the same functions of mpegvideodec using msa they could use filename

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add option to disable pattern matching

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 01:26:56PM +0200, Stefano Sabatini wrote: On date Tuesday 2015-05-12 02:22:02 +0200, Marton Balint encoded: Signed-off-by: Marton Balint c...@passwd.hu --- doc/demuxers.texi | 4 libavformat/img2.h| 3 ++- libavformat/img2dec.c | 9 ++---

Re: [FFmpeg-devel] [PATCH] lavf/img2dec: add option to disable pattern matching

2015-05-12 Thread Stefano Sabatini
On date Tuesday 2015-05-12 02:22:02 +0200, Marton Balint encoded: Signed-off-by: Marton Balint c...@passwd.hu --- doc/demuxers.texi | 4 libavformat/img2.h| 3 ++- libavformat/img2dec.c | 9 ++--- libavformat/version.h | 2 +- 4 files changed, 13 insertions(+), 5

[FFmpeg-devel] [PATCH 2/2] cafdec: free extradata before allocating it

2015-05-12 Thread Andreas Cadhalpun
This fixes a memleak if read_kuki_chunk is executed more than once. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavformat/cafdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index abbb353..cc6ed0c 100644 ---

[FFmpeg-devel] [PATCH 1/2] cafdec: check avio_read return value

2015-05-12 Thread Andreas Cadhalpun
If avio_read fails, the buffer can contain uninitialized values. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavformat/cafdec.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index

Re: [FFmpeg-devel] [PATCH 2/2] cafdec: free extradata before allocating it

2015-05-12 Thread Carl Eugen Hoyos
Andreas Cadhalpun andreas.cadhalpun at googlemail.com writes: This fixes a memleak if read_kuki_chunk is executed more than once. LGTM. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/2] cafdec: check avio_read return value

2015-05-12 Thread Carl Eugen Hoyos
Andreas Cadhalpun andreas.cadhalpun at googlemail.com writes: If avio_read fails, the buffer can contain uninitialized values. Patch ok. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter/vf_zoompan: free out AVFrame on failure

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 10:12:11PM +0200, Paul B Mahol wrote: Dana 12. 5. 2015. 20:07 osoba Michael Niedermayer michae...@gmx.at napisala je: Fixes: CID1197065 Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavfilter/vf_zoompan.c |4 +++- 1 file changed, 3

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Andreas Cadhalpun
On 12.05.2015 00:28, Michael Niedermayer wrote: this breaks demuxing_decoding with pixel formats that use more than 1 plane for example: doc/examples/demuxing_decoding lena255.jpg out.raw /dev/null Could not find audio stream in input file 'lena255.jpg' Input #0, image2, from

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 02:31:38PM +0200, Andreas Cadhalpun wrote: On 12.05.2015 00:28, Michael Niedermayer wrote: this breaks demuxing_decoding with pixel formats that use more than 1 plane for example: doc/examples/demuxing_decoding lena255.jpg out.raw /dev/null Could not find

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Andreas Cadhalpun
On 12.05.2015 11:17, wm4 wrote: On Mon, 11 May 2015 23:34:32 +0200 Andreas Cadhalpun andreas.cadhal...@googlemail.com wrote: @@ -109,7 +108,7 @@ static int decode_packet(int *got_frame, int cached) pix_fmt, width, height); /* write to rawvideo file

Re: [FFmpeg-devel] [PATCH]Tell users about -use_absolute_path

2015-05-12 Thread Stefano Sabatini
On date Friday 2015-05-08 13:25:17 +0200, Carl Eugen Hoyos encoded: Hi! Attached patch intends to make it more obvious what the user has to do to decode reference mov files. Please comment, Carl Eugen diff --git a/libavformat/mov.c b/libavformat/mov.c index 54930a4..eaeb0d0 100644 ---

[FFmpeg-devel] [PATCH] configure: disabled -mips64 option for loongson and remove redundant cpuflags

2015-05-12 Thread 周晓勇
From 159cc99c2dc1cb4b68b48787cc53002cc7993c14 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong zhouxiaoy...@loongson.cn Date: Wed, 13 May 2015 12:33:30 +0800 Subject: [PATCH] configure: disabled -mips64 option for loongson and remove redundant cpuflags 1.Option -march=loongson3a conflicts with

Re: [FFmpeg-devel] [PATCH]Tell users about -use_absolute_path

2015-05-12 Thread Carl Eugen Hoyos
Stefano Sabatini stefasab at gmail.com writes: + pass -use_absolute_path 1 to force using absolute paths\n, set the use_absolute_path libavformat muxer option to 1 to force using absolute paths. Ok with use_absolute_path demuxer option? Carl Eugen

Re: [FFmpeg-devel] [PATCH]Tell users about -use_absolute_path

2015-05-12 Thread wm4
On Tue, 12 May 2015 13:16:14 + (UTC) Carl Eugen Hoyos ceho...@ag.or.at wrote: Stefano Sabatini stefasab at gmail.com writes: + pass -use_absolute_path 1 to force using absolute paths\n, set the use_absolute_path libavformat muxer option to 1 to force using absolute paths.

Re: [FFmpeg-devel] [PATCH]Tell users about -use_absolute_path

2015-05-12 Thread Stefano Sabatini
On date Tuesday 2015-05-12 13:16:14 +, Carl Eugen Hoyos encoded: Stefano Sabatini stefasab at gmail.com writes: + pass -use_absolute_path 1 to force using absolute paths\n, set the use_absolute_path libavformat muxer option to 1 to force using absolute paths. Ok with

Re: [FFmpeg-devel] [PATCH] examples/demuxing_decoding: use correct size of video_dst_data[0]

2015-05-12 Thread Andreas Cadhalpun
On 12.05.2015 14:51, Michael Niedermayer wrote: On Tue, May 12, 2015 at 02:31:38PM +0200, Andreas Cadhalpun wrote: @@ -108,6 +109,14 @@ static int decode_packet(int *got_frame, int cached) (const uint8_t **)(frame-data), frame-linesize,

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

2015-05-12 Thread Stefano Sabatini
Hi guys, I'm playing with DXVA2 hardware decoding on Windows, and these are my findings. DVXA2 decoding was enabled in avconv/ffmpeg through the commit: commit 35177ba77ff60a8b8839783f57e44bcc4214507a Author: Hendrik Leppkes h.lepp...@gmail.com Date: Tue Apr 22 15:22:53 2014 +0200

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

2015-05-12 Thread Hendrik Leppkes
On Tue, May 12, 2015 at 3:33 PM, Stefano Sabatini stefa...@gmail.com wrote: Hi guys, I'm playing with DXVA2 hardware decoding on Windows, and these are my findings. DVXA2 decoding was enabled in avconv/ffmpeg through the commit: commit 35177ba77ff60a8b8839783f57e44bcc4214507a Author: