Re: [FFmpeg-devel] [PATCH 1/3] lavc/qsv: apply AVCodecContext AVOption -threads to QSV

2021-04-09 Thread Linjie Fu
Hi Haihao, On Thu, Apr 8, 2021 at 3:10 PM Haihao Xiang wrote: > > By default the SDK creates a thread for each CPU when creating a mfx > session for decoding / encoding, which results in CPU overhead on a > multi CPU system. Actually creating 2 threads is a better choice for > most cases in

Re: [FFmpeg-devel] [PATCH v3] lavfi/qsvvpp: support async depth

2021-04-09 Thread Linjie Fu
Hi Fei W, On Wed, Mar 31, 2021 at 10:14 AM Wang, Fei W wrote: > > On Wed, 2021-03-31 at 10:07 +0800, Fei Wang wrote: > > Async depth will allow qsv filter cache few frames, and avoid force > > switch and end filter task frame by frame. This change will improve > > performance for some multi-task

[FFmpeg-devel] [PATCH v2 2/2] libavformat/mpegtsenc: Write necessary descriptors into PMT for arib_caption

2021-04-09 Thread zheng qian
Stream copy for arib_caption into mpegts is not working correctly for now. This patch utilizes the data stored in codecpar->extradata to write necessary stream_identifier_descriptor and data_component_descriptor into PMT table for arib_caption remuxing. This patch fixes the copying of

[FFmpeg-devel] [PATCH v2 1/2] libavformat/mpegts: Extract arib_caption descriptor data into codecpar->extradata

2021-04-09 Thread zheng qian
Changes since v1: If desc_len < 3, break the switch statement instead of return AVERROR_INVALIDDATA to make it more robust. For arib_caption, data_component_descriptor should contains at least 3 bytes: data_component_id: uint16, additional_arib_caption_info: uint8. The recognization of

Re: [FFmpeg-devel] [PATCH] avcodec/msp2dec: Check available space in RLE decoder

2021-04-09 Thread James Almer
On 4/7/2021 11:59 AM, Michael Niedermayer wrote: On Wed, Apr 07, 2021 at 12:42:50AM +0200, Andreas Rheinhardt wrote: Michael Niedermayer: Fixes: out of array read Fixes: 32968/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MSP2_fuzzer-5315296027082752 Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [RFC PATCH] avformat/dashdec: Improve implementation

2021-04-09 Thread zsugabubus
On Sun, Mar 28, 2021 at 09:50:32PM +0100, Derek Buitenhuis wrote: > On 28/03/2021 21:05, Carl Eugen Hoyos wrote: > > The patch clearly mentions that it is a "rework". > > If the maintainer likes it, it would be nice if it can be simplified but > > this may not be possible. > > Of course it's

Re: [FFmpeg-devel] [RFC PATCH v2] avformat/dashdec: Improve implementation

2021-04-09 Thread Andreas Rheinhardt
zsugabubus: > Signed-off-by: zsugabubus > --- > Should compile fine now. > > libavformat/dashdec.c | 4614 > +++--- > libavformat/internal.h | 27 + > libavformat/utils.c| 47 + > 3 files changed, 2757 insertions(+),

[FFmpeg-devel] [PATCH] avformat/matroskaenc: Fix leak when writing attachment without filename

2021-04-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- Will apply this soon and backport. libavformat/matroskaenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 609a588f78..7e108f2db9 100644 --- a/libavformat/matroskaenc.c +++

Re: [FFmpeg-devel] [PATCH 1/2] avformat/matroskaenc: Remove remnant of inline-timing subtitle packets

2021-04-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/matroskaenc.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c > index 609a588f78..a4ddf1fa6a 100644 > ---

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Lynne
Apr 9, 2021, 20:08 by bygran...@gmail.com: > Em sex., 9 de abr. de 2021 às 12:15, Lynne escreveu: > >> >> Apr 9, 2021, 16:35 by bygran...@gmail.com: >> >> > Em sex., 9 de abr. de 2021 às 01:13, Guo, Yejun >> > escreveu: >> > >> >> >> >> >> >> >> >> > -Original Message- >> >> > From:

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Pedro Arthur
Em sex., 9 de abr. de 2021 às 12:15, Lynne escreveu: > > Apr 9, 2021, 16:35 by bygran...@gmail.com: > > > Em sex., 9 de abr. de 2021 às 01:13, Guo, Yejun > > escreveu: > > > >> > >> > >> > >> > -Original Message- > >> > From: ffmpeg-devel On Behalf Of Lynne > >> > Sent: 2021年4月9日 0:57

Re: [FFmpeg-devel] [PATCH] libavformat: IEC61937_EAC3 decoding support

