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

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

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: --samples=fate-suite/

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]

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 b

[FFmpeg-devel] [PATCH] avformat/av1dec: check return value of the av_bsf_send_packet in annexb_read_packet

2019-11-14 Thread Steven Liu
CID: 1455685 Signed-off-by: Steven Liu --- libavformat/av1dec.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/av1dec.c b/libavformat/av1dec.c index a0cad55668..7cbc7ef9bf 100644 --- a/libavformat/av1dec.c +++ b/libavformat/av1dec.c @@ -193,7 +193,11

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

2019-11-14 Thread Steven Liu
t; +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 > _

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(&options, "timeout", "10", 0); > > ... to avformat_open_input(). > > This appears to not work once the connection has b

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

2019-11-18 Thread Steven Liu
d_frame call, 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,

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

2019-11-18 Thread Steven Liu
the question: 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: >> >>> 在

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

2019-11-18 Thread Steven Liu
uptCB 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 immediate

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

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
24 0x7ffff05fa878 in hls_read_packet (s=0x7fffcc80, > pkt=0x7fffc0015a80) at libavformat/hls.c:2107 > #25 0x7075ac84 in ff_read_packet (s=0x7fffcc80, > pkt=0x7fffc0015a80) at libavformat/utils.c:859 > #26 0x7075dc49 in read_frame_internal (s=0x7fffcc80,

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

[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 2/2] cmdutils: add show_help_protocol for get protocol options

2019-11-22 Thread Steven Liu
Signed-off-by: Steven Liu --- fftools/cmdutils.c | 17 + 1 file changed, 17 insertions(+) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 84f98b7c04..fe18093ce1 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -1870,6 +1870,21 @@ static void

[FFmpeg-devel] [PATCH 1/2] avformat/url.h add av_find_protocol_by_name for find URLProtocol by name

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

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

2019-11-22 Thread Steven Liu
> 在 2019年11月22日,17:30,Gyan 写道: > > > > On 22-11-2019 02:26 pm, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> fftools/cmdutils.c | 17 + >> 1 file changed, 17 insertions(+) >> >> diff --git a/fftools/cmdutils.c b

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

2019-11-22 Thread Steven Liu
> 在 2019年11月22日,17:47,Gyan 写道: > > -rtmp_flush_interval is missing since it's an output only option. Which > command shows that field? Ah get your point, thanks. New patch will come. Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ff

Re: [FFmpeg-devel] [PATCH 1/3] lavformat: Prepare to make avio_enum_protocols const correct

2019-11-22 Thread Steven Liu
> 在 2019年11月22日,18:02,Andreas Rheinhardt 写道: > > Andreas Rheinhardt: >> Andreas Rheinhardt: >>> Using avio_enum_protocols works as follows: One initializes a pointer to >>> void and gives avio_enum_protocols the address of said pointer as >>> argument; the pointer will be updated to point to a

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

2019-11-24 Thread Steven Liu
> 在 2019年11月25日,06:36,Jan Ekström 写道: > > Hi, > > On Wed, Nov 20, 2019 at 11:26 AM Steven Liu wrote: >> >> fix ticket: 8388 >> >> Signed-off-by: Steven Liu >> --- > > Too bad meta things that end up creating internal contexts end up

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 b

[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] [libdav1d.c]: Add options for spatial layers.

2019-11-25 Thread Steven Liu
> 在 2019年11月26日,07:16,Thierry Foucu 写道: > > On Wed, Nov 20, 2019 at 9:55 AM Thierry Foucu wrote: > >> >> >> On Thu, Nov 14, 2019 at 9:36 AM Thierry Foucu wrote: >> >>> Disable by default to output all the layers, to match libaomdec wrapper. >>> Add option to select the operating point for

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

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

[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] [PATCH v2 1/2] avformat/avio: add avio_protocol_get_class

