[FFmpeg-devel] [PATCH 0/1] avcodec/mf: implemented Media Foundation wrapper

2018-10-26 Thread Paweł Wegner
Hello, this patch contains wrappers for encoders and decoders available in Media Foundation. The patch is derived from: https://ffmpeg.org/pipermail/ffmpeg-devel/2017-April/209720.html I fixed MinGW link warnings and made the patch apply to master branch. As discussed earlier on IRC; this

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

2018-10-26 Thread Paul B Mahol
On 10/26/18, Zhou, Zachary wrote: > > >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >> Rostislav Pehlivanov >> Sent: Friday, October 26, 2018 9:02 PM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel]

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

2018-10-26 Thread Moritz Barsnick
On Thu, Oct 25, 2018 at 20:36:10 +0800, Zhong Li wrote: > RepeatPPS is enabled by default in mfx. It is not necessary mostly and > wasting encoding bits. > Add an option to control it and disable it by default. Could this change in behavior surprise anyone? If it's okay to change, perhaps at

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

2018-10-26 Thread Rostislav Pehlivanov
On Fri, 26 Oct 2018 at 04:10, Zhou, Zachary wrote: > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > sean darcy > > Sent: Thursday, October 25, 2018 11:51 PM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH

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

2018-10-26 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Rostislav Pehlivanov > Sent: Friday, October 26, 2018 9:02 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2] libavfilter/vaapi: enable vaapi >

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

2018-10-26 Thread Moritz Barsnick
On Thu, Oct 25, 2018 at 20:36:07 +0800, Zhong Li wrote: > +{ "forced_idr", "Forcing I frames as IDR frames", > OFFSET(qsv.forced_idr), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 1, > VE }, \ ffmpeg uses imperative (mostly): "Force I frames as IDR

[FFmpeg-devel] Fw: [PATCH] add the protection for http range get request starting from file size

2018-10-26 Thread 沈启超
I add the comment about the issue "https://trac.ffmpeg.org/ticket/6885; Forwarding messages From: "shenqichao" Date: 2018-10-26 18:40:53 To: ffmpeg-devel@ffmpeg.org Cc: shenqichao Subject: [FFmpeg-devel] [PATCH] add the protection for http range get request starting

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

2018-10-26 Thread Moritz Barsnick
On Thu, Oct 25, 2018 at 14:34:49 -0800, Lou Logan wrote: > On Wed, Oct 24, 2018, at 11:04 AM, Paul B Mahol wrote: Additional nit: > > +The filter accept the following option: ^ accepts Otherwise I agree with Lou's corrections. Practical filter btw., should save users from a lot

Re: [FFmpeg-devel] [PATCH] libavdevice/libndi_newtek: Added extra_ips option to libndi_newtek allowing use remote network sources

2018-10-26 Thread Moritz Barsnick
On Fri, Oct 26, 2018 at 11:16:02 +0300, Anton Platov wrote: > +{ "extra_ips", "Find available sources on extra ip addresses", > OFFSET(extra_ips), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC }, ^ This makes it sound like a boolean option (i.e. whether to find).

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_yadif_cuda: CUDA accelerated deinterlacer

2018-10-26 Thread Philip Langdale
Signed-off-by: Philip Langdale --- Changelog| 1 + configure| 1 + doc/filters.texi | 58 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h| 2 +- libavfilter/vf_yadif_cuda.c

[FFmpeg-devel] [PATCH 0/3] CUDA implementation of yadif filter

