Re: [FFmpeg-devel] fftools/ffmpeg_optc AVDictionary **opts, If memory allocation fails,

2021-12-06 Thread Yy
> 2021年12月3日 下午8:06,Yy 写道: > > > >> 2021年12月3日 下午5:42,Andreas Rheinhardt > > 写道: >> >> Yu Yang: >>> Opts is assigned by setup_find_stream_info_opts(). Opts may be NULL. >>> This situation is compatible in avformat_find_stream_info(). >>> Before av_dict

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dvdsub: Don't dump images to disk based on DEBUG define

2021-12-06 Thread Anton Khirnov
Quoting Soft Works (2021-11-29 21:17:32) > It's been a regular annoyance. > Introduce a debug-only parameter for this. > > Signed-off-by: softworkz > --- > libavcodec/dvdsubdec.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) Does anyone actually find that code useful? Apparen

Re: [FFmpeg-devel] [PATCH] fate: add audio tests for Silicon Graphics Movie format

2021-12-06 Thread Anton Khirnov
Quoting Peter Ross (2021-12-06 08:48:08) > Signed-off-by: Peter Ross > --- > > Miminimal test vectors attached. > Can somebody help upload them to $SAMPLES/mv folder on rsync server? > > tests/fate/audio.mak | 12 > tests/ref/fate/mv-mono16bit | 8 > tests/ref/

Re: [FFmpeg-devel] [PATCH 1/7] avformat/vivo: Do not use the general expression evaluator for parsing a floating point value

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-05 22:19:01) > Fixes: Timeout > Fixes: > 41564/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVO_fuzzer-6309014024093696 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermaye

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/targa: Do not return images when there is no image in the tga

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-03 15:04:47) > On Sat, Sep 18, 2021 at 06:27:15PM +0200, Michael Niedermayer wrote: > > On Fri, Sep 17, 2021 at 08:06:48PM +0200, Paul B Mahol wrote: > > > On Fri, Sep 17, 2021 at 8:00 PM Michael Niedermayer > > > > > > wrote: > > > > > > > On Fri, Sep 17, 20

Re: [FFmpeg-devel] [PATCH] qsvenc_hevc: Enable look ahead with ExtBRC

2021-12-06 Thread Zhong Li
>Xiang, Haihao 于2021年12月6日周一 上午11:09写道: > Any comment for this patch ? Could someone help to merge this patch if no > objection ? LGTM, will apply. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel T

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/avpacket: Perform fewer reallocations in repeated av_grow_packet()

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-04 22:32:56) > Fixes: Timeout > Fixes: > 41446/clusterfuzz-testcase-minimized-ffmpeg_dem_SAMI_fuzzer-4667644540747776 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermaye

Re: [FFmpeg-devel] IMF demuxer ping

2021-12-06 Thread Anton Khirnov
Quoting Lynne (2021-12-05 11:13:17) > 5 Dec 2021, 02:33 by p...@sandflow.com: > > > Hi all, > > > > Quick ping re: libavformat/imf demuxer patch set. > > > > All outstanding feedback (thanks!) has been addressed as far as I know. > > > > What are the next steps? > > > > It would be good to make p

Re: [FFmpeg-devel] [PATCH] fate: add audio tests for Silicon Graphics Movie format

2021-12-06 Thread Andreas Rheinhardt
Anton Khirnov: > Quoting Peter Ross (2021-12-06 08:48:08) >> Signed-off-by: Peter Ross >> --- >> >> Miminimal test vectors attached. >> Can somebody help upload them to $SAMPLES/mv folder on rsync server? >> >> tests/fate/audio.mak | 12 >> tests/ref/fate/mv-mono16bit | 8

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/avpacket: Perform fewer reallocations in repeated av_grow_packet()

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 11:04:09AM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-12-04 22:32:56) > > Fixes: Timeout > > Fixes: > > 41446/clusterfuzz-testcase-minimized-ffmpeg_dem_SAMI_fuzzer-4667644540747776 > > > > Found-by: continuous fuzzing process > > https://github.com/go

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Use 64bit in 4/3 calculation in do_apply_filter()

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-03 18:19:54) > Fixes: Integer overflow > Fixes: > 40973/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6739312704618496 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Mi

Re: [FFmpeg-devel] [PATCH v3] hwcontext_vulkan: make 2 public functions always available

