Re: [FFmpeg-devel] [RFC]separation of multiple outputs' encoding

2020-05-18 Thread Tao Zhang
If no more comments, I will try to code something to create a pseudo encoder which run the actual encoding in the separate thread. Thanks Tao Zhang 于2020年5月15日周五 上午10:14写道: > > Marton Balint 于2020年5月15日周五 上午2:33写道: > > > > > > > > On Thu, 14 May 2020, Tao Zhang wro

Re: [FFmpeg-devel] [RFC]separation of multiple outputs' encoding

2020-05-14 Thread Tao Zhang
Marton Balint 于2020年5月15日周五 上午2:33写道: > > > > On Thu, 14 May 2020, Tao Zhang wrote: > > > Hi, > > FFmpeg supports multiple outputs created out of the same input in the > > same process like > > ffmpeg -i input -filter_complex '[0:v]yadif,split=3[out1][out

[FFmpeg-devel] [RFC]separation of multiple outputs' encoding

2020-05-14 Thread Tao Zhang
Hi, FFmpeg supports multiple outputs created out of the same input in the same process like ffmpeg -i input -filter_complex '[0:v]yadif,split=3[out1][out2][out3]' \ -map '[out1]' -s 1280x720 -acodec … -vcodec … output1 \ -map '[out2]' -s 640x480 -acodec … -vcodec … output2 \

Re: [FFmpeg-devel] [RFC][PATCH] avformat/fifo: add timeshift option to delay output

2020-05-08 Thread Tao Zhang
I have tested with below commands, It works fine. Thanks Marton. ffmpeg -i input_rtmp_addr -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size 600 -fifo_format flv output_rtmp_addr ffmpeg -stream_loop -1 -re -i input_file -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size

Re: [FFmpeg-devel] [PATCH v2 1/3] avformat/fifo: add options to slow down writing packets to match real time approximately

2020-05-07 Thread Tao Zhang
Marton Balint 于2020年5月7日周四 下午6:23写道: > > > > On Thu, 7 May 2020, leozhang wrote: > > > Suggested-by: Nicolas George > > Reviewed-by: Nicolas George > > Reviewed-by: Marton Balint > > Reviewed-by: Andreas Rheinhardt > > You seem to misunderstand the use of this tag. You should only add

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-05-04 Thread Tao Zhang
Marton Balint 于2020年5月5日周二 上午3:48写道: > > > > On Sat, 2 May 2020, Tao Zhang wrote: > > > Marton Balint 于2020年5月2日周六 下午7:05写道: > > [...] > > >> I see. But you could add an option to the fifo muxer to only write header > >> when the first

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-05-02 Thread Tao Zhang
Marton Balint 于2020年5月2日周六 下午7:05写道: > > > > On Sat, 2 May 2020, Tao Zhang wrote: > > > Marton Balint 于2020年5月1日周五 下午9:35写道: > >> > >> > >> > >> On Thu, 30 Apr 2020, Tao Zhang wrote: > >> > >> > Andreas Rheinhardt 于20

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-05-02 Thread Tao Zhang
Marton Balint 于2020年5月1日周五 下午9:35写道: > > > > On Thu, 30 Apr 2020, Tao Zhang wrote: > > > Andreas Rheinhardt 于2020年4月30日周四 下午4:23写道: > >> > >> Tao Zhang: > >> > Marton Balint 于2020年4月30日周四 下午3:26写道: > >> >> > >> >&

Re: [FFmpeg-devel] [PATCH 2/3] avformat/fifo: add option to write packets in paced way

2020-04-30 Thread Tao Zhang
Nicolas George 于2020年4月29日周三 下午9:51写道: > > leozhang (12020-04-29): > > Signed-off-by: leozhang > > --- > > doc/muxers.texi| 3 +++ > > libavformat/fifo.c | 19 +++ > > 2 files changed, 22 insertions(+) > > > > diff --git a/doc/muxers.texi b/doc/muxers.texi > > index

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-04-30 Thread Tao Zhang
Andreas Rheinhardt 于2020年4月30日周四 下午4:23写道: > > Tao Zhang: > > Marton Balint 于2020年4月30日周四 下午3:26写道: > >> > >> > >> > >> On Thu, 30 Apr 2020, Tao Zhang wrote: > >> > >>> Marton Balint 于2020年4月30日周四 上午4:55写道: > >>>&

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-04-30 Thread Tao Zhang
Marton Balint 于2020年4月30日周四 下午3:26写道: > > > > On Thu, 30 Apr 2020, Tao Zhang wrote: > > > Marton Balint 于2020年4月30日周四 上午4:55写道: > >> > >> > >> > >> On Thu, 30 Apr 2020, Tao Zhang wrote: > >> > >> > Marton Balint

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-04-30 Thread Tao Zhang
Andreas Rheinhardt 于2020年4月30日周四 下午1:45写道: > > Tao Zhang: > > Marton Balint 于2020年4月30日周四 上午4:55写道: > >> > >> > >> > >> On Thu, 30 Apr 2020, Tao Zhang wrote: > >> > >>> Marton Balint 于2020年4月30日周四 上午12:03写道: > >>>&

