Re: [FFmpeg-devel] [PATCH] avfilter: add shufflepixels video filter

2020-12-20 Thread Paul B Mahol
Will apply soon! On Thu, Dec 17, 2020 at 3:53 PM Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 27 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_shufflepixels.c | 456 +++

Re: [FFmpeg-devel] [PATCH] avformat/libamqp: add option vhost

2020-12-20 Thread Florian Levis
Thanks Marton for the clarification Thanks Andriy -- Florian LEVIS Le dim. 20 déc. 2020 à 02:30, Andriy Gelman a écrit : > On Sat, 19. Dec 18:41, Florian Levis wrote: > > I have no idea how to do it. > > I can take a look ; but I'm really not sure how to do it. > > > > If one of you can handle

Re: [FFmpeg-devel] [PATCH 0/3] add vvc raw demuxer

2020-12-20 Thread Nuo Mi
Hi James, Thanks for the suggestion. Now the vvcdec decoder is workable. The md5 is matched with the vvdecapp. I am working on the conformance test. Hope I can send the patch later. thanks On Thu, Dec 17, 2020 at 4:56 AM James Almer wrote: > On 12/15/2020 10:43 AM, Nuo Mi wrote: > > On Tue, Dec

[FFmpeg-devel] [PATCH] avcodec/mjpegdec: Cleanup ff_smvjpeg_decoder()

2020-12-20 Thread Michael Niedermayer
Fixes: memleaks Fixes: 28533/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMVJPEG_fuzzer-6242529653686272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mjpegdec.c | 2 +- 1 file changed

[FFmpeg-devel] [PATCH] avfilter/vf_framerate: fix infinite loop with 1-frame input

2020-12-20 Thread Marton Balint
Fixes infinite loop in: ffmpeg -f lavfi -i testsrc=d=0.04 -vf framerate=50 -f null none Signed-off-by: Marton Balint --- libavfilter/vf_framerate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_framerate.c b/libavfilter/vf_framerate.c index 6c8d01c94b..f50

[FFmpeg-devel] [PATCH 1/3] avcodec/mjpegdec: Cleanup ff_smvjpeg_decoder()

2020-12-20 Thread Michael Niedermayer
Fixes: memleaks Fixes: 28533/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMVJPEG_fuzzer-6242529653686272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mjpegdec.c | 2 +- 1 file changed

[FFmpeg-devel] [PATCH 3/3] avcodec/cfhd: More strictly check tag order and multiplicity

2020-12-20 Thread Michael Niedermayer
This is based on the encoder and a small number of CFHD sample files It should make the decoder more robust against crafted input. Due to the lack of a proper specification it is possible that this may be too strict and may need to be tuned as files not following this ordering are found. Fixes: se

[FFmpeg-devel] [PATCH 2/3] avcodec/cfhd: check peak.offset

2020-12-20 Thread Michael Niedermayer
Fixes: signed integer overflow: -2147483648 - 4 cannot be represented in type 'int' Fixes: 26907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5746202330267648 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Mich

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/cfhd: check peak.offset so it stays within the 32bit range

2020-12-20 Thread Michael Niedermayer
On Sun, Nov 08, 2020 at 03:42:30AM +0100, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: signed integer overflow: -2147483648 - 4 cannot be represented in > > type 'int' > > Fixes: > > 26907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5746202330267648 > > > > Found

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/cfhd: More strictly check tag order and multiplicity

2020-12-20 Thread Paul B Mahol
Unacceptable, please share privately sample that allows to reproduce this. On Sun, Dec 20, 2020 at 10:16 PM Michael Niedermayer wrote: > This is based on the encoder and a small number of CFHD sample files > It should make the decoder more robust against crafted input. > Due to the lack of a pro

Re: [FFmpeg-devel] [PATCH] avformat/amqp: parse vhost in uri

2020-12-20 Thread Marton Balint
On Sat, 19 Dec 2020, Andriy Gelman wrote: From: Andriy Gelman Signed-off-by: Andriy Gelman --- doc/protocols.texi| 7 --- libavformat/libamqp.c | 31 ++- 2 files changed, 30 insertions(+), 8 deletions(-) LGTM, thanks. Regards, Marton diff --git a/doc

Re: [FFmpeg-devel] [PATCH 2/8] avformat/mpegts: simplify nb_packets code

