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 > > > --- > > > tests/fate-run.sh

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

2015-05-12 Thread Carl Eugen Hoyos
James Almer 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 to " > is generic enough that works in any situation, be it > for API user or ffmpeg.c Could you provide an actual wo

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

2015-05-12 Thread Carl Eugen Hoyos
周晓勇 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 > mpegviedo_mips.c

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

2015-05-12 Thread wm4
On Mon, 11 May 2015 23:34:32 +0200 Andreas Cadhalpun wrote: > Currently video_dst_bufsize is used, which is set to the return value > of av_image_alloc, but this is the combined size of all planes. > Only the first plane is written in fwrite. > > The size of the first plane is the product of vid

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, 周晓勇 wrote: > From 3d5a9d0d38c96d6b6ec51b082102f3a231b5b881 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Mon, 11 May 2015 09:27:00 +0800 > Subject: [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1 > > Signed-off-by: ZhouXiaoyong > --- >

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

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

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

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

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

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 10:21:47AM +0200, Clément Bœsch wrote: > 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:

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

2015-05-12 Thread Michael Niedermayer
On Tue, May 12, 2015 at 06:20:48PM +0800, 周晓勇 wrote: > > > > > -原始邮件- > > 发件人: "Michael Niedermayer" > > 发送时间: 2015年5月12日 星期二 > > 收件人: "FFmpeg development discussions and patches" > > 抄送: > > 主题: Re: [FFmpeg-devel] [PATCH 1/2] configure: disabled -mips64 option for > > loongson and r

Re: [FFmpeg-devel] [PATCH]Fix flac with high lpc precision

2015-05-12 Thread Carl Eugen Hoyos
On Wednesday 06 May 2015 09:27:22 am Carl Eugen Hoyos wrote: > Hi! > > Attached is my attempt to fix ticket #4421 based on the > analysis by trac user lvqcl. If the patch is ok, > I will add the encoder check to the decoder and > the version bump. I failed to implement an autodetection. Impleme

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 > --- > doc/demuxers.texi | 4 > libavformat/img2.h| 3 ++- > libavformat/img2dec.c | 9 ++--- > libavformat/version.h | 2 +- > 4 files changed, 13 insertions(+), 5 deletions(-) > >

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 > > --- > > doc/demuxers.texi | 4 > > libavformat/img2.h| 3 ++- > > libavformat/img2dec.c | 9 ++--- > > libavf

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 Andreas Cadhalpun
On 12.05.2015 11:17, wm4 wrote: > On Mon, 11 May 2015 23:34:32 +0200 > Andreas Cadhalpun wrote: >> @@ -109,7 +108,7 @@ static int decode_packet(int *got_frame, int cached) >>pix_fmt, width, height); >> >> /* write to rawvideo file */ >> -fwrit

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 1006

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 > > Cou

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

2015-05-12 Thread Carl Eugen Hoyos
Stefano Sabatini 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 _

[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 Date: Tue Apr 22 15:22:53 2014 +0200 avconv: add support for DX

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 wrote: > Stefano Sabatini 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 "us

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 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] [RFC] DXVA2 decoding and FFmpeg

2015-05-12 Thread Hendrik Leppkes
On Tue, May 12, 2015 at 3:33 PM, Stefano Sabatini 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: Hendrik Leppke

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, >>

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

2015-05-12 Thread Carl Eugen Hoyos
Fernandon Bautista 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 http://ffmpeg.org/mailman/listinfo/ffmp

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

2015-05-12 Thread Michael Niedermayer
Fixes: CID1197065 Signed-off-by: Michael Niedermayer --- 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 +++ b/libavfilter/vf_zoompa

[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 --- libavcodec/aacdec.c | 6 ++ 1 file changed,

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) > >>

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

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

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_

[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 --- 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 +++ b/libavcodec/aacdec.c @@ -3076,13 +3076

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" napisala je: > > Fixes: CID1197065 > > Signed-off-by: Michael Niedermayer > --- > libavfilter/vf_zoompan.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c > inde

[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 Date: Tue, 12 May 2015 16:44:52 -0400 Subject: [PATCH] remove extra sequence from

[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 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 --- libavformat/cafdec.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index e31c0a5..abbb353 100644 --- a/libavf

[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 --- libavformat/cafdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index abbb353..cc6ed0c 100644 --- a/libavformat/cafdec.c +++ b/libavform

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

2015-05-12 Thread Carl Eugen Hoyos
Andreas Cadhalpun 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 2/2] cafdec: free extradata before allocating it

2015-05-12 Thread Carl Eugen Hoyos
Andreas Cadhalpun 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] Fwd: Help with codecs

2015-05-12 Thread Carl Eugen Hoyos
Fernandon Bautista gmail.com> writes: > As you advised for me to do, along with this > email I have attached a couple of files more. I opened ticket #4553, thank you for the sample! Please remember not to top-post here, Carl Eugen ___ ffmpeg-devel ma

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" > napisala je: > > > > Fixes: CID1197065 > > > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/vf_zoompan.c |4 +++- > > 1 file changed, 3 insertions(+), 1 deletio

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 > --- > libavcodec/aacdec.c | 1 - > 1 file changed, 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730

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 wrote: > On Mon, May 11, 2015 at 03:55:40PM -0700, Nick Lewycky wrote: > > On 8 May 2015 at 14:28, Michael Niedermayer wrote: > > > > > On Fri, May 08, 2015 at 12:43:20PM -0700, Nick Lewycky wrote: > > > > On 8 May 2015 at 12:06, Michael Niedermayer

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 Ca

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 check

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 msa && check_cflags "-mmsa" && check_ldflags "-mmsa" && > check_inline_asm msa '"addvi.b $w0,

[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 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 -mips64 or -mips64r2. 2.Option