Re: [FFmpeg-devel] [PATCH 1/3] avformat/fifo: add option to delay output

2020-04-29 Thread Tao Zhang
Nicolas George 于2020年4月29日周三 下午9:31写道: > > leozhang (12020-04-29): > > Signed-off-by: leozhang > > --- > > doc/muxers.texi| 3 +++ > > libavformat/fifo.c | 7 +++ > > 2 files changed, 10 insertions(+) > > > > diff --git a/doc/muxers.texi b/doc/muxers.texi > > index cb2bb42..a74cbc4

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-04-29 Thread Tao Zhang
Marton Balint 于2020年4月30日周四 上午4:55写道: > > > > On Thu, 30 Apr 2020, Tao Zhang wrote: > > > Marton Balint 于2020年4月30日周四 上午12:03写道: > >> > >> > >> > >> On Wed, 29 Apr 2020, leozhang wrote: > >> > >> > In some

Re: [FFmpeg-devel] [PATCH 0/3] Patch set to delay output live stream

2020-04-29 Thread Tao Zhang
Marton Balint 于2020年4月30日周四 上午12:03写道: > > > > On Wed, 29 Apr 2020, leozhang wrote: > > > In some applications, it is required to add delay to live streaming. > > In what applications? And if you do this, why not run > > sleep 20; ffmpeg In live streaming applications, someone wouldn't want

Re: [FFmpeg-devel] [PATCH] avfilter/vf_yaepblur: add yaepblur filter

2019-12-07 Thread Tao Zhang
Paul B Mahol 于2019年12月7日周六 下午11:21写道: > > On 12/7/19, Tao Zhang wrote: > > I'm sorry for the late reply. > > > > Paul B Mahol 于2019年12月7日周六 上午2:48写道: > >> > >> On 12/5/19, Paul B Mahol wrote: > >> > On 12/5/19, Tao Zhang wrote: > &g

Re: [FFmpeg-devel] [PATCH] avfilter/vf_yaepblur: add yaepblur filter

2019-12-07 Thread Tao Zhang
I'm sorry for the late reply. Paul B Mahol 于2019年12月7日周六 上午2:48写道: > > On 12/5/19, Paul B Mahol wrote: > > On 12/5/19, Tao Zhang wrote: > >> Hello everyone, > >> Can I assume this patch is ok if no comments or objections? > > > > Yes, give so

Re: [FFmpeg-devel] [PATCH] avfilter/vf_yaepblur: add yaepblur filter

2019-12-05 Thread Tao Zhang
Hello everyone, Can I assume this patch is ok if no comments or objections? Tao Zhang 于2019年12月3日周二 下午5:26写道: > > ping:) > > leozhang 于2019年11月25日周一 下午5:53写道: > > > > Signed-off-by: leozhang > > --- > > This filter blur the input while preserving edges, with

Re: [FFmpeg-devel] [PATCH] avfilter/vf_yaepblur: add yaepblur filter

2019-12-03 Thread Tao Zhang
ping:) leozhang 于2019年11月25日周一 下午5:53写道: > > Signed-off-by: leozhang > --- > This filter blur the input while preserving edges, with slice threads speed > up. > My test speed is about 100fps on 1080p video with 16 threads, on my test > machine whose cpu is E5-2660 v4 2.0GHz using 16 threads.

Re: [FFmpeg-devel] [PATCH V2 2/2] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-18 Thread Tao Zhang
Limin Wang 于2019年11月15日周五 下午11:24写道: > > On Fri, Nov 15, 2019 at 04:35:49PM +0800, leozhang wrote: > > Reviewed-by: Paul B Mahol > > Reviewed-by: Jun Zhao > > Signed-off-by: leozhang > > --- > > > > doc/filters.texi | 4 > > libavfilter/vf_bilateral.c | 23

