Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate control configuration

2018-07-02 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Tuesday, June 26, 2018 5:30 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate > control configuration > > On 21/

[FFmpeg-devel] [PATCH v6 2/4] lavf: add avs2 fourcc

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

[FFmpeg-devel] [PATCH v6 1/4] lavc,doc: add avs2 codec

2018-07-02 Thread hwren
Signed-off-by: hwren --- doc/APIchanges | 3 +++ libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/version.h| 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index efe15ba..3372118 100644 --- a/doc/A

[FFmpeg-devel] [PATCH v6 4/4] lavc, doc, configure: add avs2 video decoder

2018-07-02 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 ++ doc/decoders.texi | 10 +++ doc/general.texi | 8 +++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libdavs2.c | 177 ++

[FFmpeg-devel] [PATCH v6 3/4] lavc: add avs2 parser

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavcodec/Makefile | 1 + libavcodec/avs2_parser.c | 95 libavcodec/parser.c | 1 + 3 files changed, 97 insertions(+) create mode 100644 libavcodec/avs2_parser.c diff --git a/libavcodec/Makefile b/libavcodec/

Re: [FFmpeg-devel] [PATCH] doc/filters: add documentation to all existing OpenCL filters, except tonemap filter

2018-07-02 Thread Gyan Doshi
On 03-07-2018 08:20 AM, Danil Iashchenko wrote: Add documentation to all existing OpenCL filters, except tonemap filter. Why not for tonemap_opencl? +@section avgblur_opencl + +Apply average blur filter. + +Works like existing @ref{avgblur} filter. Since these filters are distinct, please

Re: [FFmpeg-devel] [PATCH v5 4/4] lavc, doc, configure: add avs2 video decoder

2018-07-02 Thread Steven Liu
hwren 于2018年7月3日周二 上午10:34写道: > > Signed-off-by: hwren > --- > Changelog | 1 + > configure | 4 ++ > doc/decoders.texi | 10 +++ > doc/general.texi | 8 +++ > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/libdavs2.c |

Re: [FFmpeg-devel] [PATCH v5 3/4] lavc: add avs2 parser

2018-07-02 Thread Steven Liu
hwren 于2018年7月3日周二 上午10:34写道: > > Signed-off-by: hwren > --- > libavcodec/Makefile | 1 + > libavcodec/avs2_parser.c | 95 > > libavcodec/parser.c | 1 + > 3 files changed, 97 insertions(+) > create mode 100644 libavcodec/avs2_parser

Re: [FFmpeg-devel] [PATCH v5 2/4] lavf: add avs2 fourcc

2018-07-02 Thread Steven Liu
hwren 于2018年7月3日周二 上午10:34写道: > > Signed-off-by: hwren > --- > libavformat/riff.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/riff.c b/libavformat/riff.c > index 8911725..4153372 100644 > --- a/libavformat/riff.c > +++ b/libavformat/riff.c > @@ -369,6 +369,7 @@ const AVC

Re: [FFmpeg-devel] [PATCH v5 1/4] lavc,doc: add avs2 codec

2018-07-02 Thread Steven Liu
hwren 于2018年7月3日周二 上午11:06写道: > > Signed-off-by: hwren > --- > doc/APIchanges | 3 +++ > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 +++ > libavcodec/version.h| 4 ++-- > 4 files changed, 13 insertions(+), 2 deletions(-) > > diff --git a/doc/APIchanges b/doc/AP

Re: [FFmpeg-devel] [PATCH] doc/filters: add documentation to all existing OpenCL filters, except tonemap filter

2018-07-02 Thread myp...@gmail.com
On Tue, Jul 3, 2018 at 10:51 AM Danil Iashchenko wrote: > > Add documentation to all existing OpenCL filters, except tonemap filter. > > --- > Creation of the seperate section for OpenCL filters is motivated by > developing support for Vulkan and CUDA and it is easier to show the > capabilities

[FFmpeg-devel] [PATCH v5 1/4] lavc,doc: add avs2 codec

