Re: [FFmpeg-devel] [PATCH] avcodec/libvpxenc, cosmetics: prefer sizeof(var)

2020-01-06 Thread James Zern
On Fri, Jan 3, 2020 at 5:28 PM James Almer wrote: > > On 1/3/2020 10:16 PM, James Zern wrote: > > Signed-off-by: James Zern > > --- > > libavcodec/libvpxenc.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c > > inde

Re: [FFmpeg-devel] [PATCH 2/2] vf_dnn_processing: add support for more formats gray8 and grayf32

2020-01-06 Thread Guo, Yejun
> -Original Message- > From: Guo, Yejun > Sent: Friday, December 27, 2019 4:34 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Guo, Yejun > Subject: [PATCH 2/2] vf_dnn_processing: add support for more formats gray8 > and grayf32 this patch set asks for review, thanks. btw, I'll add the fate tes

Re: [FFmpeg-devel] [PATCH v6] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 10:03:42PM +, Mark Thompson wrote: > On 06/01/2020 14:54, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > Fix for the v5 commit message change when copy(add avutil:) > > > > doc/APIchanges | 3 +++ > > libavutil/

[FFmpeg-devel] [PATCH v7 8/8] avcodec/h265_metadata_bsf: add option to insert a string as SEI unregistered user data

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/bitstream_filters.texi | 8 libavcodec/h265_metadata_bsf.c | 68 +- 2 files changed, 75 insertions(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 8fe5b3ad7

[FFmpeg-devel] [PATCH v7 7/8] avcodec/cbs_h2645: add helper functions to insert and delete SEI PREFIX messages

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/cbs_h2645.c | 93 ++ libavcodec/cbs_h265.h | 25 2 files changed, 118 insertions(+) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index 5f71d80584..2fc957dc27 100644 -

[FFmpeg-devel] [PATCH v7 3/8] avfilter/vf_showinfo: display user data unregistered message

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_showinfo.c | 37 + 1 file changed, 37 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 31f6b32aa4..14e73019d2 100644 --- a/libavfilter/vf_showinfo.c +++ b/lib

[FFmpeg-devel] [PATCH v7 6/8] avcodec/h264_metadata_bsf: Fix user data failed to insert in case no SPSs NAL for global headers

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264_metadata_bsf.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_metadata_bsf.c b/libavcodec/h264_metadata_bsf.c index d96a50dbf7..a320589530 100644 --- a/libavcodec/h264_metadata_bsf.c +++ b/

[FFmpeg-devel] [PATCH v7 4/8] avcodec/h264: create user data unregistered side data for H.264

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264_sei.c | 30 +- libavcodec/h264_sei.h | 2 + libavcodec/h264_slice.c | 14 +++ tests/ref/fate/mov-zombie | 195 +- 4 files changed, 171 insertions(+), 70 deletions(-) diff --git

[FFmpeg-devel] [PATCH v7 5/8] avcodec/h264_metadata_bsf: Fix for the incorrect user data with hyphens

2020-01-06 Thread lance . lmwang
From: Limin Wang How to reproduce: ./ffmpeg -f lavfi -i testsrc -c:v libx264 -g 25 -bsf:v h264_metadata=sei_user_data=186f3693-b7b3-4f2c-9653-21492feee5b8+hello -frames:v 1 h264.mp4 master: [Parsed_showinfo_0 @ 0x7fc8a0703180] UUID=186f3693-7030-4f2c-6030-21492feee5b8 [Parsed_showinfo_0 @ 0x7f

[FFmpeg-devel] [PATCH v7 2/8] avcodec/hevc_sei: add support for user data unregistered SEI message

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_sei.c | 31 + libavcodec/hevc_sei.h | 6 ++ libavcodec/hevcdec.c| 14 + tests/ref/fate/hevc-monochrome-crop | 3 +++ 4 files changed, 54 inser

[FFmpeg-devel] [PATCH v7 1/8] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 8 libavutil/version.h | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 3c24dc6fbc..6e1673e25e 100644

Re: [FFmpeg-devel] [PATCH] HEVC: Export motion vectors to frame side data.

2020-01-06 Thread Zhong Li
Haven't tested but patch LGTM Asaf Kave 于2019年12月29日周日 下午10:08写道: > > --- > libavcodec/hevc_refs.c | 15 > libavcodec/hevcdec.c | 173 - > libavcodec/hevcdec.h | 13 > 3 files changed, 200 insertions(+), 1 deletion(-) > > diff --git a/libav

Re: [FFmpeg-devel] [PATCH] lavf/libsrt: Fix typo

2020-01-06 Thread myp...@gmail.com
On Tue, Jan 7, 2020 at 1:43 AM Anthony Delannoy wrote: > > --- > libavformat/libsrt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c > index a727b1c3e4..16975b6d94 100644 > --- a/libavformat/libsrt.c > +++ b/libavformat/lib

Re: [FFmpeg-devel] [PATCH v1] avcodec/decode: replace avctx->internal with avci for better readability

2020-01-06 Thread Michael Niedermayer
On Mon, Jan 06, 2020 at 06:31:03PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/decode.c | 52 +++-- > 1 file changed, 27 insertions(+), 25 deletions(-) will apply thx [...] -- Michael Gn

Re: [FFmpeg-devel] [PATCH 2/2] avformat/aviobuf: Honor avio_open[2] documentation

2020-01-06 Thread Michael Niedermayer
On Mon, Jan 06, 2020 at 03:51:49PM +0100, Andreas Rheinhardt wrote: > The documentation of both avio_open() as well as avio_open2() states > that on failure, the pointer to an AVIOContext given to this function > (via a pointer to a pointer to an AVIOContext) will be set to NULL. Yet > it didn't ha

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

2020-01-06 Thread Michael Niedermayer
On Fri, Nov 29, 2019 at 07:28:23PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Have tested with be and le pixel format on be and le system for >8bit. > System: > lmwang@ubuntu:~/ffmpeg.git.mips$ grep HAVE_BIGENDIAN config.h > #define HAVE_BIGENDIAN 1 > ffmpeg.git git:(showinfo) ✗

Re: [FFmpeg-devel] [PATCH] avcodec/vmdaudio: Check block_align more

2020-01-06 Thread Michael Niedermayer
On Mon, Jan 06, 2020 at 04:15:47PM +0100, Paul B Mahol wrote: > ok will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human being will ever know the Truth, for even if they happen to say it by chance, they would not even known they had done so. -

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

2020-01-06 Thread Michael Niedermayer
On Mon, Jan 06, 2020 at 03:28:47PM +0800, Ting Fu wrote: > Tested using this command: > /ffmpeg -pix_fmt yuv420p -s 1920*1080 -i ArashRawYuv420.yuv \ > -vcodec rawvideo -s 1920*1080 -pix_fmt rgb24 -f null /dev/null > > The fps increase from 389 to 640 on my local machine. Please include informat

Re: [FFmpeg-devel] [PATCH v6] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 10:03:42PM +, Mark Thompson wrote: > On 06/01/2020 14:54, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > Fix for the v5 commit message change when copy(add avutil:) > > > > doc/APIchanges | 3 +++ > > libavutil/

Re: [FFmpeg-devel] [PATCH v5 4/4] avcodec/h264: create user data unregistered side data H.264

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 10:18:13PM +, Mark Thompson wrote: > On 02/01/2020 01:28, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/h264_sei.c | 20 +++-- > > libavcodec/h264_sei.h | 2 + > > libavcodec/h264_slice.c | 1

Re: [FFmpeg-devel] [PATCH v5 3/4] avfilter/vf_showinfo: display user data unregistered message

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 10:38:22PM +, Mark Thompson wrote: > On 02/01/2020 01:28, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavfilter/vf_showinfo.c | 33 + > > 1 file changed, 33 insertions(+) > > > >

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/h265_metadata_bsf: add option to insert a string as SEI unregistered user data

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 09:51:34PM +, Mark Thompson wrote: > On 28/12/2019 01:38, Limin Wang wrote: > > On Fri, Dec 27, 2019 at 11:32:40PM +, Mark Thompson wrote: > >> On 26/12/2019 01:01, lance.lmw...@gmail.com wrote: > >>> From: Limin Wang > >>> > >>> Signed-off-by: Limin Wang > >>> ---

Re: [FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

2020-01-06 Thread Mark Thompson
On 30/12/2019 07:32, Xinpeng Sun wrote: > "VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1, which > will lead to > build failure for the filter tonemap_vaapi for libva 2.3.0 with current > check. This patch > is to fix this build error. > > Signed-off-by: Xinpeng Sun > ---

Re: [FFmpeg-devel] [PATCH] avcodec/h265_metadata_bsf: Setting vps/sps/pps id

2020-01-06 Thread Andriy Gelman
Hello Eran, On Mon, 06. Jan 23:14, Eran Gonen wrote: > Hi, > > Resending because it didn't get the patch list. Just one file this time. I've added your patch to the list: https://patchwork.ffmpeg.org/project/ffmpeg/patch/CAOOJq0rd1qfXB7h_YHKtQR=hckw92ggb3c2fa4yviaxjttw...@mail.gmail.com/ For

Re: [FFmpeg-devel] [PATCH v5 3/4] avfilter/vf_showinfo: display user data unregistered message

2020-01-06 Thread Mark Thompson
On 02/01/2020 01:28, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_showinfo.c | 33 + > 1 file changed, 33 insertions(+) > > diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c > index 31f6b3

Re: [FFmpeg-devel] [PATCH v5 4/4] avcodec/h264: create user data unregistered side data H.264

2020-01-06 Thread Mark Thompson
On 02/01/2020 01:28, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/h264_sei.c | 20 +++-- > libavcodec/h264_sei.h | 2 + > libavcodec/h264_slice.c | 14 > tests/ref/fate/mov-zombie | 195 > ++

Re: [FFmpeg-devel] [PATCH v6] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-06 Thread Mark Thompson
On 06/01/2020 14:54, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > Fix for the v5 commit message change when copy(add avutil:) > > doc/APIchanges | 3 +++ > libavutil/frame.c | 1 + > libavutil/frame.h | 8 > libavutil/version.h | 2 +-

Re: [FFmpeg-devel] [PATCH]Silence an ugly clang warning

2020-01-06 Thread Carl Eugen Hoyos
Am Mo., 6. Jan. 2020 um 19:42 Uhr schrieb Paul B Mahol : > > LGTM Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffm

Re: [FFmpeg-devel] [PATCH v2 2/2] avcodec/h265_metadata_bsf: add option to insert a string as SEI unregistered user data

2020-01-06 Thread Mark Thompson
On 28/12/2019 01:38, Limin Wang wrote: > On Fri, Dec 27, 2019 at 11:32:40PM +, Mark Thompson wrote: >> On 26/12/2019 01:01, lance.lmw...@gmail.com wrote: >>> From: Limin Wang >>> >>> Signed-off-by: Limin Wang >>> --- >>> update to add keyframe NAL checking as H.264 patch for global header >>

Re: [FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

2020-01-06 Thread Mark Thompson
On 06/01/2020 19:24, Eran Gonen wrote:> On Mon, Jan 6, 2020 at 9:05 PM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> On Mon, Jan 6, 2020 at 7:54 PM Eran Gonen >> wrote: >> >>> Hi, >>> >>> The attached patch allows setting vps/sps/pps id >>> >>> Usage: >>> /ffmpeg -i source -c:

[FFmpeg-devel] [PATCH] avcodec/h265_metadata_bsf: Setting vps/sps/pps id

2020-01-06 Thread Eran Gonen
Hi, Resending because it didn't get the patch list. Just one file this time. The attached patch allows setting vps/sps/pps id. Usage: /ffmpeg -i source -c:v libx265 -bsf:v hevc_metadata=sps_id=8:pps_id=12:vps_id=3 output Best, Eran Gonen 0001-Add-vps-sps-pps-id-set-to-hevc_metadata-bsf.patch

Re: [FFmpeg-devel] [PATCH] CDToons decoder

2020-01-06 Thread Alyssa Milburn
On Sun, Jan 05, 2020 at 07:37:06PM -0300, James Almer wrote: > > + * Copyright (C) 2011 The FFmpeg project > > 2011? This patch has been lying around for a while. :/ Will update to 2020. > Use av_fast_malloc() instead of constantly freeing and reallocating > these buffers. See libavutil/mem.h S

Re: [FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

2020-01-06 Thread Eran Gonen
Thanks Andreas. I also thought about this point. I guess the same goes to the rest of parameters in hevc_metadata. They all affect all sets in the file. Maybe that's the intention of the user for such files. On Mon, Jan 6, 2020 at 9:05 PM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote:

Re: [FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

2020-01-06 Thread Andreas Rheinhardt
On Mon, Jan 6, 2020 at 7:54 PM Eran Gonen wrote: > Hi, > > The attached patch allows setting vps/sps/pps id > > Usage: > /ffmpeg -i source -c:v libx265 -bsf:v > hevc_metadata=sps_id=8:pps_id=12:vps_id=3 output > > There is a problem with this: Input files with parameter sets of the same kind with

[FFmpeg-devel] setting vps/sps/pps id via hevc_metadata

2020-01-06 Thread Eran Gonen
Hi, The attached patch allows setting vps/sps/pps id Usage: /ffmpeg -i source -c:v libx265 -bsf:v hevc_metadata=sps_id=8:pps_id=12:vps_id=3 output Best, Eran Gonen 0001-Add-vps-sps-pps-id-set-to-hevc_metadata-bsf.patch Description: Binary data 0001-Add-vps-sps-pps-id-set-to-hevc_metadata-bsf

Re: [FFmpeg-devel] [PATCH 3/3] avdevice/decklink: deprecate the -list_formats option

2020-01-06 Thread Marton Balint
On Mon, 6 Jan 2020, Matthias Hunstock wrote: Am 27.12.19 um 23:17 schrieb Marton Balint: The user should use ffmpeg -sources decklink or ffmpeg -sinks decklink instead. the subject / log message is wrong (mentions format but patch is about devices) but I guess it's too late now. I notice

Re: [FFmpeg-devel] [PATCH]Silence an ugly clang warning

2020-01-06 Thread Paul B Mahol
LGTM On 1/6/20, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes several warnings when compiling with clang. > > Please comment, Carl Eugen > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel T

Re: [FFmpeg-devel] [PATCH]Silence an ugly clang warning

2020-01-06 Thread Paul B Mahol
LGTM On 1/6/20, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes several warnings when compiling with clang. > > Please comment, Carl Eugen > ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel T

[FFmpeg-devel] [PATCH] lavf/libsrt: Fix typo

2020-01-06 Thread Anthony Delannoy
--- libavformat/libsrt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index a727b1c3e4..16975b6d94 100644 --- a/libavformat/libsrt.c +++ b/libavformat/libsrt.c @@ -337,9 +337,9 @@ static int libsrt_set_options_pre(URLContext *h

Re: [FFmpeg-devel] [PATCH 3/3] avdevice/decklink: deprecate the -list_formats option

2020-01-06 Thread Matthias Hunstock
Am 27.12.19 um 23:17 schrieb Marton Balint: > The user should use ffmpeg -sources decklink or ffmpeg -sinks decklink > instead. the subject / log message is wrong (mentions format but patch is about devices) but I guess it's too late now. Matthias > Signed-off-by: Marton Balint > --- > doc

[FFmpeg-devel] [PATCH]Silence an ugly clang warning

2020-01-06 Thread Carl Eugen Hoyos
Hi! Attached patch fixes several warnings when compiling with clang. Please comment, Carl Eugen From fa987cd315d432146e48f7d07832ff153eacb4bd Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Mon, 6 Jan 2020 16:16:18 +0100 Subject: [PATCH] Silence "string-plus-int" warning shown by clang. l

Re: [FFmpeg-devel] [PATCH 2/2] tests/fate/lavf-video.mak: better looking gif dependancies

2020-01-06 Thread Carl Eugen Hoyos
Am Mo., 6. Jan. 2020 um 15:50 Uhr schrieb James Almer : > > On 1/6/2020 10:55 AM, Michael Niedermayer wrote: > > The gif test should depend on gif not fits > > > > Signed-off-by: Michael Niedermayer > > --- > > tests/fate/lavf-video.mak | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [FFmpeg-devel] [PATCH] avcodec/vmdaudio: Check block_align more

2020-01-06 Thread Paul B Mahol
ok On 1/6/20, Michael Niedermayer wrote: > Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type > 'int' > Fixes: > 19788/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VMDAUDIO_fuzzer-5743379690553344 > > Found-by: continuous fuzzing process > https://github.com/google/

Re: [FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread Paul B Mahol
It think this should be big enough, even if user tries to produce audio with denormals it should be pretty high number. On 1/6/20, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/af_amix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

[FFmpeg-devel] [PATCH 2/2] avformat/aviobuf: Honor avio_open[2] documentation

2020-01-06 Thread Andreas Rheinhardt
The documentation of both avio_open() as well as avio_open2() states that on failure, the pointer to an AVIOContext given to this function (via a pointer to a pointer to an AVIOContext) will be set to NULL. Yet it didn't happen upon failure of ffurl_open_whitelist() or when allocating the internal

[FFmpeg-devel] [PATCH 1/2] avformat/aviobuf: Remove AVIOInternal and one level of indirection

2020-01-06 Thread Andreas Rheinhardt
In the Libav commit cae448cf, the opaque of every AVIOContext opened by ffio_fdopen() (which is used internally by avio_open() and avio_open2()) changed: It was a simple pointer to an URLContext before, but now it was a structure (namely AVIOInternal) containing a pointer to an URLContext as its on

[FFmpeg-devel] [PATCH v6] avutil: add AV_FRAME_DATA_USER_DATA_UNREGISTERED side data type

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- Fix for the v5 commit message change when copy(add avutil:) doc/APIchanges | 3 +++ libavutil/frame.c | 1 + libavutil/frame.h | 8 libavutil/version.h | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/AP

Re: [FFmpeg-devel] [PATCH 2/2] tests/fate/lavf-video.mak: better looking gif dependancies

2020-01-06 Thread James Almer
On 1/6/2020 10:55 AM, Michael Niedermayer wrote: > The gif test should depend on gif not fits > > Signed-off-by: Michael Niedermayer > --- > tests/fate/lavf-video.mak | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/fate/lavf-video.mak b/tests/fate/lavf-video.mak >

Re: [FFmpeg-devel] [SCISYS Possible Spam] Re: [SCISYS Possible Spam] Re: [PATCH v5] avformat/mov: Memory optimization with QuickTime/MP4

2020-01-06 Thread Carl Eugen Hoyos
Am Mo., 6. Jan. 2020 um 15:37 Uhr schrieb Jörg Beckmann : > > > -Ursprüngliche Nachricht- > > Von: ffmpeg-devel Im Auftrag von Carl > > Eugen Hoyos > > Gesendet: Montag, 6. Januar 2020 15:24 > > An: FFmpeg development discussions and patches > > Betreff: [SCISYS Possible Spam] Re: [FFmpeg

Re: [FFmpeg-devel] [SCISYS Possible Spam] Re: [SCISYS Possible Spam] Re: [PATCH v5] avformat/mov: Memory optimization with QuickTime/MP4

2020-01-06 Thread Jörg Beckmann
> -Ursprüngliche Nachricht- > Von: ffmpeg-devel Im Auftrag von Carl > Eugen Hoyos > Gesendet: Montag, 6. Januar 2020 15:24 > An: FFmpeg development discussions and patches > Betreff: [SCISYS Possible Spam] Re: [FFmpeg-devel] [SCISYS Possible Spam] > Re: [PATCH v5] avformat/mov: Memory opt

Re: [FFmpeg-devel] [SCISYS Possible Spam] Re: [PATCH v5] avformat/mov: Memory optimization with QuickTime/MP4

2020-01-06 Thread Carl Eugen Hoyos
Am Mo., 16. Dez. 2019 um 12:13 Uhr schrieb Jörg Beckmann : > > > > -Ursprüngliche Nachricht- > > Von: ffmpeg-devel Im Auftrag von Carl > > Eugen Hoyos > > Gesendet: Montag, 16. Dezember 2019 11:50 > > An: FFmpeg development discussions and patches > > Betreff: [SCISYS Possible Spam] Re: [

Re: [FFmpeg-devel] [PATCH v5] avformat/mov: Memory optimization with QuickTime/MP4

2020-01-06 Thread Jörg Beckmann
Hi, is there something I can do to get this patch applied? Cheers, Jörg > -Ursprüngliche Nachricht- > Von: ffmpeg-devel Im Auftrag von Jörg > Beckmann > Gesendet: Montag, 9. Dezember 2019 16:05 > An: ffmpeg-devel@ffmpeg.org > Betreff: [FFmpeg-devel] [PATCH v5] avformat/mov: Memory optim

[FFmpeg-devel] [PATCH 1/2] remove tests/ref/lavf/fits

2020-01-06 Thread Michael Niedermayer
This appears to be forgotten in ac4b5d86222006fa71ffe5922e1a34f1422507d8 Signed-off-by: Michael Niedermayer --- tests/ref/lavf/fits | 18 -- 1 file changed, 18 deletions(-) delete mode 100644 tests/ref/lavf/fits diff --git a/tests/ref/lavf/fits b/tests/ref/lavf/fits deleted fil

[FFmpeg-devel] [PATCH 2/2] tests/fate/lavf-video.mak: better looking gif dependancies

2020-01-06 Thread Michael Niedermayer
The gif test should depend on gif not fits Signed-off-by: Michael Niedermayer --- tests/fate/lavf-video.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fate/lavf-video.mak b/tests/fate/lavf-video.mak index 7a70ac90ce..f6e98246c4 100644 --- a/tests/fate/lavf-video.ma

[FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/af_amix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index 89a1b0568f..1e1753b078 100644 --- a/libavfilter/af_amix.c +++ b/libavfilter/af_amix.c @@ -182,7 +182,7 @@

[FFmpeg-devel] [PATCH v2 2/2] avfilter/vf_mix: change the max range of the number of inputs

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_mix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_mix.c b/libavfilter/vf_mix.c index b5a282a..9e1ae79 100644 --- a/libavfilter/vf_mix.c +++ b/libavfilter/vf_mix.c @@ -305,7 +305,7 @@ static int

Re: [FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 02:27:36PM +0100, Paul B Mahol wrote: > On 1/6/20, Limin Wang wrote: > > On Mon, Jan 06, 2020 at 01:28:45PM +0100, Paul B Mahol wrote: > >> Limit is not real, its too big. > > > > So what's reasonable value to use? > > I notice video mix choose INT_MAX, so I use the same. >

Re: [FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread Paul B Mahol
On 1/6/20, Limin Wang wrote: > On Mon, Jan 06, 2020 at 01:28:45PM +0100, Paul B Mahol wrote: >> Limit is not real, its too big. > > So what's reasonable value to use? > I notice video mix choose INT_MAX, so I use the same. INT16_MAX seems high enough. > > [lmwang@vpn ffmpeg]$ grep nb_inputs liba

Re: [FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread Limin Wang
On Mon, Jan 06, 2020 at 01:28:45PM +0100, Paul B Mahol wrote: > Limit is not real, its too big. So what's reasonable value to use? I notice video mix choose INT_MAX, so I use the same. [lmwang@vpn ffmpeg]$ grep nb_inputs libavfilter/vf_mix.c |grep INT_MAX { "inputs", "set number of inputs", O

Re: [FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread Paul B Mahol
Limit is not real, its too big. On 1/6/20, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/af_amix.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c > index 89a1b0568f..1e1

Re: [FFmpeg-devel] [PATCH 2/6] avformat: remove uneeded avio_flush() calls from the end of write_header functions

2020-01-06 Thread Martin Storsjö
On Mon, 6 Jan 2020, Marton Balint wrote: On Sun, 5 Jan 2020, Martin Storsjö wrote: On Sun, 5 Jan 2020, Marton Balint wrote: The IO context is flushed by libavformat/mux.c after writing the header by calling avio_write_marker(s->pb, AV_NOPTS_VALUE, AVIO_DATA_MARKER_UNKNOWN), so this chan

[FFmpeg-devel] [PATCH v1] avcodec/decode: replace avctx->internal with avci for better readability

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/decode.c | 52 +++-- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index cd275bacc4..03b9da25f9 100644 --- a/libavcodec/decode.c +++ b/li

[FFmpeg-devel] [PATCH v1] avfilter/af_amix: change the max range of the number of inputs

2020-01-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/af_amix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index 89a1b0568f..1e1753b078 100644 --- a/libavfilter/af_amix.c +++ b/libavfilter/af_amix.c @@ -182,7 +182,7 @@

Re: [FFmpeg-devel] [PATCH v2] avfilter: add overlay vaapi filter

2020-01-06 Thread Sun, Xinpeng
> -Original Message- > From: ffmpeg-devel On Behalf Of Moritz > Barsnick > Sent: Monday, January 6, 2020 5:18 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v2] avfilter: add overlay vaapi filter > > On Mon, Jan 06, 2020 at 15:48:21 +0800, Xinpe

[FFmpeg-devel] [PATCH] avcodec/vmdaudio: Check block_align more

2020-01-06 Thread Michael Niedermayer
Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' Fixes: 19788/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VMDAUDIO_fuzzer-5743379690553344 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: M

Re: [FFmpeg-devel] [PATCH] lavc/pthread_frame: Update user context in ff_frame_thread_free

2020-01-06 Thread Fu, Linjie
Hi, > -Original Message- > From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Monday, December 30, 2019 09:45 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] lavc/pthread_frame: Update user > context in ff_frame_thread_free > > Hi, > > > -Original Message-

Re: [FFmpeg-devel] [PATCH 1/6] avformat: remove unneded avio_flush() calls before calling avio_close_dyn_buf()

2020-01-06 Thread Moritz Barsnick
On Sun, Jan 05, 2020 at 14:14:08 +0100, Marton Balint wrote: > Subject: avformat: remove unneded avio_flush() calls before calling > avio_close_dyn_buf() ^ Pasky nit: "unneeded". ;-) ___ ffmpeg-devel mailing list ffmpeg-devel@

Re: [FFmpeg-devel] [PATCH v2] avfilter: add overlay vaapi filter

2020-01-06 Thread Moritz Barsnick
On Mon, Jan 06, 2020 at 15:48:21 +0800, Xinpeng Sun wrote: > +@item x > +Set the x coordinate of the overlaid video on the main video. > +Default value is @code{0}. > + > +@item y > +Set the x coordinate of the overlaid video on the main video. > +Default value is @code{0}. Copy/paste error: "y co

Re: [FFmpeg-devel] [PATCH] HEVC: Export motion vectors to frame side data.

2020-01-06 Thread Asaf Kave
On Thu, Jan 2, 2020 at 11:59 AM Asaf Kave wrote: > > > On Sun, Dec 29, 2019 at 4:08 PM Asaf Kave wrote: > >> --- >> libavcodec/hevc_refs.c | 15 >> libavcodec/hevcdec.c | 173 - >> libavcodec/hevcdec.h | 13 >> 3 files changed, 200 inserti

Re: [FFmpeg-devel] [PATCH v2 1/2] configure: Change the configure check for tonemap_vaapi

2020-01-06 Thread Sun, Xinpeng
> -Original Message- > From: Sun, Xinpeng > Sent: Monday, December 30, 2019 3:33 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Sun, Xinpeng > Subject: [PATCH v2 1/2] configure: Change the configure check for > tonemap_vaapi > > "VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2