Re: [FFmpeg-devel] [PATCH] avutil/file_open: log temp filename

2019-05-22 Thread Steven Liu
Hendrik Leppkes 于2019年5月22日周三 下午5:05写道: > > On Wed, May 22, 2019 at 10:53 AM Gyan wrote: > > > > > > > > On 22-05-2019 01:41 PM, Liu Steven wrote: > > > > > >> 在 2019年5月22日,下午3:10,Gyan 写道: > > >> > > >> > > >> Helps users to identify temp files for a given instance. > > >> > > >> In the longer

Re: [FFmpeg-devel] [PATCH v3] libavfilter/dnn_native: Add multiple padding methods in dnn native

2019-05-20 Thread Steven Liu
Guo, Yejun 于2019年5月21日周二 上午10:25写道: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Xuewei Meng > > Sent: Saturday, May 18, 2019 3:19 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Xuewei Meng > > Subject: [FFmpeg-devel] [PATCH

Re: [FFmpeg-devel] [PATCH v2] doc/filters: add the sr filter model generation scripts new repository link

2019-05-16 Thread Steven Liu
> 在 2019年5月17日,02:57,Gyan 写道: > > > > On 16-05-2019 11:13 AM, Steven Liu wrote: >> Hold on the old repository link and mention new repository link development >> continues >> >> Signed-off-by: Steven Liu >> --- >> doc/filters.texi | 3

[FFmpeg-devel] [PATCH v2] doc/filters: add the sr filter model generation scripts new repository link

2019-05-15 Thread Steven Liu
Hold on the old repository link and mention new repository link development continues Signed-off-by: Steven Liu --- doc/filters.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 38c70bf674..2e9db150f2 100644 --- a/doc

[FFmpeg-devel] [PATCH] doc/filters: update the sr filter model generation scripts repository link

2019-05-15 Thread Steven Liu
The https://github.com/HighVoltageRocknRoll/sr.git looks have stop maintaince, so link it to new repository Signed-off-by: Steven Liu --- doc/filters.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 38c70bf674..317c256079 100644

Re: [FFmpeg-devel] [PATCH v2] Add multiple padding method in dnn native

2019-05-14 Thread Steven Liu
Xuewei Meng 于2019年5月11日周六 上午11:11写道: > > --- > libavfilter/dnn_backend_native.c | 52 > libavfilter/dnn_backend_native.h | 3 ++ > 2 files changed, 43 insertions(+), 12 deletions(-) > > diff --git a/libavfilter/dnn_backend_native.c >

Re: [FFmpeg-devel] [PATCH 1/2] lavf/dashdec: fix the coding logic after open_input fail

2019-05-12 Thread Steven Liu
> 在 2019年5月11日,15:23,Jun Zhao 写道: > > From: Jun Zhao > > setting return status following goto will never be executed, so > adjust the location in the code. > > Signed-off-by: Jun Zhao > --- > libavformat/dashdec.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git

Re: [FFmpeg-devel] [DECISION] Project policy on closed source components

2019-05-03 Thread Steven Liu
> 在 2019年5月4日,上午9:32,Peter Ross 写道: > >> On Fri, May 03, 2019 at 10:43:36AM -0700, Baptiste Coudurier wrote: >> >>> On May 3, 2019, at 1:15 AM, Paul B Mahol wrote: >>> >>> On 4/28/19, Marton Balint wrote: Hi All, There has been discussion on the mailing list several times

Re: [FFmpeg-devel] [PATCH v2] lavf/img2enc: add support for option strftime_start_realtime

2019-04-21 Thread Steven Liu
> 在 2019年4月22日,04:50,Jun Li 写道: > > On Thu, Apr 18, 2019 at 5:59 PM Jun Li wrote: > >> Currently the strftime option generate timestamp based on generation >> time. The new option would calcualte timestamp from start_time_realtime >> and pkt->pts, based on output's timescale. >> --- >>

[FFmpeg-devel] [PATCH] add tests/ref/fate/hls-segment-size for the fate test

2019-04-17 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/ref/fate/hls-segment-size | 772 1 file changed, 772 insertions(+) create mode 100644 tests/ref/fate/hls-segment-size diff --git a/tests/ref/fate/hls-segment-size b/tests/ref/fate/hls-segment-size new file mode 100644

Re: [FFmpeg-devel] [FFmpeg-cvslog] tests/fate: add fate-hls-segment-size for hls_segment_size test

2019-04-17 Thread Steven Liu
> 在 2019年4月18日,09:35,Carl Eugen Hoyos 写道: > > 2019-04-17 10:11 GMT+02:00, Steven Liu : >> ffmpeg | branch: master | Steven Liu | Sun Apr 14 >> 21:22:22 2019 +0800| [2a50f1d9e414bdf3d97c6aa649769d17793f2991] | committer: >> Steven Liu >> >>

Re: [FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-16 Thread Steven Liu
> 在 2019年4月2日,22:29,Guo, Yejun 写道: > > Currently, within interface set_input_output, the dims/memory of the > tensorflow > dnn model output is determined by executing the model with zero input, > actually, the output dims might vary with different input data for networks > such as object

Re: [FFmpeg-devel] [PATCH 4/8] libavfilter/dnn: determine dnn output during execute_model instead of set_input_output

2019-04-16 Thread Steven Liu
> 在 2019年4月2日,22:29,Guo, Yejun 写道: > > Currently, within interface set_input_output, the dims/memory of the > tensorflow > dnn model output is determined by executing the model with zero input, > actually, the output dims might vary with different input data for networks > such as object

Re: [FFmpeg-devel] [PATCH 1/8] libavfilter/dnn_backend_tf.c: set layer_add_res for input layer

2019-04-16 Thread Steven Liu
> 在 2019年4月2日,22:28,Guo, Yejun 写道: > > otherwise, the following check will return error if layer_add_res > is randomly initialized. > > Signed-off-by: Guo, Yejun > --- > libavfilter/dnn_backend_tf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/dnn_backend_tf.c

Re: [FFmpeg-devel] [PATCH v2] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-15 Thread Steven Liu
Hendrik Leppkes 于2019年4月15日周一 下午7:48写道: > > On Mon, Apr 15, 2019 at 12:46 PM Carl Eugen Hoyos wrote: > > > > 2019-04-15 9:42 GMT+02:00, Liu Steven : > > > > > > > > >> 在 2019年4月11日,下午12:03,Liu Steven 写道: > > >> > > >> > > >> > > >>> 在 2019年4月11日,上午11:55,Jun Li 写道: > > >>> ... > > >>> > > >>>

Re: [FFmpeg-devel] [PATCH v2] lavf/rtsp.c: Fix stimeout option not applied on http tunnel

2019-04-15 Thread Steven Liu
Carl Eugen Hoyos 于2019年4月15日周一 下午6:46写道: > > 2019-04-15 9:42 GMT+02:00, Liu Steven : > > > > > >> 在 2019年4月11日,下午12:03,Liu Steven 写道: > >> > >> > >> > >>> 在 2019年4月11日,上午11:55,Jun Li 写道: > >>> ... > >>> > >>> Ping. > >> LGTM > > > > Pushed > > Who wrote the patch that you pushed? > Wow, thanks

Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add ProgramInformation parser

2019-04-15 Thread Steven Liu
Carl Eugen Hoyos 于2019年4月15日周一 下午6:59写道: > > 2019-04-15 8:26 GMT+02:00, Steven Liu : > > Signed-off-by: Steven Liu > > --- > > libavformat/dashdec.c | 32 > > 1 file changed, 32 insertions(+) > > > > diff --git a/lib

[FFmpeg-devel] [PATCH v2] avformat/dashdec: add ProgramInformation parser

2019-04-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index eed149cd1a..6e3e7e4f1e 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1161,6 +1161,34

[FFmpeg-devel] [PATCH] avformat/dashdec: add ProgramInformation parser

2019-04-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 32 1 file changed, 32 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index eed149cd1a..b6394403b9 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1161,6 +1161,36

[FFmpeg-devel] [PATCH] tests/fate: add fate-hls-segment-size for hls_segment_size test

2019-04-14 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak | 11 +++ 1 file changed, 11 insertions(+) diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index 80536239fc..489d47b888 100644 --- a/tests/fate/hlsenc.mak +++ b/tests/fate/hlsenc.mak @@ -41,3 +41,14 @@ fate-hls-live-endlist

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-12 Thread Steven Liu
> 在 2019年4月12日,19:20,Jun Zhao 写道: > > From: Jun Zhao > > Cleanup the applehttp as demuxer name, when use the command : > > ffmpeg -formats, get the confused information like: > " > E hls Apple HTTP Live Streaming > D hls,applehttp Apple HTTP Live Streaming > " > we don't use

Re: [FFmpeg-devel] [Patch v4] flv: Add XV (Xunlie Video) Support, Updated patch for ticket #3720

2019-04-09 Thread Steven Liu
Steven Liu 于2019年4月9日周二 下午5:46写道: > > maybe title should change from > flv: Add XV (Xunlie Video) Support, Updated patch for ticket #3720 > to > flv: Add XV (Xunlei Video) Support, Updated patch for ticket #3720 Ignore my comment please, the attachment file is correct. > >

Re: [FFmpeg-devel] [Patch v4] flv: Add XV (Xunlie Video) Support, Updated patch for ticket #3720

2019-04-09 Thread Steven Liu
maybe title should change from flv: Add XV (Xunlie Video) Support, Updated patch for ticket #3720 to flv: Add XV (Xunlei Video) Support, Updated patch for ticket #3720 Shivam Goyal 于2019年4月9日周二 下午5:36写道: > > flv: Add XV (Xunlie Video) Support. > > Updated patch for ticket #3720. > > > > >

[FFmpeg-devel] [PATCH] avformat/hlsenc: flush packets before update split message

2019-04-09 Thread Steven Liu
fix ticket: 7831 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 5f9a200c6e..6b913be31c 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2241,6 +2241,7 @@ static int

Re: [FFmpeg-devel] [PATCH] libavformat/udp: add options send_pkt_size for udp over ip, for ts over ip, this value must be 1316(7*188)

2019-04-08 Thread Steven Liu
> 在 2019年4月8日,23:42,edward_email 写道: > > From: “Edward.Wu” <“edward_em...@126.com”> > > Signed-off-by: “Edward.Wu” <“edward_em...@126.com”> > — Document please. > libavformat/udp.c | 45 - > 1 file changed, 44 insertions(+), 1 deletion(-) > > diff

Re: [FFmpeg-devel] [PATCH v2] Added XV Support

2019-04-07 Thread Steven Liu
>+.long_name = NULL_IF_CONFIG_SMALL("Xunlie Video File"), The this should .long_name = NULL_IF_CONFIG_SMALL("Xunlei Video File”), or .long_name = NULL_IF_CONFIG_SMALL(“Xunlei(Thunder) Video File”), Xunlei is Chinese PinYin[pi:n, yi:n]. Application is Thunder.app > 在

[FFmpeg-devel] [PATCH] avformat/hls: make different warning message between open url and parse playlist

2019-03-26 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 4e38d25678..f4e449880b 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -658,7 +658,7 @@ static int open_url

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/flvdec: add AMF date type support

2019-03-26 Thread Steven Liu
> 在 2019年3月26日,19:04,Jun Zhao 写道: > > From: Jun Zhao > > Support AMF date type when parse the FLV metadata. > > Signed-off-by: Jun Zhao > --- > libavformat/flvdec.c | 24 ++-- > 1 files changed, 22 insertions(+), 2 deletions(-) > > diff --git a/libavformat/flvdec.c

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

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

[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

[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

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] 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/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-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] 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 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

[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] 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

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

[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 --git

[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 7afef545fe..f93837a805

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

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 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 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] 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

[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 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: >>>> >>>> >>>

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 > +++

[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

[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

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 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] [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 >>> >>>

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 +

[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

[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

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

2018-12-17 Thread Steven Liu
ense 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: >> >>> On

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 >

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] 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

[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 / 1` 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/libavcodec/f

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

2018-12-16 Thread Steven Liu
turn 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); > -int use_temp_file = proto &am

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 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_

[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

[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

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

2018-12-14 Thread Steven Liu
> On Dec 14, 2018, at 15:43, hwrenx wrote: > > 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..a714213 100644 > ---

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

2018-12-14 Thread Steven Liu
> On Dec 14, 2018, at 19:23, Aleksey Skripka wrote: > >> >> On 14 Dec 2018, at 13:10, Liu Steven wrote: >> >> >> >>> 在 2018年12月14日,下午5:27,Aleksey Skripka 写道: >>> >>> greetings! >>> >>> fixed version. >>> thanks. >> Is this patch create by git format-patch ? > no. > diff -up fileA

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove duplicate operation at hls_write_header

2018-12-11 Thread Steven Liu
the options have set when avformat_init_output at hls_mux_init Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index bdd2a113bd..03a32b65d8 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH 2/2] avformat/hlsenc : Added an option to ignore IO errors

2018-12-07 Thread Steven Liu
> 在 2018年12月7日,下午12:49,Karthick J 写道: > > Useful for long duration runs with network output > --- > doc/muxers.texi | 3 +++ > libavformat/hlsenc.c | 41 +++-- > 2 files changed, 34 insertions(+), 10 deletions(-) > > diff --git a/doc/muxers.texi

Re: [FFmpeg-devel] [PATCH V1 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-02 Thread Steven Liu
> On Dec 2, 2018, at 13:38, Jun Zhao wrote: > > base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC > > Signed-off-by: Huang, Zhengxu > Signed-off-by: hassene > Signed-off-by: Jun Zhao > --- > configure|4 + > libavcodec/Makefile |1 + >

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

2018-11-27 Thread Steven Liu
> On Oct 31, 2018, at 07:20, Mark Thompson wrote: > > --- > 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 > +++

Re: [FFmpeg-devel] [PATCH] libavcodec/libdavs2.c: Fix for the wrong line size is used

2018-11-24 Thread Steven Liu
> On Oct 9, 2018, at 10:33, Liu Steven wrote: > > > >> 在 2018年10月8日,上午10:55,lance.lmw...@gmail.com 写道: >> >> From: Limin Wang >> >> --- >> libavcodec/libdavs2.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c >>

[FFmpeg-devel] [PATCH] avformat/dashdec: add subtitle stream support

2018-11-15 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 97 +++ 1 file changed, 90 insertions(+), 7 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 497e7e469c..092947dca2 100644 --- a/libavformat/dashdec.c +++ b

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove the cannot reach result

2018-11-12 Thread Steven Liu
fix CID: 1441166 because the logic have checked the vtt_dirname before 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 e0048aa9d8..8a687dc1bb 100644 --- a/libavformat

Re: [FFmpeg-devel] [RFC] ffmpeg: Improved the performance of 1:N for adaptive bitrate scenario.

2018-11-12 Thread Steven Liu
Jun Zhao 于2018年11月11日周日 下午7:07写道: > > Improved the performance of 1 decode + N filter graphs and adaptive > bitrate scenario. > > With new option "-abr_pipeline" > 1. It enabled multiple filter graph concurrency, which bring above > about 5%~20% improvement in some 1:N scenario by CPU or GPU >

[FFmpeg-devel] [PATCH] avformat/async: remove unuse code

2018-11-12 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/async.c | 208 1 file changed, 208 deletions(-) diff --git a/libavformat/async.c b/libavformat/async.c index 54dbd2312a..d755f3471b 100644 --- a/libavformat/async.c +++ b/libavformat/async.c

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: removed specific filename format code for non-zero segment sizes

2018-11-12 Thread Steven Liu
Stephen Dawkins 于2018年11月11日周日 下午8:07写道: > > This patch removes some duplicate code in hls_start that prevents the usage > of strftime base filenames in conjuction with hls_segment_size. > > Signed-off-by: Stephen Dawkins > --- > libavformat/hlsenc.c | 13 - > 1 file changed, 13

[FFmpeg-devel] [PATCH] avformat/hlsenc: check dirname and fix vtt problem

2018-11-02 Thread Steven Liu
check dirname before use it refine webvtt code in the hls_delete_old_segments Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f8f060d065..e0048aa9d8

[FFmpeg-devel] [PATCH] avcodec/aacenc: set pce value by options pce

2018-11-02 Thread Steven Liu
fix ticket: 7504 Signed-off-by: Steven Liu --- libavcodec/aacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 4d0abb107f..26175bdb39 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -973,7 +973,7 @@ static

[FFmpeg-devel] [PATCH] avformat/hlsenc: check dirname before use it

2018-11-01 Thread Steven Liu
fix ticket: 7527 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 f8f060d065..3e4f2b6c8b 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -461,7 +461,7

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove the use_localtime_mkdir check logic

2018-11-01 Thread Steven Liu
fix ticket: 7527 the use_localtime_mkdir check logic looks should be needn't. 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 f8f060d065..f4b3eb2aad 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH 5/5] avformat:hlsenc.c: fix the output's duration smaller than input's in sub-range mode.

2018-10-29 Thread Steven Liu
Liu Steven 于2018年10月16日周二 上午11:17写道: > > > > > 在 2018年10月11日,下午4:56,Charles Liu 写道: > > > > In fmp4 & sub-range mode, the output's duration always smaller than > > expected, because the size of the last #EXT-X-BYTERANGE is too small. > > > > Signed-off-by: Charles Liu > > --- > >

[FFmpeg-devel] [PATCH v2] web/documentation: add new book about FFmpeg in China

2018-10-17 Thread Steven Liu
Signed-off-by: Steven Liu --- src/documentation | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/documentation b/src/documentation index debca83..69b02f2 100644 --- a/src/documentation +++ b/src/documentation @@ -130,6 +130,8 @@ http://ffmpeg.tv;>FFmpeg Bas

[FFmpeg-devel] [PATCH] web/documentation: add new book about FFmpeg in China

2018-10-16 Thread Steven Liu
Signed-off-by: Steven Liu --- src/documentation | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/documentation b/src/documentation index e3bbf4c..7569e86 100644 --- a/src/documentation +++ b/src/documentation @@ -131,6 +131,8 @@ http://ffmpeg.tv;>FFmpeg Bas

Re: [FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-28 Thread Steven Liu
Amit Kale 于2018年9月28日周五 下午2:38写道: > > On Friday 28 September 2018 11:40 AM, Steven Liu wrote: > > Amit Kale 于2018年9月28日周五 下午2:01写道: > >> > >> Reset vs->start_pos when beginning a new file. > >> > >> Signed-off-by: Amit Kale > >> --- &

Re: [FFmpeg-devel] [PATCH 1/3] Fix computation of vs->start_pos

2018-09-28 Thread Steven Liu
Amit Kale 于2018年9月28日周五 下午2:01写道: > > Reset vs->start_pos when beginning a new file. > > Signed-off-by: Amit Kale > --- > libavformat/hlsenc.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > Index: ffmpeg/libavformat/hlsenc.c >

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-27 Thread Steven Liu
Steven Liu 于2018年9月27日周四 下午2:53写道: > > Steven Liu 于2018年9月27日周四 上午6:37写道: > > > > > > > > > On Sep 27, 2018, at 06:10, Michael Niedermayer > > > wrote: > > > > > > On Wed, Sep 26, 2018 at 10:07:58AM +0100, James Courtier-Dutton wr

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-27 Thread Steven Liu
Steven Liu 于2018年9月27日周四 上午6:37写道: > > > > > On Sep 27, 2018, at 06:10, Michael Niedermayer > > wrote: > > > > On Wed, Sep 26, 2018 at 10:07:58AM +0100, James Courtier-Dutton wrote: > >> On 26 September 2018 at 00:18, Steven Liu wrote: > >>

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-26 Thread Steven Liu
> On Sep 27, 2018, at 06:10, Michael Niedermayer wrote: > > On Wed, Sep 26, 2018 at 10:07:58AM +0100, James Courtier-Dutton wrote: >> On 26 September 2018 at 00:18, Steven Liu wrote: >> >>> >>> >>>> On Sep 26, 2018, at 06:49, James Co

Re: [FFmpeg-devel] [PATCH 4/4] Delay freeing of hls stream data

2018-09-26 Thread Steven Liu
Carl Eugen Hoyos 于2018年9月26日周三 下午4:22写道: > > > > > Am 26.09.2018 um 08:00 schrieb Amit Kale : > > > > This patch delays freeing of hls stream data, so that it's available for > > bandwidth calculation. > > > Otherwise the previous patches would cause a segfault in this code. > > This means that

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-26 Thread Steven Liu
James Courtier-Dutton 于2018年9月26日周三 下午5:08写道: > > On 26 September 2018 at 00:18, Steven Liu wrote: > > > > > > > > On Sep 26, 2018, at 06:49, James Courtier-Dutton > > wrote: > > > On 25 September 2018 at 23:24, Steven Liu wrote: > > yes, t

Re: [FFmpeg-devel] PATCH[0/4]

2018-09-26 Thread Steven Liu
based > on the number of bytes present in each stream in each segment file. > > Thanks. > -Amit > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel Patchset LGTM Thanks St

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread Steven Liu
> On Sep 26, 2018, at 06:49, James Courtier-Dutton > wrote: > > > > On 25 September 2018 at 23:24, Steven Liu wrote: > @@ -200,12 +200,27 @@ static int set_segment_filename(AVFormatContext *s) > if (seg->use_strftime) { > time_t now0; &

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread Steven Liu
> On Sep 26, 2018, at 00:52, James Courtier-Dutton > wrote: > >> >> Automatically create sub-directories if needed based on date. >> E.g. >> ffmpeg ... -timelimit 2147483647 -f segment -strftime 1 -segment_time 10 >> "%Y/%m/%d/%Y-%m-%d_%H-%M-%S.mkv" >> >> >> >> >> Maybe you want add an

Re: [FFmpeg-devel] [PATCH] libavformat/segment: strftime date sub-directories

2018-09-25 Thread Steven Liu
> On Sep 25, 2018, at 22:37, James Courtier-Dutton > wrote: > > Updated patch. > This one applies on top of > commit bb660800a55f5171f77316941afe2e62534ee72c > > > On 25 September 2018 at 15:00, Steven Liu wrote: > >> >> >>> On Sep

  1   2   3   4   5   6   7   8   9   10   >