Re: [FFmpeg-devel] [PATCH 2/2] avformat/hls: use av_strncasecmp()

2021-05-06 Thread Steven Liu
> -- > 1.8.3.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subj

[FFmpeg-devel] [PATCH] avfilter/vf_dnn_classify: add result check for av_frame_get_side_data

2021-05-06 Thread Steven Liu
CID: 1482090 there can return null from av_frame_get_side_data, and will use sd->data after av_frame_get_side_data, so should check null return value. Signed-off-by: Steven Liu --- libavfilter/vf_dnn_classify.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfil

Re: [FFmpeg-devel] [PATCH 2/2] GSoC: Add guided filter

2021-05-07 Thread Steven Liu
Xuewei Meng <928826...@qq.com> 于2021年5月6日周四 下午10:59写道: > > This version can be executed by thread in slice level. > > To-Do-List: > > 1. Fast guided filter > > 2. Improve the derain/dehaze/denoise performance of guided filter > > Signed-off-by: Xuewei Meng <928826...@qq.com> > --- > doc/filters.te

Re: [FFmpeg-devel] [PATCH] avfilter/vf_dnn_classify: add result check for av_frame_get_side_data

2021-05-07 Thread Steven Liu
Guo, Yejun 于2021年5月7日周五 下午4:11写道: > > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Steven Liu > > Sent: 2021年5月7日 14:43 > > To: ffmpeg-devel@ffmpeg.org > > Cc: Steven Liu > > Subject: [FFmpeg-devel] [PATCH]

Re: [FFmpeg-devel] [PATCH] [GSOC] avfilter: added guided filter

2021-05-07 Thread Steven Liu
Andrey Moskalenko 于2021年5月3日周一 上午3:47写道: > > Added guided filter with subsampling and multithreading for speedup. Maybe not only use multithreading for speedup, also need some algorithms to improve it. What about the speedup compare data? > --- > doc/filters.texi | 25 +++ > libavfilter/

Re: [FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-08 Thread Steven Liu
; +in[0].before = EXT_INFINITY; > +in[0].after = EXT_INFINITY; > +in[1].sync = 1; > +in[1].before = EXT_INFINITY; > +in[1].after = EXT_INFINITY; > +s->fs.opaque = s; > +s->fs.on_event = process_frame; > + > +return ff_framesync_c

Re: [FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-09 Thread Steven Liu
> 2021年5月8日 下午6:20,Steven Liu 写道: > > > >> 2021年5月8日 下午6:06,Xuewei Meng <928826...@qq.com> 写道: >> >> V3: Add examples on how to use this filter, and improve the code style. >> V2: Implement the slice-level parallelism for guided filter. >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: Add missing const

2021-05-10 Thread Steven Liu
peg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > LGTM Thanks Steven Liu ___

Re: [FFmpeg-devel] [PATCH] GSoC: Support fast guided filter.

2021-05-12 Thread Steven Liu
lice, &t, NULL, FFMIN(height, > nb_threads)); \ > +ctx->internal->execute(ctx, s->box_slice, &t, NULL, FFMIN(h, > nb_threads)); \ > t.src = B; > \ > t.dst = meanB;

[FFmpeg-devel] [PATCH] avfilter/vf_guided: add null pointer check of ref_frame and main_frame

2021-05-13 Thread Steven Liu
fix CID: 1484785 check ref_frame and main_frame before use them Signed-off-by: Steven Liu --- libavfilter/vf_guided.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index e7c689e7be..0868b9cd4f 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH v2] avfilter/vf_guided: add null pointer check of ref_frame and main_frame

2021-05-13 Thread Steven Liu
fix CID: 1484785 check ref_frame and main_frame before use them Ignore previous patch please, this should better than that. Signed-off-by: Steven Liu --- libavfilter/vf_guided.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c

Re: [FFmpeg-devel] [PATCH] avfilter/guided: simplify subsampling assignment.