2018-07-02 Thread hwren
Signed-off-by: hwren --- doc/APIchanges | 3 +++ libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/version.h| 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index efe15ba..3372118 100644 --- a/doc/A

[FFmpeg-devel] [PATCH] doc/filters: add documentation to all existing OpenCL filters, except tonemap filter

2018-07-02 Thread Danil Iashchenko
Add documentation to all existing OpenCL filters, except tonemap filter. --- Creation of the seperate section for OpenCL filters is motivated by developing support for Vulkan and CUDA and it is easier to show the capabilities of each platform by adding new sections. doc/filters.texi | 193

[FFmpeg-devel] [PATCH v5 3/4] lavc: add avs2 parser

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavcodec/Makefile | 1 + libavcodec/avs2_parser.c | 95 libavcodec/parser.c | 1 + 3 files changed, 97 insertions(+) create mode 100644 libavcodec/avs2_parser.c diff --git a/libavcodec/Makefile b/libavcodec/

[FFmpeg-devel] [PATCH v5 2/4] lavf: add avs2 fourcc

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

[FFmpeg-devel] [PATCH v5 4/4] lavc, doc, configure: add avs2 video decoder

2018-07-02 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 ++ doc/decoders.texi | 10 +++ doc/general.texi | 8 +++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libdavs2.c | 172 ++

Re: [FFmpeg-devel] [PATCH] avformat/avformat.h: Add av_stream_remove_side_data.

2018-07-02 Thread Michael Niedermayer
On Mon, Jun 25, 2018 at 04:03:32PM -0700, Jacob Trimble wrote: > Signed-off-by: Jacob Trimble > --- > libavformat/avformat.h | 8 > libavformat/utils.c| 11 +++ > 2 files changed, 19 insertions(+) > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index

Re: [FFmpeg-devel] [PATCH v3 3/3] aadec: fix seeking in mp3 content

2018-07-02 Thread Michael Niedermayer
On Mon, Jul 02, 2018 at 07:21:43PM +0200, Karsten Otto wrote: > > > Am 02.07.2018 um 10:59 schrieb Michael Niedermayer : > > > > Signierter PGP-Teil > > On Thu, Jun 21, 2018 at 06:58:26PM +0200, Karsten Otto wrote: > >> MP3 frames may not be aligned to aa chunk boundaries. After seeking, > >> sca

[FFmpeg-devel] [PATCH 2/2] lavfi/vf_avgblur_opencl: remove useless clFinish().

2018-07-02 Thread Danil Iashchenko
The very last clFinish() should be ok. Signed-off-by: Ruiling Song --- libavfilter/vf_avgblur_opencl.c | 1 - 1 file changed, 1 deletion(-) Looks good to me. Thanks! Danil. diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c index bc6bcab..99ed1ca 100644 --- a/libavf

Re: [FFmpeg-devel] [PATCH] lavfi: add sobel, prewitt, roberts filters

2018-07-02 Thread Mark Thompson
On 30/06/18 01:46, Danil Iashchenko wrote: > Add opencl version of sobel, prewitt, roberts filters. > --- > Fixed, Thanks! > Docs to all opencl-based filters will be added in another patch. > > configure | 3 + > libavfilter/Makefile| 8 +- > libavfil

[FFmpeg-devel] [PATCH] avcodec/mpeg4videodec: Remove use of FF_PROFILE_MPEG4_SIMPLE_STUDIO as indicator of studio profile

2018-07-02 Thread Michael Niedermayer
The profile field is changed by code inside and outside the decoder, its not a reliable indicator of the internal codec state. Maintaining it consistency with studio_profile is messy. Its easier to just avoid it and use only studio_profile Fixes: assertion failure Fixes: ffmpeg_crash_9.avi Found-

Re: [FFmpeg-devel] [PATCH 1/2] lavfi/opencl: add macro for opencl error handling.

