Re: [FFmpeg-devel] [PATCH] add dumpwave filter

2018-01-17 Thread Tobias Rapp
On 15.01.2018 13:48, Dmytro Humeniuk wrote: On 15 Jan 2018, at 09:14, Tobias Rapp wrote: On 13.01.2018 23:52, Дмитрий Гуменюк wrote: Hi, On 13 Jan 2018, at 01:37, Дмитрий Гуменюк wrote: Hi On 12 Jan 2018, at 13:32, Дмитрий Гуменюк

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-17 Thread Yogender Gupta
Improved the patch by dynamic allocation. Thanks, Yogender --- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure

Re: [FFmpeg-devel] [PATCH 1/2] lavc: Add coded_w/h to AVCodecParameters

2018-01-17 Thread James Almer
On 1/18/2018 2:03 AM, Zhong Li wrote: > coded_width/height may be different from width/height sometimes > (e.g, crop or lowres cases). Which is why it's not a field that belongs to AVCodecParameters. Codec level cropping has nothing to do with containers. Same with lowres, which is an internal

[FFmpeg-devel] [PATCH V3 5/6] lavfi: add misc(denoise/sharpness) VPP video filter.

2018-01-17 Thread Jun Zhao
From 12f307d7537487013a4968b7e810f6f6c0f2229a Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 8 Jan 2018 16:19:17 +0800 Subject: [PATCH V3 5/6] lavfi: add misc(denoise/sharpness) VPP video filter. add misc(denoise/sharpness) VPP video filter. Signed-off-by: Yun Zhou

[FFmpeg-devel] [PATCH V3 6/6] Changelog: add ProcAmp(color balance) filter.

2018-01-17 Thread Jun Zhao
From b091ecba062ee0221074287c72fa804f0382925b Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 18 Jan 2018 12:51:20 +0800 Subject: [PATCH V3 6/6] Changelog: add ProcAmp(color balance) filter. Signed-off-by: Jun Zhao --- Changelog | 2 +- 1 file

[FFmpeg-devel] [PATCH V3 4/6] lavfi: add ProcAmp(color balance) vaapi video filter.

2018-01-17 Thread Jun Zhao
From 795fc41a83c23ff461fef1870a003d77b070084f Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 8 Jan 2018 16:12:41 +0800 Subject: [PATCH V3 4/6] lavfi: add ProcAmp(color balance) vaapi video filter. add ProcAmp(color balance) vaapi video filter, use the option like -vf

[FFmpeg-devel] [PATCH V3 3/6] lavfi: use common VPP infrastructure for vf_deinterlace_vaapi.

2018-01-17 Thread Jun Zhao
From f59ba36864423a2cdcdd16b136b38d511efb8952 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 8 Jan 2018 16:07:38 +0800 Subject: [PATCH V3 3/6] lavfi: use common VPP infrastructure for vf_deinterlace_vaapi. Use the common VPP infrastructure re-work vf_deinterlace_vaapi.

[FFmpeg-devel] [PATCH V3 2/6] lavfi: use common VPP infrastructure for vf_scale_vaapi.

2018-01-17 Thread Jun Zhao
From d157fdbffebd07066b1a857398e1067615f908b3 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Mon, 8 Jan 2018 16:02:35 +0800 Subject: [PATCH V3 2/6] lavfi: use common VPP infrastructure for vf_scale_vaapi. Use the common VPP infrastructure re-work vf_scale_vaapi.

[FFmpeg-devel] [PATCH V3 1/6] lavfi: VAAPI VPP common infrastructure.

2018-01-17 Thread Jun Zhao
V3: - Fix the error handle in vaapi_vpp.     - Fix the build issue and remove the duplicated header file - Add a entry to Changelog for procamp_vaapi filter.   V2: - Fix the resource leak in procamp/misc VPP filter.     - Re-work the common VAAPIVPPContext and specific VPP context part like

[FFmpeg-devel] [PATCH V2 2/2] Don't overwrite previously setup dimensions for all codecs