2020-12-20 Thread Marton Balint
On Sat, 19 Dec 2020, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 1122455f66..cc292ab929 100644 --- a/libavformat/mpegts.c +++

Re: [FFmpeg-devel] [PATCH] avformat/amqp: parse vhost in uri

2020-12-20 Thread Andriy Gelman
On Sun, 20. Dec 23:11, Marton Balint wrote: > > > On Sat, 19 Dec 2020, Andriy Gelman wrote: > > > From: Andriy Gelman > > > > Signed-off-by: Andriy Gelman > > --- > > doc/protocols.texi| 7 --- > > libavformat/libamqp.c | 31 ++- > > 2 files changed, 30 inse

Re: [FFmpeg-devel] [PATCH]lavd/decklink_dec: Use correct case for codec point / fourcc v210

2020-12-20 Thread Marton Balint
On Sun, 13 Dec 2020, Carl Eugen Hoyos wrote: Am Sa., 12. Dez. 2020 um 10:57 Uhr schrieb Marton Balint : On Fri, 11 Dec 2020, Carl Eugen Hoyos wrote: Attached patch fixes ticket #9005. Why are the codec_tags set at all? Can't we simply remove setting of all the codec tags in decklink? The

[FFmpeg-devel] [PATCH 2/6] avcodec: add h266 codec id and profiles

2020-12-20 Thread Nuo Mi
--- libavcodec/avcodec.h| 2 ++ libavcodec/codec_desc.c | 8 libavcodec/codec_id.h | 2 ++ libavcodec/profiles.c | 5 + libavcodec/profiles.h | 1 + 5 files changed, 18 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1d3099d50a..f7ea4d5849 10064

[FFmpeg-devel] [PATCH 6/6] avcodec: add vvdec H.266/VVC decoder

2020-12-20 Thread Nuo Mi
you can download test clips here: https://www.itu.int/wftp3/av-arch/jvet-site/bitstream_exchange/VVC/under_test/VTM-11.0/ 68.48% (163/238) clips are md5 matched with VTM 11: passed: 10b400_A_Bytedance_2.bit 10b400_B_Bytedance_2.bit 8b400_A_Bytedance_2.bit 8b400_B_Bytedance_2.bit 8b420_A_Bytedance

Re: [FFmpeg-devel] [PATCH 1/6] avcodec/h266: add shared header for h266

2020-12-20 Thread Nuo Mi
This patch set need work with https://github.com/fraunhoferhhi/vvdec/pull/18 On Mon, Dec 21, 2020 at 2:08 PM Nuo Mi wrote: > --- > libavcodec/h266.h | 121 ++ > 1 file changed, 121 insertions(+) > create mode 100644 libavcodec/h266.h > > diff --git

[FFmpeg-devel] [PATCH 1/6] avcodec/h266: add shared header for h266

2020-12-20 Thread Nuo Mi
--- libavcodec/h266.h | 121 ++ 1 file changed, 121 insertions(+) create mode 100644 libavcodec/h266.h diff --git a/libavcodec/h266.h b/libavcodec/h266.h new file mode 100644 index 00..d5793b76fc --- /dev/null +++ b/libavcodec/h266.h @@ -0,0 +1

[FFmpeg-devel] [PATCH 5/6] avcodec: add h266 parser

2020-12-20 Thread Nuo Mi
--- configure| 3 + libavcodec/Makefile | 1 + libavcodec/h2645_parse.c | 73 +- libavcodec/h266_parser.c | 284 +++ libavcodec/parsers.c | 1 + 5 files changed, 360 insertions(+), 2 deletions(-) create mode 100644 libavc

[FFmpeg-devel] [PATCH 3/6] avformat: add h266 raw demux

2020-12-20 Thread Nuo Mi
--- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/h266dec.c| 61 3 files changed, 63 insertions(+) create mode 100644 libavformat/h266dec.c diff --git a/libavformat/Makefile b/libavformat/Makefile index 97d868081b..c685

[FFmpeg-devel] [PATCH 4/6] avcodec: add cbs for h266

2020-12-20 Thread Nuo Mi
--- libavcodec/Makefile |1 + libavcodec/cbs.c |6 + libavcodec/cbs_h2645.c| 337 ++ libavcodec/cbs_h266.h | 711 libavcodec/cbs_h266_syntax_template.c | 1493 + libavcodec/cbs