Re: [FFmpeg-devel] [PATCH 5/5] libavcodec/jpeg2000dec.c: Remove log2_chroma check in pixel format selection

2020-06-25 Thread Gautam Ramakrishnan
On Fri, Jun 26, 2020 at 3:14 AM Michael Niedermayer wrote: > > On Fri, Jun 26, 2020 at 12:22:22AM +0530, Gautam Ramakrishnan wrote: > > On Tue, Jun 23, 2020 at 8:04 AM Gautam Ramakrishnan > > wrote: > > > > > > On Tue, Jun 23, 2020 at 2:55 AM Carl Eugen Hoyos > > > wrote: > > > > > > > > Am Mo.

Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-25 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Nicolas George > Sent: Friday, June 26, 2020 7:17 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Cc: Limin Wang > Subject: Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use > AV_BPRINT_SIZE_AUTOMATIC inst

Re: [FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-25 Thread Nicolas George
lance.lmw...@gmail.com (12020-06-26): > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavutil/bprint.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) No to gratuitous changes that pollute the log for no benefit: AV_BPRINT_SIZE_AUTOMATIC = 1 is documented and part of the API

Re: [FFmpeg-devel] [PATCH 5/6] avformat/aviobuf: INT_MAX -> AV_BPRINT_SIZE_UNLIMITED

2020-06-25 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/aviobuf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c > index a77517d..1e32c0c 100644 > --- a/libavformat/aviobuf.c > +++ b/li

[FFmpeg-devel] [PATCH 2/5] libavcodec/libaomenc: Add command-line options to control the use of partition tools.

2020-06-25 Thread Wang Cao
This patch adds the control for enabling rectangular partitions, 1:4/4:1 partitions and AB shape partitions. Signed-off-by: Wang Cao --- doc/encoders.texi | 10 ++ libavcodec/libaomenc.c | 15 +++ libavcodec/version.h | 2 +- 3 files changed, 26 insertions(+), 1 delet

[FFmpeg-devel] [PATCH 4/5] libavcodec/libaomenc.c: Add command-line options for tx tools.

2020-06-25 Thread Wang Cao
Signed-off-by: Wang Cao --- doc/encoders.texi | 21 + libavcodec/libaomenc.c | 31 +++ libavcodec/version.h | 2 +- 3 files changed, 53 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index f052d68c46..329c88

[FFmpeg-devel] [PATCH 5/5] libavcodec/libaomenc.c: Add command-line options for inter-coding tools

2020-06-25 Thread Wang Cao
Signed-off-by: Wang Cao --- doc/encoders.texi | 36 + libavcodec/libaomenc.c | 61 ++ libavcodec/version.h | 2 +- 3 files changed, 98 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 329

[FFmpeg-devel] [PATCH 3/5] libavcodec/libaomenc.c: Add command-line options for intra-coding tools

2020-06-25 Thread Wang Cao
Signed-off-by: Wang Cao --- doc/encoders.texi | 21 +++ libavcodec/libaomenc.c | 47 -- libavcodec/version.h | 2 +- 3 files changed, 63 insertions(+), 7 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index 6513f6c3

[FFmpeg-devel] [PATCH 6/6] avformat/gifdec: -1 -> AV_BPRINT_SIZE_UNLIMITED

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/gifdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/gifdec.c b/libavformat/gifdec.c index a31644c..d617de5 100644 --- a/libavformat/gifdec.c +++ b/libavformat/gifdec.c @@ -144,7 +144,7 @@ static int

[FFmpeg-devel] [PATCH 1/5] avcodec/libaomenc.c: Add super-resolution options to libaom wrapper

2020-06-25 Thread Wang Cao
From: Wang Cao Signed-off-by: Wang Cao --- doc/encoders.texi | 39 +++ libavcodec/libaomenc.c | 38 ++ libavcodec/version.h | 2 +- 3 files changed, 78 insertions(+), 1 deletion(-) diff --git a/doc/encoders.texi b/

[FFmpeg-devel] [PATCH 3/6] avcodec/dvbsubdec: Cosmetics

