Re: [FFmpeg-devel] [PATCH 1/4] doc/filters: add document for opencl filters

2018-10-30 Thread Gyan
On Mon, Oct 29, 2018 at 10:50 AM Ruiling Song wrote: > Signed-off-by: Danil Iashchenko > Signed-off-by: Ruiling Song > --- > Seems like Danil is not working on this recently. > So I re-submit this patch to address the comment over overlay_opencl. > Looks good for a push now. I'll make any

Re: [FFmpeg-devel] [PATCH 3/4] doc/filters: add tonemap_opencl document.

2018-10-30 Thread Gyan
On Mon, Oct 29, 2018 at 11:29 AM Ruiling Song wrote: > Signed-off-by: Ruiling Song > --- > doc/filters.texi | 96 > > 1 file changed, 96 insertions(+) > > diff --git a/doc/filters.texi b/doc/filters.texi > index 83df460..f884ba4 100644 >

Re: [FFmpeg-devel] [PATCH 4/4] lavfi/opencl: remove peak option of tonemap_opencl

2018-10-30 Thread myp...@gmail.com
On Mon, Oct 29, 2018 at 1:21 PM Ruiling Song wrote: > > Since the filter use auto-calculate the peak value, > the option does not work as expected. So, remove it. > > Signed-off-by: Ruiling Song > --- > libavfilter/vf_tonemap_opencl.c | 7 ++- > 1 file changed, 2 insertions(+), 5

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-30 Thread James Zern
On Mon, Oct 29, 2018 at 10:58 PM James Zern wrote: > > On Sat, Oct 27, 2018 at 1:54 PM James Almer wrote: > > > > On 10/27/2018 5:52 PM, James Zern wrote: > > > a thread count of 0 is treated the same as 1, use av_cpu_count() to get > > > the correct thread count when auto threads is requested.

Re: [FFmpeg-devel] [PATCH] avcodec/libvpxdec: fix setting auto threads

2018-10-30 Thread James Zern
On Sat, Oct 27, 2018 at 1:54 PM James Almer wrote: > > On 10/27/2018 5:52 PM, James Zern wrote: > > a thread count of 0 is treated the same as 1, use av_cpu_count() to get > > the correct thread count when auto threads is requested. > > > > this matches the fix in libvpxenc: > > 27df34bf1f

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Moritz Barsnick > Sent: Friday, October 26, 2018 7:46 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton > > On Thu, Oct 25, 2018 at

[FFmpeg-devel] [PATCH] correct the max value of swscale option with type AV_OPT_TYPE_PIXEL_FMT

2018-10-30 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libswscale/options.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/options.c b/libswscale/options.c index 7eb2752..db8210b 100644 --- a/libswscale/options.c +++ b/libswscale/options.c @@ -57,8 +57,8 @@ static const AVOption

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Li, Zhong
> From: Rogozhkin, Dmitry V > Sent: Tuesday, October 30, 2018 5:07 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Li, Zhong > Subject: Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton > > On Thu, 2018-10-25 at 20:36 +0800, Zhong Li wrote: > > This option can be used to repect original

Re: [FFmpeg-devel] [PATCH] avfilter: add tpad filter

2018-10-30 Thread Gyan
On Tue, Oct 30, 2018 at 3:27 PM Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 22 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_tpad.c| 166 +++ > 4 files changed,

[FFmpeg-devel] [PATCH] avfilter: add tpad filter

2018-10-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 40 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_tpad.c| 218 +++ 4 files changed, 260 insertions(+) create mode 100644 libavfilter/vf_tpad.c diff

[FFmpeg-devel] [PATCH 2/2] lavc/libdavs2: fix sequence incomplete output error

2018-10-30 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 581d568..b05bdef 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -122,7 +122,16 @@ static int

[FFmpeg-devel] [PATCH v3] fate/api-h264-slice-test: use cleaner error handling

2018-10-30 Thread joshdk
From: Josh de Kock Fix ticket #7521 --- tests/api/api-h264-slice-test.c | 88 +++-- 1 file changed, 51 insertions(+), 37 deletions(-) diff --git a/tests/api/api-h264-slice-test.c b/tests/api/api-h264-slice-test.c index 57e7dc79c3..ebc90b5b57 100644 ---