2018-10-26 Thread Philip Langdale
This patch series adds a CUDA implementation of yadif so that we have a deinterlacing option when doing full GPU transcode or playback with nvdec and/or nvenc. The nvidia deinterlacer cannot be used with the nvdec decoder because an hwaccel cannot return more than one frame per input packet. (It

[FFmpeg-devel] [PATCH 1/3] libavfilter/vf_yadif: Make frame management logic and options shareable

2018-10-26 Thread Philip Langdale
I'm writing a cuda implementation of yadif, and while this obviously has a very different implementation of the actual filtering, all the frame management is unchanged. To avoid duplicating that logic, let's make it shareable. From the perspective of the existing filter, the only real change is

[FFmpeg-devel] [PATCH 3/3] avcodec/nvdec: Increase frame pool size to help deinterlacing

2018-10-26 Thread Philip Langdale
With the cuda yadif filter in use, the number of mapped decoder frames could increase by two, as the filter holds on to additional frames. Signed-off-by: Philip Langdale --- libavcodec/nvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nvdec.c

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavu/qsv: make a copy as libmfx alignment requirement for uploading

2018-10-26 Thread Rogozhkin, Dmitry V
On Fri, 2018-10-26 at 09:34 +, Li, Zhong wrote: > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On > > Behalf > > Of Rogozhkin, Dmitry V > > Sent: Friday, October 26, 2018 8:37 AM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] lavu/qsv: make a

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

2018-10-26 Thread sean darcy
On 10/26/18 11:18 AM, Paul B Mahol wrote: On 10/26/18, Zhou, Zachary wrote: -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Rostislav Pehlivanov Sent: Friday, October 26, 2018 9:02 PM To: FFmpeg development discussions and patches

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Thierry Foucu
On Wed, Oct 24, 2018 at 4:02 AM Rostislav Pehlivanov wrote: > On Sat, 20 Oct 2018 at 00:50, James Almer wrote: > > > Originally written by Ronald S. Bultje, with fixes, optimizations and > > improvements by James Almer. > > > > Signed-off-by: James Almer > > --- > > Updated to work with

Re: [FFmpeg-devel] [PATCH] avcodec/wmaprodec: improve WMAPRO/XMA gapless output

2018-10-26 Thread Banana M.
Ignore this patch, I've submitted a new one that hopefully has a better chance. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix parsing frame_size_with_refs

2018-10-26 Thread James Almer
On 10/26/2018 9:38 PM, James Almer wrote: > found_ref is not a single value in the bitstream. Fixes parsing files with > frame size changes. See https://0x0.st/s64M.ivf, since AOM doesn't seem to offer a conformance suite with a relevant sample, like Google did for VP9.

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Dale Curtis
On Fri, Oct 26, 2018 at 4:00 PM James Almer wrote: > On 10/26/2018 7:50 PM, Dale Curtis wrote: > > One more piece of feedback, this is not obeying the > > AVCodecContext.get_buffer2 API. > > It's not using it on purpose, wrapping the buffers dav1d allocated > itself instead. Hence the lack of

[FFmpeg-devel] [PATCH] avcodec/wmaprodec: improve XMA missing samples

2018-10-26 Thread bananaman255
From: bnnm Writes missing (delay) samples after EOF. Signed-off-by: bnnm --- libavcodec/wmaprodec.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 9439bfa771..d0fa974c80 100644 ---

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Dale Curtis
Yes, all your suggestions silence the errors. Thanks! - dale On Fri, Oct 26, 2018 at 4:05 PM James Almer wrote: > On 10/26/2018 7:31 PM, Dale Curtis wrote: > > The following warnings show up when compiling with clang: > > ../../third_party/ffmpeg/libavcodec/libdav1d.c:92:24: error: suggest >

[FFmpeg-devel] [PATCH] avcodec/cbs_av1: fix parsing frame_size_with_refs

2018-10-26 Thread James Almer
found_ref is not a single value in the bitstream. Fixes parsing files with frame size changes. Based on code from cbs_vp9. Signed-off-by: James Almer --- libavcodec/cbs_av1.h | 2 +- libavcodec/cbs_av1_syntax_template.c | 6 +++--- 2 files changed, 4 insertions(+), 4

Re: [FFmpeg-devel] [PATCH vFINAL] fate: add api-h264-slice test

2018-10-26 Thread James Almer
On 10/24/2018 3:02 PM, jos...@ob-encoder.com wrote: > From: Josh de Kock > > This test ensures that you are able to send N number of slice NALUs in slice > threaded mode to be decoded simultaneously > --- > Actually send fix. > > tests/api/Makefile | 1 + >

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