2021-12-06 Thread Anton Khirnov
The same issue seems to exist for hwcontext_videotoolbox. How about putting all those stubs into hwcontext_stubs.c, which will then contain only no-op stubs. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mail

Re: [FFmpeg-devel] [PATCH] hwcontext_vulkan: make 2 public functions always available

2021-12-06 Thread Anton Khirnov
Quoting Hendrik Leppkes (2021-12-03 14:17:44) > On Thu, Dec 2, 2021 at 7:13 PM Andreas Rheinhardt > wrote: > > > > Lynne: > > > The issue is that if ffmpeg is compiled without Vulkan, and an API > > > user includes and uses the functions exposed in hwcontext_vulkan.h, > > > then a linking error wi

Re: [FFmpeg-devel] [PATCH 1/7] avformat/vivo: Do not use the general expression evaluator for parsing a floating point value

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 10:25:01AM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-12-05 22:19:01) > > Fixes: Timeout > > Fixes: > > 41564/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVO_fuzzer-6309014024093696 > > > > Found-by: continuous fuzzing process > > https://github.com/go

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Use 64bit in 4/3 calculation in do_apply_filter()

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 11:23:12AM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-12-03 18:19:54) > > Fixes: Integer overflow > > Fixes: > > 40973/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6739312704618496 > > > > Found-by: continuous fuzzing process > > https

[FFmpeg-devel] [PATCH 1/2] avdevice/libkvazaar: Increase array size

2021-12-06 Thread Andreas Rheinhardt
av_image_copy() expects an array of four pointers according to its declaration; although it currently only touches pointers that are actually in use (depending upon the pixel format) this might change at any time (as has already happened for the linesizes in d7bc52bf456deba0f32d9fe5c288ec441f1ebef5

[FFmpeg-devel] [PATCH 2/2] avdevice/libopenh264dec: Increase array sizes, fix stack-buffer overread

2021-12-06 Thread Andreas Rheinhardt
av_image_copy() expects an array of four pointers and linesizes according to its declaration; it currently only pointers that are actually in use (depending upon the pixel format), but this might change at any time. It has already happened for the linesizes in d7bc52bf456deba0f32d9fe5c288ec441f1ebe

[FFmpeg-devel] [PATCH] libswresample/swresamplec: Err num(negative-size) was used as a function parameter

2021-12-06 Thread Yu Yang
If cannot allocate memory, ERROR(ENOMEM) '-12' as a parameter will be constantly being returned. When run resample() firstly, negative size param would cause buffer-overflow and SEGV in swri_rematrix(). When run swri_rematrix() firstly, resample() would not cause error but Err num as a wrong pa

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/libopenh264dec: Increase array sizes, fix stack-buffer overread

2021-12-06 Thread Linjie Fu
On Mon, Dec 6, 2021 at 7:37 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > av_image_copy() expects an array of four pointers and linesizes > according to its declaration; it currently only pointers that are > actually in use (depending upon the pixel format), but this might > cha

Re: [FFmpeg-devel] [PATCH 2/2] avdevice/libopenh264dec: Increase array sizes, fix stack-buffer overread

2021-12-06 Thread Andreas Rheinhardt
Linjie Fu: > On Mon, Dec 6, 2021 at 7:37 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> av_image_copy() expects an array of four pointers and linesizes >> according to its declaration; it currently only pointers that are >> actually in use (depending upon the pixel format),

[FFmpeg-devel] [PATCH] avformat/vivo: Favor setting fps from explicit fractions

2021-12-06 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/vivo.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/vivo.c b/libavformat/vivo.c index 8e819d910b7..6126f62f7ba 100644 --- a/libavformat/vivo.c +++ b/libavformat/vivo.c @@ -120,7 +120,7 @@ static int vivo_

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mov: Check for EOF in mov_read_glbl()

2021-12-06 Thread Michael Niedermayer
On Sat, Dec 04, 2021 at 10:32:55PM +0100, Michael Niedermayer wrote: > Fixes: Infinite loop > Fixes: > 41351/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5433895854669824 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-of

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/avpacket: Perform fewer reallocations in repeated av_grow_packet()

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 11:17:17AM +0100, Michael Niedermayer wrote: > On Mon, Dec 06, 2021 at 11:04:09AM +0100, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2021-12-04 22:32:56) > > > Fixes: Timeout > > > Fixes: > > > 41446/clusterfuzz-testcase-minimized-ffmpeg_dem_SAMI_fuzzer-4667644540