Re: [FFmpeg-devel] [PATCH V4] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-15 Thread Tao Zhang
The new patchsets are https://patchwork.ffmpeg.org/patch/16279/ https://patchwork.ffmpeg.org/patch/16280/ Please review it, thx Tao Zhang 于2019年11月15日周五 下午4:38写道: > > I submit new patchset. Have separate functional and non-functional > changes. Also updated doc, inspired by Paul's commi

Re: [FFmpeg-devel] [PATCH V4] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-15 Thread Tao Zhang
I submit new patchset. Have separate functional and non-functional changes. Also updated doc, inspired by Paul's commit https://github.com/FFmpeg/FFmpeg/commit/45f03cdd20c3f9a83d4955fa32ffdc287229ccfd Tao Zhang 于2019年11月11日周一 下午7:55写道: > > ping, at the beginning of the new week:) > >

Re: [FFmpeg-devel] [PATCH V4] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-11 Thread Tao Zhang
ping, at the beginning of the new week:) leozhang 于2019年11月3日周日 下午6:50写道: > > Reviewed-by: Paul B Mahol > Reviewed-by: Jun Zhao > Signed-off-by: leozhang > --- > libavfilter/vf_bilateral.c | 39 ++- > 1 file changed, 34 insertions(+), 5 deletions(-) > >

Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-02 Thread Tao Zhang
Paul B Mahol 于2019年11月2日周六 下午6:34写道: > > You mixed functional and non-functional changes in single patch. Lesson learned. I'll submit a new patch. Thanks a lot. Today is a good day. > This is big no. > > On 11/2/19, Tao Zhang wrote: > > Good weekend. Is it ok or any more sug

Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-11-02 Thread Tao Zhang
Good weekend. Is it ok or any more suggestions? Tao Zhang 于2019年10月28日周一 下午2:53写道: > > ping > > leozhang 于2019年10月24日周四 下午5:18写道: > > > > Reviewed-by: Paul B Mahol > > Reviewed-by: Jun Zhao > > Signed-off-by: leozhang > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bilateral: remove useless memcpy

2019-10-31 Thread Tao Zhang
Paul B Mahol 于2019年10月30日周三 下午4:35写道: > > Why you think it is useless? > > Have you checked checksums matches before and after? Hi Paul, I add FATE test for the bilateral filter which is https://patchwork.ffmpeg.org/patch/16042/. Checked checksums matched before and after. Thanks > > On 10/30/19,

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bilateral: remove useless memcpy

2019-10-30 Thread Tao Zhang
Paul B Mahol 于2019年10月30日周三 下午4:35写道: > > Why you think it is useless? > > Have you checked checksums matches before and after? I compared md5sum were the same. Please point it out if I understand wrong. > > On 10/30/19, leozhang wrote: > > Signed-off-by: leozhang > > --- > >

Re: [FFmpeg-devel] [PATCH V3] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-10-28 Thread Tao Zhang
ping leozhang 于2019年10月24日周四 下午5:18写道: > > Reviewed-by: Paul B Mahol > Reviewed-by: Jun Zhao > Signed-off-by: leozhang > --- > libavfilter/vf_bilateral.c | 57 > ++ > 1 file changed, 43 insertions(+), 14 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH V2] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-10-24 Thread Tao Zhang
Paul B Mahol 于2019年10月24日周四 下午3:42写道: > > Still not OK, you are using old process command which is pointless now. Right. I will submit a new version. Thanks a lot. > > On 10/24/19, leozhang wrote: > > Reviewed-by: Paul B Mahol > > Reviewed-by: Jun Zhao > > Signed-off-by: leozhang > > --- > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-10-23 Thread Tao Zhang
Paul B Mahol 于2019年10月23日周三 下午9:47写道: > > Not ok, range sigma is used to change array values you never update here. Right, I will submit a new version which try to call config_props() when the user set range sigma at runtime. Thanks a lot. > > On 10/23/19, leozhang wrote: > > --- > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-10-23 Thread Tao Zhang
myp...@gmail.com 于2019年10月23日周三 下午8:50写道: > > On Wed, Oct 23, 2019 at 8:34 PM leozhang wrote: > > > > --- > > libavfilter/vf_bilateral.c | 21 +++-- > > 1 file changed, 11 insertions(+), 10 deletions(-) > > > > diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c

Re: [FFmpeg-devel] [v3] avformat/flvdec: delete unused code

2019-08-22 Thread Tao Zhang
Michael Niedermayer 于2019年8月18日周日 下午5:49写道: > > On Wed, Aug 14, 2019 at 11:07:18AM +0800, leozhang wrote: > > Reviewed-by: Carl Eugen Hoyos > > Signed-off-by: leozhang > > --- > > libavformat/flvdec.c | 17 - > > 1 file changed, 17 deletions(-) > > probably ok Hi Michael, I'm