2018-01-17 Thread Zhong Li
Currently a hacky way is used for some specific codecs such as H264/VP6F/DXV (and "lowres" case is broken now). Replace with a more generic way(an evolution based on a libav commit 9de9b828 but hasn't been merged since it breaks lowres). V1->V2: add "lowres" handle code Signed-off-by: Zhong Li

[FFmpeg-devel] [PATCH 1/2] lavc: Add coded_w/h to AVCodecParameters

2018-01-17 Thread Zhong Li
coded_width/height may be different from width/height sometimes (e.g, crop or lowres cases). ffprobe always show coded_width/height same as width/height since they are overwritten. This fixes tiket #6958. Signed-off-by: Zhong Li --- libavcodec/avcodec.h | 7 +++

[FFmpeg-devel] RTMPS to FFM

2018-01-17 Thread Gonzalo Martinez
Hi I have a client written in C++ that use a Hardware Encoder called Cedar and Stream the Video and Audio to my RTMPS server but now I need to change that to Stream locally to a ffserver. The problem that I have when modify the URL from rtmps to http://localhost:8090/feed1.ffm is an error in DTS.

Re: [FFmpeg-devel] [PATCH V2 2/5] lavfi: use common VPP infrastructure for vf_scale_vaapi.

2018-01-17 Thread Jun Zhao
On 2018/1/18 8:29, Michael Niedermayer wrote: > On Wed, Jan 17, 2018 at 10:49:01AM +0800, Jun Zhao wrote: >> Makefile |2 >> vf_scale_vaapi.c | 350 >> ++- >> 2 files changed, 41 insertions(+), 311 deletions(-) >>

[FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread rshaffer
From: Richard Shaffer Enables getting access to ID3 PRIV tags from the command-line or metadata API when demuxing. The PRIV owner is stored as the metadata key prepended with "id3v2_priv.", and the data is stored as the metadata value. As PRIV tags may contain arbitrary

Re: [FFmpeg-devel] [PATCH V2 2/5] lavfi: use common VPP infrastructure for vf_scale_vaapi.

2018-01-17 Thread Michael Niedermayer
On Wed, Jan 17, 2018 at 10:49:01AM +0800, Jun Zhao wrote: > > Makefile |2 > vf_scale_vaapi.c | 350 > ++- > 2 files changed, 41 insertions(+), 311 deletions(-) > 1817904aa549f9226b7628eb3201dd8b88b6233d >

Re: [FFmpeg-devel] [PATCH V2 4/5] lavfi: add ProcAmp(color balance) vaapi video filter.

2018-01-17 Thread Jun Zhao
On 2018/1/17 19:00, Moritz Barsnick wrote: > On Wed, Jan 17, 2018 at 10:49:21 +0800, Jun Zhao wrote: >> configure | 1 + >> libavfilter/Makefile | 1 + >> libavfilter/allfilters.c | 1 + >> libavfilter/vf_procamp_vaapi.c | 230 >>

[FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread rshaffer
From: Richard Shaffer Enables getting access to ID3 PRIV tags from the command-line or metadata API when demuxing. The PRIV owner is stored as the metadata key prepended with "id3v2_priv.", and the data is stored as the metadata value. As PRIV tags may contain arbitrary

[FFmpeg-devel] [PATCH 3/4] avfilter/vf_framerate: change blend factor precision

2018-01-17 Thread Marton Balint
This is done mainly in preparation for the SIMD patches. - for the 8-bit input, decrease the blend factor precision to 7-bit. - for the 16-bit input, increase the blend factor precision to 15-bit. - make sure the blend functions are not called with 0 or maximum blending factors, because we

[FFmpeg-devel] [PATCH 2/4] avfilter/vf_framerate: factorize blend functions and unify filter_slice

2018-01-17 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 108 - 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 583c96e02c..2a6d692eb0 100644 ---

[FFmpeg-devel] [PATCH 4/4] avfilter/vf_framerate: add SIMD functions for frame blending

2018-01-17 Thread Marton Balint
Blend function speedups on x86_64 Core i5 4460: ffmpeg -f lavfi -i allyuv -vf framerate=60:threads=1 -f null none C: 447548411 decicycles in Blend,2048 runs, 0 skips SSSE3: 130020087 decicycles in Blend,2048 runs, 0 skips AVX2: 128508221 decicycles in Blend,2048 runs,

[FFmpeg-devel] [PATCH 1/4] avfilter/vf_framerate: unify luma and chroma blending

2018-01-17 Thread Marton Balint
The expressions were mathematically equvivalent... Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 60 -- 1 file changed, 15 insertions(+), 45 deletions(-) diff --git a/libavfilter/vf_framerate.c

Re: [FFmpeg-devel] [PATCH] add dumpwave filter

2018-01-17 Thread Moritz Barsnick
> --- a/doc/filters.texi > +++ b/doc/filters.texi > @@ -680,13 +680,13 @@ select RIAA. > @item cd > select Compact Disc (CD). > @item 50fm > -select 50??s (FM). > +select 50??s (FM). > @item 75fm > -select 75??s (FM). > +select 75??s (FM). > @item 50kf > -select 50??s (FM-KF). > +select 50??s

Re: [FFmpeg-devel] [PATCH 2/3] libavformat/dashdec: Fix for ticket 6658 (Dash demuxer segfault)

2018-01-17 Thread Colin NG
Believe the comment is related to the 3rd patch. The update version is attached. From: 刘歧 Sent: January 16, 2018 10:39 PM To: FFmpeg development discussions and patches Cc: 刘歧; Colin NG Subject: Re: [FFmpeg-devel] [PATCH 2/3]

Re: [FFmpeg-devel] [PATCH] add dumpwave filter

2018-01-17 Thread Dmytro Humeniuk
> On 15 Jan 2018, at 13:48, Dmytro Humeniuk wrote: > >> >> On 15 Jan 2018, at 09:14, Tobias Rapp wrote: >> >> On 13.01.2018 23:52, Дмитрий Гуменюк wrote: >>> Hi, On 13 Jan 2018, at 01:37, Дмитрий Гуменюк

Re: [FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread Richard Shaffer
On Wed, Jan 17, 2018 at 11:38 AM, wm4 wrote: > On Wed, 17 Jan 2018 11:10:26 -0800 > Richard Shaffer wrote: > > > [...] > > I'm also not sure if an option for compatibility is needed. It's > > > probably fine to prefix the name with something (maybe

Re: [FFmpeg-devel] avfilter/x86/vf_blend : add avx2 for 8b func (v2)

2018-01-17 Thread Martin Vignali
Hello, New patch in attach with modification in average, grain extract, multiply, screen, grain merge -- blend Average -- Prev patch : average_c: 15605.4 average_sse2: 1205.9 average_avx2: 772.4 New patch : average_c: 15604.4 average_sse2: 490.9 average_avx2: 265.2 With 3 operand : using

Re: [FFmpeg-devel] [PATCH] Adding mkdir option for img2enc (3rd attempt)

2018-01-17 Thread Marton Balint
On Wed, 17 Jan 2018, Dr. Alan Barclay wrote: Hi, Attached in a further patch - adding the error checks. Derek - I don't think there is a functional downside to this 'mkdir' option being a default behaviour, but it would introduce a minor performance penalty (which users maybe don't want).

Re: [FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread wm4
On Wed, 17 Jan 2018 11:10:26 -0800 Richard Shaffer wrote: > [...] > I'm also not sure if an option for compatibility is needed. It's > > probably fine to prefix the name with something (maybe "id3v2_priv."?), > > and always export it. > > > > I guess my thought was that

Re: [FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread Richard Shaffer
Thanks for reviewing; it's much appreciated. I responded to one of the comments in-line. I'll work on updating the patch to address your comments. On Wed, Jan 17, 2018 at 10:21 AM, wm4 wrote: > On Fri, 12 Jan 2018 13:13:05 -0800 > rshaf...@tunein.com wrote: > > > From:

Re: [FFmpeg-devel] [PATCH] lavfi/deinterlace_vaapi: fix can't show full option information.

2018-01-17 Thread Michael Niedermayer
On Wed, Jan 17, 2018 at 08:19:38AM +0800, Jun Zhao wrote: > > vf_deinterlace_vaapi.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > 4223a9ff8b91e93ca66ce0225762879cfb4e0247 > 0001-lavfi-deinterlace_vaapi-fix-can-t-show-full-option-i.patch > From

Re: [FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread wm4
On Fri, 12 Jan 2018 13:13:05 -0800 rshaf...@tunein.com wrote: > From: Richard Shaffer > > Enables getting access to ID3 PRIV tags from the command-line or metadata API > when demuxing. The PRIV owner is stored as the metadata key, and the data is > stored as the metadata

Re: [FFmpeg-devel] [PATCH] avformat: add option to parse/store ID3 PRIV tags in metadata.

2018-01-17 Thread Richard Shaffer
I just want to ping the list again to see if anyone would be willing to have a look at this change set. I sent it off last time on a Friday evening, so I'm not sure if maybe it was just forgotten or missed over the weekend, or if it's just not interesting to anyone else. If this isn't useful to

Re: [FFmpeg-devel] avfilter/x86/vf_blend : add avx2 for 8b func (v2)

2018-01-17 Thread Henrik Gramner
On Tue, Jan 16, 2018 at 11:33 PM, Martin Vignali wrote: > BLEND_INIT grainextract, 4 You could also try doing twice as much per iteration which might be more efficient, especially in avx2 since it avoids cross-lane shuffles. Applies to some other ones as well. E.g.

Re: [FFmpeg-devel] [PATCH] Adding mkdir option for img2enc (3rd attempt)

2018-01-17 Thread Carl Eugen Hoyos
2018-01-17 11:56 GMT+01:00 Dr. Alan Barclay : > Attached in a further patch - adding the error checks. Please merge this patch into your previous patch. And please avoid top-posting here, Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] Adding mkdir option for img2enc (3rd attempt)

2018-01-17 Thread Dr. Alan Barclay
Hi, Attached in a further patch - adding the error checks. Derek - I don't think there is a functional downside to this 'mkdir' option being a default behaviour, but it would introduce a minor performance penalty (which users maybe don't want). All comments and help appreciated. Thanks and

Re: [FFmpeg-devel] [PATCH V2 4/5] lavfi: add ProcAmp(color balance) vaapi video filter.

2018-01-17 Thread Moritz Barsnick
On Wed, Jan 17, 2018 at 10:49:21 +0800, Jun Zhao wrote: > configure | 1 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_procamp_vaapi.c | 230 > + > 4 files changed, 233

Re: [FFmpeg-devel] [PATCH] cuvid : add support to force intra frames as in input source

2018-01-17 Thread Timo Rothenpieler
Am 17.01.2018 um 06:12 schrieb Yogender Gupta: Please find attached a patch for setting key frames. "-force_key_frames" can then use this option. Thanks, Yogender > diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c > index c23033c..54f6cb7 100644 > --- a/libavcodec/cuviddec.c > +++