2021-04-09 Thread James Almer
On 4/9/2021 11:41 AM, Denis Shulyaka wrote: Hi, How do I ask someone to review the patch? I am concerned if I submitted the PR correctly. Best regards, Denis Shulyaka For some reason your patch referenced another unrelated email, and so mail clients that display threaded discussions list it

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Lynne
Apr 9, 2021, 17:10 by yejun@intel.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of >> Guo, Yejun >> Sent: 2021年4月9日 20:57 >> To: FFmpeg development discussions and patches >> >> Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data >>

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Lynne
Apr 9, 2021, 16:35 by bygran...@gmail.com: > Em sex., 9 de abr. de 2021 às 01:13, Guo, Yejun > escreveu: > >> >> >> >> > -Original Message- >> > From: ffmpeg-devel On Behalf Of Lynne >> > Sent: 2021年4月9日 0:57 >> > To: FFmpeg development discussions and patches >> > Subject: Re:

Re: [FFmpeg-devel] [PATCH] libavformat: IEC61937_EAC3 decoding support

2021-04-09 Thread Denis Shulyaka
Hi, How do I ask someone to review the patch? I am concerned if I submitted the PR correctly. Best regards, Denis Shulyaka вт, 16 мар. 2021 г. в 20:59, Denis Shulyaka : > This patch adds support to decode IEC61937_EAC3 (aka dolby digital plus). > > Signed-off-by: Denis Shulyaka > --- >

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Guo, Yejun > Sent: 2021年4月9日 20:57 > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data > AV_FRAME_DATA_BOUNDING_BOXES > > > > > -Original Message- > >

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Pedro Arthur
Em sex., 9 de abr. de 2021 às 01:13, Guo, Yejun escreveu: > > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Lynne > > Sent: 2021年4月9日 0:57 > > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data > >

[FFmpeg-devel] [PATCH] avformat: Add parityfec and ulpfec protocol

2021-04-09 Thread Camille Gonnet
Parityfec (RFC 2733) and ulpfec (RFC 5109) generic FEC encoding for RTP streams. Signed-off-by: Camille Gonnet --- Changelog | 1 + doc/general_contents.texi | 1 + doc/protocols.texi| 106 + libavformat/Makefile | 1 + libavformat/fecrtp.c | 884

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of > Lynne > Sent: 2021年4月9日 18:03 > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data > AV_FRAME_DATA_BOUNDING_BOXES > > Apr 9, 2021, 06:12 by yejun@intel.com: > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: check ctx->hwctx->internal null pointer

2021-04-09 Thread Timo Rothenpieler
On 09.04.2021 12:34, Steven Liu wrote: -if (ctx->hwctx && ctx->cu_module) { +if (ctx->hwctx && ctx->cu_module && ctx->hwctx->internal) { CUcontext dummy; CudaFunctions *cu = ctx->hwctx->internal->cuda_dl; CHECK_CU(cu->cuCtxPushCurrent(ctx->cu_ctx)); How

Re: [FFmpeg-devel] [PATCH 2/9] avcodec/mpegvideo_enc: Make AMV encoder usable without MJPEG encoder

2021-04-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Up until now the relevant checks all checked for the existence of the > MJPEG encoder only. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/mpegvideo_enc.c | 21 + > 1 file changed, 13 insertions(+), 8 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avcodec/proresenc_kostya: Remove harmful check

2021-04-09 Thread Andreas Rheinhardt
Andreas Rheinhardt: > The ProRes encoder allocates huge worst-case buffers just to be safe; > and for huge resolutions (8k in this case) these can be so big that the > number of bits does no longer fit into a (signed 32-bit) int; this means > that one must no longer use the parts of the PutBits

Re: [FFmpeg-devel] [GSoC 2021] about proposal

2021-04-09 Thread kernel.bin
Thanks! I will pay attention to it next time! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avfilter/vf_overlay_cuda: check ctx->hwctx->internal null pointer

2021-04-09 Thread Steven Liu
From: Steven Liu because it will cannot get ctx->hwctx->internal value when get ctx->hwctx->internal->cuda_dl value. so should check if internal is null. before patch: liuqi@chinaffmpeg:~/multimedia/build$ ./ffmpeg_g -hwaccel_device 0 -hwaccel cuda -pix_fmt nv12 -s 1920x1080 -i output.yuv

Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data AV_FRAME_DATA_BOUNDING_BOXES

2021-04-09 Thread Lynne
Apr 9, 2021, 06:12 by yejun@intel.com: > > >> -Original Message- >> From: ffmpeg-devel On Behalf Of Lynne >> Sent: 2021年4月9日 0:57 >> To: FFmpeg development discussions and patches >> Subject: Re: [FFmpeg-devel] [PATCH V7 4/6] lavu: add side data >> AV_FRAME_DATA_BOUNDING_BOXES >> >

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/af_astats: Remove fraction part of integer metadata entries

2021-04-09 Thread Tobias Rapp
On 08.04.2021 11:34, Nicolas George wrote: Anton Khirnov (12021-04-08): Does this mean that there are no stability guarantees for metadata exported by filters? We can have stability for the components that are good enough to be stable, and no stability yet for components that need enhancing.