Re: [FFmpeg-devel] [PATCH]Fix pix_fmt for vc1 decoding with flags +gray

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 05:40:59PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes the initial pix_fmt when decoding > vc1 with flags +gray, regression since this commit: > http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=16af29a7 > > Not tested with hardware acceleration, doe

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR

2015-05-08 Thread Giorgio Vazzana
2015-05-09 0:34 GMT+02:00 Michael Niedermayer : > On Fri, May 08, 2015 at 07:00:18PM -0300, James Almer wrote: >> On 08/05/15 6:10 PM, Michael Niedermayer wrote: >> > >> > applied >> > >> > thanks >> >> This does not compile on netbsd and openbsd. >> >> http://fate.ffmpeg.org/log.cgi?time=201505081

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 07:00:18PM -0300, James Almer wrote: > On 08/05/15 6:10 PM, Michael Niedermayer wrote: > > On Fri, May 08, 2015 at 06:50:19PM +0200, Giorgio Vazzana wrote: > >> Hi, > >> > >> this patch fixes ticket #4030. Users have tested it and they confirm > >> it solves the problem. > >

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR

2015-05-08 Thread James Almer
On 08/05/15 6:10 PM, Michael Niedermayer wrote: > On Fri, May 08, 2015 at 06:50:19PM +0200, Giorgio Vazzana wrote: >> Hi, >> >> this patch fixes ticket #4030. Users have tested it and they confirm >> it solves the problem. >> >> Giorgio Vazzana > >> v4l2.c | 37 ++---

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

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 12:43:20PM -0700, Nick Lewycky wrote: > On 8 May 2015 at 12:06, Michael Niedermayer wrote: > > > On Fri, May 08, 2015 at 10:50:49AM -0700, Nick Lewycky wrote: > > > On 6 May 2015 at 18:03, Michael Niedermayer wrote: > > > > > > > On Wed, May 06, 2015 at 04:08:09PM -0700,

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 06:50:19PM +0200, Giorgio Vazzana wrote: > Hi, > > this patch fixes ticket #4030. Users have tested it and they confirm > it solves the problem. > > Giorgio Vazzana > v4l2.c | 37 ++--- > 1 file changed, 22 insertions(+), 15 deletions(-)

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

2015-05-08 Thread Nick Lewycky
On 8 May 2015 at 12:06, Michael Niedermayer wrote: > On Fri, May 08, 2015 at 10:50:49AM -0700, Nick Lewycky wrote: > > On 6 May 2015 at 18:03, Michael Niedermayer wrote: > > > > > On Wed, May 06, 2015 at 04:08:09PM -0700, Nick Lewycky wrote: > > > > On 6 May 2015 at 15:06, Michael Niedermayer >

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: use x265 Multi-library Interface to query the API

2015-05-08 Thread Derek Buitenhuis
On 5/7/2015 10:17 AM, Gopu Govindaswamy wrote: > Hello, > > this patch is ffmpeg can now use the x265 multi-library interface to make a > run-time selection between a number of libx265 libraries (perhaps 8bpp and > 16bpp). > > I have attached the patch with this mail, [...] > -x265_picture

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

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 10:50:49AM -0700, Nick Lewycky wrote: > On 6 May 2015 at 18:03, Michael Niedermayer wrote: > > > On Wed, May 06, 2015 at 04:08:09PM -0700, Nick Lewycky wrote: > > > On 6 May 2015 at 15:06, Michael Niedermayer wrote: > > > > > > > Hi > > > > > > > > On Wed, May 06, 2015 at

[FFmpeg-devel] ffserver jpg patch

2015-05-08 Thread ill
When can the patch be applied? On Mon, May 04, 2015 at 06:35:36PM -0600, ill wrote: I changed it to git and add the .write header to the last part. The first part compiled after I changed ffserver.c, so it is no longer corrupted. Muxer detection seems to work when I tried it for the middle p

[FFmpeg-devel] [PATCH]Print an error for invalid wav files and write no incorrect file length

