[FFmpeg-devel] video filter with R8G8B8 input and R10G10B10 output

2018-07-23 Thread Guo, Yejun
Hi, I'm trying a deep learning model with converts SDR (with format R8G8B8) to HDR (with format R10G10B10) with ffmpeg. I wrote a video filter with only supported format AV_PIX_FMT_RGB24 (see code below), it turns out that the format of the input frame of the filter is R8G8B8, and so the output

[FFmpeg-devel] [PATCH] avutil/hwcontext_d3d11va: fix type arguments passed to IDXGIAdapter2_GetDesc()

2018-07-23 Thread James Almer
libavutil/hwcontext_d3d11va.c: In function 'd3d11va_device_create': libavutil/hwcontext_d3d11va.c:554:46: warning: passing argument 2 of 'pAdapter->lpVtbl->GetDesc' from incompatible pointer type [-Wincompatible-pointer-types] hr = IDXGIAdapter2_GetDesc(pAdapter, &desc);

Re: [FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-23 Thread Michael Niedermayer
On Mon, Jul 23, 2018 at 07:16:43PM +0200, Nicolas George wrote: > Jeff (2018-07-23): > > It seems like libyuv has better performace on scaling than libswscale. > > So I'm wondering is there anyone has tried integrating libyuv as a > > scale filter before. I mean link it as a 3rd party lib, and then

Re: [FFmpeg-devel] [PATCH] download: remove dead link for Mac binaries

2018-07-23 Thread Michael Niedermayer
On Mon, Jul 23, 2018 at 07:38:16PM +0530, Gyan Doshi wrote: > download |3 --- > 1 file changed, 3 deletions(-) > 79d69cdda36ee65da6f7348f8397ccbb8fc9854d > 0001-download-remove-dead-link-for-Mac-binaries.patch > From f57cec086a22300dbc12f6e998b2cf53d7a8e103 Mon Sep 17 00:00:00 2001 > From:

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Parse encryption init info from streams.

2018-07-23 Thread Jacob Trimble
On Thu, Jul 12, 2018 at 5:05 PM Jacob Trimble wrote: > > Signed-off-by: Jacob Trimble > --- > libavformat/matroskadec.c | 43 +-- > 1 file changed, 32 insertions(+), 11 deletions(-) > > diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c > index

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Parse generic encryption info from packets.

2018-07-23 Thread Jacob Trimble
On Thu, Jul 12, 2018 at 4:45 PM Jacob Trimble wrote: > > The attached patch adds parsing for WebM encryption info into the > AVEncryptionInfo side-data. The AVEncryptionInitInfo will be handled > in another patch. > > Spec: https://www.webmproject.org/docs/webm-encryption/ > > I am currently seei

Re: [FFmpeg-devel] [PATCH v4][GSOC] avfilter: added colorconstancy

2018-07-23 Thread Thilo Borgmann
Am 19.07.18 um 08:26 schrieb Thilo Borgmann: > > >> Am 16.07.2018 um 13:41 schrieb Mina : >> >> Hi, >> >> This patch introduces Grey-Edge algorithm as part of the Color Constancy >> Filter project in GSOC. >> >> V4 changes: >> - Fixed error in filter.texi that resulted in breaking "make >> do

Re: [FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-23 Thread Devin Heitmueller
> On Jul 23, 2018, at 1:16 PM, Nicolas George wrote: > > Jeff (2018-07-23): >> It seems like libyuv has better performace on scaling than libswscale. >> So I'm wondering is there anyone has tried integrating libyuv as a >> scale filter before. I mean link it as a 3rd party lib, and then call >> i

Re: [FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-23 Thread Nicolas George
Jeff (2018-07-23): > It seems like libyuv has better performace on scaling than libswscale. > So I'm wondering is there anyone has tried integrating libyuv as a > scale filter before. I mean link it as a 3rd party lib, and then call > it's API through a wrap filter. Just like how libavcodec use lib

[FFmpeg-devel] Why not integrate libyuv as a scale filter

2018-07-23 Thread Jeff
Hi there, It seems like libyuv has better performace on scaling than libswscale. So I'm wondering is there anyone has tried integrating libyuv as a scale filter before. I mean link it as a 3rd party lib, and then call it's API through a wrap filter. Just like how libavcodec use libx264. If not

Re: [FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-23 Thread Michael Niedermayer
On Sat, Jul 21, 2018 at 07:31:12PM +0100, Marcin Gorzel wrote: > Rematrixing supports up to 64 channels. However, there is only a limited > number of channel layouts defined. Since the in/out channel count is > currently obtained from the channel layout, for undefined layouts (e.g. for > 9, 10,

[FFmpeg-devel] [PATCH] download: remove dead link for Mac binaries

2018-07-23 Thread Gyan Doshi
From f57cec086a22300dbc12f6e998b2cf53d7a8e103 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 23 Jul 2018 19:33:57 +0530 Subject: [PATCH] download: remove dead link for Mac binaries ffmpegmac.net now leads to a parked page. --- src/download | 3 --- 1 file changed, 3 deletions(-) diff --gi

Re: [FFmpeg-devel] avcodec/proresenc_aw improvements

2018-07-23 Thread Martin Vignali
> > > > > Do you think it's better to only authorize few colorspace ? > > depends on what happens if "others" are stored. > if the official decoders fail with a blank screen then its probably > not a good idea to use such a value. If OTOH they ignore values they > do not support then it may be ok.

Re: [FFmpeg-devel] [PATCH 1/2] docs/filters: add documentation to all existing OpenCL filters

2018-07-23 Thread Gyan Doshi
On 20-07-2018 10:01 PM, Danil Iashchenko wrote: +@section avgblur_opencl + +Apply average blur filter. + +The filter accepts the following options: + +@table @option +@item sizeX +Set horizontal radius size. By default value is @code{1}. State range as well for all options, e.g. Range is

Re: [FFmpeg-devel] [PATCH] swresample: Use channel count in rematrix initialization

2018-07-23 Thread Tobias Rapp
On 21.07.2018 20:31, Marcin Gorzel wrote: Rematrixing supports up to 64 channels. However, there is only a limited number of channel layouts defined. Since the in/out channel count is currently obtained from the channel layout, for undefined layouts (e.g. for 9, 10, 11 channels etc.) the remat