[FFmpeg-devel] [PATCH 1/2] lavc/libdavs2: remove incorrect frame settings

2018-10-30 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index cadf995..581d568 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -96,13 +96,6 @@ static int

[FFmpeg-devel] [PATCH 3/3] lavc/libdavs2: remove unused context parameter

2018-10-30 Thread hwren
Signed-off-by: hwren --- libavcodec/libdavs2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index b05bdef..ee52043 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -32,8 +32,6 @@ typedef struct DAVS2Context {

Re: [FFmpeg-devel] [PATCH 2/2] libx264: Pass the reordered_opaque field through the encoder

2018-10-30 Thread Derek Buitenhuis
On 29/10/2018 21:06, Martin Storsjö wrote: > As I guess there can be old frames in flight, the only safe option is to > enlarge, not to shrink it. But in case a realloc moves the array, the old > pointers end up pretty useless. Just always allocate the max (which is known for H.264), and adjust

Re: [FFmpeg-devel] [PATCH] avfilter: add (a)graphmonitor filter(s)

2018-10-30 Thread Paul B Mahol
On 10/29/18, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 2 + > libavfilter/allfilters.c | 2 + > libavfilter/f_graphmonitor.c | 417 +++ > 3 files changed, 421 insertions(+) > create mode 100644

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Rogozhkin, Dmitry V
On Tue, 2018-10-30 at 18:05 +0800, Li, Zhong wrote: > > > +} else > > > +enc_ctrl->FrameType = MFX_FRAMETYPE_UNKNOWN; > > > > "else" block don't make much sense to me. You eventually already > > had > > enc_ctrl structure passed to the encoder. Thus, it should be > >

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Rogozhkin, Dmitry V
On Tue, 2018-10-30 at 09:49 +, Li, Zhong wrote: > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On > > Behalf > > Of Mark Thompson > > Sent: Tuesday, October 30, 2018 5:06 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr

Re: [FFmpeg-devel] [PATCH] lavc/mjpegdec: fix VA-API MJPEG decoding uninitialized huffman table

2018-10-30 Thread Eoff, Ullysses A
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > myp...@gmail.com > Sent: Monday, October 29, 2018 10:52 PM > To: FFmpeg development discussions and patches > Cc: Zhao, Jun ; Lin, Decai > Subject: Re: [FFmpeg-devel] [PATCH]

[FFmpeg-devel] [PATCH 2/3] avcodec/cbs_vp9: store profile in the private context

2018-10-30 Thread James Almer
Derived from profile_low_bit and profile_high_bit. Signed-off-by: James Almer --- libavcodec/cbs_vp9.h | 2 ++ libavcodec/cbs_vp9_syntax_template.c | 13 ++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h

[FFmpeg-devel] [PATCH 1/3] avcodec/cbs_vp9: keep track of reference frames

2018-10-30 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_vp9.h | 16 libavcodec/cbs_vp9_syntax_template.c | 60 ++-- 2 files changed, 72 insertions(+), 4 deletions(-) diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h index 5b99c90c2e..12689e51cc

[FFmpeg-devel] [PATCH 3/3] avcodec/cbs_vp9: discard empty fragments

2018-10-30 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_vp9.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/cbs_vp9.c b/libavcodec/cbs_vp9.c index 7498be4b73..812be4ddd5 100644 --- a/libavcodec/cbs_vp9.c +++ b/libavcodec/cbs_vp9.c @@ -403,6 +403,9 @@ static int

Re: [FFmpeg-devel] [PATCH 2/2] libx264: Pass the reordered_opaque field through the encoder

2018-10-30 Thread Martin Storsjö
On Tue, 30 Oct 2018, Derek Buitenhuis wrote: On 29/10/2018 21:06, Martin Storsjö wrote: As I guess there can be old frames in flight, the only safe option is to enlarge, not to shrink it. But in case a realloc moves the array, the old pointers end up pretty useless. Just always allocate the

Re: [FFmpeg-devel] [PATCH 2/4] cbs_h265: Add PTL parsing for Main 10 Still Picture profile