2015-05-08 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #4543 for me. Please comment, Carl Eugen diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c index 0333622..ba66e84 100644 --- a/libavformat/wavenc.c +++ b/libavformat/wavenc.c @@ -425,7 +425,7 @@ static int wav_write_trailer(AVFormatContext *s) avio_flus

[FFmpeg-devel] [PATCH]lavf/wavdec: Allow decoding of invalid large wav files

2015-05-08 Thread Carl Eugen Hoyos
Hi! Valid wav files are not larger than 4G, files that are larger are truncated by current FFmpeg. Attached patch allows reading such files if the size was (imo "correctly") written to -1. Please comment, Carl Eugen diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index 410c2ec..332f643

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

2015-05-08 Thread Nick Lewycky
On 6 May 2015 at 18:03, Michael Niedermayer wrote: > On Wed, May 06, 2015 at 04:08:09PM -0700, Nick Lewycky wrote: > > On 6 May 2015 at 15:06, Michael Niedermayer wrote: > > > > > Hi > > > > > > On Wed, May 06, 2015 at 11:52:59AM -0700, Nick Lewycky wrote: > > > > Newer versions of clang will al

Re: [FFmpeg-devel] [PATCH 2/3] configure: remove loongson check inline asm and mips dependent

2015-05-08 Thread Timothy Gu
On Fri, May 8, 2015 at 3:06 AM 周晓勇 wrote: > From 6f76746ecd5b623e7610e293be2cbe02022dd22a Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Thu, 7 May 2015 11:50:42 +0800 > Subject: [PATCH 2/3] configure: remove loongson check inline asm and mips > dependent > > 1.Loongson now have two seri

Re: [FFmpeg-devel] [PATCH]Print a warning if gray decoding was requested but not enabled

2015-05-08 Thread Andreas Cadhalpun
On 08.05.2015 15:01, Carl Eugen Hoyos wrote: > +av_log(avctx, AV_LOG_WARNING, > + "gray decoding requested but not ensabled at configuration > time\n"); ^ Typo: ensabled -> enabled Best regards, Andreas ___

[FFmpeg-devel] [PATCH] lavd/v4l2: produce a 0 byte packet when a dequeued buffer is flagged with V4L2_BUF_FLAG_ERROR

2015-05-08 Thread Giorgio Vazzana
Hi, this patch fixes ticket #4030. Users have tested it and they confirm it solves the problem. Giorgio Vazzana From 5f1b247ee7c47821da301eddad539f8e35652cf5 Mon Sep 17 00:00:00 2001 From: Giorgio Vazzana Date: Fri, 8 May 2015 17:25:15 +0200 Subject: [PATCH] lavd/v4l2: produce a 0 byte packet wh

Re: [FFmpeg-devel] [PATCH] lavd/v4l2: fix typo

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 05:50:03PM +0200, Giorgio Vazzana wrote: > > v4l2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > 724fa0d7a6468a09c6061bef58629599c84d233b 0002-lavd-v4l2-fix-typo.patch > From 55f35aaea4b1aaf59e3a7620e0ca0e078c8c2010 Mon Sep 17 00:00:00 2001 > From: Giorgi

[FFmpeg-devel] [PATCH] lavd/v4l2: fix typo

2015-05-08 Thread Giorgio Vazzana
From 55f35aaea4b1aaf59e3a7620e0ca0e078c8c2010 Mon Sep 17 00:00:00 2001 From: Giorgio Vazzana Date: Fri, 8 May 2015 17:42:34 +0200 Subject: [PATCH] lavd/v4l2: fix typo This was introduced in cde6e328de214ffe8387641cdc1e433a2c2150f3 --- libavdevice/v4l2.c |2 +- 1 file changed, 1 insertion(+)

[FFmpeg-devel] [PATCH]Fix pix_fmt for vc1 decoding with flags +gray

