Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-24 Thread Xiang, Haihao
On Wed, 2018-05-23 at 03:27 +0200, Michael Niedermayer wrote: > On Mon, May 21, 2018 at 11:07:34PM +0100, Mark Thompson wrote: > > On 16/05/18 08:19, Haihao Xiang wrote: > > > In lavc/hevec_vaapi, colour properties in AVCodecContext are needed to > > > write the sequence header > > > > > > Tested

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-24 Thread Tobias Rapp
On 22.05.2018 00:07, Mark Thompson wrote: On 16/05/18 08:19, Haihao Xiang wrote: In lavc/hevec_vaapi, colour properties in AVCodecContext are needed to write the sequence header Tested by the command below: ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-24 Thread Xiang, Haihao
On Fri, 2018-05-18 at 11:13 +0200, Hendrik Leppkes wrote: > On Fri, May 18, 2018 at 10:52 AM, Xiang, Haihao > wrote: > > On Thu, 2018-05-17 at 12:30 +0200, Hendrik Leppkes wrote: > > > On Thu, May 17, 2018 at 8:08 AM, Xiang, Haihao > > > wrote: > >

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-24 Thread Hendrik Leppkes
On Thu, May 24, 2018 at 8:22 AM, Xiang, Haihao wrote: > On Fri, 2018-05-18 at 11:13 +0200, Hendrik Leppkes wrote: >> On Fri, May 18, 2018 at 10:52 AM, Xiang, Haihao >> wrote: >> > On Thu, 2018-05-17 at 12:30 +0200, Hendrik Leppkes wrote: >> > > On

[FFmpeg-devel] [PATCH 1/2] lavc/qsv_overlay: suppress code scan complain

2018-05-24 Thread Zhong Li
Suppress the complain "variables 'pix_fmt' is used but maybe uninitialized". Signed-off-by: Zhong Li --- libavfilter/vf_overlay_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_overlay_qsv.c b/libavfilter/vf_overlay_qsv.c index

[FFmpeg-devel] [PATCH 2/2] lavf/qsv: suppress code scan complain

2018-05-24 Thread Zhong Li
Suppress the complain "variables 'handle' is used but maybe uninitialized". Signed-off-by: Zhong Li --- libavfilter/qsvvpp.c | 7 ++- libavfilter/vf_deinterlace_qsv.c | 7 ++- libavfilter/vf_scale_qsv.c | 7 ++- 3 files changed, 18

[FFmpeg-devel] [PATCH] avformat/dashdec: remove unused functions and process code

2018-05-24 Thread Steven Liu
Based on a patch for hls by Richard Shaffer Signed-off-by: Steven Liu --- libavformat/dashdec.c | 46 -- 1 file changed, 8 insertions(+), 38 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index

Re: [FFmpeg-devel] [PATCH v2] lavc/qsv: suppress code scan complain

2018-05-24 Thread Carl Eugen Hoyos
2018-05-24 10:35 GMT+02:00, Li, Zhong : >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Carl Eugen Hoyos >> Sent: Wednesday, May 23, 2018 8:32 PM >> To: FFmpeg development discussions and patches >> >> Subject: Re:

Re: [FFmpeg-devel] [PATCH v2] lavc/qsv: suppress code scan complain

2018-05-24 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Wednesday, May 23, 2018 8:32 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v2] lavc/qsv: suppress code scan > complain > >

[FFmpeg-devel] [PATCH] lavc/qsvenc: allow to set qp range for h264 BRC

2018-05-24 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 14 ++ libavcodec/qsvenc_h264.c | 2 ++ 2 files changed, 16 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 3ce5ffe..7200b88 100644 --- a/libavcodec/qsvenc.c +++

Re: [FFmpeg-devel] [PATCH] lavfi: add opencl tonemap filter.

2018-05-24 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Niklas Haas > Sent: Wednesday, May 23, 2018 7:27 PM > To: Song, Ruiling > Cc: Mark Thompson ; FFmpeg development discussions and > patches

Re: [FFmpeg-devel] [PATCH] lavfi: add opencl tonemap filter.

2018-05-24 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Tuesday, May 22, 2018 8:41 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavfi: add opencl tonemap filter. > > On 22/05/18 09:48, Song,

Re: [FFmpeg-devel] [PATCH v2] lavc/qsv: suppress code scan complain

2018-05-24 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Thursday, May 24, 2018 5:33 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v2] lavc/qsv: suppress code scan > complain > >

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-24 Thread Mark Thompson
On 24/05/18 07:29, Xiang, Haihao wrote: > On Wed, 2018-05-23 at 03:27 +0200, Michael Niedermayer wrote: >> On Mon, May 21, 2018 at 11:07:34PM +0100, Mark Thompson wrote: >>> On 16/05/18 08:19, Haihao Xiang wrote: In lavc/hevec_vaapi, colour properties in AVCodecContext are needed to

Re: [FFmpeg-devel] [PATCH] lavfi: add opencl tonemap filter.

