Re: [FFmpeg-devel] [PATCH V3 04/11] lavc/dump_extradata_bsf: support dump options.

2018-03-20 Thread Steven Liu
> On 14 Mar 2018, at 13:42, Jun Zhao wrote: > > > <0004-lavc-dump_extradata_bsf-support-dump-options.patch>___ > support dump bit stream filter options Signed-off-by: Jun Zhao ---

Re: [FFmpeg-devel] how to add step-to-previous-frame feature to ffplay?

2018-03-22 Thread Steven Liu
> On 22 Mar 2018, at 15:13, 陈 永岗 wrote: > > > Hello everyone, > > > I'm newbie to ffmpeg, and found ffplay.c is very useful which contains lots > of command line operations. If press 's', it will play next frame. However I > want to make it support playing previous

Re: [FFmpeg-devel] how to add step-to-previous-frame feature to ffplay?

2018-03-22 Thread Steven Liu
> On 22 Mar 2018, at 15:13, 陈 永岗 wrote: > > > Hello everyone, > > > I'm newbie to ffmpeg, and found ffplay.c is very useful which contains lots > of command line operations. If press 's', it will play next frame. However I > want to make it support playing previous

Re: [FFmpeg-devel] [PATCH 01/11] avformat/dashenc: renamed 'min_seg_duration' to 'seg_duration'

2018-03-23 Thread Steven Liu
> On 23 Mar 2018, at 13:20, vdi...@akamai.com wrote: > > From: Vishwanath Dixit > > --- > doc/muxers.texi | 2 +- > libavformat/dashenc.c | 10 +- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index

Re: [FFmpeg-devel] [PATCH 1/2] hlsenc: use stream's maximum bit rate as fall-back advertised rate

2018-03-23 Thread Steven Liu
2018-03-24 6:42 GMT+08:00 Jan Ekström : > From: Jan Ekström > > Enables having proper bit rate values being written into the master > playlist in case of hard-constrained VBR where the maximum bit > rate utilized is known before hand. > > Does the same

Re: [FFmpeg-devel] [PATCH 2/2] hlsenc: set target duration always exact or longer than max segment duration

2018-03-23 Thread Steven Liu
2018-03-24 6:42 GMT+08:00 Jan Ekström : > From: Jan Ekström > > Follows the RFC with floating point durations. > F.ex., 5.005 => 6 > > Signed-off-by: Jan Ekström > --- > libavformat/hlsenc.c | 3 ++- > 1 file changed, 2

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: add reference stream index for split segment

2018-03-01 Thread Steven Liu
> On 28 Feb 2018, at 12:50, Jeyapal, Karthick <kjeya...@akamai.com> wrote: > > > > On 2/28/18 10:18 AM, Steven Liu wrote: >> fix ticket: #7044 >> Get the first video stream to reference for split segment >> when there have more than one video str

[FFmpeg-devel] [PATCH] avformat/hlsenc: add reference stream index for split segment

2018-02-26 Thread Steven Liu
fix ticket: #7044 Get the first video stream to reference for split segment when there have more than one video stream Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavformat/hl

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: add reference stream index for split segment

2018-02-27 Thread Steven Liu
fix ticket: #7044 Get the first video stream to reference for split segment when there have more than one video stream Signed-off-by: Steven Liu <l...@chinaffmpeg.org> --- libavformat/hlsenc.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavformat/hlse

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: add reference stream index for split segment

2018-02-27 Thread Steven Liu
2018-02-28 11:32 GMT+08:00 Jeyapal, Karthick <kjeya...@akamai.com>: > > > On 2/27/18 11:09 AM, Steven Liu wrote: >> fix ticket: #7044 >> Get the first video stream to reference for split segment >> when there have more than one video stream >> >> Si

Re: [FFmpeg-devel] [PATCH 1/1] libavformat/hlsenc: Option to set timeout for socket I/O operation

2018-03-01 Thread Steven Liu
> On 2 Mar 2018, at 14:56, rpata...@akamai.com wrote: > > From: Ravindra Patagar > > Signed-off-by: Ravindra > --- > doc/muxers.texi | 3 +++ > libavformat/hlsenc.c | 5 - > 2 files changed, 7 insertions(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 1/2] doc/bitstream_filters: correct dump_extra bsfs docs.

2018-02-28 Thread Steven Liu
> On 28 Feb 2018, at 08:26, Jun Zhao wrote: > > ping > > On 2018/2/23 15:12, Jun Zhao wrote: > Signed-off-by: Jun Zhao --- doc/bitstream_filters.texi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v2 1/1] libavformat/hlsenc: Option to set timeout for socket I/O operation

2018-03-06 Thread Steven Liu
> On 5 Mar 2018, at 17:41, rpata...@akamai.com wrote: > > From: Ravindra > > --- > doc/muxers.texi | 3 +++ > libavformat/hlsenc.c | 5 - > 2 files changed, 7 insertions(+), 1 deletion(-) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index c156ec0..3a63da7