2015-05-08 Thread Carl Eugen Hoyos
Hi! Attached patch fixes the initial pix_fmt when decoding vc1 with flags +gray, regression since this commit: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=16af29a7 Not tested with hardware acceleration, does not fix ticket #4542. Please review, Carl Eugen diff --git a/libavcodec/vc1de

Re: [FFmpeg-devel] [PATCH] avcodec[/format]/webpenc: use WebPAnimEncoder API to generate animated WebP

2015-05-08 Thread Michael Niedermayer
On Thu, May 07, 2015 at 09:28:43PM +, Urvang Joshi wrote: > On Thu, Apr 30, 2015 at 12:05 PM Michael Niedermayer > wrote: > > > On Wed, Apr 29, 2015 at 11:53:40PM +, Urvang Joshi wrote: > > > On Mon, Apr 27, 2015 at 5:03 PM Michael Niedermayer > > > wrote: > > > > > > > On Mon, Apr 27, 2

Re: [FFmpeg-devel] [PATCH 3/3] configure: loongson enable subarch mips64

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 06:17:59PM +0800, 周晓勇 wrote: > From 1094ca8983b34492dece7da5cd09125dbda04726 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 8 May 2015 09:08:00 +0800 > Subject: [PATCH 3/3] configure: loongson enable subarch mips64 > > 1.Fedora19(Loongson) has released 32bit ve

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

2015-05-08 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > The correct way is adding a callback for opening > new files, and let the API user decide. ffmpeg.c > can then implement its own use_absolute_path > option. How is this related to the existing implementation? Don't you have to set use_absolute_path to open a ref

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

2015-05-08 Thread wm4
On Fri, 8 May 2015 12:37:48 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > > + "Absolute path %s not tried for security reasons, " > > > + "pass -use_absolute_path 1 to force using absolute paths\n", > > > ffmpeg.c options/conventions have no place in the l

Re: [FFmpeg-devel] [PATCH]Print a warning if gray decoding was requested but not enabled

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 03:01:06PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch prints a warning if gray decoding was requested > but not enabled at configuration time. > > Carl Eugen > utils.c |5 + > 1 file changed, 5 insertions(+) > 061e15dd12c198c8634844cf0c14b3e48d34d58

Re: [FFmpeg-devel] [PATCH] vp9: de-duplicate some functions that are identical between 10/12 bpp.

2015-05-08 Thread Michael Niedermayer
On Thu, May 07, 2015 at 08:37:37AM -0400, Ronald S. Bultje wrote: > --- > libavcodec/vp9dsp_template.c | 112 > +-- > 1 file changed, 98 insertions(+), 14 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC7

[FFmpeg-devel] [PATCH]Print a warning if gray decoding was requested but not enabled

2015-05-08 Thread Carl Eugen Hoyos
Hi! Attached patch prints a warning if gray decoding was requested but not enabled at configuration time. Carl Eugen diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 48286cf..0073308 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1615,6 +1615,11 @@ int attribute_align_arg

Re: [FFmpeg-devel] [PATCH] pngdec: set correct range

2015-05-08 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > > I thought your question was "Do you agree that gray > > should be full-range?" > > In what context? In all contexts that we can distinguish? > Yes, png outputs full range gray, but that doesn't > mean other codecs outputting gray do this. Which codec? Note th

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

2015-05-08 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > > + "Absolute path %s not tried for security reasons, " > > + "pass -use_absolute_path 1 to force using absolute paths\n", > ffmpeg.c options/conventions have no place in the libraries. How is this libavformat option related to ffmpeg.c? Please suggest

Re: [FFmpeg-devel] [PATCH 2/3] configure: remove loongson check inline asm and mips dependent

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 06:17:19PM +0800, 周晓勇 wrote: > From 6f76746ecd5b623e7610e293be2cbe02022dd22a Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Thu, 7 May 2015 11:50:42 +0800 > Subject: [PATCH 2/3] configure: remove loongson check inline asm and mips > dependent > > 1.Loongson now hav

Re: [FFmpeg-devel] [PATCH 1/3] configure: replace arch loongson with arch extra list loongson

