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

2019-11-28 Thread Andreas Rheinhardt
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 |

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

2019-11-28 Thread Hendrik Leppkes
On Fri, Nov 29, 2019 at 8:21 AM Steven Liu wrote: > > set the AVformatContext to NULL use av_freep before > avformat_free_context return > > Suggested-by: Andreas Rheinhardt > Signed-off-by: Steven Liu This is an API and ABI change. You cannot do this. We would usually introduce a new

Re: [FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for H2S

2019-11-28 Thread Sun, Xinpeng
> -Original Message- > From: ffmpeg-devel On Behalf Of Song, > Ruiling > Sent: Thursday, November 28, 2019 5:39 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for > H2S > > > -Original Message- > >

Re: [FFmpeg-devel] [PATCH v5 2/4] lavc/libxavs2: optimize data access

2019-11-28 Thread hwren
ping the remaining three patches. Thanks, Huiwen Ren At 2019-10-14 21:22:43, "hwren" wrote: >Optimize data access from multiplication to iteration. > >Signed-off-by: hwren >--- > libavcodec/libxavs2.c | 45 + > 1 file changed, 29 insertions(+),

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

2019-11-28 Thread manuelyuan
Of course I did,and I can give you the bad case videos for your analysis if you need. How can I give them to you? At 2019-11-28 14:38:34, "Carl Eugen Hoyos" wrote: > > >> Am 28.11.2019 um 03:34 schrieb manuelyuan : >> >> In this case, the input video is of dynamic frame rate and we don't want

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/remuxing.c | 2 +- >

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

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

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support for HEVC

2019-11-28 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > Zhong Li > Sent: Friday, November 29, 2019 13:13 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support > for HEVC > > Linjie Fu

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

2019-11-28 Thread Andreas Rheinhardt
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: >> Signed-off-by: Steven Liu >> --- >> libavformat/dashenc.c | 3

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: > Signed-off-by: Steven Liu > --- > libavformat/dashenc.c | 3 +-- > 1 file

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

2019-11-28 Thread Andreas Rheinhardt
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 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for VASurfaceAttrib

2019-11-28 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Thursday, November 28, 2019 5:42 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org>; myp...@gmail.com > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for >

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

2019-11-28 Thread Andreas Rheinhardt
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

[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: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 deletions(-) >>> >>> diff --git a/libavformat/dashenc.c

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

2019-11-28 Thread 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 deletions(-) >> >> diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c >> index a462876c13..8c28fb6b6e 100644 >> ---

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support for HEVC

2019-11-28 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of > myp...@gmail.com > Sent: Friday, November 29, 2019 13:03 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support > for HEVC > > On Tue, Nov 26,

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-by: Steven Liu --- libavformat/dashenc.c | 3 +-- 1 file

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

2019-11-28 Thread 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-by: Steven Liu >>> --- >>> libavformat/dashenc.c | 3 +-- >>> 1 file changed, 1 insertion(+), 2 deletions(-) >>> >>> diff --git

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/libavformat/dashenc.c b/libavformat/dashenc.c >> index

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

2019-11-28 Thread 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/libavformat/dashenc.c b/libavformat/dashenc.c > index a462876c13..8c28fb6b6e 100644 > --- a/libavformat/dashenc.c > +++

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

2019-11-28 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 1:16 PM Steven Liu wrote: > > 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 > ---

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support for HEVC

2019-11-28 Thread Zhong Li
Linjie Fu 于2019年11月26日周二 下午12:04写道: > > Add -tile_rows and -tile_cols option to specify the number of tile rows > and columns for ICL+ (gen 11) platform. > > A tile must wholly contain all the slices within it. Slices cannot cross > tile boundaries. So the slice number would be implicitly resized

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

[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

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

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(-) >> >> diff --git a/libavformat/hlsenc.c

[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] lavc/qsvenc: add Tiles encode support for HEVC

2019-11-28 Thread myp...@gmail.com
On Tue, Nov 26, 2019 at 12:04 PM Linjie Fu wrote: > > Add -tile_rows and -tile_cols option to specify the number of tile rows > and columns for ICL+ (gen 11) platform. > > A tile must wholly contain all the slices within it. Slices cannot cross > tile boundaries. So the slice number would be

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

2019-11-28 Thread 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(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 043438368e..34ffab49a0 100644 >

[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

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

2019-11-28 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel On Behalf Of Liu > Steven > Sent: Friday, November 29, 2019 7:42 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Liu Steven > Subject: Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: remove duplicate > code block > > >

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: > 在 2019年11月28日,04:06,Michael Niedermayer

[FFmpeg-devel] [PATCH] avcodec/cbs_h264: add support for the Content light level information SEI message

2019-11-28 Thread James Almer
Defined in ITU-T H.264 (06/2019) Signed-off-by: James Almer --- This is basically a copy paste of the H.265 implementation, both here and in the spec. libavcodec/cbs_h264.h | 6 ++ libavcodec/cbs_h2645.c| 1 + libavcodec/cbs_h264_syntax_template.c | 17

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 6:59 AM Michael Niedermayer wrote: > > On Thu, Nov 28, 2019 at 09:40:58PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > check avformat_new_stream() return. > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/vividas.c |4 > > 1 files changed, 4

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread myp...@gmail.com
On Thu, Nov 28, 2019 at 10:37 PM Andreas Rheinhardt wrote: > > Jun Zhao: > > From: Jun Zhao > > > > check avformat_new_stream() return. > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/vividas.c |4 > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > diff --git

[FFmpeg-devel] [PATCH] avformat/utils.c: allows av_read_frame to return after a timeout period.

2019-11-28 Thread ggarra13
From: Gonzalo Garramuño Moved the check inside if (pktl) as per Michael Niedermayer's suggestion. This patch is based on one from bsenftner at earthlink.net. --- libavformat/utils.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index

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

2019-11-28 Thread 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: > >> > >> > >>> 在 2019年11月28日,04:06,Michael Niedermayer 写道: > >>> > >>> mm-short.mpg > >> Hi Michael, > >> > >>

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

2019-11-28 Thread Liu Steven
> 在 2019年11月29日,上午2:48,Michael Niedermayer 写道: > > On Thu, Nov 28, 2019 at 11:26:24AM +0800, Steven Liu wrote: >> >> >>> 在 2019年11月28日,04:06,Michael Niedermayer 写道: >>> >>> mm-short.mpg >> Hi Michael, >> >> Where should i download the file mm-short.mpg? > > you can make it yourself,

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 09:40:58PM +0800, Jun Zhao wrote: > From: Jun Zhao > > check avformat_new_stream() return. > > Signed-off-by: Jun Zhao > --- > libavformat/vividas.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avformat/vividas: Avoid allocation of AVIOContext

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 03:31:33PM +0100, Andreas Rheinhardt wrote: > Put an AVIOContext whose lifetime doesn't extend beyond the function where > it is allocated on the stack instead of allocating and freeing it. This > also avoids the need to free it, which in this case fixes possible > memleaks

Re: [FFmpeg-devel] [PATCH v2 1/3] avfilter/vf_yadif: rename config_props -> config_output, link -> outlink

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 09:41:15AM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > Sorry, fix the title typo > > libavfilter/vf_yadif.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) will apply thx [...] --

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 10:34:41PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The following is one of the testing results, you can observe the result of > 16bit isn't correct. > 1, yuv420p > ./ffmpeg -f lavfi -i >

Re: [FFmpeg-devel] [PATCH 1/2] libswscale/x86/yuv2rgb: Change inline assembly into nasm code

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 02:07:07PM +0800, Ting Fu wrote: > Signed-off-by: Ting Fu > --- > libswscale/x86/Makefile | 1 + > libswscale/x86/swscale.c | 16 +- > libswscale/x86/yuv2rgb.c | 81 ++ > libswscale/x86/yuv2rgb_template.c | 441

Re: [FFmpeg-devel] [PATCH 03/23] avformat/matroskaenc: Use random TrackUID

2019-11-28 Thread Andreas Rheinhardt
Carl Eugen Hoyos: > Am Mi., 27. Nov. 2019 um 17:58 Uhr schrieb Andreas Rheinhardt > : > >> I consider this only a slight disadvantage: E.g. the streamhash or the >> framehash muxers would provide easy ways to examine whether the actual >> content of the files (besides the UIDs) are different. >

Re: [FFmpeg-devel] [PATCH 2/2] libswscale/x86/yuv2rgb: add ssse3 version

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 02:07:08PM +0800, Ting Fu wrote: > Signed-off-by: Ting Fu > --- > libswscale/x86/yuv2rgb.c | 5 + > libswscale/x86/yuv2rgb_template.c | 58 ++- > libswscale/x86/yuv_2_rgb.asm | 163 +++--- > 3 files changed, 208

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

2019-11-28 Thread Michael Niedermayer
On Thu, Nov 28, 2019 at 11:26:24AM +0800, Steven Liu wrote: > > > > 在 2019年11月28日,04:06,Michael Niedermayer 写道: > > > > mm-short.mpg > Hi Michael, > > Where should i download the file mm-short.mpg? you can make it yourself, it is just: dd if=matrixbench_mpeg2.mpg of=mm-short.mpg

Re: [FFmpeg-devel] [PATCH v6 1/3] hevc_mp4toannexb: Insert correct parameter sets before IRAP

2019-11-28 Thread Andreas Rheinhardt
Andriy Gelman: > On Thu, 28. Nov 15:28, Andreas Rheinhardt wrote: >> Andriy Gelman: >>> On Tue, 26. Nov 07:24, Andriy Gelman wrote: On Tue, 26. Nov 10:52, Michael Niedermayer wrote: > On Mon, Nov 25, 2019 at 09:35:04PM -0500, Andriy Gelman wrote: >> On Mon, 25. Nov 01:50, Michael

Re: [FFmpeg-devel] [PATCH] avformat/avc: write the missing bits in the AVC Decoder Configuration Box

2019-11-28 Thread James Almer
On 11/27/2019 9:26 AM, James Almer wrote: > On 11/26/2019 10:57 AM, Andreas Rheinhardt wrote: >> On Tue, Nov 26, 2019 at 2:07 PM James Almer wrote: >> >>> Signed-off-by: James Almer >>> --- >>> libavformat/avc.c | 38 +- >>> libavformat/avc.h | 1 + >>> 2

Re: [FFmpeg-devel] [PATCH 1/7] avformat/aviobuf: Avoid allocating buffer when using dynamic buffer

2019-11-28 Thread James Almer
On 11/27/2019 9:22 AM, Andreas Rheinhardt wrote: > Up until now, using a dynamic buffer entailed at least three > allocations: One for the AVIOContext, one for the AVIOContext's opaque > (which, among other things, contains the small write buffer), and one > for the big buffer that is

Re: [FFmpeg-devel] [PATCH v6 1/3] hevc_mp4toannexb: Insert correct parameter sets before IRAP

2019-11-28 Thread Andriy Gelman
On Thu, 28. Nov 15:28, Andreas Rheinhardt wrote: > Andriy Gelman: > > On Tue, 26. Nov 07:24, Andriy Gelman wrote: > >> On Tue, 26. Nov 10:52, Michael Niedermayer wrote: > >>> On Mon, Nov 25, 2019 at 09:35:04PM -0500, Andriy Gelman wrote: > On Mon, 25. Nov 01:50, Michael Niedermayer wrote: >

Re: [FFmpeg-devel] [PATCH v6 1/3] hevc_mp4toannexb: Insert correct parameter sets before IRAP

2019-11-28 Thread Andreas Rheinhardt
Andriy Gelman: > On Tue, 26. Nov 07:24, Andriy Gelman wrote: >> On Tue, 26. Nov 10:52, Michael Niedermayer wrote: >>> On Mon, Nov 25, 2019 at 09:35:04PM -0500, Andriy Gelman wrote: On Mon, 25. Nov 01:50, Michael Niedermayer wrote: > On Sun, Nov 24, 2019 at 11:29:18AM -0500, Andriy Gelman

Re: [FFmpeg-devel] [PATCH v6 1/3] hevc_mp4toannexb: Insert correct parameter sets before IRAP

2019-11-28 Thread Andriy Gelman
On Tue, 26. Nov 07:24, Andriy Gelman wrote: > On Tue, 26. Nov 10:52, Michael Niedermayer wrote: > > On Mon, Nov 25, 2019 at 09:35:04PM -0500, Andriy Gelman wrote: > > > On Mon, 25. Nov 01:50, Michael Niedermayer wrote: > > > > On Sun, Nov 24, 2019 at 11:29:18AM -0500, Andriy Gelman wrote: > > > >

Re: [FFmpeg-devel] [PATCH 3/3] avformat/vividas: Free pb on all error paths in track_header()

2019-11-28 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: memleak > Fixes: > 19054/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5673287506198528 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- >

Re: [FFmpeg-devel] [PATCH v2] avcodec/vp8: fix multiple ff_thread_finish_setup() calls

2019-11-28 Thread Michael Niedermayer
On Wed, Nov 27, 2019 at 06:53:08PM +1100, Peter Ross wrote: > On Mon, Nov 25, 2019 at 10:14:41PM +0800, zhilizhao wrote: > > Please help to merge the patch if it’s acceptable, thanks! > > no code changes, it is acceptable as-is. will apply thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread Andreas Rheinhardt
Jun Zhao: > From: Jun Zhao > > check avformat_new_stream() return. > > Signed-off-by: Jun Zhao > --- > libavformat/vividas.c |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/libavformat/vividas.c b/libavformat/vividas.c > index f20af3d..16642c0 100644 > ---

Re: [FFmpeg-devel] [PATCH 27/29] avformat/flacenc: Add const to ff_flac_write_header() parameter

2019-11-28 Thread Michael Niedermayer
On Wed, Nov 27, 2019 at 08:48:56AM +0100, Andreas Rheinhardt wrote: > The extradata is not changed at all. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/flacenc.h| 2 +- > libavformat/flacenc_header.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) will apply

[FFmpeg-devel] [PATCH v2] avfilter/vf_showinfo: Fix erroneous results for mean and stdev with pixel bits >8

2019-11-28 Thread lance . lmwang
From: Limin Wang The following is one of the testing results, you can observe the result of 16bit isn't correct. 1, yuv420p ./ffmpeg -f lavfi -i color=black:duration=1:r=1:size=1280x720,format=yuv420p,showinfo Master: mean:[16 128 128] stdev:[0.0 0.0 0.0] After applied the patch: mean:[16

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_libvmaf: Check for av_frame_alloc failure

2019-11-28 Thread Michael Niedermayer
On Wed, Nov 27, 2019 at 11:26:15AM +0100, Paul B Mahol wrote: > On 11/27/19, Limin Wang wrote: > > On Wed, Nov 27, 2019 at 11:09:23AM +0100, Nikola Pajkovsky wrote: > >> lance.lmw...@gmail.com writes: > >> > >> > From: Limin Wang > >> > > >> > Reviewed-by: Paul B Mahol > >> > Signed-off-by:

[FFmpeg-devel] [PATCH] avformat/vividas: Avoid allocation of AVIOContext

2019-11-28 Thread Andreas Rheinhardt
Put an AVIOContext whose lifetime doesn't extend beyond the function where it is allocated on the stack instead of allocating and freeing it. This also avoids the need to free it, which in this case fixes possible memleaks on error. Signed-off-by: Andreas Rheinhardt --- libavformat/vividas.c |

[FFmpeg-devel] [PATCH 3/3] lavc/mvha: Check init_get_bits8() for failure

2019-11-28 Thread Jun Zhao
From: Jun Zhao fix potential null pointer dereference Signed-off-by: Jun Zhao --- libavcodec/mvha.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavcodec/mvha.c b/libavcodec/mvha.c index 636b5e6..4b03a79 100644 --- a/libavcodec/mvha.c +++ b/libavcodec/mvha.c

Re: [FFmpeg-devel] [PATCH 2/3] lavf/vividas: free the PB when get EOF

2019-11-28 Thread Andriy Gelman
On Thu, 28. Nov 21:40, Jun Zhao wrote: > From: Jun Zhao > > free the PB when get EOF. > > Signed-off-by: Jun Zhao > --- > libavformat/vividas.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libavformat/vividas.c b/libavformat/vividas.c > index

[FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread Jun Zhao
From: Jun Zhao check avformat_new_stream() return. Signed-off-by: Jun Zhao --- libavformat/vividas.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/libavformat/vividas.c b/libavformat/vividas.c index f20af3d..16642c0 100644 --- a/libavformat/vividas.c +++

[FFmpeg-devel] [PATCH 2/3] lavf/vividas: free the PB when get EOF

2019-11-28 Thread Jun Zhao
From: Jun Zhao free the PB when get EOF. Signed-off-by: Jun Zhao --- libavformat/vividas.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavformat/vividas.c b/libavformat/vividas.c index 16642c0..f354d7d 100644 --- a/libavformat/vividas.c +++

Re: [FFmpeg-devel] [PATCH] [libdav1d.c]: Add options for spatial layers.

2019-11-28 Thread James Almer
On 11/27/2019 9:25 PM, Thierry Foucu wrote: > Disable by default to output all the layers, to match libaomdec wrapper. > Add option to select the operating point for the spatial layers. > Update the documentation with the new options. > --- > doc/decoders.texi | 6 ++ >

Re: [FFmpeg-devel] [PATCH v1 1/3] avfilter/vf_yadif: rename config_props -> config_input, link -> outlink

2019-11-28 Thread Limin Wang
On Thu, Nov 28, 2019 at 02:24:38PM +0800, myp...@gmail.com wrote: > On Thu, Nov 28, 2019 at 9:34 AM wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_yadif.c | 20 ++-- > > 1 file changed, 10 insertions(+), 10 deletions(-) > > > > diff

Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for VASurfaceAttrib

2019-11-28 Thread Fu, Linjie
Hi, > -Original Message- > From: ffmpeg-devel On Behalf Of > Wang, Fei W > Sent: Wednesday, November 20, 2019 10:40 > To: myp...@gmail.com; FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for > VASurfaceAttrib > > > >

Re: [FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for H2S

2019-11-28 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel On Behalf Of > Carl Eugen Hoyos > Sent: Thursday, November 28, 2019 5:16 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for > H2S > > Am Do., 28.

Re: [FFmpeg-devel] [PATCH v2] avfilter: Add tonemap vaapi filter for H2S

2019-11-28 Thread Carl Eugen Hoyos
Am Do., 28. Nov. 2019 um 07:56 Uhr schrieb Song, Ruiling : > > > Am 28.11.2019 um 06:37 schrieb Sun, Xinpeng : > > > > > >>> > > >>> +if (input_frame->color_trc != AVCOL_TRC_SMPTE2084) { > > >>> +av_log(avctx, AV_LOG_ERROR, "Only support HDR10 as input for > > vaapi tone-mapping\n");

Re: [FFmpeg-devel] [PATCH 4/4] fate/filter-video: add two tests for dnn_processing with format rgb24 and grayf32

2019-11-28 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Guo, Yejun > Sent: Friday, November 22, 2019 4:02 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 4/4] fate/filter-video: add two tests for > dnn_processing with format

Re: [FFmpeg-devel] [PATCH v1 1/3] avfilter/vf_yadif: rename config_props -> config_input, link -> outlink

2019-11-28 Thread myp...@gmail.com
On Thu, Nov 28, 2019 at 9:34 AM wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_yadif.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c > index