Re: [FFmpeg-devel] Looking for the answer about windows-based codec(like wmv) license

2015-07-10 Thread Carl Eugen Hoyos
Gigone Lee gmail.com> writes: > Title says, i have a question about license > with windows-based codec, such as wmv, wma. Nobody on this mailing list can answer such questions, please ask your lawyer. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg

[FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Carl Eugen Hoyos
Hi! Attached patch suggested and tested by noah fixes ticket #4644. Please comment, Carl Eugen diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 64ac09c..5683731 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -966,7 +966,7 @@ static int v4l2_read_header(AVFormatContext *ctx)

Re: [FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Hendrik Leppkes
On Fri, Jul 10, 2015 at 10:12 AM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch suggested and tested by noah fixes ticket #4644. > > Please comment, Carl Eugen > _FULL would seem to be a more logical option than FULL_ONCE to me. Frames will constantly need proper splitting, not only once at th

Re: [FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Carl Eugen Hoyos
Hendrik Leppkes gmail.com> writes: > _FULL would seem to be a more logical option than > FULL_ONCE to me. Frames will constantly need proper > splitting, not only once at the beginning. I unfortunately cannot test, so I cannot really comment. Carl Eugen __

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: > > > On Jul 9, 2015, at 1:53 PM, Michael Niedermayer wrote: > > > > On Tue, Jul 07, 2015 at 11:03:39AM -0400, Dave Rice wrote: > >> Hi, > >> > >>> On Jul 7, 2015, at 10:35 AM, Michael Niedermayer wrote: > >>> > >>> On Thu, Jul 02, 20

[FFmpeg-devel] ffmpeg Hosting

2015-07-10 Thread Sterz, David
Dear ffmpeg Hosting-Team, we are thinking of providing you the needed Hosting. Can you send me more details about the Infrastructure + Technologies you currently use and have and would like to have? I mean: *1) Infrastructure* 1.1 How many Servers? 1.2 What OS + Version/Distribution? 1.3 Is

[FFmpeg-devel] [PATCH] avfilter/vf_lut: implement slice threading

2015-07-10 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_lut.c | 89 +--- 1 file changed, 57 insertions(+), 32 deletions(-) diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 3f0524d..e0e7a86 100644 --- a/libavfilter/vf_lut.c +++ b/libavfilter/vf

Re: [FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 09:01:20AM +, Carl Eugen Hoyos wrote: > Hendrik Leppkes gmail.com> writes: > > > _FULL would seem to be a more logical option than > > FULL_ONCE to me. Frames will constantly need proper > > splitting, not only once at the beginning. > > I unfortunately cannot test,

Re: [FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > ONCE would be better if it works I can confirm that the OP claimed that it works. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] ffmpeg Hosting

2015-07-10 Thread Michael Niedermayer
Hi iam also CCing Ilya Ustinov as he had a similar question On Fri, Jul 10, 2015 at 12:23:48PM +0200, Sterz, David wrote: > Dear ffmpeg Hosting-Team, > > we are thinking of providing you the needed Hosting. > > > Can you send me more details about the Infrastructure + Technologies you > curre

Re: [FFmpeg-devel] [PATCH]lavd/v4l2: Use AVSTREAM_PARSE_FULL_ONCE for h264

2015-07-10 Thread Hendrik Leppkes
On Fri, Jul 10, 2015 at 1:45 PM, Carl Eugen Hoyos wrote: > Michael Niedermayer niedermayer.cc> writes: > >> ONCE would be better if it works > > I can confirm that the OP claimed that it works. With VLC, which might do its own video parsing on top, so results may be invalid.

Re: [FFmpeg-devel] [PATCH] avfilter: add Dynamic Audio Normalizer filter

2015-07-10 Thread compn
On Thu, 9 Jul 2015 16:55:48 + Paul B Mahol wrote: > From: LoRd_MuldeR > > > Signed-off-by: Paul B Mahol > --- > doc/filters.texi| 158 ++ > libavfilter/Makefile| 1 + > libavfilter/af_dynaudnorm.c | 739 i think i prefer af dnormalize or so. we know its au

Re: [FFmpeg-devel] FFmpeg/MPlayer/rtmpdump possibly searching for a new server and hosting

2015-07-10 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 03:54:53PM +0200, Michael Niedermayer wrote: > On Sun, Jul 05, 2015 at 02:36:15PM +0200, Michael Niedermayer wrote: > > On Sun, Jul 05, 2015 at 03:51:07AM +0200, Michael Niedermayer wrote: > > > On Sat, Jul 04, 2015 at 01:15:51PM +0200, Michael Niedermayer wrote: > > > > On

Re: [FFmpeg-devel] ffmpeg Hosting

2015-07-10 Thread compn
On Fri, 10 Jul 2015 12:23:48 +0200 "Sterz, David" wrote: > 1.3 Is a Public Cloud an Option? Is high Data Privacy very important? > I mean ISO Standards i would recommend against using any clouds... -compn ___ ffmpeg-devel mailing list ffmpeg-devel@ffm

Re: [FFmpeg-devel] [PATCH] avcodec/utils: use a minimum 32pixel width in avcodec_align_dimensions2() for H.264

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 02:11:07AM +0200, Michael Niedermayer wrote: > Fixes Assertion failure > Found-by: Andreas Cadhalpun > Signed-off-by: Michael Niedermayer > --- > libavcodec/utils.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) applied [...] -- Michael GnuPG fingerp

Re: [FFmpeg-devel] [PATCH] avfilter: add Dynamic Audio Normalizer filter

2015-07-10 Thread Paul B Mahol
On 7/10/15, compn wrote: > On Thu, 9 Jul 2015 16:55:48 + > Paul B Mahol wrote: > >> From: LoRd_MuldeR >> >> >> Signed-off-by: Paul B Mahol >> --- >> doc/filters.texi| 158 ++ >> libavfilter/Makefile| 1 + >> libavfilter/af_dynaudnorm.c | 739 > > i think i pre

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-10 Thread Andreas Cadhalpun
On 10.07.2015 02:12, Michael Niedermayer wrote: > On Thu, Jul 09, 2015 at 08:24:52PM +0200, Andreas Cadhalpun wrote: >> The assert can be triggered by the h264 decoder: >> mc_dir_part in libavcodec/h264_mb.c calls the 16 bit variant of >> emulated_edge_mc and thus the assert is triggered due to the

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-10 Thread Andreas Cadhalpun
On 10.07.2015 01:48, Michael Niedermayer wrote: > On Thu, Jul 09, 2015 at 08:16:29PM +0200, Andreas Cadhalpun wrote: >> snow.h |4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> 62ba6bae883891f9953478d52d591e5f16aa759e >> 0001-snow-remove-an-obsolete-av_assert2.patch >> From 7747

[FFmpeg-devel] [PATCH] avformat/brstm: Remove unused variable

2015-07-10 Thread Michael Niedermayer
From: Michael Niedermayer Fixes "libavformat/brstm.c:128:35: warning: variable info_size set but not used" Signed-off-by: Michael Niedermayer --- libavformat/brstm.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 291a4

Re: [FFmpeg-devel] [PATCH] avcodec/utils: use a minimum 32pixel width in avcodec_align_dimensions2() for H.264

2015-07-10 Thread Ronald S. Bultje
Hi, On Thu, Jul 9, 2015 at 8:11 PM, Michael Niedermayer wrote: > Fixes Assertion failure > Found-by: Andreas Cadhalpun > Signed-off-by: Michael Niedermayer > --- > libavcodec/utils.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/utils.c b/libavcodec

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-10 Thread Michael Niedermayer
On Mon, Jul 06, 2015 at 10:17:54PM +0800, 周晓勇 wrote: > upgrade the new FC21 with these steps: > 1.mount Fedora21-xfce-Loongson-20150706.iso to /mnt > 2.mkfs.ext3(ext4 may not supported by loongson pmon) the usb disk > 3.copy all two folders in /mnt to usb > 4.reboot and plug in usb disk > 5.press k

[FFmpeg-devel] [PATCH]Raise max channels to 64

2015-07-10 Thread Carl Eugen Hoyos
Hi! A user claims that attached patch helps him with a 64-channel software input device on avfoundation that does not work with current git head. Please comment, Carl Eugen diff --git a/libavcodec/internal.h b/libavcodec/internal.h index cea5355..f3dafc0 100644 --- a/libavcodec/internal.h +++

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 06:04:33PM +0200, Michael Niedermayer wrote: > On Mon, Jul 06, 2015 at 10:17:54PM +0800, 周晓勇 wrote: > > upgrade the new FC21 with these steps: > > 1.mount Fedora21-xfce-Loongson-20150706.iso to /mnt > > 2.mkfs.ext3(ext4 may not supported by loongson pmon) the usb disk > > 3.

Re: [FFmpeg-devel] [PATCH] avcodec/utils: use a minimum 32pixel width in avcodec_align_dimensions2() for H.264

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 10:51:45AM -0400, Ronald S. Bultje wrote: > Hi, > > On Thu, Jul 9, 2015 at 8:11 PM, Michael Niedermayer > wrote: > > > Fixes Assertion failure > > Found-by: Andreas Cadhalpun > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/utils.c |4 +++- > > 1 file

Re: [FFmpeg-devel] [PATCH]Raise max channels to 64

2015-07-10 Thread Paul B Mahol
On 7/10/15, Carl Eugen Hoyos wrote: > Hi! > > A user claims that attached patch helps him > with a 64-channel software input device on > avfoundation that does not work with current > git head. > > Please comment, Carl Eugen > Does this needs swresample mayor bump? ___

Re: [FFmpeg-devel] [PATCH]Raise max channels to 64

2015-07-10 Thread Carl Eugen Hoyos
Paul B Mahol gmail.com> writes: > Does this needs swresample mayor bump? An internal header is changed, so I hope not... Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH]Raise max channels to 64

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 06:24:42PM +0200, Carl Eugen Hoyos wrote: > Hi! > > A user claims that attached patch helps him > with a 64-channel software input device on > avfoundation that does not work with current > git head. [...] > > typedef struct PanContext { > const AVClass *class;

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: > On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: > > > > > On Jul 9, 2015, at 1:53 PM, Michael Niedermayer wrote: > > > > > > On Tue, Jul 07, 2015 at 11:03:39AM -0400, Dave Rice wrote: > > >> Hi, > > >> > > >>> On

[FFmpeg-devel] [PATCH] hevc: validate slice address length

2015-07-10 Thread Andreas Cadhalpun
It is used as get_bits argument and reading 0 bits doesn't make sense. Signed-off-by: Andreas Cadhalpun --- libavcodec/hevc.c| 6 ++ libavcodec/hevc_parser.c | 6 ++ 2 files changed, 12 insertions(+) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 38734f0..d47af16 10064

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 07:47:46PM +0200, Michael Niedermayer wrote: > On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: > > On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: > > > > > > > On Jul 9, 2015, at 1:53 PM, Michael Niedermayer > > > > wrote: > > > > > > > >

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 07:51:20PM +0200, Michael Niedermayer wrote: > On Fri, Jul 10, 2015 at 07:47:46PM +0200, Michael Niedermayer wrote: > > On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: > > > On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: > > > > > > > > > On

[FFmpeg-devel] [PATCH]lavf/mxf: Map codec_tag for Avid files if everything else fails

2015-07-10 Thread Carl Eugen Hoyos
Hi! Attached patch allows decoding of the sample provided on ffmpeg-user: http://ffmpeg.org/pipermail/ffmpeg-user/2015-July/027472.html Better suggestions welcome, Carl Eugen diff --git a/libavformat/mxf.c b/libavformat/mxf.c index ecfb8a2..dc712bb 100644 --- a/libavformat/mxf.c +++ b/libavformat

Re: [FFmpeg-devel] [libav-devel] [PATCH] hevc: validate slice address length

2015-07-10 Thread Andreas Cadhalpun
On 10.07.2015 20:01, Anton Khirnov wrote: > Quoting Andreas Cadhalpun (2015-07-10 19:49:36) >> It is used as get_bits argument and reading 0 bits doesn't make sense. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/hevc.c| 6 ++ >> libavcodec/hevc_parser.c | 6 ++ >> 2

Re: [FFmpeg-devel] [PATCH]lavf/rtpenc_jpeg: Fix quantisation table handling

2015-07-10 Thread Carl Eugen Hoyos
On Thursday 09 July 2015 09:58:58 pm Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes jpeg over rtp if the encoder placed > quantisation tables into different DQT chunks. New patch attached with header size check fixed. Carl Eugen diff --git a/libavformat/rtpenc_jpeg.c b/libavformat/rtpenc_

Re: [FFmpeg-devel] [libav-devel] [PATCH] hevc: validate slice address length

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 08:17:49PM +0200, Andreas Cadhalpun wrote: > On 10.07.2015 20:01, Anton Khirnov wrote: > > Quoting Andreas Cadhalpun (2015-07-10 19:49:36) > >> It is used as get_bits argument and reading 0 bits doesn't make sense. > >> > >> Signed-off-by: Andreas Cadhalpun > >> --- > >> l

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Dave Rice
> On Jul 10, 2015, at 1:47 PM, Michael Niedermayer > wrote: > > On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: >> On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: >>> On Jul 9, 2015, at 1:53 PM, Michael Niedermayer wrote: On Tue, Jul 07, 2015 at

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Dave Rice
> On Jul 10, 2015, at 1:51 PM, Michael Niedermayer > wrote: > > On Fri, Jul 10, 2015 at 07:47:46PM +0200, Michael Niedermayer wrote: >> On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: >>> On Thu, Jul 09, 2015 at 02:14:36PM -0400, Dave Rice wrote: > On Jul 9, 2015,

Re: [FFmpeg-devel] [libav-devel] [PATCH] hevc: validate slice address length

2015-07-10 Thread Andreas Cadhalpun
On 10.07.2015 20:46, Michael Niedermayer wrote: > On Fri, Jul 10, 2015 at 08:17:49PM +0200, Andreas Cadhalpun wrote: >> hevc.c|2 +- >> hevc_parser.c |2 +- >> 2 files changed, 2 insertions(+), 2 deletions(-) >> 5eea2b8b6b752096703f81ef9eb17a7504a72d0f >> 0001-hevc-check-slice-ad

Re: [FFmpeg-devel] [PATCH] configure: try to fix \r when build for android on cygwin

2015-07-10 Thread Michael Niedermayer
On Thu, Jul 09, 2015 at 03:09:49PM +0800, Zhang Rui wrote: > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 5833808..46c4788 100755 > --- a/configure > +++ b/configure > @@ -475,7 +475,7 @@ sh_quote(){ > } > > cleanws(){

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Dave Rice
> On Jul 10, 2015, at 2:06 PM, Michael Niedermayer > wrote: > > On Fri, Jul 10, 2015 at 07:51:20PM +0200, Michael Niedermayer wrote: >> On Fri, Jul 10, 2015 at 07:47:46PM +0200, Michael Niedermayer wrote: >>> On Fri, Jul 10, 2015 at 11:52:24AM +0200, Michael Niedermayer wrote: On Thu, Jul

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 03:47:45PM -0400, Dave Rice wrote: > > > On Jul 10, 2015, at 2:06 PM, Michael Niedermayer > > wrote: > > > > On Fri, Jul 10, 2015 at 07:51:20PM +0200, Michael Niedermayer wrote: > >> On Fri, Jul 10, 2015 at 07:47:46PM +0200, Michael Niedermayer wrote: > >>> On Fri, Jul 1

[FFmpeg-devel] [PATCH] imc: use correct position for flcoeffs2 calculation

2015-07-10 Thread Andreas Cadhalpun
flcoeffs2[pos] should be the log2 of flcoeffs1[pos]. flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf, causing problems further down. This seems to have been copied from imc_decode_level_coefficients in commit 4eb4bb3 without updating the position. Signed-off-by: Andreas Cadhalpun

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Dave Rice
> On Jul 10, 2015, at 3:51 PM, Michael Niedermayer > wrote: > > On Fri, Jul 10, 2015 at 03:47:45PM -0400, Dave Rice wrote: >> >>> On Jul 10, 2015, at 2:06 PM, Michael Niedermayer >>> wrote: >>> >>> On Fri, Jul 10, 2015 at 07:51:20PM +0200, Michael Niedermayer wrote: On Fri, Jul 10, 201

Re: [FFmpeg-devel] [PATCH] conversion of FFV1 specification from lyx to markdown

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 04:19:41PM -0400, Dave Rice wrote: > > > On Jul 10, 2015, at 3:51 PM, Michael Niedermayer > > wrote: > > > > On Fri, Jul 10, 2015 at 03:47:45PM -0400, Dave Rice wrote: > >> > >>> On Jul 10, 2015, at 2:06 PM, Michael Niedermayer > >>> wrote: > >>> > >>> On Fri, Jul 10

Re: [FFmpeg-devel] GSoC Weely report (libswscale)

2015-07-10 Thread Pedro Arthur
I'll check and fix it and then send a new patch. 2015-07-09 14:37 GMT-03:00 Michael Niedermayer : > On Wed, Jul 08, 2015 at 10:36:56PM -0300, Pedro Arthur wrote: > > Hi, > > > > Last week I worked on adding the ring buffer logic into SwsSlice and > fixing > > some seg faults. As I'm having some p

Re: [FFmpeg-devel] [PATCH] avfilter/vf_colormatrix: add yuv444p support

2015-07-10 Thread Kevin Wells
> Date: Wed, 8 Jul 2015 05:34:42 + > From: one...@gmail.com > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_colormatrix: add yuv444p > support > > On 7/6/15, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > libavfilter/vf_colormatrix.c |

Re: [FFmpeg-devel] [PATCH] imc: use correct position for flcoeffs2 calculation

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 09:59:32PM +0200, Andreas Cadhalpun wrote: > flcoeffs2[pos] should be the log2 of flcoeffs1[pos]. > flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf, > causing problems further down. > > This seems to have been copied from imc_decode_level_coefficients in >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_colormatrix: add yuv444p support

2015-07-10 Thread Paul B Mahol
Dana 10. 7. 2015. 23:05 osoba "Kevin Wells" napisala je: > > > Date: Wed, 8 Jul 2015 05:34:42 + > > From: one...@gmail.com > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/vf_colormatrix: add yuv444p support > > > > On 7/6/15, Paul B Mahol wrote: > > > Sig

Re: [FFmpeg-devel] [PATCH] imc: use correct position for flcoeffs2 calculation

2015-07-10 Thread Andreas Cadhalpun
On 10.07.2015 23:16, Michael Niedermayer wrote: > On Fri, Jul 10, 2015 at 09:59:32PM +0200, Andreas Cadhalpun wrote: >> flcoeffs2[pos] should be the log2 of flcoeffs1[pos]. >> flcoeffs1[0] can be 0 here, thus flcoeffs2[pos] gets set to -inf, >> causing problems further down. >> >> This seems to hav

[FFmpeg-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-10 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavformat/riffdec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c index eebd8ed..be55699 100644 --- a/libavformat/riffdec.c +++ b/libavformat/riffdec.c @@ -106,6 +106,11 @@ int ff_get_wav_header(AVIOCo

Re: [FFmpeg-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-10 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 12:39:09AM +0200, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavformat/riffdec.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c > index eebd8ed..be55699 100644 > --- a/libavformat/riff

Re: [FFmpeg-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-10 Thread Andreas Cadhalpun
On 11.07.2015 00:49, Michael Niedermayer wrote: > On Sat, Jul 11, 2015 at 12:39:09AM +0200, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/riffdec.c | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c >

Re: [FFmpeg-devel] [PATCH] riffdec: error out on negative bit rate

2015-07-10 Thread Michael Niedermayer
On Sat, Jul 11, 2015 at 01:26:23AM +0200, Andreas Cadhalpun wrote: > On 11.07.2015 00:49, Michael Niedermayer wrote: > > On Sat, Jul 11, 2015 at 12:39:09AM +0200, Andreas Cadhalpun wrote: > >> Signed-off-by: Andreas Cadhalpun > >> --- > >> libavformat/riffdec.c | 5 + > >> 1 file changed, 5 i

[FFmpeg-devel] [PATCH] yuv4mpeg: add rough duration estimate and seeking.

2015-07-10 Thread Ronald S. Bultje
--- libavformat/yuv4mpeg.h | 1 + libavformat/yuv4mpegdec.c| 26 +++ tests/ref/seek/lavf-yuv4mpeg | 78 +--- 3 files changed, 72 insertions(+), 33 deletions(-) diff --git a/libavformat/yuv4mpeg.h b/libavformat/yuv4mpeg.h index 750f498

[FFmpeg-devel] [PATCH] vf_psnr: add channel weighting based on chroma subsampling.

2015-07-10 Thread Ronald S. Bultje
Also add per-channel psnr stream averages to final log message. --- libavfilter/vf_psnr.c | 31 +++ 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index 406be88..b2c6531 100644 --- a/libavfilter/vf_psnr.c +++

[FFmpeg-devel] psnr filter "max" values for mpeg-range input

2015-07-10 Thread Ronald S. Bultje
Hi, do people object if I remove the following special code: switch (inlink->format) { case AV_PIX_FMT_GRAY8: case AV_PIX_FMT_GRAY16: case AV_PIX_FMT_GBRP: case AV_PIX_FMT_GBRP9: case AV_PIX_FMT_GBRP10: case AV_PIX_FMT_GBRP12: case AV_PIX_FMT_GBRP14: case AV_PI

Re: [FFmpeg-devel] [PATCH] vf_psnr: add channel weighting based on chroma subsampling.

2015-07-10 Thread Michael Niedermayer
On Fri, Jul 10, 2015 at 09:42:26PM -0400, Ronald S. Bultje wrote: > Also add per-channel psnr stream averages to final log message. > --- > libavfilter/vf_psnr.c | 31 +++ > 1 file changed, 23 insertions(+), 8 deletions(-) applied thanks PS: vf_psnr seems lacking a f

[FFmpeg-devel] [PATCH] vF_psnr: move set_meta() calls out of loop.

2015-07-10 Thread Ronald S. Bultje
--- libavfilter/vf_psnr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index b2c6531..0c2c950 100644 --- a/libavfilter/vf_psnr.c +++ b/libavfilter/vf_psnr.c @@ -173,10 +173,10 @@ static AVFrame *do_psnr(AVFilterContext *ctx,

[FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order in metadata names.

2015-07-10 Thread Ronald S. Bultje
--- libavfilter/vf_psnr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index 0c2c950..d9a6030 100644 --- a/libavfilter/vf_psnr.c +++ b/libavfilter/vf_psnr.c @@ -289,9 +289,9 @@ static int config_input_ref(AVFilterLink *inli

Re: [FFmpeg-devel] psnr filter "max" values for mpeg-range input

2015-07-10 Thread Paul B Mahol
Dana 11. 7. 2015. 03:46 osoba "Ronald S. Bultje" napisala je: > > Hi, > > do people object if I remove the following special code: > > switch (inlink->format) { > case AV_PIX_FMT_GRAY8: > case AV_PIX_FMT_GRAY16: > case AV_PIX_FMT_GBRP: > case AV_PIX_FMT_GBRP9: > case AV_PIX

Re: [FFmpeg-devel] [PATCH] vF_psnr: move set_meta() calls out of loop.

2015-07-10 Thread Paul B Mahol
Dana 11. 7. 2015. 04:47 osoba "Ronald S. Bultje" napisala je: > > --- > libavfilter/vf_psnr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c > index b2c6531..0c2c950 100644 > --- a/libavfilter/vf_psnr.c > +++ b/libavfilte

Re: [FFmpeg-devel] [PATCH] vf_psnr: fix rgb channel order in metadata names.

2015-07-10 Thread Paul B Mahol
Dana 11. 7. 2015. 04:50 osoba "Ronald S. Bultje" napisala je: > > --- > libavfilter/vf_psnr.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c > index 0c2c950..d9a6030 100644 > --- a/libavfilter/vf_psnr.c > +++ b/libavfil

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-10 Thread 周晓勇
> -原始邮件- > 发件人: "Michael Niedermayer" > 发送时间: 2015年7月11日 星期六 > 收件人: "FFmpeg development discussions and patches" > 抄送: > 主题: Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with > mmi > > On Mon, Jul 06, 2015 at 10:17:54PM +0800, 周晓勇 wrote: > > upgrade the new FC