[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

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

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

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

[FFmpeg-devel] [PATCH 4/8] avformat/dashdec: reindent code for previous commit

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 9d69045d37..14a54a02cf 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1577,7 +1577,7 @@ static int

[FFmpeg-devel] [PATCH 1/8] avformat/dashdec: refine mpd element of attribute name availabilityEndTime

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 0435f25412..0977517ce5 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -132,6 +132,7 @@ typedef struct DASHContext

[FFmpeg-devel] [PATCH 3/8] avformat/dashdec: remove redundant code

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index ff6684c511..9d69045d37 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1568,14

[FFmpeg-devel] [PATCH 5/8] avformat/dashdec: add trace message for get the logic output message

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 14a54a02cf..40e12e19ce 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -919,18 +919,22 @@ static int

[FFmpeg-devel] [PATCH 2/8] avformat/dashdec: refine adaptionset attribute members

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 0977517ce5..ff6684c511 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -122,6 +122,19

[FFmpeg-devel] [PATCH 8/8] avformat/dashdec: refine compute current fragment for presentation_timeoffset mode

2018-09-03 Thread Steven Liu
use ((wallclock - availability_start_time) * timescale -presentation_timeoffset) / duration Signed-off-by: Steven Liu --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 854d7edc59..1fce8861a1 100644

[FFmpeg-devel] [PATCH 6/8] avformat/dashdec: add min_buffer_time process logic

2018-09-03 Thread Steven Liu
if there have min_buffer_time in playlist, use the min_buffer_time value for realtime. Signed-off-by: Steven Liu --- libavformat/dashdec.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 40e12e19ce..2a2d7455cd 100644 --- a/libavformat

[FFmpeg-devel] [PATCH 7/8] avformat/dashdec: reindent code for previous commit

2018-09-03 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 2a2d7455cd..854d7edc59 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1346,7 +1346,7 @@ static int64_t

[FFmpeg-devel] [PATCH] avformat/hlsenc: rename option from use_localtime to strftime

2018-09-02 Thread Steven Liu
fix ticket: 7393 indent option name to segment Signed-off-by: Steven Liu --- doc/muxers.texi | 26 -- libavformat/hlsenc.c | 22 ++ libavformat/version.h | 7 +-- 3 files changed, 35 insertions(+), 20 deletions(-) diff --git a/doc

Re: [FFmpeg-devel] [PATCH 8/8] avformat/dashdec: refine compute current fragment for presentation_timeoffset mode

2018-09-03 Thread Steven Liu
> On Sep 3, 2018, at 19:55, Carl Eugen Hoyos wrote: > > 2018-09-03 12:06 GMT+02:00, Steven Liu : >> use ((wallclock - availability_start_time) * timescale >> -presentation_timeoffset) / duration > > Please mention ticket #7382 if it is related. Ok, will mention ti

[FFmpeg-devel] [PATCH] avformat/utils: move mkdir_p to utils

2018-09-24 Thread Steven Liu
Because it will be used by avformat/segment.c or other module which need to automatically create sub-directories operation. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 37 ++--- libavformat/internal.h | 8 libavformat/utils.c| 34

Re: [FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-24 Thread Steven Liu
> On Sep 24, 2018, at 21:52, Pedro Arthur wrote: > > 2018-09-24 0:35 GMT-03:00 Steven Liu : > >> fix ticket: 7455 >> >> Signed-off-by: Steven Liu >> --- >> libavfilter/dnn_interface.c | 4 >> libavfilter/vf_sr.c | 7 ++-

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

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

[FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-23 Thread Steven Liu
fix ticket: 7455 Signed-off-by: Steven Liu --- libavfilter/dnn_interface.c | 4 libavfilter/vf_sr.c | 7 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libavfilter/dnn_interface.c b/libavfilter/dnn_interface.c index 78d7c5cf22..792c280c53 100644

Re: [FFmpeg-devel] [PATCH] avformat/utils: move mkdir_p to utils

2018-09-25 Thread Steven Liu
> On Sep 24, 2018, at 20:57, Steven Liu wrote: > > Because it will be used by avformat/segment.c or other module which > need to automatically create sub-directories operation. > > Signed-off-by: Steven Liu > --- > lib

Re: [FFmpeg-devel] [PATCH] avfilter/sr: process and output message when load_model is NULL

2018-09-25 Thread Steven Liu
> On Sep 24, 2018, at 22:00, Steven Liu wrote: > > > >> On Sep 24, 2018, at 21:52, Pedro Arthur wrote: >> >> 2018-09-24 0:35 GMT-03:00 Steven Liu : >> >>> fix ticket: 7455 >>> >>> Signed-off-by: Steven Liu >>&

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

2018-09-25 Thread Steven Liu
> On Sep 25, 2018, at 20:33, James Courtier-Dutton > wrote: > > On 25 September 2018 at 10:22, Moritz Barsnick wrote: > >> >> Steven already posted a patch proposal to this list, factoring out the >> function: >> https://patchwork.ffmpeg.org/patch/10471/ >>

[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

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

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

<    5   6   7   8   9   10   11   12   13   14   >