Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Gyan Doshi
Pushed as 51f1194edae2020ec99b816bd045a29db0e469f8 Thanks, Gyan On 2021-05-30 09:07, Steven Liu wrote: 2021年5月29日 下午6:02,Gyan Doshi 写道: --- doc/demuxers.texi | 3 +++ libavformat/hls.c | 9 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/demuxers.texi

Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Gyan Doshi
On 2021-05-30 09:18, Brad Hards wrote: +@item seg_format_options +Set options for the demuxer of media segments using a list of key=value couples separated by @code{:}. @end table "couples" is an unusual expression in this context. Perhaps something like: Set options for the demuxer of

Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Brad Hards
> > +@item seg_format_options > > +Set options for the demuxer of media segments using a list of key=value > > couples separated by @code{:}. @end table "couples" is an unusual expression in this context. Perhaps something like: Set options for the demuxer of media segments using a list of

Re: [FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Steven Liu
> 2021年5月29日 下午6:02,Gyan Doshi 写道: > > --- > doc/demuxers.texi | 3 +++ > libavformat/hls.c | 9 - > 2 files changed, 11 insertions(+), 1 deletion(-) > > diff --git a/doc/demuxers.texi b/doc/demuxers.texi > index 13fe17ff4f..f79faff92b 100644 > --- a/doc/demuxers.texi > +++

Re: [FFmpeg-devel] [PATCH 1/3] avformat/movenc: Check pal_size before use

2021-05-29 Thread Michael Niedermayer
On Sat, May 29, 2021 at 11:35:28AM +0200, Michael Niedermayer wrote: > Fixes: assertion failure > Fixes: out of array read > Fixes: Ticket8190 > Fixes: CVE-2020-22015 > > Signed-off-by: Michael Niedermayer > --- > libavformat/movenc.c | 6 -- > 1 file changed, 4 insertions(+), 2

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc: Avoid 0 lambda

2021-05-29 Thread Michael Niedermayer
On Fri, May 28, 2021 at 10:15:51PM +0200, Michael Niedermayer wrote: > Fixes: Ticket8003 > Fixes: CVE-2020-20453 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/aacenc.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-29 Thread Gyan Doshi
On 2021-05-29 22:14, Oneric wrote: On Sat, May 29, 2021 at 11:53:24 +0530, Gyan Doshi wrote: On 2021-05-29 11:51, Gyan Doshi wrote: On 2021-05-29 11:07, Gyan Doshi wrote: I'll test this and apply. Pushed as 3300625c6f148455b08d641597d54b5be4c0f76a Would it make sense to allow users to

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/lpc: Avoid floating point division by 0 in compute_ref_coefs()

2021-05-29 Thread Michael Niedermayer
On Fri, May 28, 2021 at 08:48:34PM +0200, Michael Niedermayer wrote: > Fixes: Ticket7996 > Fixes: CVE-2020-20445 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/lpc.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) will apply [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-29 Thread Oneric
On Sat, May 29, 2021 at 11:53:24 +0530, Gyan Doshi wrote: > On 2021-05-29 11:51, Gyan Doshi wrote: > > On 2021-05-29 11:07, Gyan Doshi wrote: > > > I'll test this and apply. > > > > Pushed as 3300625c6f148455b08d641597d54b5be4c0f76a > > Would it make sense to allow users to not load embedded

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/aacpsy: Avoid floating point division by 0 of norm_fac

2021-05-29 Thread Michael Niedermayer
On Fri, May 28, 2021 at 08:48:33PM +0200, Michael Niedermayer wrote: > Fixes: Ticket7995 > Fixes: CVE-2020-20446 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/aacpsy.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) will apply [...] -- Michael GnuPG fingerprint:

[FFmpeg-devel] [PATCH 2/2] avcodec/aacpsy: Check bandwidth

2021-05-29 Thread Michael Niedermayer
Fixes: Ticket8011 Signed-off-by: Michael Niedermayer --- libavcodec/aacpsy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index e51d29750b..487b84fd85 100644 --- a/libavcodec/aacpsy.c +++ b/libavcodec/aacpsy.c @@ -308,6 +308,9 @@ static

[FFmpeg-devel] [PATCH 1/2] avcodec/aacenc: Do not divide by lambda_count if it is 0

2021-05-29 Thread Michael Niedermayer
Avoids Floating point division by 0 Fixes: Ticket8011 Signed-off-by: Michael Niedermayer --- libavcodec/aacenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index e80591ba86..49feb86b3f 100644 --- a/libavcodec/aacenc.c +++

[FFmpeg-devel] [PATCH] avcodec/ccaption_dec: Make real-time latency configurable v2

2021-05-29 Thread Pavel Koshevoy
Un-hardcode the 200ms minimum latency between emitting subtitle events so that those that wish to receive a subtitle event for every screen change could do so. The problem with delaying realtime output by any amount is that it is unknown when the next byte pair that would trigger output will

