Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: temp_file usage for master playlist and vtt playlist

2019-06-27 Thread Steven Liu
> 在 2019年6月28日,04:36,Bodecs Bela 写道: > > ping Wait, i’m testing it. > > 2019.06.24. 18:01 keltezéssel, Bodecs Bela írta: >> Dear All, >> >> currently master playlist and subtitle playlist creation does not use >> temporary files even when temp_file flag is set. Most of the use cases >> it is

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

2019-06-27 Thread Steven Liu
> 在 2019年6月28日,04:25,Reimar Döffinger 写道: > > On 27.06.2019, at 17:35, Vittorio Giovara wrote: > >> On Thu, Jun 27, 2019 at 9:44 AM Nicolas George wrote: >> >>> Kieran Kunhya (12019-06-27): I'm happy to do it now that I am aware of the issue. I will do it when I >>> am at home in

[FFmpeg-devel] [PATCH v2] avcodec/cfhd: fix compiling warning message and leave the code

2019-06-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavcodec/cfhd.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 846d334b9b..1e2ab28dfb 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -136,6 +136,11 @@ static inline void peak_table

Re: [FFmpeg-devel] [PATCH] dashdec: Fix reading values from SegmentTimeline inside, Period

2019-06-28 Thread Steven Liu
> 在 2019年6月29日,07:03,Stefan _ 写道: > > Hi, > > attached patch fixes a small oversight in dashdec. > > YouTube uses DASH manifests structured like this for live recordings, > seeking is currently broken in those cases. > > <0001-dashdec-Fix-reading-values-from-SegmentTimeline-insi.patch>_

Re: [FFmpeg-devel] [PATCH v10 1/2] lavf/vf_transpose: add exif orientation support

2019-06-29 Thread Steven Liu
> 在 2019年6月26日,19:32,Steven Liu 写道: > > Jun Li 于2019年6月25日周二 上午9:26写道: >> >> On Mon, Jun 17, 2019 at 5:31 PM Jun Li wrote: >> >>> >>> >>> On Sat, Jun 15, 2019 at 7:09 PM Jun Li wrote: >>> >>>> >>>>

[FFmpeg-devel] [PATCH] avformat/http: add string of the error when only return error number

2019-07-01 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 5a937994cf..1ee4d5189c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1638,7 +1638,7 @@ static int http_shutdown

[FFmpeg-devel] [PATCH] avformat/http: change error message from numeric code to string

2019-07-01 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 5a937994cf..f687dc3ae2 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1638,7 +1638,7 @@ static int http_shutdown

[FFmpeg-devel] [PATCH v2] avformat/http: change error message from numeric code to string

2019-07-01 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 5a937994cf..579debcd35 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1638,7 +1638,7 @@ static int http_shutdown

[FFmpeg-devel] [PATCH] fate: add hls_init_time option fate

2019-07-01 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak| 11 ++ tests/ref/fate/hls-init-time | 313 +++ 2 files changed, 324 insertions(+) create mode 100644 tests/ref/fate/hls-init-time diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index

[FFmpeg-devel] [PATCH] avformat/hlsenc: use one handler for m3u8 and segments

2019-07-02 Thread Steven Liu
Use one handler for m3u8 and segments. Use two handler in byterange mode. Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 39 --- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 057134f410

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

2019-07-02 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

Re: [FFmpeg-devel] [PATCH V2 1/2] doc/muxers: fix and update docs for HLS muxer

2019-07-04 Thread Steven Liu
> 在 2019年7月4日,下午7:35,Gyan 写道: > > > >> On 04-07-2019 03:50 PM, Liu Steven wrote: >> >>> 在 2019年7月4日,下午6:15,Gyan 写道: >>> >>> >>> >>> On 04-07-2019 02:37 PM, Liu Steven wrote: > 在 2019年7月4日,下午4:49,Gyan 写道: > > > >> On 28-06-2019 08:36 PM, Jun Zhao wrote: >> From