2021-05-13 Thread Steven Liu
lse { > -s->radius = 1; > -} > -} > -else { > -return AVERROR_BUG; > + if (s->radius >= s->sub) > + s->radius = s->radius / s->sub; > + else { > + s->radius = 1; > + } >

Re: [FFmpeg-devel] [FFmpeg-cvslog] GSoC: Support fast guided filter.

2021-05-14 Thread Steven Liu
> 2021年5月14日 下午5:12,Anton Khirnov 写道: > > Quoting Xuewei Meng (2021-05-13 05:59:34) >> ffmpeg | branch: master | Xuewei Meng | Mon May 10 >> 21:42:31 2021 +0800| [43d70feb788318b124418c5c666f2120ee5ca930] | committer: >> Steven Liu >> >> GSoC: Support

Re: [FFmpeg-devel] [PATCH 1/3] avfilter/vf_guided: Don't free frame we don't own

2021-05-14 Thread Steven Liu
an/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Looks simply after patchset, lgtm Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-de

Re: [FFmpeg-devel] [PATCH 1/2] lavfi/dnn_filter_common.h: remove filter option 'options'

2021-05-17 Thread Steven Liu
__ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > Thanks Steven

[FFmpeg-devel] [PATCH] doc/examples/muxing: remove unused arguments of open_video and open_audio

2021-05-28 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/examples/muxing.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index fe1b9ded21..3986561b2f 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -242,8 +242,7 @@ static

Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Steven Liu
FLAGS}, > {NULL} > }; > > -- > 2.31.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > lgtm Thanks Steven Liu ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: add hsub and vsub compute x and y positions

2021-05-31 Thread Steven Liu
, both will right after patch. Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 8 1 file changed, 8 insertions(+) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index b91ac9a713..37886a9d3b 100644 --- a/libavfilter/vf_overlay_cuda.c +++ b

Re: [FFmpeg-devel] [PATCH] avformat/http: Stop cookie_dict leaking on errors.

2021-06-02 Thread Steven Liu
Robert Bengtsson-Ölund 于2021年6月2日周三 上午1:12写道: > > This solves the memory leak reported in https://trac.ffmpeg.org/ticket/9273 > > Signed-off-by: Robert Bengtsson-Ölund > --- > libavformat/http.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/libavformat/http.c b/li

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: add hsub and vsub compute x and y positions

2021-06-07 Thread Steven Liu
> 2021年5月31日 下午3:16,Steven Liu 写道: > > fix problem when set x to odd number in nv12 by cuda, > > test step: > 1. ffmpeg -f lavfi testsrc2=s=176x144 -pix_fmt nv12 -t 1 output_overlay.yuv > 1. ffmpeg -f lavfi testsrc2=s=352x288 -pix_fmt nv12 -t 1 output_main.yu

Re: [FFmpeg-devel] [PATCH] doc/examples/muxing: remove unused arguments of open_video and open_audio

2021-06-07 Thread Steven Liu
> 2021年5月28日 下午9:36,Steven Liu 写道: > > Signed-off-by: Steven Liu > --- > doc/examples/muxing.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) > > diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c > index fe1b9ded21..3986561b2f 100644 &g

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-07 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 129 +++--- 1 file changed, 120 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 8a4d2c4312..9980b0137e 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH v2] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-08 Thread Steven Liu
and add per-frame / init mode for it. Signed-off-by: Steven Liu --- libavfilter/vf_overlay_cuda.c | 153 -- 1 file changed, 144 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_overlay_cuda.c b/libavfilter/vf_overlay_cuda.c index 8a4d2c4312..b2ed8de24e

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: support expression of x y position

2021-06-08 Thread Steven Liu
Timo Rothenpieler 于2021年6月8日周二 下午6:23写道: > > It'd probably make sense to also copy over the option for evaluating the > expression per-frame or on init. > Given that this is usually going to run much faster than the software > overlay filter, the slight overhead from the expression could be much >

Re: [FFmpeg-devel] [RFC PATCH] ffmpeg_videotoolbox: skip memory copy if hwaccel_output_format match

2021-06-10 Thread Steven Liu
"zhilizhao(赵志立)" 于2021年6月10日周四 下午12:15写道: > > Ping. > > > On Apr 27, 2021, at 1:09 PM, Zhao Zhili wrote: > > > > From: zhilizhao > > > > Simple test results: > > > > Command: > > ./ffmpeg -y -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld \ > > -i test.mp4 -an -c:v h264_videotoolb

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

2021-06-11 Thread Steven Liu
> 在 2021年6月11日,22:43,Timo Rothenpieler 写道: Hi Timo, > > --- > configure | 2 + > doc/filters.texi| 46 ++ > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/cuda/vector_helpers.cuh | 14 +- > l

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: support single input

