Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: Fix a log format issue

2022-07-07 Thread zhilizhao(赵志立)
> On Jul 7, 2022, at 1:57 PM, Wenbin Chen > wrote: > > Add a line feed to fix a log format issue. > > Signed-off-by: Wenbin Chen > --- > libavcodec/qsvenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index 2382c2f5f7..81d93235d7 10064

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: Use parameter from AVCodecContext to reset qsv codec

2022-07-07 Thread Anton Khirnov
Quoting Wenbin Chen (2022-07-06 11:14:40) > Using parameter from AVCodecContext to reset qsv codec is more suitable > for MFXVideoENCODE_Reset()'s usage. Per-frame metadata is more suitable > for the usage of mfxEncodeCtrl being passed to > MFXVideoENCODE_EncodeFrameAsync(). Now change it to use th

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: Fix a log format issue

2022-07-07 Thread Chen, Wenbin
> > On Jul 7, 2022, at 1:57 PM, Wenbin Chen intel@ffmpeg.org> wrote: > > > > Add a line feed to fix a log format issue. > > > > Signed-off-by: Wenbin Chen > > --- > > libavcodec/qsvenc.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c >

Re: [FFmpeg-devel] [PATCH v3] ffmpeg: add option -isync

2022-07-07 Thread Anton Khirnov
Quoting Gyan Doshi (2022-07-04 18:29:12) > This is a per-file input option that adjusts an input's timestamps > with reference to another input, so that emitted packet timestamps > account for the difference between the start times of the two inputs. > > Typical use case is to sync two or more liv

Re: [FFmpeg-devel] [PATCH] Add metadatareader filter.

2022-07-07 Thread Nicolas George
Raymond Cheng (12022-07-06): > FFmpeg has a handy set of filters, metadata/ametadata, which allow us > to add, print or save per-frame metadata to a file. I will use these > filters when I want to save the results from speech transcription, > for instance. What is missing is a way to round-trip the

Re: [FFmpeg-devel] [PATCH] avfilter: add remap_opencl filter

2022-07-07 Thread Paul B Mahol
Will apply soon. ___ 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 1/2] avdevice/lavfi: output wrapped AVFrames

2022-07-07 Thread Timo Rothenpieler
This avoids an extra copy of potentially quite big video frames. Instead of copying the entire frames data into a rawvideo packet it packs the frame into a wrapped avframe packet and passes it through as-is. Unfortunately, wrapped avframes are set up to be video frames, so the audio frames continue

[FFmpeg-devel] [PATCH 2/2] avdevice/lavfi: pass forward video framerate

2022-07-07 Thread Timo Rothenpieler
--- libavdevice/lavfi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c index 1b282a70cb..246f7dff3b 100644 --- a/libavdevice/lavfi.c +++ b/libavdevice/lavfi.c @@ -287,6 +287,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx) f

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/smacker: Optimize constant 16bit audio output

2022-07-07 Thread Michael Niedermayer
On Wed, Jul 06, 2022 at 07:18:45PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have often repented speaking, but never of holding my tongue. -- Xenocrates signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 1/2] tools/target_dec_fuzzer: Adjust threshold for smacker audio

2022-07-07 Thread Michael Niedermayer
On Tue, May 03, 2022 at 06:30:58PM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 47043/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMACKAUD_fuzzer-4824799337119744 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Si

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/flashsv: Check inflate() for failure

2022-07-07 Thread Michael Niedermayer
On Mon, May 23, 2022 at 02:35:28AM +0200, Michael Niedermayer wrote: > Fixes: CID1047223 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/flashsv.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) will apply patchset [...] -- Michael GnuPG fingerprint: 9FF2128B147E

Re: [FFmpeg-devel] [PATCH 2/2] avformat/img2enc: use unmatched filename for an invalid or missing sequence pattern

2022-07-07 Thread Marton Balint
On Mon, 20 Jun 2022, Marton Balint wrote: On Mon, 13 Jun 2022, Marton Balint wrote: Also warn the user that for single images -update should be used, for sequences a proper pattern should be specified. Fixes ticket #9748. Ping for this. Note that this patch will show a warning for

[FFmpeg-devel] [PATCH] avcodec/libjxlenc: avoid hard failure with unspecified primaries

2022-07-07 Thread Leo Izen
This patch prevents the libjxl encoder wrapper from failing to encode images when the input video has untagged primaries. It will instead assume BT.709/sRGB primaries and print a warning. Signed-off-by: Leo Izen --- libavcodec/libjxlenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions

Re: [FFmpeg-devel] [PATCH 2/3] avformat/cinedec: Check size and pos more