2018-10-26 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_vp9.h | 15 +- libavcodec/cbs_vp9_syntax_template.c | 42 2 files changed, 51 insertions(+), 6 deletions(-) diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h index 5b99c90c2e..47c3052c7d

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Dale Curtis
The following warnings show up when compiling with clang: ../../third_party/ffmpeg/libavcodec/libdav1d.c:92:24: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] Dav1dPicture p = { 0 }; ^ {}

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Dale Curtis
One more piece of feedback, this is not obeying the AVCodecContext.get_buffer2 API. - dale On Fri, Oct 26, 2018 at 3:31 PM Dale Curtis wrote: > The following warnings show up when compiling with clang: > ../../third_party/ffmpeg/libavcodec/libdav1d.c:92:24: error: suggest > braces around

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread James Almer
On 10/26/2018 7:31 PM, Dale Curtis wrote: > The following warnings show up when compiling with clang: > ../../third_party/ffmpeg/libavcodec/libdav1d.c:92:24: error: suggest braces > around initialization of subobject [-Werror,-Wmissing-braces] > Dav1dPicture p = { 0 }; >

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Baptiste Coudurier
Hey guys, On Tue, Oct 23, 2018 at 4:42 PM James Almer wrote: > On 10/23/2018 8:15 PM, Dale Curtis wrote: > > On Fri, Oct 19, 2018 at 4:50 PM James Almer wrote: > > > >> +s.n_tile_threads = dav1d->tile_threads; > >> +s.n_frame_threads = dav1d->frame_threads; > >> > > > > Did you

[FFmpeg-devel] [PATCH 1/2] avcodec/cbs_vp9: fix parsing sRGB samples

2018-10-26 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_vp9_syntax_template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/cbs_vp9_syntax_template.c b/libavcodec/cbs_vp9_syntax_template.c index 0db0f52a6d..b4a7f65e85 100644 --- a/libavcodec/cbs_vp9_syntax_template.c +++

Re: [FFmpeg-devel] [PATCH] add the protection for http range get request starting from file size

2018-10-26 Thread Michael Niedermayer
On Fri, Oct 26, 2018 at 06:40:53PM +0800, shenqichao wrote: > Signed-off-by: shenqichao > --- > libavformat/http.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/http.c b/libavformat/http.c > index 3a35bc7eac..129f683d15 100644 > --- a/libavformat/http.c >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/cbs_vp9: fix parsing sRGB samples

2018-10-26 Thread Hendrik Leppkes
On Fri, Oct 26, 2018 at 9:37 PM James Almer wrote: > > Signed-off-by: James Almer > --- > libavcodec/cbs_vp9_syntax_template.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/cbs_vp9_syntax_template.c > b/libavcodec/cbs_vp9_syntax_template.c > index 0db0f52a6d..b4a7f65e85

[FFmpeg-devel] [PATCH 2/2 v2] avcodec/cbs_vp9: keep track of reference frames

2018-10-26 Thread James Almer
Signed-off-by: James Almer --- libavcodec/cbs_vp9.h | 13 + libavcodec/cbs_vp9_syntax_template.c | 40 +--- 2 files changed, 49 insertions(+), 4 deletions(-) diff --git a/libavcodec/cbs_vp9.h b/libavcodec/cbs_vp9.h index 5b99c90c2e..7eee6d5e9e

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread James Almer
On 10/26/2018 7:50 PM, Dale Curtis wrote: > One more piece of feedback, this is not obeying the > AVCodecContext.get_buffer2 API. It's not using it on purpose, wrapping the buffers dav1d allocated itself instead. Hence the lack of AV_CODEC_CAP_DR1 flag. > > - dale > > On Fri, Oct 26, 2018 at

Re: [FFmpeg-devel] [PATCH] libavdevice/libndi_newtek: Added extra_ips option to libndi_newtek allowing use remote network sources

2018-10-26 Thread Marton Balint
On Fri, 26 Oct 2018, Moritz Barsnick wrote: On Fri, Oct 26, 2018 at 11:16:02 +0300, Anton Platov wrote: +{ "extra_ips", "Find available sources on extra ip addresses", OFFSET(extra_ips), AV_OPT_TYPE_STRING, {.str = NULL }, 0, 0, DEC }, ^ This makes it sound