2021-06-14 Thread Steven Liu
> 在 2021年6月14日,10:08,Xuewei Meng <928826...@qq.com> 写道: > > From: Xuewei Meng > > Support single input for guided filter by adding guidance mode. > If the guidance mode is off, single input is required. And > edge-preserving smoothing is conducted. If the mode is on, two > inputs are needed. T

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: Add localtime_ms for millisecond precision

2021-06-14 Thread Steven Liu
Thilo Borgmann 于2021年6月15日周二 上午3:14写道: > > Am 08.06.21 um 18:42 schrieb Thilo Borgmann: > > Hi, > > > > add %{localtime_ms} function to the drawtext filter. Same as %{localtime} > > but with additional millisecond part. > > Ping for a volunteer to actually have a look at the patch for review. lgt

Re: [FFmpeg-devel] [PATCH] lavfi/drawtext: Add localtime_ms for millisecond precision

2021-06-15 Thread Steven Liu
> 2021年6月16日 上午9:56,Lingjiang Fang 写道: > > On Tue, 15 Jun 2021 11:42:44 +0800 > Steven Liu wrote: > >> Thilo Borgmann 于2021年6月15日周二 >> 上午3:14写道: >>> >>> Am 08.06.21 um 18:42 schrieb Thilo Borgmann: >>>> Hi, >>>&g

Re: [FFmpeg-devel] [PATCH] avfilter/vf_guided: support single input

2021-06-29 Thread Steven Liu
Steven Liu 于2021年6月14日周一 下午6:14写道: > > > > > 在 2021年6月14日,10:08,Xuewei Meng <928826...@qq.com> 写道: > > > > From: Xuewei Meng > > > > Support single input for guided filter by adding guidance mode. > > If the guidance mode is off, single inpu

Re: [FFmpeg-devel] [PATCH V3] lavf/vf_ocr: add subregion support