Re: [FFmpeg-devel] [v3] avformat/flvdec: delete unused code

2019-08-16 Thread Tao Zhang
ping. leozhang 于2019年8月14日周三 上午11:07写道: > > Reviewed-by: Carl Eugen Hoyos > Signed-off-by: leozhang > --- > libavformat/flvdec.c | 17 - > 1 file changed, 17 deletions(-) > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > index b531a39..6bfe624 100644 > ---

Re: [FFmpeg-devel] avformat/flvdec: delete unused code

2019-08-13 Thread Tao Zhang
Carl Eugen Hoyos 于2019年8月13日周二 下午5:37写道: > > Am Di., 13. Aug. 2019 um 09:06 Uhr schrieb leozhang : > > > > Signed-off-by: leozhang > > --- > > libavformat/flvdec.c | 16 > > 1 file changed, 16 deletions(-) > > > > diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c > >

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-16 Thread Tao Zhang
Jeyapal, Karthick 于2019年7月17日周三 上午10:46写道: > > > On 7/15/19 8:41 AM, leozhang wrote: > > change history: > > 1. remove unnecessary cast. > > 2. add some braces. > > > > Please comment, Thanks > Thanks for sending the patch. Please find some of my comments inlined below. Thanks for your comments.

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-16 Thread Tao Zhang
Let me add that, descriptor provides extensible syntax and semantics for describing Adaptation Set properties. In my scenario,I implemented one VR tiled video system using descriptor. leozhang 于2019年7月15日周一 上午11:11写道: > > change history: > 1. remove unnecessary cast. > 2. add some braces. > >

Re: [FFmpeg-devel] dash: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015.

2019-07-14 Thread Tao Zhang
ping? leozhang 于2019年7月12日周五 下午4:31写道: > > Reference ISO/IEC 23009-1:2014/Amd.2:2015, a spatial relationship descriptor > is defined as a spatial part of a content component (e.g. a region of > interest, or a tile) > and represented by either an Adaptation Set or a Sub-Representation. > >

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Tao Zhang
Timo Rothenpieler 于2019年3月25日周一 下午6:31写道: > > On 25/03/2019 09:27, Tao Zhang wrote: > >>> Hi, > >>> > >>> Timo and Mark and I have been discussing this, and we think the right > >>> thing to do is add support to vf_scale_cuda to respect the

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-25 Thread Tao Zhang
Song, Ruiling 于2019年3月25日周一 下午3:26写道: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Philip Langdale via ffmpeg-devel > > Sent: Monday, March 25, 2019 12:57 PM > > To: FFmpeg development discussions and patches > > Cc: Philip

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-23 Thread Tao Zhang
Got it. Thanks Steven Steven Liu 于2019年3月24日周日 上午9:00写道: > > > > 在 2019年3月24日,07:26,Tao Zhang 写道: > > > > The corrected version. If there are no other comments or objections, > could > > this be pushed? > Of course, maybe this need waiting for other re

Re: [FFmpeg-devel] [PATCH][FFmpeg-devel v2] Add GPU accelerated video crop filter

2019-03-23 Thread Tao Zhang
The corrected version. If there are no other comments or objections, could this be pushed? UsingtcNower 于2019年3月23日周六 下午11:51写道: > Signed-off-by: UsingtcNower > --- > Changelog | 1 + > configure | 1 + > doc/filters.texi| 31 +++ >

Re: [FFmpeg-devel] [PATCH] Add GPU accelerated video crop filter

2019-03-23 Thread Tao Zhang
Done it. Thanks Steven and Timo Timo Rothenpieler 于2019年3月23日周六 下午10:52写道: > On 23.03.2019 14:46, Steven Liu wrote: > > Documentation of the crop_cuda should be submitted together. > > > > > > Thanks > > Steven > > > > True, forgot about that. Should be almost identical to that of the > regular

Re: [FFmpeg-devel] [PATCH] Add GPU accelerated video crop filter

2019-03-23 Thread Tao Zhang
Got it and corrected. Thanks Timo Timo Rothenpieler 于2019年3月23日周六 下午7:53写道: > On 23.03.2019 12:31, UsingtcNower wrote: > > diff --git a/configure b/configure > > index 331393f..88f1e91 100755 > > --- a/configure > > +++ b/configure > > @@ -2978,6 +2978,7 @@ scale_npp_filter_deps="ffnvcodec