Re: [FFmpeg-devel] [PATCH 6/7] tools/target_dec_fuzzer: adjust threshold for gem

2021-12-06 Thread Michael Niedermayer
On Sun, Dec 05, 2021 at 10:19:06PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 42035/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GEM_fuzzer-5033604191748096 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-

Re: [FFmpeg-devel] [PATCH 4/4] tools/target_dec_fuzzer: Adjust threshold for HQ_HQA

2021-12-06 Thread Michael Niedermayer
On Fri, Dec 03, 2021 at 06:19:56PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 41120/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HQ_HQA_fuzzer-6327761690558464 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sign

Re: [FFmpeg-devel] [PATCH 7/7] avcodec/gemdec: Move all support checks before before image allocation

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 06:44:00PM +1100, Peter Ross wrote: > On Sun, Dec 05, 2021 at 10:19:07PM +0100, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/gemdec.c | 32 +--- > > 1 file changed, 21 insertions(+), 11 deletions(-) >

Re: [FFmpeg-devel] [PATCH 1/4] avformat/mov: Disallow duplicate smdm

2021-12-06 Thread Michael Niedermayer
On Fri, Dec 03, 2021 at 06:19:53PM +0100, Michael Niedermayer wrote: > Fixes: memleak > Fixes: > 39879/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5327819907923968 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by:

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-06 Thread Nicolas George
Hendrik Leppkes (12021-12-06): > You just keep re-iterating that avfilter internals need it. And I'll > just keep saying that avfilter internals shall not define public API > design. I have not heard anything that justifies yet another field > that has no benefit to the external public API - to the

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Use 64bit in 4/3 calculation in do_apply_filter()

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-06 12:01:09) > On Mon, Dec 06, 2021 at 11:23:12AM +0100, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2021-12-03 18:19:54) > > > Fixes: Integer overflow > > > Fixes: > > > 40973/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6739312704618

Re: [FFmpeg-devel] [PATCH 1/7] avformat/vivo: Do not use the general expression evaluator for parsing a floating point value

2021-12-06 Thread Anton Khirnov
Quoting Michael Niedermayer (2021-12-06 11:35:50) > On Mon, Dec 06, 2021 at 10:25:01AM +0100, Anton Khirnov wrote: > > Quoting Michael Niedermayer (2021-12-05 22:19:01) > > > Fixes: Timeout > > > Fixes: > > > 41564/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVO_fuzzer-6309014024093696 > > > > > >

Re: [FFmpeg-devel] [PATCH 1/7] avformat/vivo: Do not use the general expression evaluator for parsing a floating point value

2021-12-06 Thread Marvin Scholz
On 5 Dec 2021, at 22:19, Michael Niedermayer wrote: Fixes: Timeout Fixes: 41564/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVO_fuzzer-6309014024093696 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer -

Re: [FFmpeg-devel] [PATCH v18 01/19] avcodec, avutil: Move enum AVSubtitleType

2021-12-06 Thread Anton Khirnov
Quoting Soft Works (2021-12-03 11:25:08) > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of Anton > > Khirnov > > Sent: Wednesday, December 1, 2021 2:35 PM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v18 01/19] avcodec, avutil: Move enum > > AVSubti

Re: [FFmpeg-devel] [PATCH v18 01/19] avcodec, avutil: Move enum AVSubtitleType

