[FFmpeg-devel] [PATCH v2] avformat/hlsenc: merge fmp4 and mpegts segment type m3u8 list AVIOConext

2019-09-06 Thread Steven Liu
hlsenc has been merge fmp4 and mpegts workflow before so it can merge m3u8 list AVIOContext now. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index

[FFmpeg-devel] [PATCH] avformat/hlsenc: ffio_free_dyn_buf the oc->pb at hls_write_trailer

2019-09-09 Thread Steven Liu
fix memleak at hls_write_trailer Found-by: Andreas Rheinhardt 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 f881bb9d60..218bfb2cba 100644 --- a/libavformat/hlsenc.c +++ b/libavformat

Re: [FFmpeg-devel] [PATCH V1 1/4] lavf/hls: refine the log message

2019-09-13 Thread Steven Liu
> 在 2019年9月13日,19:53,Jun Zhao 写道: > > From: Jun Zhao > > refine the log message, it's will help the debugging > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c >

Re: [FFmpeg-devel] [PATCH v2 2/4] avformat/hlsenc: remove the unnecessary null pointer check

2019-09-16 Thread Steven Liu
> 在 2019年9月16日,20:06,Liu Steven 写道: > > > >> 在 2019年9月16日,下午7:25,lance.lmw...@gmail.com 写道: >> >> From: Limin Wang >> >> Reviewed-by: Liu Steven >> Signed-off-by: Limin Wang >> --- >> libavformat/hlsenc.c | 26 ++ >> 1 file changed, 2 insertions(+), 24

[FFmpeg-devel] [PATCH] avformat/hlsenc: print warning at the end when upload the last segment failed