2021-07-05 Thread Steven Liu
&& h != s->h)) { > +av_log(s, AV_LOG_WARNING, "config error, subregion changed to x=%d, > y=%d, w=%d, h=%d\n", > +x, y, w, > h); > +} > + > result = TessBaseAPIRect(s->tess, in-&g

[FFmpeg-devel] [PATCH] avdevice/avfoundation: continue to try get packet if not in observed_quit mode

2021-07-19 Thread Steven Liu
wav say something to microphone ffplay out.wav will ok. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..ddde640c80 100644 --- a/libavdevice/

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice/avfoundation.m +++ b

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice/avfoundation.m +++ b

[FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-19 Thread Steven Liu
From: Steven Liu Because these two member of AVFContext not be used. Signed-off-by: Steven Liu --- libavdevice/avfoundation.m | 4 1 file changed, 4 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index bad3760159..5b4dea826c 100644 --- a/libavdevice

[FFmpeg-devel] [PATCH] avformat/hlsenc: set http options before use delete http method

2021-07-19 Thread Steven Liu
Fix ticket: 9338 Set options which set by user from parent options. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 151ef6ec8f..5272ecabbb 100644 --- a/libavformat/hlsenc.c +++ b/libavformat

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > > Am 20.07.21 um 03:46 schrieb Andreas Rheinhardt: > > Steven Liu: > >> From: Steven Liu > >> > >> Because these two member of AVFContext not be used. > >> > >> Signed-off-by: Steven Liu > &

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
Steven Liu 于2021年7月20日周二 下午5:31写道: > > "zhilizhao(赵志立)" 于2021年7月20日周二 下午4:09写道: > > > > > > > > > On Jul 20, 2021, at 3:50 PM, Steven Liu wrote: > > > > > > Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > > >> > > >&g

Re: [FFmpeg-devel] [PATCH] avdevice/avfoundation: remove first_audio_pts and first_pts

2021-07-20 Thread Steven Liu
"zhilizhao(赵志立)" 于2021年7月20日周二 下午4:09写道: > > > > > On Jul 20, 2021, at 3:50 PM, Steven Liu wrote: > > > > Thilo Borgmann 于2021年7月20日周二 下午3:37写道: > >> > >> Am 20.07.21 um 03:46 schrieb Andreas Rheinhardt: > >>> Steven Liu:

[FFmpeg-devel] [PATCH] avformat/hlsenc: minus subtitle streams count when subtitle stream between video and audio streams

2021-07-20 Thread Steven Liu
-i input -map 0:a:0 -map 0:s:0 -map 0:v:0 -f hls .m3u8 will ok Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 5272ecabbb..28bfa73618 100644 --- a

Re: [FFmpeg-devel] [PATCH V4] lavf/vf_ocr: add subregion support

2021-07-21 Thread Steven Liu
> 2021年7月12日 下午1:14,Lingjiang Fang 写道: > > follow comments from Steven Liu > --- > doc/filters.texi | 8 > libavfilter/vf_ocr.c | 45 +++- > 2 files changed, 52 insertions(+), 1 deletion(-) > > diff --g

Re: [FFmpeg-devel] [PATCH 1/4] libavcodec/adts_header: add frame_length field and avpriv function to parse AAC ADTS header

2021-07-22 Thread Steven Liu
if (ret < 0) > +return ret; > + > +return 0; > +#else > +return AVERROR(ENOSYS); > +#endif > +} > -- > 2.17.1 > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailm

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". Thanks Steven Liu __

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
e case in China Mainland: https://github.com/CDN-Union/Code As many developers said in irc, maybe there need some add a new format looks like flv in RFC or IEEE, I think this is a better way, or choose mkv :D Thanks Steven Liu ___ ffmpeg-devel mai

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月26日星期一,Gyan Doshi 写道: > > > On 2021-07-26 16:39, Steven Liu wrote: > >> >> 2021年7月26日 下午6:57,Gyan Doshi 写道: >>> >>> Are you referring to the choice of FLV_CODECID values? >>> >> Not only, you can find whole history on: >&g

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月26日星期一,Gyan Doshi 写道: > > > On 2021-07-26 19:49, Steven Liu wrote: > >> 在 2021年7月26日星期一,Gyan Doshi 写道: >> >> >>> On 2021-07-26 16:39, Steven Liu wrote: >>> >>> 2021年7月26日 下午6:57,Gyan Doshi 写道: >>>> >>>>&

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月27日星期二,Hendrik Leppkes 写道: > On Mon, Jul 26, 2021 at 5:16 PM Gyan Doshi wrote: > > > > > > > > On 2021-07-26 19:49, Steven Liu wrote: > > > 在 2021年7月26日星期一,Gyan Doshi 写道: > > > > > >> > > >> On 2021-07-26 16:

Re: [FFmpeg-devel] [PATCH] libavformat/flvdec: add HEVC demuxing support

2021-07-26 Thread Steven Liu
在 2021年7月27日星期二,Gyan Doshi 写道: > > > On 2021-07-27 04:28, Steven Liu wrote: > >> 在 2021年7月26日星期一,Gyan Doshi 写道: >> >> >>> On 2021-07-26 19:49, Steven Liu wrote: >>> >>> 在 2021年7月26日星期一,Gyan Doshi 写道: >>>> >>>> >

[FFmpeg-devel] [PATCH 2/2] avcodec/fft_template: reindent after the previous commit

2018-12-16 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/fft_template.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index 2d97534505..657f07b487 100644 --- a/libavcodec/fft_template.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 1/2] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-16 Thread Steven Liu
move the two if condition out of the loop, that can less n-1 times than condition in loop. Signed-off-by: Steven Liu --- libavcodec/fft_template.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/libavcodec/fft_template.c b/libavcodec/fft_template.c index

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-16 Thread Steven Liu
> On Dec 16, 2018, at 21:47, Moritz Barsnick wrote: > > On Sun, Dec 16, 2018 at 21:19:17 +0800, Steven Liu wrote: >> move the two if condition out of the loop, that can less n-1 times than >> condition >> in loop. > [...] >> k = -split_radix_

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-16 Thread Steven Liu
Carl Eugen Hoyos 于2018年12月17日周一 上午8:29写道: > > 2018-12-16 14:19 GMT+01:00, Steven Liu : > > move the two if condition out of the loop, that can less > > n-1 times than condition in loop. > > Please add some benchmarks to the commit message. Hi Folks, I tested the p

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-16 Thread Steven Liu
gt; if (!old_filename) { > return AVERROR(ENOMEM); > @@ -2367,7 +2358,7 @@ static int hls_write_trailer(struct AVFormatContext *s) > AVFormatContext *vtt_oc = NULL; > char *old_filename = NULL; > const char *proto = avio_find_protocol_name(s->url); &

[FFmpeg-devel] [PATCH] libavcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-17 Thread Steven Liu
'{ print $2}'` DURATION=`expr $DURATION + $T_DURATION` done TOTAL=`expr $DURATION / 10000` echo $TOTAL Signed-off-by: Steven Liu --- libavcodec/fft_template.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/libavcodec/fft_template.c b/li

Re: [FFmpeg-devel] [PATCH] libavcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-17 Thread Steven Liu
> On Dec 17, 2018, at 22:05, Carl Eugen Hoyos wrote: > > 2018-12-17 10:13 GMT+01:00, Steven Liu : >> After patch: >> init nbits = 17, get 1 samples, duration: 15221 >> Before patch: >> init nbits = 17, get 1 samples, duration: 16105 >> >> t

Re: [FFmpeg-devel] [PATCH v4] avformat/movenc: Added an option to disable SIDX atom

2018-12-17 Thread Steven Liu
> On Dec 17, 2018, at 21:07, Ronak Patel > wrote: > >> >> On Dec 13, 2018, at 9:15 PM, Ronak Patel >> wrote: >> >> >> >>> On Dec 12, 2018, at 2:46 AM, Liu Steven wrote: >>> >>> >>> > 在 2018年12月12日,上午5:08,Ronak 写道: > > > On Dec 11, 2018, at 3:28 PM, Gyan wrote: >>>

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option

2018-12-17 Thread Steven Liu
> On Dec 17, 2018, at 22:23, Adrian wrote: > > Hello, > > after upgrading FFmpeg from 4.0 to 4.1 I noticed that temp files in HLS muxed > stopped working. > It looks like a regression introduced by > 223d2bde22ce33dcbcb6f17f234b609cb98f1fb6. I've prepared a patch and tested it > cross-compi

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option

2018-12-17 Thread Steven Liu
n't make sense to > have HLS_TEMP_FILE | HLS_SINGLE_FILE). > > My bad I didn't check pending patches - sorry! > Dose that patch can fix the problem? I will push it if that can fix. :-) > Regards > Adrian Guzowski > > W dniu 17.12.2018 o 16:00, Steven Liu pisze: >&

[FFmpeg-devel] [PATCH v2] avcodec/fft_template: libavcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-21 Thread Steven Liu
Before patch: init nbits = 17, get 1 samples, average cost: 16105 us After patch: init nbits = 17, get 1 samples, average cost: 15221 us Signed-off-by: Steven Liu --- libavcodec/fft_template.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git

[FFmpeg-devel] [PATCH] avformat/hlsenc: free varstreams after write all varstreams info

2018-12-22 Thread Steven Liu
fix ticket: 7631 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 50 +- 1 file changed, 33 insertions(+), 17 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index bdd2a113bd..e3cd6f375a 100644 --- a/libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: free varstreams after write all varstreams info

2018-12-22 Thread Steven Liu
> On Dec 22, 2018, at 22:26, Jan Ekström wrote: > > On Sat, Dec 22, 2018 at 10:55 AM Steven Liu wrote: >> >> fix ticket: 7631 >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 50 +

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: free varstreams after write all varstreams info

2018-12-22 Thread Steven Liu
> On Dec 22, 2018, at 23:02, Steven Liu wrote: > > > >> On Dec 22, 2018, at 22:26, Jan Ekström wrote: >> >> On Sat, Dec 22, 2018 at 10:55 AM Steven Liu wrote: >>> >>> fix ticket: 7631 >>> >>>

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: free variant streams after write all variant streams info

2018-12-22 Thread Steven Liu
fix ticket: 7631 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 48 +++- 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index bdd2a113bd..d96b9eb179 100644 --- a/libavformat/hlsenc.c

Re: [FFmpeg-devel] avformat/hls.c: Fix memory leak

2018-12-22 Thread Steven Liu
Valery Kot 于2018年12月22日周六 下午10:54写道: > > Ping... > Any maintainer willing to review/push straightforward one-liner patch? > > > Thus 59MB leak in an hour! And keeps growing... Testing. will response after one or two days, you can attention the comment by Derek, Thanks Valery Steven > > __

[FFmpeg-devel] [PATCH] fate: add tests/fate/hlsenc.mak for hls FATE

2018-12-24 Thread Steven Liu
init add three test examples: 1. check no endlist at the end 2. check endlist at the end 3. check hls_list_size 0 full list Signed-off-by: Steven Liu --- tests/Makefile| 1 + tests/fate/hlsenc.mak | 43 +++ 2 files changed, 44 insertions

[FFmpeg-devel] [PATCH v3] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2018-12-26 Thread Steven Liu
Before patch: init nbits = 17, get 1 samples, average cost: 16175 us After patch: init nbits = 17, get 1 samples, average cost: 14989 us Signed-off-by: Steven Liu --- libavcodec/fft_template.c | 46 +++--- 1 file changed, 35 insertions(+), 11

Re: [FFmpeg-devel] [PATCH v2] lavc/libdavs2: enable multithread

2018-12-26 Thread Steven Liu
hwrenx 于2018年12月15日周六 上午11:41写道: > > From: hwrenx > > Signed-off-by: hwrenx > --- > libavcodec/libdavs2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c > index 37635bb..2846ecf 100644 > --- a/libavcodec/libdavs2.c > +++ b/

Re: [FFmpeg-devel] [PATCH v4] avformat/movenc: Added an option to disable SIDX atom

2018-12-27 Thread Steven Liu
> On Dec 27, 2018, at 21:30, Ronak Patel > wrote: > > > >> On Dec 17, 2018, at 9:58 AM, Steven Liu wrote: >> >> >> >>>> On Dec 17, 2018, at 21:07, Ronak Patel >>>> wrote: >>>> >>>> >>>

[FFmpeg-devel] [PATCH] avformat/dashdec: control download speed when in live stream mode

2019-01-02 Thread Steven Liu
fix ticket: 7369 check the duration is less than the fragment duration, retry when the condition is true. Signed-off-by: Steven Liu --- libavformat/dashdec.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index

Re: [FFmpeg-devel] [PATCH] fate: add tests/fate/hlsenc.mak for hls FATE

2019-01-02 Thread Steven Liu
Steven Liu 于2018年12月24日周一 下午5:45写道: > > init add three test examples: > 1. check no endlist at the end > 2. check endlist at the end > 3. check hls_list_size 0 full list > > Signed-off-by: Steven Liu > --- > tests/Makefile| 1 + &g

Re: [FFmpeg-devel] [PATCH v3] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2019-01-02 Thread Steven Liu
Steven Liu 于2018年12月26日周三 下午4:15写道: > > Before patch: > init nbits = 17, get 1 samples, average cost: 16175 us > After patch: > init nbits = 17, get 1 samples, average cost: 14989 us > > Signed-off-by: Steven Liu > --- > lib

Re: [FFmpeg-devel] [PATCH v3] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2019-01-03 Thread Steven Liu
Michael Niedermayer 于2019年1月4日周五 上午3:01写道: > > On Wed, Dec 26, 2018 at 04:15:27PM +0800, Steven Liu wrote: > > Before patch: > > init nbits = 17, get 1 samples, average cost: 16175 us > > After patch: > > init nbits = 17, get 1 samples, average cost: 14989 us

Re: [FFmpeg-devel] [PATCH] fate: add tests/fate/hlsenc.mak for hls FATE

2019-01-03 Thread Steven Liu
Michael Niedermayer 于2019年1月3日周四 下午8:32写道: > > On Mon, Dec 24, 2018 at 05:44:56PM +0800, Steven Liu wrote: > > init add three test examples: > > 1. check no endlist at the end > > 2. check endlist at the end > > 3. check hls_list_size 0 full list >

Re: [FFmpeg-devel] [PATCH] avcodec/tests/rangecoder: initialize array to avoid valgrind warning

2019-01-04 Thread Steven Liu
Michael Niedermayer 于2019年1月4日周五 上午9:48写道: > > Found-by: jamrial > Signed-off-by: Michael Niedermayer > --- > libavcodec/tests/rangecoder.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/tests/rangecoder.c b/libavcodec/tests/rangecoder.c > index b6edc1493f..d

[FFmpeg-devel] [PATCH] avformat/http: ignore the string after char '#'

2019-01-08 Thread Steven Liu
fix ticket: 7660 Because the char '#' is used for webbrowser to display, it won't present in URI of http request. Signed-off-by: Steven Liu --- libavformat/utils.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 7afef54

[FFmpeg-devel] [PATCH v2] avformat/dashdec: control download speed when in live stream mode

2019-01-10 Thread Steven Liu
fix ticket: 7369 check the duration is less than the fragment duration, retry when the condition is true. don't control the download speed when reading header Signed-off-by: Steven Liu --- libavformat/dashdec.c | 29 + 1 file changed, 29 insertions(+) diff --

Re: [FFmpeg-devel] [PATCH] avcodec/tests/rangecoder: initialize array to avoid valgrind warning

2019-01-13 Thread Steven Liu
> On Jan 12, 2019, at 22:49, Michael Niedermayer wrote: > > On Fri, Jan 04, 2019 at 02:46:29AM +0100, Michael Niedermayer wrote: >> Found-by: jamrial >> Signed-off-by: Michael Niedermayer >> --- >> libavcodec/tests/rangecoder.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > i int

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix fmp4_init_filename file name with %v problem

2019-01-18 Thread Steven Liu
when set option fmp4_init_filename to init_%v.mp4 before patch: the init file will be init_%v_0.mp4, init_%v_1.mp4 after patch: the init file will be init_0.mp4, init_1.mp4 Reported-By: Gyan Doshi Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 6 +- 1 file changed, 5 insertions(+), 1

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: make the EXT-X-MEDIA NAME field by stream id.

2019-01-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index ca57694e9e..eb094f7490 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1258,7 +1258,7 @@ static int

[FFmpeg-devel] [PATCH 2/3] avformat/hlsenc: add var_stream_map DEFAULT field status parameter

2019-01-23 Thread Steven Liu
PE=AUDIO,GROUP-ID="group_aud_high",NAME="audio_3",DEFAULT=NO,URI="out_3.m3u8" EXT-X-STREAM-INF:BANDWIDTH=1170400,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_low" out_4.m3u8 EXT-X-STREAM-INF:BANDWIDTH=3440800,RE

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: add var_stream_map LANGUAGE field string parameter

2019-01-23 Thread Steven Liu
ANDWIDTH=1170400,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_low" out_4.m3u8 EXT-X-STREAM-INF:BANDWIDTH=3440800,RESOLUTION=640x480,CODECS="avc1.64001e,mp4a.40.2",AUDIO="group_aud_high" out_5.m3u8 Signed-off-by: Steven Liu --- doc/muxers.texi

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix fmp4_init_filename file name with %v problem

2019-02-09 Thread Steven Liu
> On Feb 10, 2019, at 12:45, Gyan wrote: > > > > On 19-01-2019 12:33 PM, Steven Liu wrote: >> when set option fmp4_init_filename to init_%v.mp4 >> before patch: >> the init file will be init_%v_0.mp4, init_%v_1.mp4 >> after patch: >>

[FFmpeg-devel] [PATCH] avformat/avformat.h: update the comment from deprecated to new API

2019-02-20 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/avformat.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fdaffa5bf4..12cc8387ed 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,15 +36,14

Re: [FFmpeg-devel] [PATCH v1] avformat/smoothstreamingenc:add bitrate calculate

2019-03-07 Thread Steven Liu
Jun Li 于2019年3月6日周三 上午3:25写道: > > From: jun > > Calculate bitrate based on fragment size, only applied when > bitrate is not set, for example rtsp source. > > Signed-off-by: Jun Li > --- > libavformat/smoothstreamingenc.c | 30 +- > 1 file changed, 25 insertions(+),

[FFmpeg-devel] [PATCH] avformat/avformat.h: update the comment from deprecated to new API

2019-03-10 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/avformat.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index fdaffa5bf4..3fec074373 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -36,17 +36,15

Re: [FFmpeg-devel] [PATCH v1] avformat/rtpdec.h remove unused variable

2019-03-12 Thread Steven Liu
> On Mar 13, 2019, at 05:26, Jun Li wrote: > > Looks like the variable 'cur_timestamp' is not used anywhere. > So remove this variable. > > Signed-off-by: Jun Li > --- > libavformat/rtpdec.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h >

[FFmpeg-devel] [PATCH] avfilter/src_movie: change the deprecate API to new decode api

2019-03-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/src_movie.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index bcabfcc4c2..c313d714fe 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c

[FFmpeg-devel] [PATCH v2] avfilter/src_movie: change the deprecate API to new decode api

2019-03-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/src_movie.c | 25 ++--- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index bcabfcc4c2..65561a3959 100644 --- a/libavfilter/src_movie.c +++ b/libavfilter/src_movie.c

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

2019-03-23 Thread Steven Liu
> 在 2019年3月23日,19:31,UsingtcNower 写道: > > Signed-off-by: UsingtcNower > --- > Changelog | 1 + > configure | 1 + > libavfilter/Makefile| 1 + > libavfilter/allfilters.c| 1 + > libavfilter/vf_crop_cuda.c | 638 ++

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

2019-03-23 Thread Steven Liu
> 在 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 reviewer, about 24 hours after maybe better than push it now. Because other reviewer maybe busy or not online weekend

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: add concat_seekable operation

2017-03-18 Thread Steven Liu
2017-03-18 18:52 GMT+08:00 Marton Balint : > > On Sat, 18 Mar 2017, Steven Liu wrote: > > when use stream_loop to control the loop times, the seekable is >> set to 0 default, and must set duration or inpoint and outpoint >> into the concat list, now use this option can

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: add concat_seekable operation

2017-03-18 Thread Steven Liu
Nicolas George 于2017年3月18日 周六下午8:35写道: > L'octidi 28 ventôse, an CCXXV, Steven Liu a écrit : > > you can try it: > > echo "file 'inputfile1.mp4'" > concat input.concatfile > > echo "file 'inputfile2.mp4'" >> concat inp

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: add concat_seekable operation

2017-03-18 Thread Steven Liu
2017-03-18 21:01 GMT+08:00 wm4 : > On Sat, 18 Mar 2017 12:45:34 + > Steven Liu wrote: > > > Nicolas George 于2017年3月18日 周六下午8:35写道: > > > > > L'octidi 28 ventôse, an CCXXV, Steven Liu a écrit : > > > > you can try it: > > > > echo &qu

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: add concat_seekable operation

2017-03-18 Thread Steven Liu
2017-03-18 21:33 GMT+08:00 Nicolas George : > L'octidi 28 ventôse, an CCXXV, Steven Liu a écrit : > > mhmm dose there have any way to support the stream loop all the file > list? > > I think the second paragraph of Marton's mail addressed exactly that. > Yes,

Re: [FFmpeg-devel] [PATCH] avformat/concatdec: add concat_seekable operation

2017-03-18 Thread Steven Liu
2017-03-18 21:33 GMT+08:00 Nicolas George : > L'octidi 28 ventôse, an CCXXV, Steven Liu a écrit : > > mhmm dose there have any way to support the stream loop all the file > list? > > I think the second paragraph of Marton's mail addressed exactly that. > Hi N

[FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

2017-03-19 Thread Steven Liu
ffmpeg need a dash demuxer for demux the dash formats base on https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/01_add_dash_demux.patch Signed-off-by: Steven Liu --- configure|4 + libavformat/Makefile |1 + libavformat

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

2017-03-19 Thread Steven Liu
2017-03-19 17:34 GMT+08:00 Carl Eugen Hoyos : > 2017-03-19 10:05 GMT+01:00 Steven Liu : > > > + --disable-xml2 disable XML parsing using the C library > libxml2 [autodetect] > > I believe several developers have argued in the past that they are against > addin

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

2017-03-19 Thread Steven Liu
2017-03-19 17:48 GMT+08:00 Clément Bœsch : > On Sun, Mar 19, 2017 at 05:05:55PM +0800, Steven Liu wrote: > > ffmpeg need a dash demuxer for demux the dash formats > > base on https://github.com/samsamsam-iptvplayer/exteplayer3/blob/ > master/tmp/ffmpeg/patches/3.2.2/01_ad

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

2017-03-19 Thread Steven Liu
2017-03-19 17:55 GMT+08:00 Paul B Mahol : > On 3/19/17, Steven Liu wrote: > > 2017-03-19 17:48 GMT+08:00 Clement Boesch : > > > >> On Sun, Mar 19, 2017 at 05:05:55PM +0800, Steven Liu wrote: > >> > ffmpeg need a dash demuxer for demux the dash formats > &g

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add dash demuxer base version

2017-03-20 Thread Steven Liu
2017-03-19 18:06 GMT+08:00 Rodger Combs : > A few initial comments inline: > > > On Mar 19, 2017, at 04:05, Steven Liu wrote: > > > > ffmpeg need a dash demuxer for demux the dash formats > > base on https://github.com/samsamsam-iptvplayer/exteplayer3/blob/ >

<    2   3   4   5   6   7   8   9   10   11   >