2021-12-06 Thread Anton Khirnov
Quoting Soft Works (2021-12-03 10:34:29) > > > > At which place should FF_API_OLD_SUBTITLES get defined then (set to 1 for > now)? I see you figured that out sucessfully in the new version :) > > > +enum AVSubtitleType { > > > + > > > +/** > > > + * Subtitle format unknown. > > > +

Re: [FFmpeg-devel] [PATCH v20 01/20] avcodec, avutil: Move enum AVSubtitleType to avutil, add new and deprecate old values

2021-12-06 Thread Anton Khirnov
Quoting Soft Works (2021-12-05 17:23:32) > + > +enum AVSubtitleType { > + > +/** > + * Subtitle format unknown. > + */ > +AV_SUBTITLE_FMT_NONE = -1, > + > +/** > + * Subtitle format unknown. > + */ > +AV_SUBTITLE_FMT_UNKNOWN = 0, > +#ifdef FF_API_OLD_SUBTITLES These

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-06 Thread Anton Khirnov
Quoting Lynne (2021-12-05 22:30:59) > 5 Dec 2021, 20:21 by softwo...@hotmail.com: > > One of the reasons why this subtitle filtering patchset has proceeded > > rather smoothly so far, causing only a small amount of regressions > > that were easy to find and fix, is that I have kept as much as poss

Re: [FFmpeg-devel] IMF demuxer ping

2021-12-06 Thread Pierre-Anthony Lemieux
On Mon, Dec 6, 2021 at 2:16 AM Anton Khirnov wrote: > > Quoting Lynne (2021-12-05 11:13:17) > > 5 Dec 2021, 02:33 by p...@sandflow.com: > > > > > Hi all, > > > > > > Quick ping re: libavformat/imf demuxer patch set. > > > > > > All outstanding feedback (thanks!) has been addressed as far as I know

Re: [FFmpeg-devel] IMF demuxer ping

2021-12-06 Thread Lynne
6 Dec 2021, 16:58 by p...@sandflow.com: > On Mon, Dec 6, 2021 at 2:16 AM Anton Khirnov wrote: > >> >> Quoting Lynne (2021-12-05 11:13:17) >> > 5 Dec 2021, 02:33 by p...@sandflow.com: >> > >> > > Hi all, >> > > >> > > Quick ping re: libavformat/imf demuxer patch set. >> > > >> > > All outstanding

Re: [FFmpeg-devel] IMF demuxer ping

2021-12-06 Thread Pierre-Anthony Lemieux
On Mon, Dec 6, 2021 at 8:02 AM Lynne wrote: > > 6 Dec 2021, 16:58 by p...@sandflow.com: > > > On Mon, Dec 6, 2021 at 2:16 AM Anton Khirnov wrote: > > > >> > >> Quoting Lynne (2021-12-05 11:13:17) > >> > 5 Dec 2021, 02:33 by p...@sandflow.com: > >> > > >> > > Hi all, > >> > > > >> > > Quick ping r

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dvdsub: Don't dump images to disk based on DEBUG define

2021-12-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, December 6, 2021 9:33 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dvdsub: Don't dump images to > disk based on DEBUG define > > Quoting Soft Works (2021-11-29 2

Re: [FFmpeg-devel] [PATCH v18 01/19] avcodec, avutil: Move enum AVSubtitleType

2021-12-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, December 6, 2021 4:17 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v18 01/19] avcodec, avutil: Move enum > AVSubtitleType > > Quoting Soft Works (2021-12-

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, December 6, 2021 4:52 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame > for subtitle handling > > Quoting Lynne (202

Re: [FFmpeg-devel] [PATCH v7 1/2] avformat/imf: Demuxer

2021-12-06 Thread Lynne
6 Dec 2021, 04:18 by p...@sandflow.com: > From: Pierre-Anthony Lemieux > + > +/** > + * Implements IMP CPL processing > + * > + * @author Pierre-Anthony Lemieux > + * @file > + * @ingroup lavu_imf > + */ > + > +#include "imf.h" > +#include "libavformat/mxf.h" > +#include "libavutil/bprint.h" > +#

Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame for subtitle handling

2021-12-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Nicolas > George > Sent: Monday, December 6, 2021 2:43 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v20 02/20] avutil/frame: Prepare AVFrame > for subtitle handling [..] > Regards, > --

Re: [FFmpeg-devel] fftools/ffmpeg_optc AVDictionary **opts, If memory allocation fails,

2021-12-06 Thread Andreas Rheinhardt
Yy: > > >> 2021年12月3日 下午8:06,Yy 写道: >> >> >> >>> 2021年12月3日 下午5:42,Andreas Rheinhardt >> > 写道: >>> >>> Yu Yang: Opts is assigned by setup_find_stream_info_opts(). Opts may be NULL. This situation is compatible in avformat_find_stream_info().

Re: [FFmpeg-devel] [PATCH 4/7] avformat/4xm: Consider max_streams on reallocating tracks array

2021-12-06 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: OOM > Fixes: > 41595/clusterfuzz-testcase-minimized-ffmpeg_dem_FOURXM_fuzzer-6355979363549184 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- > libavformat/4xm.c |

[FFmpeg-devel] [PATCH] avutil/frame: Add av_frame_transfer_side_data() function

2021-12-06 Thread Anton Khirnov
From: Soft Works Signed-off-by: softworkz Signed-off-by: Anton Khirnov --- doc/APIchanges | 4 +++ libavutil/frame.c | 63 ++--- libavutil/frame.h | 20 ++ libavutil/version.h | 4 +-- 4 files changed, 63 insertions(+), 28 deletion

Re: [FFmpeg-devel] [PATCH] avutil/frame: Add av_frame_transfer_side_data() function

2021-12-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, December 6, 2021 7:38 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH] avutil/frame: Add > av_frame_transfer_side_data() function > > From: Soft Works > > Signed-off-by: softworkz