2015-05-08 Thread Michael Niedermayer
On Fri, May 08, 2015 at 06:16:14PM +0800, 周晓勇 wrote: > From 2836a9b83ab781920b9d048ef9ce2acf9061a2a7 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Thu, 7 May 2015 11:12:17 +0800 > Subject: [PATCH 1/3] configure: replace arch loongson with arch extra list > loongson > > Signed-off-by: Zho

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

2015-05-08 Thread wm4
On Fri, 8 May 2015 13:25:17 +0200 Carl Eugen Hoyos wrote: > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 54930a4..eaeb0d0 100644 > --- a/libavformat/mov.c > +++ b/libavformat/mov.c > @@ -2648,6 +2648,11 @@ static int mov_open_dref(AVIOContext **pb, const char > *src, MOVDref *ref,

Re: [FFmpeg-devel] [PATCH] pngdec: set correct range

2015-05-08 Thread wm4
On Fri, 8 May 2015 11:29:18 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > > As said, I had no objections against your patch (on > > > the contrary) but I wonder why you want to set a field > > > that is mostly useful when using libswscale if you > > > don't use libs

Re: [FFmpeg-devel] [PATCH] pngdec: set correct range

2015-05-08 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > > As said, I had no objections against your patch (on > > the contrary) but I wonder why you want to set a field > > that is mostly useful when using libswscale if you > > don't use libswscale. > > Uh, what? > > Do you think libswscale is the only thing that >

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

2015-05-08 Thread Carl Eugen Hoyos
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 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2648,6 +2648,11 @@ static int

Re: [FFmpeg-devel] [PATCH] pngdec: set correct range

2015-05-08 Thread wm4
On Fri, 8 May 2015 10:30:34 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > > > > I believe this is slightly misleading: gray8 and > > > > > gray16 are interpreted as full-range by default > > > > > since years. > > > > > > > > Really? Where? > > > > > > In the softw

Re: [FFmpeg-devel] [PATCH] pngdec: set correct range

2015-05-08 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > > > > I believe this is slightly misleading: gray8 and > > > > gray16 are interpreted as full-range by default > > > > since years. > > > > > > Really? Where? > > > > In the software scaler. > > Doesn't matter much from the API user point of view. > Not everyon

[FFmpeg-devel] [PATCH 3/3] configure: loongson enable subarch mips64

2015-05-08 Thread 周晓勇
>From 1094ca8983b34492dece7da5cd09125dbda04726 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Fri, 8 May 2015 09:08:00 +0800 Subject: [PATCH 3/3] configure: loongson enable subarch mips64 1.Fedora19(Loongson) has released 32bit version and 64bit will comming soon. 2.On 32bit OS check_64bit ret

[FFmpeg-devel] [PATCH 2/3] configure: remove loongson check inline asm and mips dependent

2015-05-08 Thread 周晓勇
>From 6f76746ecd5b623e7610e293be2cbe02022dd22a Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Thu, 7 May 2015 11:50:42 +0800 Subject: [PATCH 2/3] configure: remove loongson check inline asm and mips dependent 1.Loongson now have two series CPU supported MMI(Multi-Media Instruct). Loongson-3

[FFmpeg-devel] [PATCH 1/3] configure: replace arch loongson with arch extra list loongson

2015-05-08 Thread 周晓勇
>From 2836a9b83ab781920b9d048ef9ce2acf9061a2a7 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Thu, 7 May 2015 11:12:17 +0800 Subject: [PATCH 1/3] configure: replace arch loongson with arch extra list loongson Signed-off-by: ZhouXiaoyong --- configure | 5 - 1 file changed, 4 insertions(

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

2015-05-08 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- libavcodec/mips/hevcdsp_init_mips.c | 9 + libavcodec/mips/hevcdsp_mips.h | 9 + libavcodec/mips/hevcdsp_msa.c | 512 3 files changed, 530 insertions(+) diff --git a/libavcodec/mips/hevcdsp