2018-07-02 Thread Mark Thompson
On 02/07/18 21:55, Ruiling Song wrote: > Signed-off-by: Ruiling Song > --- > libavfilter/opencl.h| 4 ++-- > libavfilter/vf_avgblur_opencl.c | 45 +-- > libavfilter/vf_overlay_opencl.c | 29 +-- > libavfilter/vf_program_opencl.c | 1

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-07-02 Thread Mark Thompson
ones, but it would be nice to know what was >> going wrong in the other cases.) > So, this version with segfault fix still does not work on Mali platform, same > error as before? Complete log below, running on a RK3288 with Mali T760. (The input file here is from <http://4km

[FFmpeg-devel] [PATCH] ffplay: add support for various YUV conversion modes

2018-07-02 Thread Marton Balint
SDL from version 2.0.8 has support for full range YUV and specifying BT601/BT709 color space for YUV->RGB conversion. Signed-off-by: Marton Balint --- fftools/ffplay.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/fftools/ffplay.c b/fftools/ffplay.c index 55cea32cae..36

[FFmpeg-devel] [PATCH 2/2] lavfi/vf_avgblur_opencl: remove useless clFinish().

2018-07-02 Thread Ruiling Song
The very last clFinish() should be ok. Signed-off-by: Ruiling Song --- libavfilter/vf_avgblur_opencl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavfilter/vf_avgblur_opencl.c b/libavfilter/vf_avgblur_opencl.c index bc6bcab..99ed1ca 100644 --- a/libavfilter/vf_avgblur_opencl.c +++ b/li

[FFmpeg-devel] [PATCH 1/2] lavfi/opencl: add macro for opencl error handling.

2018-07-02 Thread Ruiling Song
Signed-off-by: Ruiling Song --- libavfilter/opencl.h| 4 ++-- libavfilter/vf_avgblur_opencl.c | 45 +-- libavfilter/vf_overlay_opencl.c | 29 +-- libavfilter/vf_program_opencl.c | 14 ++- libavfilter/vf_tonemap_opencl.c | 33

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
On Mon, 2 Jul 2018, at 22:28, Pedro Arthur wrote: > > Sorry, you cannot dump 10kB of array and not explain where they come from. > We have the raw weights, the floats array, and we have a serialized > TensorFlow model. > The raw weights are use by our own "native" implementation, the > serialized

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Pedro Arthur
2018-07-02 17:05 GMT-03:00 Jean-Baptiste Kempf : > Hello, > > On Mon, 2 Jul 2018, at 21:54, Pedro Arthur wrote: >> 2018-07-02 16:19 GMT-03:00 Jean-Baptiste Kempf : >> > On Mon, 2 Jul 2018, at 20:52, Pedro Arthur wrote: >> >> >> > Where do they come from, how can we recreate them? >> >> >> Paper lin

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
Hello, On Mon, 2 Jul 2018, at 21:54, Pedro Arthur wrote: > 2018-07-02 16:19 GMT-03:00 Jean-Baptiste Kempf : > > On Mon, 2 Jul 2018, at 20:52, Pedro Arthur wrote: > >> >> > Where do they come from, how can we recreate them? > >> >> Paper link [1], and web page with reference matlab code [2]. > >> >

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Pedro Arthur
2018-07-02 16:19 GMT-03:00 Jean-Baptiste Kempf : > > > On Mon, 2 Jul 2018, at 20:52, Pedro Arthur wrote: >> >> > Where do they come from, how can we recreate them? >> >> Paper link [1], and web page with reference matlab code [2]. >> > >> > This code is not open source, and is not compatible with L

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
On Mon, 2 Jul 2018, at 20:52, Pedro Arthur wrote: > >> > Where do they come from, how can we recreate them? > >> Paper link [1], and web page with reference matlab code [2]. > > > > This code is not open source, and is not compatible with LGPLv2.1: > > > > "If you use/adapt our code in your work

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Pedro Arthur
2018-07-02 14:55 GMT-03:00 Jean-Baptiste Kempf : > Hello, > > On Mon, 2 Jul 2018, at 19:37, Pedro Arthur wrote: >> 2018-07-02 14:23 GMT-03:00 Jean-Baptiste Kempf : >> > On Mon, 2 Jul 2018, at 19:12, Pedro Arthur wrote: >> >> 2018-07-02 14:02 GMT-03:00 Jean-Baptiste Kempf : >> >> > On Mon, 2 Jul 201

[FFmpeg-devel] [PATCH 3/4] avcodec/shorten: Fix undefined integer overflow

2018-07-02 Thread Michael Niedermayer
Fixes: signed integer overflow: 8454144 * 256 cannot be represented in type 'int' Fixes: 8788/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5728205041303552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Mich

[FFmpeg-devel] [PATCH 4/4] avcodec/shorten: Fix undefined addition in shorten_decode_frame()

2018-07-02 Thread Michael Niedermayer
Fixes: signed integer overflow: 1139785606 + 1454196085 cannot be represented in type 'int' Fixes: 8937/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-6202943597445120 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-of

[FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: Check that there are enough bytes for all tiles

2018-07-02 Thread Michael Niedermayer
Fixes: OOM Fixes: 8781/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5810709081358336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 5 - 1 file change

[FFmpeg-devel] [PATCH 2/4] avcodec/jpeg2000dec: Fixes invalid shifts in jpeg2000_decode_packets_po_iteration()

2018-07-02 Thread Michael Niedermayer
Fixes: shift exponent 47 is too large for 32-bit type 'int' Fixes: 9163/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5661750182543360 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
Hello, On Mon, 2 Jul 2018, at 19:37, Pedro Arthur wrote: > 2018-07-02 14:23 GMT-03:00 Jean-Baptiste Kempf : > > On Mon, 2 Jul 2018, at 19:12, Pedro Arthur wrote: > >> 2018-07-02 14:02 GMT-03:00 Jean-Baptiste Kempf : > >> > On Mon, 2 Jul 2018, at 18:46, Sergey Lavrushkin wrote: > >> >> ffmpeg | bra

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Pedro Arthur
2018-07-02 14:23 GMT-03:00 Jean-Baptiste Kempf : > On Mon, 2 Jul 2018, at 19:12, Pedro Arthur wrote: >> 2018-07-02 14:02 GMT-03:00 Jean-Baptiste Kempf : >> > On Mon, 2 Jul 2018, at 18:46, Sergey Lavrushkin wrote: >> >> ffmpeg | branch: master | Sergey Lavrushkin | Thu >> >> Jun 14 00:37:12 2018 +0

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
On Mon, 2 Jul 2018, at 19:12, Pedro Arthur wrote: > 2018-07-02 14:02 GMT-03:00 Jean-Baptiste Kempf : > > On Mon, 2 Jul 2018, at 18:46, Sergey Lavrushkin wrote: > >> ffmpeg | branch: master | Sergey Lavrushkin | Thu > >> Jun 14 00:37:12 2018 +0300| [575b7189908e1cfa55104b0d2c7c9f6ea30ca2dc] | > >>

Re: [FFmpeg-devel] [PATCH v3 3/3] aadec: fix seeking in mp3 content

2018-07-02 Thread Karsten Otto
> Am 02.07.2018 um 10:59 schrieb Michael Niedermayer : > > Signierter PGP-Teil > On Thu, Jun 21, 2018 at 06:58:26PM +0200, Karsten Otto wrote: >> MP3 frames may not be aligned to aa chunk boundaries. After seeking, >> scan for the next valid frame header. Then truncate the packet, and >> also adj

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Pedro Arthur
2018-07-02 14:02 GMT-03:00 Jean-Baptiste Kempf : > On Mon, 2 Jul 2018, at 18:46, Sergey Lavrushkin wrote: >> ffmpeg | branch: master | Sergey Lavrushkin | Thu >> Jun 14 00:37:12 2018 +0300| [575b7189908e1cfa55104b0d2c7c9f6ea30ca2dc] | >> committer: Pedro Arthur >> >> Adds ESPCN super resolution fi

Re: [FFmpeg-devel] [PATCH v4 3/4] lavc: add avs2 parser

2018-07-02 Thread Carl Eugen Hoyos
2018-07-02 15:15 GMT+02:00, Moritz Barsnick : > On Mon, Jul 02, 2018 at 19:25:36 +0800, hwren wrote: >> Signed-off-by: hwren >> --- >> libavcodec/Makefile | 1 + >> libavcodec/libdavs2_parser.c | 95 >> >> libavcodec/parser.c | 1 +

Re: [FFmpeg-devel] [PATCH] avformat/avformat.h: Add av_stream_remove_side_data.

2018-07-02 Thread Jacob Trimble
On Mon, Jun 25, 2018 at 4:04 PM Jacob Trimble wrote: > > Signed-off-by: Jacob Trimble > --- > libavformat/avformat.h | 8 > libavformat/utils.c| 11 +++ > 2 files changed, 19 insertions(+) > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > index fdaffa5bf4..

Re: [FFmpeg-devel] [PATCH 3/3] avformat/mov: Expose encryption info to the app.

2018-07-02 Thread Jacob Trimble
On Mon, Jun 25, 2018 at 10:59 AM Jacob Trimble wrote: > > Rebased and updated to handle multiple PSSH atoms. PTAL. > > On Tue, Jan 9, 2018 at 10:28 AM Jacob Trimble wrote: >> >> On Mon, Jan 8, 2018 at 5:23 PM, Carl Eugen Hoyos wrote: >> > 2018-01-09 0:22 GMT+01:00 Jacob Trimble >> > : >> > >>

Re: [FFmpeg-devel] [FFmpeg-cvslog] Adds ESPCN super resolution filter merged with SRCNN filter.

2018-07-02 Thread Jean-Baptiste Kempf
On Mon, 2 Jul 2018, at 18:46, Sergey Lavrushkin wrote: > ffmpeg | branch: master | Sergey Lavrushkin | Thu > Jun 14 00:37:12 2018 +0300| [575b7189908e1cfa55104b0d2c7c9f6ea30ca2dc] | > committer: Pedro Arthur > > Adds ESPCN super resolution filter merged with SRCNN filter. Where is the source f

Re: [FFmpeg-devel] [GSOC] [PATCH] ESPCN super-resolution

2018-07-02 Thread Pedro Arthur
Warnings fixed and patch pushed. Thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v3 2/3] aadec: add chapters and seeking

2018-07-02 Thread Karsten Otto
> Am 02.07.2018 um 10:22 schrieb Michael Niedermayer : > > Signierter PGP-Teil > On Thu, Jun 21, 2018 at 06:58:25PM +0200, Karsten Otto wrote: >> read_packet reads content in chunks. Thus seek must be clamped to valid >> chunk positions in the file, which in turn are relative to chapter start >>

Re: [FFmpeg-devel] [PATCH 1/3] lavc: add ATRAC9 ID and description

2018-07-02 Thread Moritz Barsnick
On Sat, Jun 30, 2018 at 08:44:50 +0100, Rostislav Pehlivanov wrote: > --- > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 +++ > libavcodec/version.h| 2 +- > 3 files changed, 9 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > inde

Re: [FFmpeg-devel] [PATCH v4 3/4] lavc: add avs2 parser

2018-07-02 Thread Moritz Barsnick
On Mon, Jul 02, 2018 at 19:25:36 +0800, hwren wrote: > Signed-off-by: hwren > --- > libavcodec/Makefile | 1 + > libavcodec/libdavs2_parser.c | 95 > > libavcodec/parser.c | 1 + > 3 files changed, 97 insertions(+) > create mode 1

[FFmpeg-devel] [PATCH v4 2/4] lavf: add avs2 fourcc

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

[FFmpeg-devel] [PATCH v4 1/4] lavc,doc: add avs2 codec

2018-07-02 Thread hwren
Signed-off-by: hwren --- doc/APIchanges | 3 +++ libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/version.h| 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index efe15ba..3372118 100644 --- a/doc/A

[FFmpeg-devel] [PATCH v4 3/4] lavc: add avs2 parser

2018-07-02 Thread hwren
Signed-off-by: hwren --- libavcodec/Makefile | 1 + libavcodec/libdavs2_parser.c | 95 libavcodec/parser.c | 1 + 3 files changed, 97 insertions(+) create mode 100644 libavcodec/libdavs2_parser.c diff --git a/libavcodec/Makefile b

[FFmpeg-devel] [PATCH v4 4/4] lavc, doc, configure: add avs2 video decoder

2018-07-02 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 ++ doc/decoders.texi | 10 +++ doc/general.texi | 8 +++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libdavs2.c | 172 ++

Re: [FFmpeg-devel] [PATCH] avcodec/dvdsubdec: Check for fully transparent rectangles earlier

2018-07-02 Thread Michael Niedermayer
On Sun, Jul 01, 2018 at 04:08:38AM +0200, Michael Niedermayer wrote: > Testcase with large transparent rectangles changes from 67 sec to 3 sec > decode time > > Fixes: Timeout > Fixes: > 8728/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DVDSUB_fuzzer-5190088756559872 > > Found-by: continuo

Re: [FFmpeg-devel] [PATCH] avformat/apngdec: set pts to AV_NOPTS_VALUE

2018-07-02 Thread Marton Balint
On Thu, 28 Jun 2018, Paul B Mahol wrote: On 6/28/18, Marton Balint wrote: And let the generic code figure out the proper PTS. This is needed because apng does not provide seek functions, but after a generic seek (e.g. to file start) timestamps are not reset which causes broken timestamps whe

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: fix -stream_loop with multiple inputs

2018-07-02 Thread Marton Balint
On Thu, 28 Jun 2018, Gyan Doshi wrote: On 28-06-2018 02:35 AM, Marton Balint wrote: The input thread need to be properly cleaned up and re-initalized before we can start reading again in threaded mode. (threaded input reading is used when there are mode than one input file). Commit mess

[FFmpeg-devel] [PATCH] avformat/rtpenc_mpegts: copy metadata to mpegts sub-muxer

2018-07-02 Thread Moritz Barsnick
Fixes #7293. Signed-off-by: Moritz Barsnick --- Implemented to the best of my little knowledge (by checking other metadata use cases). Feel free to correct. Perhaps a candidate for backporting to release/4.0 or release/*? --- libavformat/rtpenc_mpegts.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop reading at position relative to EOF

2018-07-02 Thread Michael Niedermayer
On Fri, Jun 29, 2018 at 05:53:43PM +0200, morten.w...@gmail.com wrote: > From: withmorten > > Fixes ticket #7155: Add option to stop writing at position relative to EOF > > Signed-off-by: Morten With > --- > doc/ffmpeg.texi | 6 ++ > fftools/ffmpeg.h | 1 + > fftools/ffmpeg_opt.

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Add -toeof option to stop writing relative to EOF

2018-07-02 Thread Michael Niedermayer
Just reread this as the patch was pinged for needing review ... On Sun, Jun 10, 2018 at 11:07:58PM +0300, Jan Ekström wrote: [...] > Many people have their own use cases for various things and have > enough leverage to get things that specifically work for their use > case into the code base, whi

Re: [FFmpeg-devel] [PATCH v3 3/3] aadec: fix seeking in mp3 content

2018-07-02 Thread Michael Niedermayer
On Thu, Jun 21, 2018 at 06:58:26PM +0200, Karsten Otto wrote: > MP3 frames may not be aligned to aa chunk boundaries. After seeking, > scan for the next valid frame header. Then truncate the packet, and > also adjust timestamp information accordingly. > --- > libavformat/aadec.c | 33 +

Re: [FFmpeg-devel] [PATCH v3 2/3] aadec: add chapters and seeking

2018-07-02 Thread Michael Niedermayer
On Thu, Jun 21, 2018 at 06:58:25PM +0200, Karsten Otto wrote: > read_packet reads content in chunks. Thus seek must be clamped to valid > chunk positions in the file, which in turn are relative to chapter start > positions. > > So in read_header, scan for chapter headers once by skipping through t