2022-07-07 Thread Michael Niedermayer
On Sat, Jul 02, 2022 at 02:22:49PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 9223372036848019263 + 134232320 cannot be > represented in type 'long' > Fixes: > 48155/clusterfuzz-testcase-minimized-ffmpeg_dem_CINE_fuzzer-5751429207293952 > > Found-by: continuous fuzzing p

Re: [FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: Adjust threshold for SIMBIOSIS_IMX

2022-07-07 Thread Michael Niedermayer
On Mon, Jun 13, 2022 at 02:10:19AM +0200, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 47892/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SIMBIOSIS_IMX_fuzzer-5160609278197760 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec/flashsv: Clear pointers

2022-07-07 Thread Michael Niedermayer
On Thu, Jun 09, 2022 at 02:05:48AM +0200, Michael Niedermayer wrote: > Fixes: Use after free > Fixes: > 47399/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLASHSV2_fuzzer-5718646686613504 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmp

Re: [FFmpeg-devel] FFmpeg 5.1

2022-07-07 Thread Michael Niedermayer
On Tue, Jun 07, 2022 at 01:35:00PM +0200, Michael Niedermayer wrote: > Hi all > > As was discussed previously the 5.1 release should be in june/july > That means in the next weeks probably! > If you know of any regressions, security issues or other major bugs, > please help fixing them > > Also a

Re: [FFmpeg-devel] FFmpeg 5.1

2022-07-07 Thread Timo Rothenpieler
On 07.07.2022 22:47, Michael Niedermayer wrote: On Tue, Jun 07, 2022 at 01:35:00PM +0200, Michael Niedermayer wrote: Hi all As was discussed previously the 5.1 release should be in june/july That means in the next weeks probably! If you know of any regressions, security issues or other major bu

Re: [FFmpeg-devel] FFmpeg 5.1

2022-07-07 Thread James Almer
On 7/7/2022 5:51 PM, Timo Rothenpieler wrote: On 07.07.2022 22:47, Michael Niedermayer wrote: On Tue, Jun 07, 2022 at 01:35:00PM +0200, Michael Niedermayer wrote: Hi all As was discussed previously the 5.1 release should be in june/july That means in the next weeks probably! If you know of a

[FFmpeg-devel] [PATCH 1/3] avfilter/vf_zscale: remove some unneeded initializations

2022-07-07 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_zscale.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 44cb4b9c61..6861eef278 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -149,12 +149,6 @@ static av_cold i

[FFmpeg-devel] [PATCH 2/3] avfilter/vf_zscale: simplify and fix slice_params calculations

2022-07-07 Thread Marton Balint
Do not insist on a fixed slice height, because that can still cause overflows in corner cases as described in this comment: https://github.com/sekrit-twc/zimg/issues/177#issuecomment-1157734233 Signed-off-by: Marton Balint --- libavfilter/vf_zscale.c | 18 -- 1 file changed, 4 i

[FFmpeg-devel] [PATCH 3/3] avfilter/vf_zscake: enable AVX512 zscale functions

2022-07-07 Thread Marton Balint
Signed-off-by: Marton Balint --- libavfilter/vf_zscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 8e50457c6b..91166dcbcb 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -837,7 +837,7 @@ st

[FFmpeg-devel] [PATCH] avfilter/drawtext: Support bidirectional metadata in drawtext filter

2022-07-07 Thread Raymond Cheng
The drawtext filter supports static bidi text via a function called shape_text(). Fixed so that it calls shape_text() when rendering non-static text from metadata (so that bidi text is rendered properly). As an example, "Hello world" is "مرحبا بالعالم" in Arabic. The following command line worked

Re: [FFmpeg-devel] FFmpeg 5.1

2022-07-07 Thread Marton Balint
On Sun, 19 Jun 2022, Neal Gompa wrote: On Sun, Jun 19, 2022 at 4:59 PM Marton Balint wrote: On Thu, 9 Jun 2022, Neal Gompa wrote: > On Tue, Jun 7, 2022 at 7:35 AM Michael Niedermayer > wrote: >> >> Hi all >> >> As was discussed previously the 5.1 release should be in june/july >> That

Re: [FFmpeg-devel] [PATCH v3] ffmpeg: add option -isync

2022-07-07 Thread Gyan Doshi
On 2022-07-07 03:11 pm, Anton Khirnov wrote: Quoting Gyan Doshi (2022-07-04 18:29:12) This is a per-file input option that adjusts an input's timestamps with reference to another input, so that emitted packet timestamps account for the difference between the start times of the two inputs. Ty