Re: [FFmpeg-devel] [PATCH] avutil/frame: Add av_frame_transfer_side_data() function

2021-12-06 Thread Lynne
6 Dec 2021, 19:37 by an...@khirnov.net: > From: Soft Works > > Signed-off-by: softworkz > Signed-off-by: Anton Khirnov > --- > doc/APIchanges | 4 +++ > libavutil/frame.c | 63 ++--- > libavutil/frame.h | 20 ++ > libavutil/version.

Re: [FFmpeg-devel] [PATCH v7 1/2] avformat/imf: Demuxer

2021-12-06 Thread Andreas Rheinhardt
p...@sandflow.com: > From: Pierre-Anthony Lemieux > > Signed-off-by: Pierre-Anthony Lemieux > --- > > Notes: > The IMF demuxer accepts as input an IMF CPL. The assets referenced by the > CPL can be > contained in multiple deliveries, each defined by an ASSETMAP file: > > ffmpe

Re: [FFmpeg-devel] [PATCH 1/2] fftools/ffmpeg_opt: Improve checks for truncation/alloc error

2021-12-06 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Do this by switching from the dynamic buffer API to the AVBPrint API; > the former has no defined way to check for errors. > This also avoids allocating an AVIOContext. > > Signed-off-by: Andreas Rheinhardt > --- > fftools/ffmpeg_opt.c | 22 ++ > 1 file

Re: [FFmpeg-devel] [PATCH 4/7] avformat/4xm: Consider max_streams on reallocating tracks array

2021-12-06 Thread Michael Niedermayer
On Mon, Dec 06, 2021 at 07:01:24PM +0100, Andreas Rheinhardt wrote: > Michael Niedermayer: > > Fixes: OOM > > Fixes: > > 41595/clusterfuzz-testcase-minimized-ffmpeg_dem_FOURXM_fuzzer-6355979363549184 > > > > Found-by: continuous fuzzing process > > https://github.com/google/oss-fuzz/tree/master/

[FFmpeg-devel] python filter

2021-12-06 Thread Alex
Is it possible to implement python backend as ffmpeg video filter, like  https://openvinotoolkit.github.io/dlstreamer_gst/ ? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link

Re: [FFmpeg-devel] python filter

2021-12-06 Thread Steven Liu
Alex <3.1...@ukr.net> 于2021年12月7日周二 上午9:12写道: > > Is it possible to implement python backend as ffmpeg video filter, like > https://openvinotoolkit.github.io/dlstreamer_gst/ ? Do you mean add a Python parser into libavfilter looks like a GLSL parser? > _

Re: [FFmpeg-devel] fftools/ffmpeg_optc AVDictionary **opts, If memory allocation fails,

2021-12-06 Thread Yy
> 2021年12月7日 上午1:48,Andreas Rheinhardt 写道: > > Yy: >> >> >>> 2021年12月3日 下午8:06,Yy 写道: >>> >>> >>> 2021年12月3日 下午5:42,Andreas Rheinhardt >>> > 写道: Yu Yang: > Opts is assigned by setup_find_stream_info_opts(). Opts may be NULL. >

[FFmpeg-devel] [PATCHv2] fate: add audio tests for Silicon Graphics Movie format

2021-12-06 Thread Peter Ross
Signed-off-by: Peter Ross --- Modified to use codec copy instead of aresample Samples attached to: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2021-December/288976.html tests/fate/audio.mak | 12 tests/ref/fate/mv-mono16bit | 8 tests/ref/fate/mv-mono8bit