2018-05-24 Thread Niklas Haas
On Thu, 24 May 2018 08:58:22 +, "Song, Ruiling" wrote: > Where comes the "1000 cd/m² is the reference display peak"? seems no clear > statement in BT2100? The concept of there being a "standard" 1000 cd/m² display is introduced in multiple places. Refer to Table 5

[FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-24 Thread Gyan Doshi
Stream Selection chapter rewritten to be more comprehensive and illustrative. From a7ff32bdac54a1f257482526a507ab7823cafb41 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Thu, 24 May 2018 19:11:00 +0530 Subject: [PATCH] doc/ffmpeg - rewrite Stream Selection chapter Flesh out

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-24 Thread Carl Eugen Hoyos
2018-05-24 15:48 GMT+02:00, Gyan Doshi : > Stream Selection chapter rewritten to be more > comprehensive and illustrative. Because of the length of the new description I wonder if the existing documentation should be kept as a "short version" or similar. Carl Eugen

Re: [FFmpeg-devel] [PATCH] libavformat/mxfenc: Add some () to attempt to workaround build issue on osx

2018-05-24 Thread James Almer
On 5/23/2018 9:38 PM, Michael Niedermayer wrote: > On Tue, May 22, 2018 at 06:13:47PM -0300, James Almer wrote: >> On 5/22/2018 3:57 PM, Michael Niedermayer wrote: >>> May fix ticket7209 >>> >>> Signed-off-by: Michael Niedermayer >>> --- >>> libavformat/mxfenc.c | 12

[FFmpeg-devel] [PATCH]lavc/hevcdec: Treat clean random access nals as keyframes for -skip_frame

2018-05-24 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #7227 here, -skip_frame nokey shows no warnings on decoding with this change and still decodes less frames than -skip_frame nointra (which shows many warnings). Please comment, Carl Eugen From ea5cf5aab2a9360971f5291fce19e5daae833de0 Mon Sep 17 00:00:00 2001 From:

Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN filter update

2018-05-24 Thread James Almer
On 5/24/2018 4:24 PM, Sergey Lavrushkin wrote: > Hello, > > This patch introduces DNN inference interface and simple native backend. > For now implemented backend supports only convolutions with relu activation > function, that are sufficient for simple convolutional networks, > particularly

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-24 Thread Michael Niedermayer
On Thu, May 24, 2018 at 07:18:50PM +0530, Gyan Doshi wrote: > Stream Selection chapter rewritten to be more comprehensive and > illustrative. This is very detailed. I think this could byte us if we want to change some of the logic. Maybe this or some of this should be marked as being a

Re: [FFmpeg-devel] [PATCH]lavf/img2dec: Autodetect xwd images

2018-05-24 Thread Michael Niedermayer
On Thu, May 24, 2018 at 03:30:42AM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch implements autodetection of xwd images. > > Please comment, Carl Eugen > Makefile |1 + > allformats.c |1 + > img2dec.c| 32 > version.h|2 +- >

[FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for NV12 and P010 textures - split planes

2018-05-24 Thread Mironov, Mikhail
AMD has published OpenCL extension which allows split D3D11 texture interoped as a single 2D image into two 2D images representing Y and UV planes. https://www.khronos.org/registry/OpenCL/extensions/amd/cl_amd_planar_yuv.txt Mikhail ___ ffmpeg-devel

[FFmpeg-devel] [PATCH] avformat/mxf: fix NTSC 59.94 samples per frame layout

2018-05-24 Thread Marton Balint
FFmbc uses this. bmx uses this. XAVC MXF Mapping and Operating Points prefers this. Basic rounding rules also yields these numbers. Signed-off-by: Marton Balint --- libavformat/mxf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxf.c

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-24 Thread Xiang, Haihao
On Thu, 2018-05-24 at 10:07 +0200, Hendrik Leppkes wrote: > On Thu, May 24, 2018 at 8:22 AM, Xiang, Haihao wrote: > > On Fri, 2018-05-18 at 11:13 +0200, Hendrik Leppkes wrote: > > > On Fri, May 18, 2018 at 10:52 AM, Xiang, Haihao > > > wrote: > > >

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-24 Thread Gyan Doshi
On 24-05-2018 09:58 PM, Carl Eugen Hoyos wrote: Because of the length of the new description I wonder if the existing documentation should be kept as a "short version" or similar. Parts of the short version which are accurate have been retained; other parts are incomplete or misleading and

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-05-24 Thread Gyan Doshi
On 25-05-2018 06:08 AM, Michael Niedermayer wrote: This is very detailed. I think this could byte us if we want to change some of the logic. The current chapter already does. Many askers at SE sites and even on the User ML show confusion over command line operation, including stream

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-24 Thread Xiang, Haihao
On Thu, 2018-05-24 at 11:15 +0100, Mark Thompson wrote: > On 24/05/18 07:29, Xiang, Haihao wrote: > > On Wed, 2018-05-23 at 03:27 +0200, Michael Niedermayer wrote: > > > On Mon, May 21, 2018 at 11:07:34PM +0100, Mark Thompson wrote: > > > > On 16/05/18 08:19, Haihao Xiang wrote: > > > > > In