2018-10-30 Thread James Almer
On 10/27/2018 6:39 PM, Mark Thompson wrote: > This was added in the 2018 version of the standard. > --- > libavcodec/cbs_h265_syntax_template.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/cbs_h265_syntax_template.c > b/libavcodec/cbs_h265_syntax_template.c > index

Re: [FFmpeg-devel] [PATCH 1/4] cbs_h264: Include SEI type names in trace output

2018-10-30 Thread James Almer
On 10/27/2018 6:39 PM, Mark Thompson wrote: > --- > libavcodec/cbs_h264_syntax_template.c | 16 > 1 file changed, 16 insertions(+) > > diff --git a/libavcodec/cbs_h264_syntax_template.c > b/libavcodec/cbs_h264_syntax_template.c > index 9e29132fec..dbf9ff1268 100644 > ---

[FFmpeg-devel] [PATCH] doc/hls: fix grammar for HLS options

2018-10-30 Thread Werner Robitza
0001-doc-hls-fix-grammar-for-HLS-options.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-30 Thread Michael Niedermayer
On Mon, Oct 29, 2018 at 01:42:55AM +, Zhou, Zachary wrote: > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Michael Niedermayer > > Sent: Saturday, October 27, 2018 5:16 AM > > To: FFmpeg development discussions and patches

[FFmpeg-devel] [PATCH] lavf/hlsenc: Fix mixed declarations and code

2018-10-30 Thread Mark Thompson
--- libavformat/hlsenc.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f8f060d065..73282ed31a 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2348,26 +2348,31 @@ static int

Re: [FFmpeg-devel] [PATCH] Revert "lavc/v4l2_m2m_enc: Add missing braces around initializers."

2018-10-30 Thread Ronak Patel
> On Oct 27, 2018, at 5:25 PM, Carl Eugen Hoyos wrote: > > 2018-10-27 20:50 GMT+02:00, Mark Thompson : >> This reverts commit 6dbb64fdccafe846aaec75d3784f7ad49d8af5df. >> >> The additional braces cause build errors with Linux headers earlier >> than 4.5 because the first element of the

Re: [FFmpeg-devel] [PATCH] doc/hls: fix grammar for HLS options

2018-10-30 Thread Lou Logan
On Tue, 30 Oct 2018 21:07:16 +0100 Werner Robitza wrote: > From 7da20791b3d146e49855f975c8b5102e8cbfd9f2 Mon Sep 17 00:00:00 2001 > From: Werner Robitza > Date: Tue, 30 Oct 2018 20:22:55 +0100 > Subject: [PATCH] doc/hls: fix grammar for HLS options > > This fixes the grammar of two HLS option

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/cbs_vp9: keep track of reference frames

2018-10-30 Thread Mark Thompson
On 30/10/18 19:21, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/cbs_vp9.h | 16 > libavcodec/cbs_vp9_syntax_template.c | 60 ++-- > 2 files changed, 72 insertions(+), 4 deletions(-) > On 30/10/18 19:21, James Almer wrote: >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/cbs_vp9: discard empty fragments

2018-10-30 Thread James Almer
On 10/30/2018 8:19 PM, Mark Thompson wrote: > On 30/10/18 19:21, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavcodec/cbs_vp9.c | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/libavcodec/cbs_vp9.c b/libavcodec/cbs_vp9.c >> index 7498be4b73..812be4ddd5 100644 >>

Re: [FFmpeg-devel] [PATCH 1/2] lavc/libdavs2: remove incorrect frame settings

2018-10-30 Thread Mark Thompson
On 30/10/18 14:01, hwren wrote: > Signed-off-by: hwren > --- > libavcodec/libdavs2.c | 7 --- > 1 file changed, 7 deletions(-) > > diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c > index cadf995..581d568 100644 > --- a/libavcodec/libdavs2.c > +++ b/libavcodec/libdavs2.c > @@

Re: [FFmpeg-devel] [PATCH 4/5] lavc/qsvenc: add an option to set h264 pps for every frame