[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

[FFmpeg-devel] [PATCH] avformat/hlsenc: use old way for fragment mp4 in HLS PUT method

2019-07-13 Thread Steven Liu
fix ticket: 8015 Reported-by: Jun Zhao Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 4abc728a89..2ade6723f9 100644 --- a/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH] fate: add hls fmp4 segment type test case

2019-07-13 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak | 12 +++ tests/ref/fate/hls-fmp4 | 198 2 files changed, 210 insertions(+) create mode 100644 tests/ref/fate/hls-fmp4 diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index

[FFmpeg-devel] [PATCH v2] fate: add hls fmp4 segment type test case

2019-07-13 Thread Steven Liu
Signed-off-by: Steven Liu --- tests/fate/hlsenc.mak | 12 +++ tests/ref/fate/hls-fmp4 | 198 2 files changed, 210 insertions(+) create mode 100644 tests/ref/fate/hls-fmp4 diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak index

Re: [FFmpeg-devel] [PATCH] fate: add hls fmp4 segment type test case

2019-07-13 Thread Steven Liu
Marton Balint 于2019年7月14日周日 上午2:02写道: > > > > On Sat, 13 Jul 2019, Steven Liu wrote: > > > Signed-off-by: Steven Liu > > --- > > tests/fate/hlsenc.mak | 12 +++ > > tests/ref/fate/hls-fmp4 | 198 > > +++

Re: [FFmpeg-devel] [PATCH v2] fate: add hls fmp4 segment type test case

2019-07-15 Thread Steven Liu
> 在 2019年7月15日,03:27,Michael Niedermayer 写道: > > On Sun, Jul 14, 2019 at 06:41:28AM +0800, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> tests/fate/hlsenc.mak | 12 +++ >> tests/ref/fate/hls-fmp4 | 198 >> +

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