2019-09-07 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f881bb9d60..10e90c3839 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2601,6 +2601,8 @@ static int hls_write_trailer(struct

[FFmpeg-devel] [PATCH] avformat/dashdec: add startNumber parser for segmentlist

2019-09-09 Thread Steven Liu
and get start_number for compute current segment number. fix ticket: 7976 Signed-off-by: Steven Liu --- libavformat/dashdec.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index a6f75514f6..4f725ba09a 100644

Re: [FFmpeg-devel] [PATCH V2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread Steven Liu
> 在 2019年9月14日,02:01,vectronic 写道: > > prevent attempt to call xmlFree if val was not allocated > > fixes: 8135 > Signed-off-by: vectronic > --- > libavformat/dashdec.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index

[FFmpeg-devel] [PATCH] fate: add hls_list_size fate test case

2019-07-30 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak| 11 + tests/ref/fate/hls-list-size | 618 +++ 2 files changed, 629 insertions(+) create mode 100644 tests/ref/fate/hls-list-size diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index

[FFmpeg-devel] [PATCH] FATE: add hls single file mode test case

2019-07-30 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak | 11 + tests/ref/fate/hls-segment-single | 772 ++ 2 files changed, 783 insertions(+) create mode 100644 tests/ref/fate/hls-segment-single diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak

[FFmpeg-devel] [PATCH] avformat/hlsenc: merge mpegts and fmp4 workflow to one workflow

2019-07-31 Thread Steven Liu
write mpegts or fmp4 context into buffer, and flush the buffer into output file when split fragment. merge two format split workflow into one workflow Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 207 --- 1 file changed, 95 insertions(+), 112

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: merge mpegts and fmp4 workflow to one workflow

2019-07-31 Thread Steven Liu
write mpegts or fmp4 context into buffer, and flush the buffer into output file when split fragment. merge two format split workflow into one workflow Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 200 --- 1 file changed, 92 insertions(+), 108

[FFmpeg-devel] [PATCH v4] avformat/hlsenc: merge mpegts and fmp4 workflow to one workflow

2019-08-04 Thread Steven Liu
just remove the 'i' of the v3 mail subject. write mpegts or fmp4 context into buffer, and flush the buffer into output file when split fragment. merge two format split workflow into one workflow Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 251

[FFmpeg-devel] [PATCH v3] iavformat/hlsenc: merge mpegts and fmp4 workflow to one workflow

2019-08-04 Thread Steven Liu
write mpegts or fmp4 context into buffer, and flush the buffer into output file when split fragment. merge two format split workflow into one workflow Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 251 +-- 1 file changed, 124 insertions(+), 127

Re: [FFmpeg-devel] [PATCH] libavfilter: Update derain filter doc.

2019-07-21 Thread Steven Liu
> 在 2019年7月21日,19:27,Xuewei Meng 写道: > > Add the usage of tensorflow model in derain filter. Training scripts > as well as scripts for tf/native model generation are provided in the > repository at https://github.com/XueweiMeng/derain_filter.git. > > Signed-off-by: Xuewei Meng > --- >

Re: [FFmpeg-devel] [PATCH V1 1/3] lavf/hls: remove redundancy reset_packet() after av_packet_unref()

2019-07-25 Thread Steven Liu
Jun Zhao 于2019年7月21日周日 下午10:55写道: > > From: Jun Zhao > > av_packet_unref have reseted the AVPacket, so don't need to call > reset_packet after that. > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c |4 > 1 files changed, 0 insertions(+), 4 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH V1 3/3] lavf/hls: replace the same code logic with ensure_playlist()

2019-07-25 Thread Steven Liu
Jun Zhao 于2019年7月21日周日 下午10:32写道: > > From: vacingfang > > Replace the same code logic with ensure_playlist(), it's will > help reusable blocks of code. > > Reviewed-by: Jun Zhao > Signed-off-by: vacingfang > --- > libavformat/hls.c | 10 +++--- > 1 files changed, 3 insertions(+), 7

[FFmpeg-devel] [PATCH] avformat/hlsenc: Fix overflow of int for durations compute

2019-07-24 Thread Steven Liu
Fix ticket: 8037 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 2ade6723f9..51310fb528 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2301,8 +2301,8

[FFmpeg-devel] [PATCH v2 02/14] avformat/udp: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/udp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index cf73d331e0..f4ec148a2f 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -274,7 +274,7 @@ static int

[FFmpeg-devel] [PATCH v2 13/14] avfilter/boxblur: add logging context to log

2019-10-02 Thread Steven Liu
Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- libavfilter/boxblur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/boxblur.c b/libavfilter/boxblur.c index 4534b456d9..2287396f2e 100644 --- a/libavfilter/boxblur.c +++ b/libavfilter/boxblur.c @@ -91,7

[FFmpeg-devel] [PATCH v2 11/14] avfilter/vf_crop: add logging context to log

2019-10-02 Thread Steven Liu
Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- libavfilter/vf_crop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 9fca7a7309..d6b4feb513 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -244,7

[FFmpeg-devel] [PATCH v2 10/14] avcodec/pngdec: add logging context to log

2019-10-02 Thread Steven Liu
Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 2d6c1b218e..d37dabcc4d 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -424,7 +424,7

[FFmpeg-devel] [PATCH v2 08/14] avcodec/mpegvideo_enc: add logging context to log

2019-10-02 Thread Steven Liu
Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- libavcodec/mpegvideo_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index ae3b131229..f12e603215 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec

[FFmpeg-devel] [PATCH v2 03/14] avformat/rtmpptoto: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index b741e421af..eb08d4d424 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2386,7 +2386,7 @@ static

[FFmpeg-devel] [PATCH v2 04/14] avformat/avidec: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/avidec.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index e3cd844169..1ca26968fa 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -117,8 +117,8 @@ static

[FFmpeg-devel] [PATCH v2 07/14] avformat/mms: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mms.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/mms.c b/libavformat/mms.c index 768fda6525..16babc0954 100644 --- a/libavformat/mms.c +++ b/libavformat/mms.c @@ -60,7 +60,7 @@ int

[FFmpeg-devel] [PATCH v2 01/14] avformat/hlsenc: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1f2bdfbe4d..ac46a82704 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1305,7 +1305,7 @@ static int

[FFmpeg-devel] [PATCH v2 12/14] avfilter/vf_scale_qsv: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_scale_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index 3cc05b64f3..1cf5367969 100644 --- a/libavfilter/vf_scale_qsv.c +++ b/libavfilter/vf_scale_qsv.c @@ -541,7

[FFmpeg-devel] [PATCH v2 06/14] avformat/mmst: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mmst.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/libavformat/mmst.c b/libavformat/mmst.c index a97c2e04a2..533cbe7698 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -141,7

[FFmpeg-devel] [PATCH v2 05/14] avformat/network: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/network.c b/libavformat/network.c index 5664455d18..0f5a575f77 100644 --- a/libavformat/network.c +++ b/libavformat/network.c @@ -238,7 +238,7 @@ int ff_accept

[FFmpeg-devel] [PATCH v2 14/14] avfilter/vf_pad: add logging context to log

2019-10-02 Thread Steven Liu
Reviewed-by: Paul B Mahol Signed-off-by: Steven Liu --- libavfilter/vf_pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index ed155578e1..186d3f028d 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -210,7 +210,7

[FFmpeg-devel] [PATCH v2 09/14] avcodec/videotoolbox: add logging context to log

2019-10-02 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/videotoolbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index e9b3370169..8773de3393 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -617,7 +617,7

[FFmpeg-devel] [PATCH v2] avformat/hls: support data protocol in uri for EXT-X-MAP

2019-09-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/file.c | 4 ++-- libavformat/hls.c | 13 - libavformat/http.c | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/libavformat/file.c b/libavformat/file.c index 08c7f8e6dd..8303436be0 100644 --- a/libavformat/file.c

[FFmpeg-devel] [PATCH] avformat/hls: support data protocol in uri for EXT-X-MAP

2019-09-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/file.c | 4 ++-- libavformat/hls.c | 12 ++-- libavformat/http.c | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/libavformat/file.c b/libavformat/file.c index 08c7f8e6dd..8303436be0 100644 --- a/libavformat/file.c +++ b

[FFmpeg-devel] [PATCH v1 05/14] avformat/network: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/network.c b/libavformat/network.c index 5664455d18..0f5a575f77 100644 --- a/libavformat/network.c +++ b/libavformat/network.c @@ -238,7 +238,7 @@ int ff_accept

[FFmpeg-devel] [PATCH v1 01/14] avformat/hlsenc: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 1f2bdfbe4d..ac46a82704 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1305,7 +1305,7 @@ static int

[FFmpeg-devel] [PATCH v1 08/14] avcodec/mpegvideo_enc: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/mpegvideo_enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index ae3b131229..f12e603215 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mpegvideo_enc.c @@ -165,7

[FFmpeg-devel] [PATCH v1 03/14] avformat/rtmpptoto: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index b741e421af..eb08d4d424 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2386,7 +2386,7 @@ static

[FFmpeg-devel] [PATCH v1 06/14] avformat/mmst: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mmst.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/libavformat/mmst.c b/libavformat/mmst.c index a97c2e04a2..533cbe7698 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -141,7

[FFmpeg-devel] [PATCH v1 09/14] avcodec/videotoolbox: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/videotoolbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index e9b3370169..8773de3393 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -617,7 +617,7

[FFmpeg-devel] [PATCH v1 13/14] avfilter/boxblur: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/boxblur.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/boxblur.c b/libavfilter/boxblur.c index 4534b456d9..2287396f2e 100644 --- a/libavfilter/boxblur.c +++ b/libavfilter/boxblur.c @@ -91,7 +91,7 @@ int

[FFmpeg-devel] [PATCH v1 10/14] avcodec/pngdec: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/pngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 2d6c1b218e..d37dabcc4d 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -424,7 +424,7 @@ static int png_decode_idat

[FFmpeg-devel] [PATCH v1 11/14] avfilter/vf_crop: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_crop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 9fca7a7309..d6b4feb513 100644 --- a/libavfilter/vf_crop.c +++ b/libavfilter/vf_crop.c @@ -244,7 +244,7 @@ static int

[FFmpeg-devel] [PATCH v1 12/14] avfilter/vf_scale_qsv: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_scale_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index 3cc05b64f3..1cf5367969 100644 --- a/libavfilter/vf_scale_qsv.c +++ b/libavfilter/vf_scale_qsv.c @@ -541,7

[FFmpeg-devel] [PATCH v1 02/14] avformat/udp: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/udp.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index cf73d331e0..f4ec148a2f 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -274,7 +274,7 @@ static int

[FFmpeg-devel] [PATCH v1 07/14] avformat/mms: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mms.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/mms.c b/libavformat/mms.c index 768fda6525..16babc0954 100644 --- a/libavformat/mms.c +++ b/libavformat/mms.c @@ -60,7 +60,7 @@ int

[FFmpeg-devel] [PATCH v1 04/14] avformat/avidec: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/avidec.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index e3cd844169..a492b3d037 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -117,7 +117,7 @@ static

[FFmpeg-devel] [PATCH v1 14/14] avfilter/vf_pad: add logging context to log

2019-09-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_pad.c b/libavfilter/vf_pad.c index ed155578e1..186d3f028d 100644 --- a/libavfilter/vf_pad.c +++ b/libavfilter/vf_pad.c @@ -210,7 +210,7 @@ static int config_input

[FFmpeg-devel] [PATCH 3/3] avutil/hwcontext_vaapi: move kernel_driver into CONFIG_LIBDRM

2019-06-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavutil/hwcontext_vaapi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c index 4227c3c090..cf117640f2 100644 --- a/libavutil/hwcontext_vaapi.c +++ b/libavutil/hwcontext_vaapi.c

[FFmpeg-devel] [PATCH 2/3] avcodec/videotoolboxenc: remove unused variable

2019-06-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/videotoolboxenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 3665581283..67faca4751 100644 --- a/libavcodec/videotoolboxenc.c +++ b/libavcodec/videotoolboxenc.c @@ -2395,8 +2395,6

[FFmpeg-devel] [PATCH 1/3] avcodec/cfhd: remove unused function

2019-06-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/cfhd.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334b9b..616f5af193 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -136,20 +136,6 @@ static inline void peak_table(int16_t

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hlsenc: Update suboption for hls_playlist_type

2019-06-16 Thread Steven Liu
> 在 2019年6月16日,19:42,Jun Zhao 写道: > > From: Jun Zhao > > Update suboption for hls_playlist_type > > Signed-off-by: Jun Zhao > --- > libavformat/hlsenc.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index

[FFmpeg-devel] [PATCH] avformat/dashdec: set the parent of represenation

2019-07-10 Thread Steven Liu
and get the current sequence number after refresh playlist Signed-off-by: Steven Liu --- libavformat/dashdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 9364718c15..aa9f1726c9 100644 --- a/libavformat/dashdec.c +++ b/libavformat

Re: [FFmpeg-devel] [PATCH] doc: fix typo in muxers documentation

2019-10-30 Thread Steven Liu
> 在 2019年10月30日,17:51,Alfred E. Heggestad 写道: > > Signed-off-by: Alfred E. Heggestad > --- > doc/muxers.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index 4c88b5daec..09ded7d48a 100644 > --- a/doc/muxers.texi > +++

Re: [FFmpeg-devel] [PATCH] avformat/hls: Set AVFMT_TS_DISCONT flag on HLS input format

2019-10-30 Thread Steven Liu
> 在 2019年10月30日,09:05,Dennis Mungai 写道: > > On Tue, 29 Oct 2019 at 06:07, Steven Liu wrote: >> >> >> >>> 在 2019年10月29日,01:09,Dennis Mungai 写道: >>> >>> On Mon, 28 Oct 2019 at 05:45, Steven Liu wrote: >>>> >>>>

Re: [FFmpeg-devel] [PATCH] doc: fix typo in muxers documentation

2019-10-30 Thread Steven Liu
> 在 2019年10月30日,17:55,Paul B Mahol 写道: > > Can not be applied, patch is corrupted. Yes liuqideMBP:ffmpeg_up liuqi$ git am ~/Downloads/FFmpeg-devel-doc-fix-typo-in-muxers-documentation.patch Applying: doc: fix typo in muxers documentation .git/rebase-apply/patch:16: trailing whitespace.

Re: [FFmpeg-devel] [PATCH] Support for zulu timezone format for PDT in HLS playlists

2019-11-03 Thread Steven Liu
;'0' || buf1[1]>'2') { > > There seems to be an operator precedence issue here. > > Other than that looks good, but Steven Liu is the maintainer of hls. Looks ok too. > > Regards, > Marton > ___ > ffmpeg-devel mailing list &g

Re: [FFmpeg-devel] [PATCH V1] lavf/dashdec: drop unnecessary check before ff_format_io_close

2019-11-03 Thread Steven Liu
> 在 2019年11月4日,10:31,myp...@gmail.com 写道: > > On Tue, Sep 24, 2019 at 12:41 AM Jun Zhao wrote: > >> From: Jun Zhao >> >> ff_format_io_close will check the AVIOContext pointer pb, so drop >> the unnecessary check before ff_format_io_close. >> >> Signed-off-by: Jun Zhao >> --- >>

Re: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-08 Thread Steven Liu
> 在 2019年11月8日,10:32,Fu, Linjie 写道: > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Steven Liu >> Sent: Friday, November 8, 2019 06:50 >> To: ffmpeg-devel@ffmpeg.org >> Cc: Steven Liu >> Subject: [FFmpeg-devel] [PATCH]

[FFmpeg-devel] [PATCH] doc/filters: fix overlay_opencl document typo

2019-11-01 Thread Steven Liu
Reported-by: Yabo Wei 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 9d387be1f5..a6ff5037a6 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -20503,7 +20503,7 @@ Set the x

Re: [FFmpeg-devel] [PATCH] doc/filters: fix overlay_opencl document typo

2019-11-01 Thread Steven Liu
> 在 2019年11月1日,17:10,Gyan 写道: > > > > On 01-11-2019 02:15 PM, Steven Liu wrote: >> Reported-by: Yabo Wei >> Signed-off-by: Steven Liu >> --- >> doc/filters.texi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >>

Re: [FFmpeg-devel] Reimbursement request

2019-10-30 Thread Steven Liu
> 在 2019年10月31日,04:25,Carl Eugen Hoyos 写道: > > Hi! > > I am requesting reimbursement for my travel to the Google mentor summit. > My total travelling expenses were € 90,90 > > Thank you, Carl Eugen > ___ > ffmpeg-devel mailing list >

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/hlsenc: fix the av_dirname path isn't include separator in the end of string

2019-10-31 Thread Steven Liu
> 在 2019年10月31日,14:01,Limin Wang 写道: > > > > ping, please help to push the patch, it'll fix ticket #8348 although I have > sumit the fix long > time ago after Miachel report it. Waiting that reporter test it, i will push it if test passed. > > > On Wed, Oct 23, 2019 at 11:55:15PM +0800,

Re: [FFmpeg-devel] [PATCH] Support for zulu timezone format for PDT in HLS playlists

2019-11-14 Thread Steven Liu
buf1[1]<'0' || buf1[1]>'2') { > > There seems to be an operator precedence issue here. > > Other than that looks good, but Steven Liu is the maintainer of hls. > > Regards, > Marton > ___ > ffmpeg-devel mail

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-17 Thread Steven Liu
> 在 2019年11月18日,14:56,Tom Gaudasiński 写道: > > I'm trying to set a read timeout for a http/https stream through the > API. Currently I'm passing... > > av_dict_set(, "timeout", "10", 0); > > ... to avformat_open_input(). > > This appears to not work once the connection has been

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
ll, so that it > returns immediately when I need it to, but av_read_frame appears to > reconnect internally. Ah, maybe i get your point, do you mean you don’t like the hls always retry get the m3u8 list when the last segment don’t update living mode? > > > On 18/11/19 6:02 pm, Steven Liu

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
ion: Is there a way I can tell > ffmpeg to terminate? Like, closing its sockets, or something like that? > This is all from another thread. Just append an “#EXT-X-ENDLIST” into the m3u8 list is ok. > > > On 18/11/19 7:06 pm, Steven Liu wrote: >> >>> 在 2019年11

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
ase: https://patchwork.ffmpeg.org/patch/16316/ > > > On 18/11/19 8:00 pm, Steven Liu wrote: >> >>> 在 2019年11月18日,16:44,Tom Gaudasiński 写道: >>> >>> That would probably work in the one case where it's looking at the next >>> entry in the list.

[FFmpeg-devel] [PATCH] avformat/hls: add option for the m3u8 list load max times

2019-11-18 Thread Steven Liu
set max times for load m3u8 when the m3u8 list refresh do not with new segments any times. Signed-off-by: Steven Liu --- doc/demuxers.texi | 4 libavformat/hls.c | 17 + 2 files changed, 21 insertions(+) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index fe766a5de7

Re: [FFmpeg-devel] [PATCH] avformat/hls: add option for the m3u8 list load max times

2019-11-18 Thread Steven Liu
> 在 2019年11月18日,17:42,Steven Liu 写道: > > set max times for load m3u8 when the m3u8 list refresh do not with new > segments any times. "do not with" will modify to “without" > > Signed-off-by: Steven Liu > --- > doc/demuxers.texi | 4 > libavfor

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
ormat/aviobuf.c:538 > #22 0x705a697f in fill_buffer (s=0x7fffc0006700) at > libavformat/aviobuf.c:587 > #23 0x705a5f45 in avio_feof (s=0x7fffc0006700) at > libavformat/aviobuf.c:367 > #24 0x705fa878 in hls_read_packet (s=0x7fffcc80, > pkt=0x7fffc0015a80) at libavfor

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
> 在 2019年11月18日,18:16,Steven Liu 写道: > > > >> 在 2019年11月18日,17:58,Tom Gaudasiński 写道: >> > hls can hold to option after the patch: > > rw_timeout > -rw_timeout ED Timeout for IO operations (in > microseconds) (from 0 to I64_M

Re: [FFmpeg-devel] TCP timeout for HTTP/HTTPS connections.

2019-11-18 Thread Steven Liu
ruptCB maybe ok if that is blocking. But is dose not useful if it always refresh m3u8. > > > > On 18/11/19 7:36 pm, Steven Liu wrote: >> >>> 在 2019年11月18日,16:11,Tom Gaudasiński 写道: >>> >>> I essentially have a thread that I need to have exit immediately. I >

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-12 Thread Steven Liu
> 在 2019年11月12日,15:51,Jun Zhao 写道: > > From: Jun Zhao > > add superfastblur filter > > Signed-off-by: Jun Zhao > --- > doc/filters.texi | 15 ++ > libavfilter/Makefile |1 + > libavfilter/allfilters.c |1 + > libavfilter/vf_superfastblur.c | 275

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-12 Thread Steven Liu
> 在 2019年11月13日,09:02,myp...@gmail.com 写道: > > On Wed, Nov 13, 2019 at 7:24 AM Paul B Mahol wrote: >> >> On 11/13/19, Michael Niedermayer wrote: >>> On Tue, Nov 12, 2019 at 12:48:09PM +0100, Paul B Mahol wrote: If this filter is same speed or better than boxblur, it should replace

[FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-07 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/mlvdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c index 68ca2c5e1c..3b4cb6befd 100644 --- a/libavformat/mlvdec.c +++ b/libavformat/mlvdec.c @@ -462,7 +462,6 @@ static int read_close(AVFormatContext *s

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-08 Thread Steven Liu
> 在 2019年11月8日,11:58,manuelyuan 写道: > > I have try to make fate again and it still works, I do not know why it breaks > fate-binsub-movtextenc on your side > My steps are: > 1、./configure > 2、make fate > If I'm wrong, what should I do? ./configure need add one parameter:

Re: [FFmpeg-devel] [PATCH v1] avfilter/f_metadata: remove unneeded code

2019-11-08 Thread Steven Liu
> 在 2019年11月8日,19:26,Limin Wang 写道: > > On Thu, Oct 10, 2019 at 02:07:13PM +0800, Steven Liu wrote: >> >> >>> 在 2019年10月10日,14:03,lance.lmw...@gmail.com 写道: >>> >>> From: Limin Wang >>> >>> Signed-off-by: Limin Wang &

[FFmpeg-devel] [PATCH] avformat/cache: rename the class name fro Cache to cache

2019-12-04 Thread Steven Liu
the cache AVOptions after patch. Signed-off-by: Steven Liu --- libavformat/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/cache.c b/libavformat/cache.c index 3425be9350..09e5d5f832 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -326,7 +326,7

Re: [FFmpeg-devel] [PATCH 02/16] avformat/hlsenc: Fix typo in error message

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/hlsenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 2b87070d62..965c05c560 100644 > ---

Re: [FFmpeg-devel] [PATCH 01/16] avformat/hlsenc: Fix leak of child AVFormatContext

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Before ed897633, the hls muxer would free its child AVFormatContexts > and reset the pointer to these contexts to NULL immediately afterwards; > ed897633 moved the former to later (into a separate function), but kept > the resetting, ensuring

Re: [FFmpeg-devel] [PATCH 11/16] avformat/hlsenc: Fix memleaks with repeating parameters

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > When a parameter like e.g. language is contained more than once in the > part of var_stream_map pertaining to a single VariantStream, the later > one just overwrites the pointer to the earlier one, leading to a > memleak. This commit changes

Re: [FFmpeg-devel] [PATCH 10/16] avformat/hlsenc: Fix return value from localtime_r failure

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > "If an error is detected, localtime_r() shall return a null pointer > and set errno to indicate the error." Yet in case this happened in > hls_init(), AVERROR(ENOMEM) has been returned. > > Signed-off-by: Andreas Rheinhardt > --- >

Re: [FFmpeg-devel] [PATCH 06/16] avformat/hlsenc: Use smaller scope for some variables

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Several variables which are only used when the HLS_SINGLE_FILE bit is > not set have nevertheless been set regardless of whether this bit is set. > This has been changed; futhermore, these variables have been moved into > a smaller scope. > >

Re: [FFmpeg-devel] [PATCH 12/16] avformat/hlsenc: Unconditionally free some strings

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > hls_init() would at first allocate the vtt_basename string, then > allocate the vtt_m3u8_name string followed by several operations that > may fail and then open the subtitles' output context. Yet upon freeing, > these strings were only freed

Re: [FFmpeg-devel] [PATCH 13/16] avformat/hlsenc: Fix check for presence of webvtt muxer

2019-12-15 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/hlsenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index d738b08a3f..c612c3bbb8 100644 > ---

Re: [FFmpeg-devel] [PATCH] avformat/hls: Set AVFMT_TS_DISCONT flag on HLS input format

2019-10-27 Thread Steven Liu
> 在 2019年10月28日,02:39,Philip Langdale 写道: > > There have been many reports over the years about problems when > taking an HLS stream as input to `ffmpeg` where there are timestamp > discontinuities present. This is explicitly supported in the > HLS spec (EXT-X-DISCONTINUITY) and often used for

Re: [FFmpeg-devel] [PATCH] avformat/hls: Set AVFMT_TS_DISCONT flag on HLS input format

2019-10-28 Thread Steven Liu
> 在 2019年10月29日,01:09,Dennis Mungai 写道: > > On Mon, 28 Oct 2019 at 05:45, Steven Liu wrote: >> >> >> >>> 在 2019年10月28日,02:39,Philip Langdale 写道: >>> >>> There have been many reports over the years about problems when >>> taki

[FFmpeg-devel] Reimbursement request

2019-10-29 Thread Steven Liu
Hi, I'm requesting the reimbursement of travel expenses for the Google Mentor Summit. I mentored the Derain project, more details can be found in [1]. Flight (CNY) ¥ 7062.00 One night hotel (CNY) ¥ 632.00 Total (CNY) ¥ 7694.00 Total (USD) ≈$ 1089.54 CNY to USD

Re: [FFmpeg-devel] [PATCH] examples: set GOP size to 10 seconds

2019-10-29 Thread Steven Liu
> 在 2019年10月29日,17:25,Alfred E. Heggestad 写道: > > using a gop_size of 10 in the example code is very misleading. > in practice this means around 2 keyframes per second. > > a normal video encoder should not send keyframes so frequent, > a better interval is 10 seconds. 10 seconds is too

Re: [FFmpeg-devel] [PATCH] examples: set GOP size to 10 seconds

2019-10-29 Thread Steven Liu
Alfred E. Heggestad 于2019年10月29日周二 下午6:08写道: > > On 29/10/2019 10:34, Steven Liu wrote: > > > > > >> 在 2019年10月29日,17:25,Alfred E. Heggestad 写道: > >> > >> using a gop_size of 10 in the example code is very misleading. > >> in practice this m

Re: [FFmpeg-devel] [PATCH] Support for zulu timezone format for PDT in HLS playlists

2019-10-22 Thread Steven Liu
> 在 2019年10月22日,18:37,Ole Andre Birkedal 写道: > > Some HLS players prefer UTC+0 timestamps in PROGRAM-DATE-TIME to end in a Z > instead of +, this patch adds a hlsflag to enable that feature. > > Example command: > ffmpeg -i input.mp4 -c copy -hls_flags +program_date_time+zulu_timezone >

[FFmpeg-devel] [PATCH] avformat/hlsenc: set strict_std_compliance from the parent AVFormatContext

2019-11-20 Thread Steven Liu
fix ticket: 8388 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 013e91ad88..24c102f570 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -782,6 +782,7 @@ static int

[FFmpeg-devel] [PATCH] avformat/udp: modify the not write-only to read-only mode.

2019-11-25 Thread Steven Liu
0001-avformat-udp-modify-the-not-write-only-to-read-only-.patch Description: Binary data Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

[FFmpeg-devel] [PATCH 2/2] cmdutils: add show_help_protocol for get protocol options

2019-11-26 Thread Steven Liu
Signed-off-by: Steven Liu --- fftools/cmdutils.c | 18 ++ fftools/ffmpeg_opt.c | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 84f98b7c04..e0516296d5 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c

[FFmpeg-devel] [PATCH 1/2] avformat/avio: add av_urlcontext_get_class_by_name

2019-11-26 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/APIchanges | 3 +++ libavformat/avio.h | 8 libavformat/protocols.c | 10 ++ libavformat/version.h | 2 +- 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 401c65a753

[FFmpeg-devel] avformat/udp: modify the not write-only to read-only mode.

2019-11-25 Thread Steven Liu
0001-avformat-udp-modify-the-not-write-only-to-read-only-.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

[FFmpeg-devel] [PATCH] doc/demuxers: correct grammatical errors of m3u8_hold_counters option

2019-11-24 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/demuxers.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4e1a5cb6aa..94759fa839 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -332,7 +332,7 @@ Maximum number of times a insufficient

Re: [FFmpeg-devel] [PATCH v1] doc/demuxers: Fix typo in help text

2019-11-25 Thread Steven Liu
Rodney Baker 于 2019年11月25日周一 下午4:32写道: > On Monday, 25 November 2019 17:03:15 ACDT Steven Liu wrote: > > > 在 2019年11月25日,13:57,Gyan 写道: > > > > > > On 25-11-2019 10:50 am, lance.lmw...@gmail.com wrote: > > >> From: Limin Wang > > >> >

Re: [FFmpeg-devel] [PATCH v1] doc/demuxers: Fix typo in help text

2019-11-24 Thread Steven Liu
> 在 2019年11月25日,13:57,Gyan 写道: > > > > On 25-11-2019 10:50 am, lance.lmw...@gmail.com wrote: >> From: Limin Wang >> >> dose -> does >> >> Signed-off-by: Limin Wang >> --- >> doc/demuxers.texi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/doc/demuxers.texi

[FFmpeg-devel] [PATCH v2] doc/demuxers: correct grammatical errors of m3u8_hold_counters option

2019-11-26 Thread Steven Liu
Suggested-by: Rodney Baker Signed-off-by: Steven Liu --- doc/demuxers.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4e1a5cb6aa..0d13bdd1b3 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -332,7 +332,7 @@ Maximum

<    7   8   9   10   11   12   13   14   15   16   >