2018-10-30 Thread Mark Thompson
On 30/10/18 09:21, Li, Zhong wrote: >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Moritz Barsnick >> Sent: Friday, October 26, 2018 7:49 PM >> To: FFmpeg development discussions and patches >> >> Subject: Re: [FFmpeg-devel] [PATCH 4/5] lavc/qsvenc: add an option

Re: [FFmpeg-devel] [PATCH] doc/fate.texi: Mention that samples should be uploaded before pushing dependant commits

2018-10-30 Thread Michael Niedermayer
On Wed, Oct 24, 2018 at 10:34:39AM +0530, Gyan wrote: > On Wed, Oct 24, 2018 at 3:09 AM Michael Niedermayer > wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > doc/fate.texi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/doc/fate.texi b/doc/fate.texi > > index

Re: [FFmpeg-devel] [PATCH] avfilter: add (a)graphmonitor filter(s)

2018-10-30 Thread Lou Logan
On Tue, Oct 30, 2018, at 12:30 PM, Paul B Mahol wrote: > > Will apply soon. Are you going to add any documentation? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Mark Thompson
On 30/10/18 09:49, Li, Zhong wrote: >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Mark Thompson >> Sent: Tuesday, October 30, 2018 5:06 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton >> >> On 25/10/18

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/cbs_vp9: discard empty fragments

2018-10-30 Thread Mark Thompson
On 30/10/18 19:21, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/cbs_vp9.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavcodec/cbs_vp9.c b/libavcodec/cbs_vp9.c > index 7498be4b73..812be4ddd5 100644 > --- a/libavcodec/cbs_vp9.c > +++ b/libavcodec/cbs_vp9.c

Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-30 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Michael Niedermayer > Sent: Wednesday, October 31, 2018 3:53 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi >

[FFmpeg-devel] [PATCH V3] libavfilter/vaapi: enable vaapi rotation feature via call Intel iHD driver

2018-10-30 Thread Zachary Zhou
It supports clockwise rotation by 0/90/180/270 degrees defined in va/va_vpp.h, tested following command line on SKL platform ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input.264 -vf "rotation_vaapi=angle=180" -c:v h264_vaapi output.h264 Signed-off-by:

Re: [FFmpeg-devel] [PATCH] correct the max value of swscale option with type AV_OPT_TYPE_PIXEL_FMT

2018-10-30 Thread Paul B Mahol
On 10/30/18, Guo, Yejun wrote: > Signed-off-by: Guo, Yejun > --- > libswscale/options.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libswscale/options.c b/libswscale/options.c > index 7eb2752..db8210b 100644 > --- a/libswscale/options.c > +++

[FFmpeg-devel] [PATCH] avfilter: add tpad filter

2018-10-30 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 22 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_tpad.c| 166 +++ 4 files changed, 190 insertions(+) create mode 100644 libavfilter/vf_tpad.c diff

[FFmpeg-devel] [PATCH] add an option to forbid the fallback to sw when hardware init fails

2018-10-30 Thread Linjie Fu
Currently ff_get_format will go through all usable choices if the chosen format was not supported. It will fallback to software if the hardware init fails. According to the comment in ticket #7519, provided an option "-fallback_forbid 1" to return directly if hardware init fails and forbid the

Re: [FFmpeg-devel] [PATCH 4/5] lavc/qsvenc: add an option to set h264 pps for every frame

2018-10-30 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Moritz Barsnick > Sent: Friday, October 26, 2018 7:49 PM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH 4/5] lavc/qsvenc: add an option to set > h264 pps for every frame > > On

Re: [FFmpeg-devel] [PATCH] add an option to forbid the fallback to sw when hardware init fails

2018-10-30 Thread Hendrik Leppkes
On Tue, Oct 30, 2018 at 10:08 AM Linjie Fu wrote: > > Currently ff_get_format will go through all usable choices if the > chosen format was not supported. It will fallback to software if > the hardware init fails. > > According to the comment in ticket #7519, provided an option >

Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton

2018-10-30 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, October 30, 2018 5:06 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/5] lavc/qsvenc: add forced_idr opiton > > On 25/10/18 13:36, Zhong Li wrote: > > This option