[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

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

2019-07-24 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 a/libavformat

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

2019-07-24 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 dele

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

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

2019-08-02 Thread Steven Liu
> 在 2019年8月2日,22:46,Ian Klassen 写道: > > On Fri, Aug 2, 2019 at 5:46 AM Michael Niedermayer > wrote: > >> On Wed, Jul 31, 2019 at 04:07:22PM +0800, Steven Liu wrote: >>> write mpegts or fmp4 context into buffer, and flush the buffer into >>> output fil

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

2019-08-02 Thread Steven Liu
> 在 2019年8月2日,18:46,Michael Niedermayer 写道: > > On Wed, Jul 31, 2019 at 04:07:22PM +0800, Steven Liu wrote: >> write mpegts or fmp4 context into buffer, and flush the buffer into >> output file when split fragment. merge two format split workflow into >> one wo

Re: [FFmpeg-devel] [PATCH V1] lavf/showinfo: support mastering display sidedata

2019-08-04 Thread Steven Liu
> 在 2019年8月4日,18:30,Jun Zhao 写道: > > From: Jun Zhao > > support mastering display sidedata. > > Signed-off-by: Jun Zhao > --- > libavfilter/vf_showinfo.c | 30 ++ > 1 files changed, 30 insertions(+), 0 deletions(-) > > diff --git a/libavfilter/vf_showinfo.c b/l

[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

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

Re: [FFmpeg-devel] [PATCH v2 1/2] lavf/dump: use error log level for invalid size

2019-08-11 Thread Steven Liu
> 在 2019年8月10日,23:53,lance.lmw...@gmail.com 写道: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/dump.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/libavformat/dump.c b/libavformat/dump.c > index 1c44656..68ce9a8 100644 > --- a/l

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/avio: add a ffio_realloc_buf API for AVIO buffer realloc

2019-08-11 Thread Steven Liu
> 在 2019年8月8日,19:32,Jun Zhao 写道: > > From: tomajsjiang > > Add new API ffio_realloc_buf for AVIO buffer realloc. > > Signed-off-by: Zhongxing Jiang > --- > libavformat/avio_internal.h |9 + > libavformat/aviobuf.c | 31 +++ > 2 files changed, 40

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/avio: add a ffio_realloc_buf API for AVIO buffer realloc

2019-08-12 Thread Steven Liu
> 在 2019年8月12日,20:29,myp...@gmail.com 写道: > > On Sun, Aug 11, 2019 at 4:43 PM Steven Liu wrote: >> >> >> >>> 在 2019年8月8日,19:32,Jun Zhao 写道: >>> >>> From: tomajsjiang >>> >>> Add new API ffio_real

[FFmpeg-devel] [PATCH v1 3/3] avformat/hlsenc: remove unused value

2019-08-20 Thread Steven Liu
CID: 1452644 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 689e29edcc..6b0f49c3b7 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2786,7 +2786,6 @@ static int hls_init

[FFmpeg-devel] [PATCH v1 1/3] avformat/hlsenc: fix memleak in hls_write_trailer

2019-08-20 Thread Steven Liu
fix CID: 1426931 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 836e290eea..fbc6554b97 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2539,6 +2539,7 @@ static int

[FFmpeg-devel] [PATCH v1 2/3] avformat/hlsenc: fix memleak of filename

2019-08-20 Thread Steven Liu
CID: 1452445 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index fbc6554b97..689e29edcc 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2580,9 +2580,8 @@ static

[FFmpeg-devel] [PATCH 2/2] doc/examples/decode_video: add input file format information for usage

2019-08-21 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/examples/decode_video.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/examples/decode_video.c b/doc/examples/decode_video.c index 5a9d43f689..169188a4b9 100644 --- a/doc/examples/decode_video.c +++ b/doc/examples/decode_video.c

[FFmpeg-devel] [PATCH 1/2] doc/examples/decode_audio: print message about how to play the output file

2019-08-21 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/examples/decode_audio.c | 51 + 1 file changed, 51 insertions(+) diff --git a/doc/examples/decode_audio.c b/doc/examples/decode_audio.c index 19dcafd2c8..23d0c9bf50 100644 --- a/doc/examples/decode_audio.c +++ b/doc/examples

[FFmpeg-devel] [PATCH] avformat/hlsenc: reopen new http session for http_persistent when upload file failed

2019-08-23 Thread Steven Liu
fix ticket: 7975 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 67 ++-- 1 file changed, 54 insertions(+), 13 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 18173cdce1..26e0f3819b 100644 --- a/libavformat

[FFmpeg-devel] [PATCH 1/2] avformat/http: add ff_http_get_shutdown_status api for check the status of shutdown

2019-08-25 Thread Steven Liu
this function is used to get the previous shutdown status when reusing the old connection in block mode. Signed-off-by: Steven Liu --- libavformat/http.c | 16 libavformat/http.h | 9 + 2 files changed, 25 insertions(+) diff --git a/libavformat/http.c b/libavformat

[FFmpeg-devel] [PATCH 2/2] avformat/hlsenc: reopen new http session for http_persistent when upload file failed

2019-08-25 Thread Steven Liu
fix ticket: 7975 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 66 ++-- 1 file changed, 54 insertions(+), 12 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 18173cdce1..a4cb832766 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH 2/2] avformat/hlsenc: reopen new http session for http_persistent when upload file failed

2019-08-25 Thread Steven Liu
> 在 2019年8月25日,22:53,Steven Liu 写道: > > fix ticket: 7975 > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 66 ++-- > 1 file changed, 54 insertions(+), 12 deletions(-) > > diff --git a/libavformat/h

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: reopen new http session for http_persistent when upload file failed

2019-08-25 Thread Steven Liu
> 在 2019年8月23日,22:12,Ian Klassen 写道: > > On Fri, Aug 23, 2019 at 2:06 AM Steven Liu wrote: > >> fix ticket: 7975 >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 67 >> ++-- &

[FFmpeg-devel] [PATCH] avfilter/vf_delogo: support expr in delogo filter

2019-08-26 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_delogo.c | 72 ++--- 1 file changed, 68 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 065d093641..b50699fb4d 100644 --- a/libavfilter/vf_delogo.c +++ b

[FFmpeg-devel] [PATCH v2] avfilter/vf_delogo: support expr in delogo filter

2019-08-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_delogo.c | 72 ++--- 1 file changed, 68 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 065d093641..cbc7e87a1c 100644 --- a/libavfilter/vf_delogo.c +++ b

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_delogo: support expr in delogo filter

2019-08-27 Thread Steven Liu
> 在 2019年8月27日,23:29,Limin Wang 写道: > > On Tue, Aug 27, 2019 at 03:17:09PM +0800, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> libavfilter/vf_delogo.c | 72 ++--- >> 1 file changed, 68 insertions(+), 4 deletions(-

[FFmpeg-devel] [PATCH v3] avfilter/vf_delogo: support expr in delogo filter

2019-08-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/vf_delogo.c | 83 ++--- 1 file changed, 79 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 065d093641..5323603ddb 100644 --- a/libavfilter/vf_delogo.c +++ b

Re: [FFmpeg-devel] [PATCH v1] lavf/hlsenc: refine the get_relative_url function to avoid extra malloc for relation path

2019-08-27 Thread Steven Liu
Limin Wang 于2019年8月27日周二 下午10:40写道: > > > ping, I have tested with below command and check the m3u8 is ok: > > ./ffmpeg -threads 4 -vsync 1 -i ~/Movies/1.mp4 -r 25 \ > -b:v:0 5250k -c:v h264 -pix_fmt yuv420p -profile:v main -level 4.1 \ > -b:v:1 4200k -c:v h264 -pix_fmt yuv420p -profile:v main -

[FFmpeg-devel] [PATCH] avformat/dashdec: start from the root uri when baseURL is start with '/'

2019-08-29 Thread Steven Liu
fix ticket: 8097 Signed-off-by: Steven Liu --- libavformat/dashdec.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index f82a750d6f..a6f75514f6 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c

[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

[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

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] avfilter/buffersink.h: fix comment typo of av_buffersink_get_samples

2018-09-12 Thread Steven Liu
Signed-off-by: Steven Liu --- libavfilter/buffersink.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/buffersink.h b/libavfilter/buffersink.h index 21d6bb505b..3c846bb527 100644 --- a/libavfilter/buffersink.h +++ b/libavfilter/buffersink.h @@ -151,7 +151,7 @@ int

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

[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] 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/ >> http://ffmpeg.org/pipermail/ffmpe

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

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[0/4]

2018-09-26 Thread Steven Liu
ed > 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-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, the

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 y

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 Court

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

2018-09-26 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
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 1/3] Fix computation of vs->start_pos

2018-09-27 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-27 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] 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 B

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

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

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

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

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 dele

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

[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

[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

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

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 > +++ b/libavfor

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

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 b/doc/mu

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

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 > --- a/libavcodec/libdav

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Fix initial setting for start_pts

2020-03-05 Thread Steven Liu
> 2020年3月5日 下午9:41,Hongcheng Zhong 写道: > > This patch fixes Bug #8469 > If x264 baseline profile is used with other profiles, > start_pts will be initialized to audio stream's first pts, > while the duration is calculated based on video stream's pts. > In this patch the start_pts is initialized

[FFmpeg-devel] [PATCH] avformat/hlsenc: set the options when open the key info files

2020-03-06 Thread Steven Liu
make the options same as segments for the http put method Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f6dd894343..88062ac536 100644 --- a/libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: Fix initial setting for start_pts

2020-03-06 Thread Steven Liu
> 2020年3月6日 上午11:58,Hongcheng Zhong 写道: > > This patch fixes Bug #8469 > If x264 baseline profile is used with other profiles, > start_pts will be initialized to audio stream's first pts, > while the duration is calculated based on video stream's pts. > In this patch the start_pts is initialize

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