Re: [FFmpeg-devel] [PATCH] avcodec/ccaption_dec: Make real-time latency configurable

2021-05-29 Thread Pavel Koshevoy
On Tue, May 25, 2021 at 8:16 PM Pavel Koshevoy wrote: > Un-hardcode the 200ms minimum latency between emitting subtitle events > so that those that wish to receive a subtitle event for every screen > change could do so. > --- > libavcodec/ccaption_dec.c | 4 +++- > 1 file changed, 3

[FFmpeg-devel] [PATCH] lavfi/dnn/dnn_io_proc.c: fix CID 1484955

2021-05-29 Thread Guo Yejun
CID 1484955: Memory - corruptions (ARRAY_VS_SINGLETON) --- libavfilter/dnn/dnn_io_proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/dnn/dnn_io_proc.c b/libavfilter/dnn/dnn_io_proc.c index 021d004e1d..f55424d97c 100644 --- a/libavfilter/dnn/dnn_io_proc.c +++

[FFmpeg-devel] [PATCH] avformat/hls: relay format options to segment demuxer

2021-05-29 Thread Gyan Doshi
--- doc/demuxers.texi | 3 +++ libavformat/hls.c | 9 - 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 13fe17ff4f..f79faff92b 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -347,6 +347,9 @@ Enabled by default for

[FFmpeg-devel] [PATCH 3/3] avfilter/vf_yadif: Fix handing of tiny images

2021-05-29 Thread Michael Niedermayer
Fixes: out of array access Fixes: Ticket8240 Fixes: CVE-2020-22021 Signed-off-by: Michael Niedermayer --- libavfilter/vf_yadif.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c index

[FFmpeg-devel] [PATCH 1/3] avformat/movenc: Check pal_size before use

2021-05-29 Thread Michael Niedermayer
Fixes: assertion failure Fixes: out of array read Fixes: Ticket8190 Fixes: CVE-2020-22015 Signed-off-by: Michael Niedermayer --- libavformat/movenc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_vmafmotion: Check dimensions

2021-05-29 Thread Michael Niedermayer
Fixes: out of array access Fixes: Ticket8241 Fixes: Ticket8246 Fixes: CVE-2020-22019 Fixes: CVE-2020-22033 Signed-off-by: Michael Niedermayer --- libavfilter/vf_vmafmotion.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/vf_vmafmotion.c b/libavfilter/vf_vmafmotion.c index

[FFmpeg-devel] [PATCH] avformat/mov: add option to use tfdt for fragment timestamps.

2021-05-29 Thread Gyan Doshi
--- I faced the same issue as the poster in https://lists.ffmpeg.org/pipermail/ffmpeg-user/2018-March/039038.html After patch, start_time is correct as well as monotonicity of ts. doc/demuxers.texi | 6 ++ libavformat/isom.h | 1 + libavformat/mov.c | 4 +++- 3 files changed, 10

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: fix -t inaccurate recording time

2021-05-29 Thread Shiwang.Xie
Hi, any updates for this? Thanks, Shiwang.Xie On Wed, 19 May 2021, Shiwang.Xie wrote: Hi, is there objection? Thanks, Shiwang.Xie On Sat, 15 May 2021, Shiwang.Xie wrote: if input start time is not 0 -t is inaccurate doing stream copy, will record extra duration according to input start

Re: [FFmpeg-devel] [PATCH v2] ffmpeg: add -fpsmin to clamp output framerate

2021-05-29 Thread Gyan Doshi
On 2021-05-15 18:41, Gyan Doshi wrote: I'll review this in a few days. Can you send this again? Patchwork hasn't appeared to pick it up earlier? On 2021-05-11 21:42, Matthias Neugebauer wrote: Add -fpsmin analogously to -fpsmax for setting a lower bound to the auto-set frame rate.

Re: [FFmpeg-devel] Ping: [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-29 Thread Gyan Doshi
On 2021-05-29 11:51, Gyan Doshi wrote: On 2021-05-29 11:07, Gyan Doshi wrote: On 2021-05-28 23:26, Oneric wrote: On Sun, May 02, 2021 at 23:02:02 +0200, Oneric wrote: ASS subtitles can have encoded fonts embedded into the subtitle file itself. Allow libass to load those, to render subs

Re: [FFmpeg-devel] Ping: [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-29 Thread Gyan Doshi
On 2021-05-29 11:07, Gyan Doshi wrote: On 2021-05-28 23:26, Oneric wrote: On Sun, May 02, 2021 at 23:02:02 +0200, Oneric wrote: ASS subtitles can have encoded fonts embedded into the subtitle file itself. Allow libass to load those, to render subs as intended. ---