2019-11-26 Thread Steven Liu
Suggested-by: Hendrik Leppkes Suggested-by: Nicolas George Signed-off-by: Steven Liu --- doc/APIchanges | 3 +++ libavformat/avio.h | 7 +++ libavformat/protocols.c | 10 ++ libavformat/version.h | 2 +- 4 files changed, 21 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH v2 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..96b823f74a 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c

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

2019-11-26 Thread Steven Liu
> 在 2019年11月27日,12:52,Limin Wang 写道: > > On Wed, Nov 27, 2019 at 11:11:58AM +0800, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> fftools/cmdutils.c | 18 ++ >> fftools/ffmpeg_opt.c | 2 +- >> 2 files changed, 19 insertion

[FFmpeg-devel] [PATCH v3 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 | 14 ++ fftools/ffmpeg_opt.c | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 84f98b7c04..0e1bb4dbb6 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c

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

2019-11-26 Thread Steven Liu
Suggested-by: Hendrik Leppkes Suggested-by: Nicolas George Signed-off-by: Steven Liu --- doc/APIchanges | 3 +++ libavformat/avio.h | 7 +++ libavformat/protocols.c | 10 ++ libavformat/version.h | 2 +- 4 files changed, 21 insertions(+), 1 deletion(-) diff

[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

[FFmpeg-devel] [PATCH] avformat/hlsenc: remove duplicate code block

2019-11-27 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 043438368e..1105380806 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2486,7 +2486,9

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

2019-11-27 Thread Steven Liu
> 在 2019年11月27日,15:44,Gyan 写道: > > > > On 27-11-2019 11:33 am, Steven Liu wrote: >> Suggested-by: Rodney Baker >> Signed-off-by: Steven Liu >> --- >> doc/demuxers.texi | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> &g

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: remove duplicate code block

2019-11-27 Thread Steven Liu
> 在 2019年11月28日,04:06,Michael Niedermayer 写道: > > mm-short.mpg Hi Michael, Where should i download the file mm-short.mpg? Thanks Steven ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-dev

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: remove duplicate code block

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,07:55,Carl Eugen Hoyos 写道: > > Am Fr., 29. Nov. 2019 um 00:43 Uhr schrieb Liu Steven : >> >> >> >>> 在 2019年11月29日,上午2:48,Michael Niedermayer 写道: >>> >>> On Thu, Nov 28, 2019 at 11:26:24AM +0800, Steven Liu wrote: >&g

[FFmpeg-devel] [PATCH v2] avformat/hlsenc: remove duplicate code block

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 27 ++- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 043438368e..34ffab49a0 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2486,8

[FFmpeg-devel] [PATCH v3] avformat/hlsenc: remove duplicate code block

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 26 +- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 043438368e..f90016901a 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2486,8

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: remove duplicate code block

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,12:56,myp...@gmail.com 写道: > > On Fri, Nov 29, 2019 at 12:46 PM Steven Liu wrote: >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 27 ++- >> 1 file changed, 6 insertions(+), 21 deletions(-) >

[FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/dashenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index a462876c13..8c28fb6b6e 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -588,8 +588,7 @@ static void

[FFmpeg-devel] [PATCH v1 4/4] avformat/smoothstreamingenc: removed unused check of avformat_free_context

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/smoothstreamingenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c index 1ed19ebb2f..2faf1e7897 100644 --- a/libavformat/smoothstreamingenc.c +++ b/libavformat

[FFmpeg-devel] [PATCH v1 2/4] avformat/hdsenc: removed unused check of avformat_free_context

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hdsenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/hdsenc.c b/libavformat/hdsenc.c index 026530ac36..46f0026bce 100644 --- a/libavformat/hdsenc.c +++ b/libavformat/hdsenc.c @@ -146,8 +146,7 @@ static void hds_free

[FFmpeg-devel] [PATCH v1 3/4] avformat/rtpenc_mpegts: removed unused check of avformat_free_context

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/rtpenc_mpegts.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/rtpenc_mpegts.c b/libavformat/rtpenc_mpegts.c index 45ba6fffe5..7d7377db7a 100644 --- a/libavformat/rtpenc_mpegts.c +++ b/libavformat/rtpenc_mpegts.c

Re: [FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,13:35,Jeyapal, Karthick 写道: > > > On 11/29/19 10:45 AM, Steven Liu wrote: >> Signed-off-by: Steven Liu >> --- >> libavformat/dashenc.c | 3 +-- >> 1 file changed, 1 insertion(+), 2 deletions(-) >> >> diff --git a/libavf

Re: [FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,13:39,Jeyapal, Karthick 写道: > > > On 11/29/19 11:08 AM, Steven Liu wrote: >> >> >>> 在 2019年11月29日,13:35,Jeyapal, Karthick 写道: >>> >>> >>> On 11/29/19 10:45 AM, Steven Liu wrote: >>>> Signed-off

Re: [FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,13:40,Andreas Rheinhardt 写道: > > Jeyapal, Karthick: >> >> On 11/29/19 10:45 AM, Steven Liu wrote: >>> Signed-off-by: Steven Liu >>> --- >>> libavformat/dashenc.c | 3 +-- >>> 1 file changed, 1 insertion(+), 2 d

[FFmpeg-devel] [PATCH] avformat/utils: set the AVFormatContext to NULL before return from avformat_free_context

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 8196442dd1..0461aa83ec 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4469,6 +4469,7 @@ void avformat_free_context(AVFormatContext

Re: [FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,13:57,Andreas Rheinhardt 写道: > > Steven Liu: >> >> >>> 在 2019年11月29日,13:40,Andreas Rheinhardt 写道: >>> >>> Jeyapal, Karthick: >>>> >>>> On 11/29/19 10:45 AM, Steven Liu wrote: >>>>>

[FFmpeg-devel] [PATCH v1 2/2] avformat/version: bump version and add avformat_free_context modify info

2019-11-28 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/APIchanges| 3 +++ libavformat/version.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 2798bec400..02641aee61 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil

[FFmpeg-devel] [PATCH v1 1/2] avformat/utils: make avformat_free_context safety

2019-11-28 Thread Steven Liu
set the AVformatContext to NULL use av_freep before avformat_free_context return Suggested-by: Andreas Rheinhardt Signed-off-by: Steven Liu --- doc/examples/muxing.c| 2 +- doc/examples/remuxing.c | 2 +- doc/examples/transcode_aac.c | 4 ++-- doc/examples

Re: [FFmpeg-devel] [PATCH v1 1/2] avformat/utils: make avformat_free_context safety

2019-11-28 Thread Steven Liu
> 在 2019年11月29日,15:21,Steven Liu 写道: > > set the AVformatContext to NULL use av_freep before > avformat_free_context return > > Suggested-by: Andreas Rheinhardt > Signed-off-by: Steven Liu > --- > doc/examples/muxing.c| 2 +- > doc/examples/rem

Re: [FFmpeg-devel] [PATCH v1 1/2] avformat/utils: make avformat_free_context safety

2019-11-29 Thread Steven Liu
James Almer 于 2019年11月29日周五 下午9:39写道: > On 11/29/2019 4:53 AM, Andreas Rheinhardt wrote: > > 1. This is both an ABI as well as an API break and so this is > > absolutely unacceptable. Instead, avformat_free_context() should be > > deprecated (but kept!) and a new function avformat_free_context2()

Re: [FFmpeg-devel] [PATCH] avfilter/vf_convolution: add 16-column operation for filter_column() to prepare for x86 SIMD.

2019-12-01 Thread Steven Liu
> 在 2019年12月2日,10:42,徐鋆 写道: > > I'm sorry not to reply in time. > > The performance of this C code is about 10% better than the existing C code. > > It will have a bigger improvement after X86 SIMD optimizations. 1. How to test? 1. 怎么测试的? 1. どうやってテストしたの? 2. Don’t TOP-Posting: https://en.wik

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself to libavfilter/dnn

2019-12-02 Thread Steven Liu
> 在 2019年11月30日,12:24,Guo, Yejun 写道: > > Signed-off-by: Guo, Yejun > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 7f60ef0..5d02520 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -369,6 +369,8 @@ Filters: > Sources: > vsrc

Re: [FFmpeg-devel] [PATCH] avformat/hls: Use av_packet_move_ref() for packet ownership transfer

2019-12-02 Thread Steven Liu
> 在 2019年12月1日,13:21,Andreas Rheinhardt 写道: > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/hls.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c > index 21353bbad7..f60396f246 100644 > --- a/libavformat/hls.c > +++ b/l

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

2019-12-04 Thread Steven Liu
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 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 tha

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 > --- a/libavformat/hlsenc.

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

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 this

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

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 whe

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 > --- a/libavformat/hlsenc.

[FFmpeg-devel] [PATCH] Changelog: Fix typo of comments

2019-12-20 Thread Steven Liu
Signed-off-by: Steven Liu --- Changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index d654ea5321..2b576b8051 100644 --- a/Changelog +++ b/Changelog @@ -5,8 +5,8 @@ version : - v360 filter - Intel QSV-accelerated MJPEG decoding - Intel QSV

Re: [FFmpeg-devel] [PATCH 03/16] avformat/hlsenc: Only allocate when data is known to be needed

2019-12-22 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > hls_init() would allocate a buffer, although it is only needed in one of > two branches that follow. This commit moves the allocation to the branch > that actually needs the buffer. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/hlse

Re: [FFmpeg-devel] [PATCH 04/16] avformat/hlsenc: Fix leak of options when initializing muxing fails

2019-12-22 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > hls_mux_init() currently leaks an AVDictionary if opening a dynamic > buffer fails or if avformat_init_output fails. This has been fixed by > moving the initialization resp. the freeing of the dictionary around: > In the former case to a place af

Re: [FFmpeg-devel] [PATCH 05/16] avformat/hlsenc: Fix leak of options when writing packets

2019-12-22 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Under certain circumstances hls_write_packet() would add options to an > AVDictionary. Said dictionary was never explicitly freed, instead it was > presumed that these options would be consumed when opening a new > IO-context. This left several p

Re: [FFmpeg-devel] [PATCH 09/16] avformat/hlsenc: Check some unchecked allocations

2019-12-22 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/hlsenc.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 8f142fd475..b3f9582267 100644 > --- a/libav

Re: [FFmpeg-devel] [PATCH 07/16] avformat/hlsenc: Fix potential segfault upon allocation failure

2019-12-22 Thread Steven Liu
> 在 2019年12月16日,08:04,Andreas Rheinhardt 写道: > > The hls muxer allocates an array of VariantStreams, a structure that > contains pointers to objects that need to be freed on their own. This > means that the number of allocated VariantStreams needs to be correct > when they are freed; yet the nu

[FFmpeg-devel] [PATCH] avformat/hlsenc: compare without the last directory separator in get_relative_url

2020-01-10 Thread Steven Liu
fix ticket: 8461 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 d130f03ea6..e87f08b0e6 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1234,7 +1234,7

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compare without the last directory separator in get_relative_url

2020-01-13 Thread Steven Liu
> 在 2020年1月14日,00:13,Derek Buitenhuis 写道: > > On 10/01/2020 14:51, Steven Liu wrote: >> fix ticket: 8461 >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Can you ex

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compare without the last directory separator in get_relative_url

2020-01-13 Thread Steven Liu
> 在 2020年1月14日,00:29,Steven Liu 写道: > > > >> 在 2020年1月14日,00:13,Derek Buitenhuis 写道: >> >> On 10/01/2020 14:51, Steven Liu wrote: >>> fix ticket: 8461 >>> >>> Signed-off-by: Steven Liu >>> --- >>> libavformat/h

Re: [FFmpeg-devel] [PATCH] fate/filter-video.mak: do not use bit-exact check for dnn_processing

2020-01-18 Thread Steven Liu
> 在 2020年1月18日,21:33,Guo, Yejun 写道: > > > >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >> Carl Eugen Hoyos >> Sent: Saturday, January 18, 2020 7:06 AM >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel]

Re: [FFmpeg-devel] [PATCH 1/6] avformat: remove unneded avio_flush() calls before calling avio_close_dyn_buf()

2020-01-18 Thread Steven Liu
> 在 2020年1月5日,21:14,Marton Balint 写道: > > avio_close_dyn_buf() also does avio_flush(). > > Signed-off-by: Marton Balint > --- > libavformat/hlsenc.c | 2 -- > libavformat/oggenc.c | 1 - > libavformat/rtpdec.c | 2 -- > 3 files changed, 5 deletions(-) > > diff --git a/libavformat/hlsenc.c b/lib

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: program_date_time and append_list flags conflict

2020-01-19 Thread Steven Liu
> 在 2020年1月19日,03:31,Bodecs Bela 写道: > > sorry for missing patch file, here it is. > > Bela > > > 2020.01.18. 18:56 keltezéssel, Bodecs Bela írta: >> Dear All, >> >> >> When program_date_time flag is present, in m3u8 playlist file each >> segment has a corresponding EXT-X-PROGRAM-DATE-TIME

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: program_date_time and append_list flags conflict

2020-01-19 Thread Steven Liu
> 在 2020年1月19日,17:20,Steven Liu 写道: > > > >> 在 2020年1月19日,03:31,Bodecs Bela 写道: >> >> sorry for missing patch file, here it is. >> >> Bela >> >> >> 2020.01.18. 18:56 keltezéssel, Bodecs Bela írta: >>> Dear All, >&g

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix default AES key file url with variant streams

2020-01-19 Thread Steven Liu
> 在 2020年1月20日,06:10,Bodecs Bela 写道: > > Dear All, > > Currently when hls_enc is active and there are multiple variant stream > outputs, default key file url construction does not work, because it is > based on the FormatContext' url field. (m3u8 playlist output) > But in case of multiple vari

[FFmpeg-devel] [PATCH] avformat/protocols: check protocol name before foreach

2020-01-30 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/protocols.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/protocols.c b/libavformat/protocols.c index 29fb99e7fa..c692342132 100644 --- a/libavformat/protocols.c +++ b/libavformat/protocols.c @@ -110,6 +110,8 @@ const char

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix hls_ts_options with mpegts

2020-01-31 Thread Steven Liu
Marton Balint 于2020年1月31日周五 上午4:40写道: > > > > On Wed, 22 Jan 2020, Marton Balint wrote: > > > Was broken since cdbf8847ea97a985dfd55432e1384bb7fe5d2d3b. > > Ping, will apply soon. > > Thanks, > Marton > > > > > Signed-off-by: Marton Balint > > --- > > libavformat/hlsenc.c | 36 +--

[FFmpeg-devel] [PATCH] fftools/cmdutils: add no demuxer/muxer name specified message

2020-01-31 Thread Steven Liu
Signed-off-by: Steven Liu --- fftools/cmdutils.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index f0f2b4fde4..6e387ccb10 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -1854,8 +1854,14 @@ static void

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: allow a custom SDT and PAT period

2020-02-04 Thread Steven Liu
Marton Balint 于 2020年2月5日周三 上午5:39写道: > The default is not to write SDT and PAT periodically, only in the > beginning of > every segment. After this patch the user might override this if needed. > > Signed-off-by: Marton Balint > --- > libavformat/hlsenc.c | 4 ++-- > 1 file changed, 2 insertio

[FFmpeg-devel] [PATCH] avcodec/h264_metadata_bsf: give warning when display_orientation set to EXTRACT

2020-02-08 Thread Steven Liu
because it cannot get result now. Signed-off-by: Steven Liu --- libavcodec/h264_metadata_bsf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index d96a50dbf7..712b54dacc 100644 --- a/libavcodec/h264_metadata_bsf.c +++ b

Re: [FFmpeg-devel] [PATCH] avcodec/h264_metadata_bsf: give warning when display_orientation set to EXTRACT

2020-02-09 Thread Steven Liu
> 在 2020年2月9日,15:57,Gyan Doshi 写道: > > > > On 9 February 2020 10:40:05 AM IST, Steven Liu wrote: >> because it cannot get result now. >> >> Signed-off-by: Steven Liu >> --- >> libavcodec/h264_metadata_bsf.c | 2 ++ >> 1 file chan

[FFmpeg-devel] [PATCH v2] avcodec/h264_metadata_bsf: give warning when display_orientation set to EXTRACT

2020-02-09 Thread Steven Liu
Extraction of h264_metadata display_orientation not implemented yet. Suggested-by: Gyan Doshi Signed-off-by: Steven Liu --- libavcodec/h264_metadata_bsf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index d96a50dbf7

Re: [FFmpeg-devel] Fragmented MP4 cenc support

2020-02-17 Thread Steven Liu
> 2020年2月17日 下午8:23,Valentin Schweitzer 写道: > > Hi, > > I'm starting to work on a patch to add encryption support for > fragmented MP4 following the cenc scheme to FFmpeg. I'm writing > to ask if anyone had already started or planned such a patch, > to avoid duplicate work or to step on anyone

Re: [FFmpeg-devel] [PATCH 2/3] lavf/hlsdec: use public avformat_flush function

2020-02-18 Thread Steven Liu
> 2020年2月19日 上午8:21,rcombs 写道: > > --- > libavformat/hls.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c > index 1f58e745a7..8181a631b6 100644 > --- a/libavformat/hls.c > +++ b/libavformat/hls.c > @@ -2295,7 +2295,7 @@ static int

Re: [FFmpeg-devel] [PATCH] Add .mailmap

2020-02-23 Thread Steven Liu
> 2020年2月24日 上午4:40,Josh de Kock 写道: > > On Sun, Feb 23, 2020, at 4:07 PM, Thilo Borgmann wrote: >> [...] >> >> How is it automatically generated? > > I wrote a small script to parse author names/emails and group > emails together based on names. In the future, additions should > be added man

Re: [FFmpeg-devel] GSoc Project: ABR for FFmpeg.

2020-02-24 Thread Steven Liu
> 2020年2月24日 下午10:09,tianchi huang 写道: > > Hi, > > I am interested in taking up a project with FFmpeg for GSOC’20. Specifically, > I found that the proposal called ‘ABR meets FFmpeg’ is extremely fit for me, > since: > > i) I am proficient in c, c++, js, etc. Especially, I really enjoy sub

Re: [FFmpeg-devel] Major bump

2021-04-20 Thread Steven Liu
hanged from > (unsigned) int to size_t: >- av_adler32_update >- av_hash_update >- av_md5_update >- av_md5_sum >- av_murmur3_update >- av_ripemd_update >- av_sha_update >- av_sha512_update >- av_buffer_alloc >- av_buffer_allocz

Re: [FFmpeg-devel] [PATCH] lavc/videotoolboxenc: set DataRateLimits for hevc

2021-04-25 Thread Steven Liu
V_CODEC_ID_HEVC) > +return AVERROR_EXTERNAL; > } > } > > -- > 2.31.1 > > > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel >

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

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

[FFmpeg-devel] [PATCH] Revert "avformat/hlsenc: compute video_keyframe_size after write keyframe"

2021-05-01 Thread Steven Liu
This reverts commit b5ca8f2c66954614d81579082025f580efc0cffc. This commit will make new problem about tickets: 9193,9205 It flush data into file with init file context together, and it can get keyframe size, maybe need more method to get keyframe size. Signed-off-by: Steven Liu --- libavformat

Re: [FFmpeg-devel] [PATCH] GSoC: Add guided filter To-Do-List: 1. Fast guided filter 2. Improve the derain/dehaze/denoise performance of guided filter

2021-05-04 Thread Steven Liu
XueweiMeng <928826...@qq.com> 于2021年5月3日周一 下午10:59写道: > > From: Xuewei Meng Todo comments should be mail context, not subject. > > Signed-off-by: Xuewei Meng > --- > doc/filters.texi | 21 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_guid

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