2020-06-25 Thread lance . lmwang
From: Limin Wang reindent code and fix the if( style Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 90 +- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index 263ba59..d151

[FFmpeg-devel] [PATCH 5/6] avformat/aviobuf: INT_MAX -> AV_BPRINT_SIZE_UNLIMITED

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index a77517d..1e32c0c 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -1191,7 +1191,7 @@ int

[FFmpeg-devel] [PATCH 1/6] avcodec/dvbsubdec: simplify code by using OFFSET() macro

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index f63a1f3..af6c78a 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -1730,10 +1

[FFmpeg-devel] [PATCH 4/6] avutil/bprint: use AV_BPRINT_SIZE_AUTOMATIC instead of 1

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavutil/bprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/bprint.c b/libavutil/bprint.c index 2f059c5..148b7bb 100644 --- a/libavutil/bprint.c +++ b/libavutil/bprint.c @@ -71,7 +71,7 @@ void av_bprint_init(AVB

[FFmpeg-devel] [PATCH 2/6] avcodec/dvbsubdec: prefer to use variable instead of type for sizeof

2020-06-25 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/dvbsubdec.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c index af6c78a..263ba59 100644 --- a/libavcodec/dvbsubdec.c +++ b/libavcodec/dvbsubdec.c @@ -81

Re: [FFmpeg-devel] [PATCH] libavcodec/pgx: Added pgx decoder

2020-06-25 Thread Carl Eugen Hoyos
Am Do., 25. Juni 2020 um 09:23 Uhr schrieb Gautam Ramakrishnan : > > On Thu, Jun 25, 2020 at 12:50 AM Carl Eugen Hoyos wrote: > > > +for (i = 0; i < 6; i++) { > > > +if (header_start[i] != (char)bytestream2_get_byteu(&s->g)) { > > > +return AVERROR_INVALIDDATA; > > > +

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-25 Thread Philip Langdale
On Thu, 25 Jun 2020 09:17:19 -0700 Philip Langdale wrote: > > > LGTM. > I have been reminded that this only compiles cleanly with the latest vdpau. We need #ifdef guards to continue compiling with older releases. --phil ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH 5/5] libavcodec/jpeg2000dec.c: Remove log2_chroma check in pixel format selection

2020-06-25 Thread Michael Niedermayer
On Fri, Jun 26, 2020 at 12:22:22AM +0530, Gautam Ramakrishnan wrote: > On Tue, Jun 23, 2020 at 8:04 AM Gautam Ramakrishnan > wrote: > > > > On Tue, Jun 23, 2020 at 2:55 AM Carl Eugen Hoyos wrote: > > > > > > Am Mo., 22. Juni 2020 um 04:57 Uhr schrieb Gautam Ramakrishnan > > > : > > > > > > > > On

Re: [FFmpeg-devel] [PATCH 5/5] libavcodec/jpeg2000dec.c: Remove log2_chroma check in pixel format selection

2020-06-25 Thread Carl Eugen Hoyos
Am Do., 25. Juni 2020 um 20:52 Uhr schrieb Gautam Ramakrishnan : > I ran the fuzzer (zzuf) where I ran ffmpeg with input files p1_01.j2k > and p1_07.j2k. > I tried with seeds from 0 to 1. > I tried error rates of 0.01, 0.1 and 0.5. There was no segfault. I > used the -c option as > I only want

Re: [FFmpeg-devel] [PATCH 2/2] Add VDPAU to list of supported formats

2020-06-25 Thread Philip Langdale
On Thu, 25 Jun 2020 16:53:02 +0530 ManojGuptaBonda wrote: > Added VDPAU to list of supported formats for HEVC10 and 12 bit formats > also added 42010 bit to surface_parameters and new VDP chroma formats > to VDPAUPixFmtMaps > > Add HEVC 420 10/12 Bit and 444 10/12 Bit support for VDPAU > > >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-25 Thread Philip Langdale
On Thu, 25 Jun 2020 16:53:01 +0530 ManojGuptaBonda wrote: > Add vdpau_parse_rext_profile and use profile constraint flags to > determine the exact vdp_profile for HEVC_REXT. > > If profile mismatch is allowed, select Main profile by default. > > Add build object in Makefile for h265_profile_lev

[FFmpeg-devel] [PATCH] libavfilter/vf_codecview: enable qp visualization for H264 and VP9

2020-06-25 Thread Yongle Lin
Add qp visualization in codecview filter which supports H264 and VP9 codecs. Add options for luma/chroma qp and AC/DC qp as well. There is a old way to visualize it but it's deprecated since version 58. example command line to visualize qp: ./ffmpeg -export_side_data +venc_params -i input.mp4 -vf

Re: [FFmpeg-devel] [PATCH 5/5] libavcodec/jpeg2000dec.c: Remove log2_chroma check in pixel format selection

2020-06-25 Thread Gautam Ramakrishnan
On Tue, Jun 23, 2020 at 8:04 AM Gautam Ramakrishnan wrote: > > On Tue, Jun 23, 2020 at 2:55 AM Carl Eugen Hoyos wrote: > > > > Am Mo., 22. Juni 2020 um 04:57 Uhr schrieb Gautam Ramakrishnan > > : > > > > > > On Mon, Jun 22, 2020 at 1:54 AM Carl Eugen Hoyos > > > wrote: > > > > > > > > Am So., 2

[FFmpeg-devel] [PATCH v2] avfilter: add nonlinearstretch filter.

2020-06-25 Thread Mathias Rasmussen
--- Changelog | 1 + doc/filters.texi | 34 libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/version.h | 2 +- libavfilter/vf_nonlinearstretch.c | 268 +

[FFmpeg-devel] [PATCH 1/3] lavfi/buffersink: add av_buffersink_get_pts().

2020-06-25 Thread Nicolas George
TODO APIChange & bump Signed-off-by: Nicolas George --- libavfilter/buffersink.c | 5 + libavfilter/buffersink.h | 5 + 2 files changed, 10 insertions(+) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 76a46f6678..c65a5051a4 100644 --- a/libavfilter/buffersink.c +

[FFmpeg-devel] [PATCH 3/3] fftools/ffmpeg: get EOF timestamp from filter.

2020-06-25 Thread Nicolas George
Signed-off-by: Nicolas George --- fftools/ffmpeg.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) This breaks fate-lagarith-ticket4119-cfr. I have decided to leave it. The new output is more correct. The input ends with: pts_time=2.00 duration_time=0.04 It is right t

[FFmpeg-devel] [PATCH 2/3] fftools/ffmpeg: move filter/encoder PTS computation to a separate function.

2020-06-25 Thread Nicolas George
Signed-off-by: Nicolas George --- fftools/ffmpeg.c | 45 +++-- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 2e9448ea2b..3919f2ab62 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -1404,6 +

[FFmpeg-devel] [PATCH] avcodec/pngdec: Check for fctl after idat

2020-06-25 Thread Michael Niedermayer
Fixes: out of array access Fixes: 23554/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APNG_fuzzer-4796622520451072.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/pngdec.c | 5 +

[FFmpeg-devel] [PATCH v3] avcodec/libaomenc.c: Add super-resolution options to libaom wrapper

2020-06-25 Thread Wang Cao
From: Wang Cao Signed-off-by: Wang Cao --- Updated to use the enum defined in libaom for super-resolution. doc/encoders.texi | 39 +++ libavcodec/libaomenc.c | 38 ++ libavcodec/version.h | 2 +- 3 files changed, 78

[FFmpeg-devel] [PATCH]libavfilter/asrc_atone.c : generate algorithmic music

2020-06-25 Thread Ashutosh Pradhan
Generate algorithmic riff music. Changed to activate api. Changelog| 2 +- configure| 4 + doc/filters.texi | 56 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/asrc_atone.c | 474

Re: [FFmpeg-devel] [PATCH v2] avcodec/mpeg12dec: switch to AVBufferRef buffer for a53 caption

2020-06-25 Thread lance . lmwang
On Sun, Jun 21, 2020 at 09:30:12PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > It's old patch, rebase with master, now have tested with the mpeg2 sample > for ticket 6105, the output srt is same. > > libavcodec/mpeg12dec.c | 85 > +

[FFmpeg-devel] [PATCH] avdevice/xcbgrab: Add select_region option.

2020-06-25 Thread Omar Emara
This patch adds a select_region option to the xcbgrab input device. If set to 1, the user will be prompted to select the grabbing area graphically by clicking and dragging. A rectangle will be drawn to mark the grabbing area. A single click with no dragging will select the whole screen. The option

Re: [FFmpeg-devel] [PATCH v4 0/6] adpcm_ima_apm encoder + apm muxer

2020-06-25 Thread Zane van Iperen
On Sat, 20 Jun 2020 10:59:09 + "Zane van Iperen" wrote: > > Add support for encoding adpcm_ima_apm and muxing to apm. > Ping. Zane ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubsc

Re: [FFmpeg-devel] [PATCH] avformat/mov: fix missing line break in messages

2020-06-25 Thread myp...@gmail.com
On Thu, Jun 25, 2020 at 6:46 PM Moritz Barsnick wrote: > > One of them can be triggered by https://samples.ffmpeg.org/F4V/H263_NM_f.mp4. > > Signed-off-by: Moritz Barsnick > --- > libavformat/mov.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/mov.c b/l

[FFmpeg-devel] [PATCH 1/2] lavc/vdpau_hevc: add function to find exact vdp_profile for REXT

2020-06-25 Thread ManojGuptaBonda
Add vdpau_parse_rext_profile and use profile constraint flags to determine the exact vdp_profile for HEVC_REXT. If profile mismatch is allowed, select Main profile by default. Add build object in Makefile for h265_profile_level dependency. --- libavcodec/Makefile | 2 +- libavcodec/vdpau_he

[FFmpeg-devel] [PATCH 0/2] VDPAU HEVC 10/12 Bit Decode Support

2020-06-25 Thread ManojGuptaBonda
NVIDIA R450 driver added VDPAU support for HEVC 10/12 bit Decoding adding the same in ffmpeg ManojGuptaBonda (2): lavc/vdpau_hevc: add function to find exact vdp_profile for REXT Add VDPAU to list of supported formats libavcodec/Makefile | 2 +- libavcodec/hevcdec.c| 6 +++

[FFmpeg-devel] [PATCH 2/2] Add VDPAU to list of supported formats

2020-06-25 Thread ManojGuptaBonda
Added VDPAU to list of supported formats for HEVC10 and 12 bit formats also added 42010 bit to surface_parameters and new VDP chroma formats to VDPAUPixFmtMaps Add HEVC 420 10/12 Bit and 444 10/12 Bit support for VDPAU YUV444P10 is defined as the 444 surface with 10bit valid data in LSBs but H/

[FFmpeg-devel] [PATCH] avformat/mov: fix missing line break in messages

2020-06-25 Thread Moritz Barsnick
One of them can be triggered by https://samples.ffmpeg.org/F4V/H263_NM_f.mp4. Signed-off-by: Moritz Barsnick --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index adc52de947..40fff5dd7d 100644 --- a/libavformat/m

Re: [FFmpeg-devel] [Result] General Assembly extra members

2020-06-25 Thread Jean-Baptiste Kempf
On Thu, Jun 25, 2020, at 10:59, Jean-Baptiste Kempf wrote: > Hello, > > The 3 extra members have been elected to the General Assembly the vote > that happened online. > > FYI: 26 people voted out of 49 people. The full results can be found here: https://vote.ffmpeg.org/cgi-bin/civs/results.pl?i

[FFmpeg-devel] [Result] General Assembly extra members

2020-06-25 Thread Jean-Baptiste Kempf
Hello, The 3 extra members have been elected to the General Assembly the vote that happened online. FYI: 26 people voted out of 49 people. The next vote will have those 3 people added to the list of voters. Thanks for the participation! Best, -- Jean-Baptiste Kempf - President +33 672 704

Re: [FFmpeg-devel] [PATCH] libavcodec/pgx: Added pgx decoder

2020-06-25 Thread Gautam Ramakrishnan
On Thu, Jun 25, 2020 at 12:50 AM Carl Eugen Hoyos wrote: > > Am Mi., 24. Juni 2020 um 20:55 Uhr schrieb : > > > > From: Gautam Ramakrishnan > > > > This patch support to read and decode > > pgx files. > > --- > > libavcodec/Makefile | 1 + > > libavcodec/allcodecs.c | 1 + > > libavco