Re: [FFmpeg-devel] [PATCH] libaomenc: Add support for tiles

2018-10-26 Thread Thierry Foucu
On Mon, Oct 22, 2018 at 3:45 PM Mark Thompson wrote: > Adds an option to specify the number of tile rows and columns, then uses > a uniform tiling if possible and otherwise a fixed tiling with equal-sized > tiles to fill the frame. > > Also adds -tile-columns and -tile-rows options to make

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

2018-10-26 Thread Michael Niedermayer
On Fri, Oct 26, 2018 at 04:37:07PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/cbs_vp9.h | 15 +- > libavcodec/cbs_vp9_syntax_template.c | 42 > 2 files changed, 51 insertions(+), 6 deletions(-) this breaks fate

Re: [FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-26 Thread Hendrik Leppkes
On Fri, Oct 26, 2018 at 10:46 PM Thierry Foucu wrote: > > On Wed, Oct 24, 2018 at 4:02 AM Rostislav Pehlivanov > wrote: > > > On Sat, 20 Oct 2018 at 00:50, James Almer wrote: > > > > > Originally written by Ronald S. Bultje, with fixes, optimizations and > > > improvements by James Almer. > > >

[FFmpeg-devel] [PATCH] libavdevice/libndi_newtek: Added extra_ips option to libndi_newtek allowing use remote network sources

2018-10-26 Thread Anton Platov
Signed-off-by: Anton Platov --- libavdevice/libndi_newtek_dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavdevice/libndi_newtek_dec.c b/libavdevice/libndi_newtek_dec.c index 4fb7197..a781edc 100644 --- a/libavdevice/libndi_newtek_dec.c +++

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: Support HTTP persistent for init segments as well

2018-10-26 Thread Jeyapal, Karthick
On 10/21/18 6:50 AM, Karthick J wrote: > --- > libavformat/dashenc.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c > index b0a59af3ee..4e2ea2ebf2 100644 > --- a/libavformat/dashenc.c > +++ b/libavformat/dashenc.c >

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: Disable writing CODECS tag for HEVC streams

2018-10-26 Thread Jeyapal, Karthick
On 10/21/18 4:45 PM, Jeyapal, Karthick wrote: > > On 10/21/18 2:28 PM, Hendrik Leppkes wrote: >> On Sun, Oct 21, 2018 at 10:41 AM Karthick J wrote: >>> >>> For HEVC streams, only the FourCC tag is written without profile, level >>> etc., >>> This is breaking playout support in native Safari.

Re: [FFmpeg-devel] Enquiry re resolving errors reported by stream analysers after transcoding with FFmpeg

2018-10-26 Thread Michael Niedermayer
Hi On Thu, Oct 25, 2018 at 08:36:26AM +, Stephenson, Angelica wrote: > Hello, > > I’m emailing to seek your advice. For the past few months, a team here at Sky > UK has performed testing to determine whether FFmpeg would be a suitable > transcode resource for a variety of use cases. Some

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavu/qsv: make a copy as libmfx alignment requirement for uploading

2018-10-26 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Rogozhkin, Dmitry V > Sent: Friday, October 26, 2018 8:37 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] lavu/qsv: make a copy as > libmfx alignment requirement for uploading > > On Wed,

[FFmpeg-devel] [PATCH] add the protection for http range get request starting from file size

2018-10-26 Thread shenqichao
Signed-off-by: shenqichao --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 3a35bc7eac..129f683d15 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1669,7 +1669,7 @@ static int64_t

Re: [FFmpeg-devel] [PATCH vFINAL] fate: add api-h264-slice test

2018-10-26 Thread Josh de Kock
On 24/10/2018 19:02, jos...@ob-encoder.com wrote: From: Josh de Kock This test ensures that you are able to send N number of slice NALUs in slice threaded mode to be decoded simultaneously --- tests/api/Makefile | 1 + tests/api/api-h264-slice-test.c | 221