Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hdrdec: lines can be empty

2022-07-19 Thread Paul B Mahol
lgtm ___ 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 5/5] avfilter/vf_yadif: Add x86_64 avx yadif asm

2022-07-19 Thread Chris Phlipot
Add a new version of yadif_filter_line performed using packed bytes instead of the packed words used by the current implementaiton. As a result this implementation runs almost 2x as fast as the current fastest SSSE3 implementation. This implementation is created from scratch based on the C code, w

[FFmpeg-devel] [PATCH 4/5] avfilter/vf_yadif: Process more pixels using filter_line

2022-07-19 Thread Chris Phlipot
filter_line is generally vectorized, wheras filter_edge is implemented in C. Currently we rely on filter_edge to process non-edges in cases where the width doesn't match the alignment. This causes us to process non-edge pixels with the slow C implementation vs the faster SSE implementation. It is

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_yadif: reformat code to improve readability

2022-07-19 Thread Chris Phlipot
Reformat some of the code to improve readability and reduce code duplication. This change is intended to be purely cosmentic and shouldn't result in any functional changes. Signed-off-by: Chris Phlipot --- libavfilter/vf_yadif.c | 11 +-- libavfilter/yadif.h| 3 +-- 2 files changed,

[FFmpeg-devel] [PATCH 2/5] avfilter/vf_yadif: Allow alignment to be configurable

2022-07-19 Thread Chris Phlipot
Allow the alignment to be determined based on what yadif_filter_line implementation is used. Currently this is either 1, or 8 depending on whether the C code or the x86 SSE code is used, but allows for other future implementations that use a larger alignment. Adjusting MAX_ALIGN to 32 in the case

[FFmpeg-devel] [PATCH 1/5] avfilter/vf_yadif: Fix edge size when MAX_ALIGN is < 4

2022-07-19 Thread Chris Phlipot
If alignment is set to less than 4 filter_edges will produce incorrect output and not filter the entire edge. To fix this, make sure that the edge size is at least 3. Signed-off-by: Chris Phlipot --- libavfilter/vf_yadif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l

Re: [FFmpeg-devel] [PATCH] Remove unsafe bitwise OR on FFVulkanExtensions enum

2022-07-19 Thread Marvin Scholz
On 19 Jul 2022, at 20:31, Amir Mazzarella wrote: > Ping > > On Fri, Jul 8, 2022 at 8:57 PM Amir Mazzarella wrote: > >> FFVulkanExtensions enum does not have a value for 0 defined, and bitwise >> OR on enums is not safe. The function returns uint64_t, so it makes more >> sense and is safer to d

[FFmpeg-devel] [PATCH 1/2] avformat/mov: Check for EOF in mov_read_iloc()

2022-07-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 49216/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-6563000529584128 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions

[FFmpeg-devel] [PATCH 2/2] avcodec/hdrdec: lines can be empty

2022-07-19 Thread Michael Niedermayer
Fixes: infinite loop Fixes: 49223/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HDR_fuzzer-6603308596330496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hdrdec.c | 2 +- 1 file changed,

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Amir Mazzarella
On Tue, Jul 19, 2022 at 2:24 PM Nicolas George wrote: > Thanks for clarifying. I confess I had more or less guessed. FFmpeg is > C, and its headers, public or not, as a rule do not contain > accommodations to be included as is in other languages. I understand that FFmpeg does not contain accommod

Re: [FFmpeg-devel] [PATCH 1/3] hwcontext_vaapi: do not link against libva-x11.so

2022-07-19 Thread Michael Niedermayer
On Tue, Jul 19, 2022 at 05:56:54PM +0100, Emil Velikov wrote: > From: Emil Velikov > > There is an internal ABI between libva.so the libva-XXX.so libraries. > > With a recent change, the internal va_fool API was removed breaking the > ABI. So if libva.so and libva-x11.so are from different versi

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Nicolas George
Amir Mazzarella (12022-07-19): > Thank you for your response! A C++ compiler can't do implicit casts like a > C compiler can, in this instance. This is fine for most of FFmpeg's > codebase, since these tricks are in C source files, but in this instance it > is in a header file. If any C++ code incl

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Hendrik Leppkes
On Tue, Jul 19, 2022 at 11:21 PM Amir Mazzarella wrote: > > Thank you for your response! A C++ compiler can't do implicit casts like a > C compiler can, in this instance. This is fine for most of FFmpeg's > codebase, since these tricks are in C source files, but in this instance it > is in a heade

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Amir Mazzarella
Thank you for your response! A C++ compiler can't do implicit casts like a C compiler can, in this instance. This is fine for most of FFmpeg's codebase, since these tricks are in C source files, but in this instance it is in a header file. If any C++ code includes this header file, even with extern

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Nicolas George
Hi. Thanks for the patch. Amir Mazzarella (12022-07-09): > Signed-off-by: Amir Mazzarella > --- > libavutil/vulkan_loader.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/vulkan_loader.h b/libavutil/vulkan_loader.h > index 3f1ee6aa46..fa8e5ed171 100644 > ---

Re: [FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

2022-07-19 Thread Amir Mazzarella
Ping On Fri, Jul 8, 2022 at 9:31 PM Amir Mazzarella wrote: > Signed-off-by: Amir Mazzarella > --- > libavutil/vulkan_loader.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavutil/vulkan_loader.h b/libavutil/vulkan_loader.h > index 3f1ee6aa46..fa8e5ed171 100644 > -

Re: [FFmpeg-devel] [PATCH] Remove unsafe bitwise OR on FFVulkanExtensions enum

2022-07-19 Thread Amir Mazzarella
Ping On Fri, Jul 8, 2022 at 8:57 PM Amir Mazzarella wrote: > FFVulkanExtensions enum does not have a value for 0 defined, and bitwise > OR on enums is not safe. The function returns uint64_t, so it makes more > sense and is safer to do arithmetic in terms of uint64_t > > Signed-off-by: Amir Mazz

Re: [FFmpeg-devel] [PATCH v2 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm

2022-07-19 Thread Nicolas George
Emil Velikov (12022-07-19): > As you may know the libva* set of libraries share an internal ABI > between them. In a resent libva commit, the va_fool API was removed. > > Thus if one is to mix different versions of libva.so and libva-x11.so > they will get an error, leading to a crash of the whole

Re: [FFmpeg-devel] [PATCH v2] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread James Almer
On 7/19/2022 9:57 AM, Anton Khirnov wrote: Quoting James Almer (2022-07-19 14:51:13) If this is only >= 122, what will pic_out above contain in older versions? IIUC it won't do deblocking, so the reconstructed frame won't be exactly as decoded. That kinda defeats the purpose, and is also inc

[FFmpeg-devel] [PATCH v2 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm

2022-07-19 Thread Emil Velikov
Greetings everyone, As you may know the libva* set of libraries share an internal ABI between them. In a resent libva commit, the va_fool API was removed. Thus if one is to mix different versions of libva.so and libva-x11.so they will get an error, leading to a crash of the whole stack. The simp

Re: [FFmpeg-devel] [EXTERNAL] [PATCH] [PATCH] libavformat/mov: Expose Quicktime poster_time value as metadata TAG.

2022-07-19 Thread Bryce Newman
Thank you for the feedback Anton. I only care about this value being displayed when calling ffprobe, so does it make sense to do this in ffprobe.c or could this be added to the existing mov.c demuxer? “demuxer-private AV_OPT_FLAG_EXPORT” is new territory for me, so was wondering if there some

Re: [FFmpeg-devel] [PATCH 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm

2022-07-19 Thread Emil Velikov
On Tue, 19 Jul 2022 at 17:56, Emil Velikov wrote: > > Greetings everyone, > Sincere apologies for accidentally sending this out multiple times. I may have found a bug where `git send-email --dry-run` does not work correctly. Thanks Emil ___ ffmpeg-deve

[FFmpeg-devel] [PATCH 3/3] hwcontext_vaapi: #if guard VAAPI_DRM specifics

2022-07-19 Thread Emil Velikov
From: Emil Velikov Similar to the VAAPI_X11 bits, guard all the VAAPI_DRM parts behind an disabled. Cc: Mark Thompson Signed-off-by: Emil Velikov --- libavutil/hwcontext_vaapi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_v

[FFmpeg-devel] [PATCH 2/3] hwcontext_vaapi: do not link against libva-drm.so

2022-07-19 Thread Emil Velikov
From: Emil Velikov There is an internal ABI between libva.so and libva-drm.so. So having mismatched versions can cause all sorts of issues. We had the breakage between libva.so and libva-x11.so addressed with earlier commit. There's no point in waiting for things to break wrt libva-drm.so so pre

[FFmpeg-devel] [PATCH 1/3] hwcontext_vaapi: do not link against libva-x11.so

2022-07-19 Thread Emil Velikov
From: Emil Velikov There is an internal ABI between libva.so the libva-XXX.so libraries. With a recent change, the internal va_fool API was removed breaking the ABI. So if libva.so and libva-x11.so are from different version, the whole stack will crash. Instead we can dlopen() the libva-x11 lib

[FFmpeg-devel] [PATCH 0/3] hwcontext_vaapi: dlopen libva-x11 and libva-drm

2022-07-19 Thread Emil Velikov
Greetings everyone, As you may know the libva* set of libraries share an internal ABI between them. In a resent libva commit, the va_fool API was removed. Thus if one is to mix different versions of libva.so and libva-x11.so they will get an error, leading to a crash of the whole stack. The simp

[FFmpeg-devel] [PATCH 3/3] hwcontext_vaapi: #if guard VAAPI_DRM specifics

2022-07-19 Thread Emil Velikov
From: Emil Velikov Similar to the VAAPI_X11 bits, guard all the VAAPI_DRM parts behind an disabled. Cc: Mark Thompson Signed-off-by: Emil Velikov --- libavutil/hwcontext_vaapi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_v

[FFmpeg-devel] [PATCH 2/3] hwcontext_vaapi: do not link against libva-drm.so

2022-07-19 Thread Emil Velikov
From: Emil Velikov There is an internal ABI between libva.so and libva-drm.so. So having mismatched versions can cause all sorts of issues. We had the breakage between libva.so and libva-x11.so addressed with earlier commit. There's no point in waiting for things to break wrt libva-drm.so so pre

[FFmpeg-devel] [PATCH 1/3] hwcontext_vaapi: do not link against libva-x11.so

2022-07-19 Thread Emil Velikov
From: Emil Velikov There is an internal ABI between libva.so the libva-XXX.so libraries. With a recent change, the internal va_fool API was removed breaking the ABI. So if libva.so and libva-x11.so are from different version, the whole stack will crash. Instead we can dlopen() the libva-x11 lib

Re: [FFmpeg-devel] Live Transcoding: SCTE35 passthrough

2022-07-19 Thread Devin Heitmueller
On Tue, Jul 19, 2022 at 9:44 AM Shane Warren wrote: > > I have been working on getting scte35 pass through working in FFmpeg. I have > the SIT pid being passed through fine, but I need to adjust the > pts_adjustment field since I'm doing a live transcode and using vsync 1. > > I'm struggling wit

Re: [FFmpeg-devel] [PATCH v2 0/8] ddagrab source filter, lavfi.c wrapped_avframe and dependent changes

2022-07-19 Thread Mark Himsley
On Tue, 19 Jul 2022 at 12:34, Timo Rothenpieler wrote: > > I'm honestly not sure what this is complaining about. Sorry: Maybe the my copy/paste was less than east to read? Maybe because mu copy/paste was from a make -j6 in Docker run from Jenkins? Maybe the problem is cross-compiling with MinGW?

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mxfdec: SMPTE RDD 48:2018 support

2022-07-19 Thread Tomas Härdin
mån 2022-07-11 klockan 23:44 +0200 skrev Michael Niedermayer: > > +    { { > 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x09 > ,0x01,0x00 }, 15,   AV_CODEC_ID_FFV1 }, /*FFV1 V0 */ > +    { { > 0x06,0x0e,0x2b,0x34,0x04,0x01,0x01,0x0D,0x04,0x01,0x02,0x02,0x03,0x09 > ,0x02,0

[FFmpeg-devel] [PATCH 3/3] tools/target_dec_fuzzer: set avctx->workaround_bugs flags

2022-07-19 Thread James Almer
Signed-off-by: James Almer --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 06c38a96c1..5831052ba8 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -409,6 +409,8 @@ int LLVMFuzz

[FFmpeg-devel] [PATCH 2/3] tools/target_dec_fuzzer: set AV_EF_CRCCHECK in avctx->err_recognition

2022-07-19 Thread James Almer
Signed-off-by: James Almer --- tools/target_dec_fuzzer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 7d71dd39e3..06c38a96c1 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -406,6 +406,8 @@ int LLVMFuzz

[FFmpeg-devel] [PATCH 1/3] tools/target_dec_fuzzer: set some avctx->export_side_data flags

2022-07-19 Thread James Almer
Signed-off-by: James Almer --- tools/target_dec_fuzzer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 1587045e02..7d71dd39e3 100644 --- a/tools/target_dec_fuzzer.c +++ b/tools/target_dec_fuzzer.c @@ -336,7 +336,

[FFmpeg-devel] Live Transcoding: SCTE35 passthrough

2022-07-19 Thread Shane Warren
I have been working on getting scte35 pass through working in FFmpeg. I have the SIT pid being passed through fine, but I need to adjust the pts_adjustment field since I'm doing a live transcode and using vsync 1. I'm struggling with finding how to match up an incoming frame of video to a trans

Re: [FFmpeg-devel] [PATCH v2] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Anton Khirnov
Quoting James Almer (2022-07-19 14:51:13) > If this is only >= 122, what will pic_out above contain in older versions? IIUC it won't do deblocking, so the reconstructed frame won't be exactly as decoded. -- Anton Khirnov ___ ffmpeg-devel mailing list f

Re: [FFmpeg-devel] [PATCH v2] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread James Almer
On 7/19/2022 9:47 AM, Anton Khirnov wrote: --- Now tested with x264 118, the oldest supported. --- libavcodec/libx264.c | 57 +++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index e8c1fb2106.

[FFmpeg-devel] [PATCH v2] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Anton Khirnov
--- Now tested with x264 118, the oldest supported. --- libavcodec/libx264.c | 57 +++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index e8c1fb2106..04e8147276 100644 --- a/libavcodec/libx264.c +

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Anton Khirnov
Quoting James Almer (2022-07-18 14:23:58) > On 7/18/2022 4:12 AM, Anton Khirnov wrote: > > --- > > libavcodec/libx264.c | 52 +++- > > 1 file changed, 51 insertions(+), 1 deletion(-) > > > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > > ind

[FFmpeg-devel] [PATCH v3 6/6] avcodec/encode:: generate ICC profiles

2022-07-19 Thread Niklas Haas
From: Niklas Haas Only if requested, and only if the codec signals support for ICC profiles. Implementation roughly matches the functionality of the existing vf_iccgen filter, albeit with some reduced flexibility and no caching. Ideally, we'd also only do this on the first frame (e.g. mjpeg, apn

[FFmpeg-devel] [PATCH v3 5/6] avcodec/decode: parse ICC profiles

2022-07-19 Thread Niklas Haas
From: Niklas Haas Implementation for the decode side of the ICC profile API, roughly matching the behavior of the existing vf_iccdetect filter. Closes: #9673 Signed-off-by: Niklas Haas --- libavcodec/decode.c | 61 + 1 file changed, 56 insertions(+)

[FFmpeg-devel] [PATCH v3 4/6] avcodec: add common fflcms2 boilerplate

2022-07-19 Thread Niklas Haas
From: Niklas Haas Handling this in general code makes more sense than handling it in individual codec files, because it would be a lot of unnecessary code duplication for the plenty of formats that support exporting ICC profiles (jpg, png, tiff, webp, jxl, ...). encode.c and decode.c will be in

[FFmpeg-devel] [PATCH v3 3/6] avcodec: add API for automatic handling of icc profiles

2022-07-19 Thread Niklas Haas
From: Niklas Haas This functionally already exists, but as pointed out in #9672 and #9673, requiring users to manually include filters is clumsy, error-prone and hard to use together with tools like ffplay. To streamline ICC profile support, add a new AVCodecContext flag to globally enable readi

[FFmpeg-devel] [PATCH v3 2/6] avcodec/codec_internal: add cap for ICC profile support

2022-07-19 Thread Niklas Haas
From: Niklas Haas Codecs that can read/write ICC profiles deserve a special capability so the common logic in encode.c/decode.c can decide whether or not there needs to be any special handling for ICC profiles. The motivation here is to be able to use it to decide whether or not an ICC profile ne

[FFmpeg-devel] [PATCH v3 1/6] fflcms2: move to libavcodec

2022-07-19 Thread Niklas Haas
From: Niklas Haas We will need this helper inside libavcodec in the future, so move it there, leaving behind an #include to the raw source file in its old location in libvfilter. This approach is inspired by the handling of vulkan.c, and avoids us needing to expose any of it publicly (or semi-pub

[FFmpeg-devel] [PATCH v3 0/6] ICC profile support in avcodec

2022-07-19 Thread Niklas Haas
Changes in v3: - switch from `int icc_profiles` to a new AV_CODEC_FLAG2 to avoid ABI break - rebased onto master and fixed merge conflicts Changes in v2: - remove unnecessary import - fixed assignment-instead-of-equality - fixed #ifdef -> #if ___ ffm

Re: [FFmpeg-devel] [PATCH v2 0/8] ddagrab source filter, lavfi.c wrapped_avframe and dependent changes

2022-07-19 Thread Timo Rothenpieler
On 19.07.2022 13:34, Timo Rothenpieler wrote: On 19.07.2022 09:25, Mark Himsley wrote: On Sun, 17 Jul 2022 at 12:37, Timo Rothenpieler wrote: I will push this series tonight, in about 8 hours from now. Last chance to delay this by reviewing or raising related concerns. Just FYI - this broke

Re: [FFmpeg-devel] [PATCH v2 6/6] avcodec/encode:: generate ICC profiles

2022-07-19 Thread Niklas Haas
On Wed, 06 Jul 2022 15:35:41 +0200 Anton Khirnov wrote: > Quoting Niklas Haas (2022-06-29 12:12:51) > > From: Niklas Haas > > > > Only if requested, and only if the codec signals support for ICC > > profiles. Implementation roughly matches the functionality of the > > existing vf_iccgen filter,

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mxfdec: SMPTE RDD 48:2018 support

2022-07-19 Thread Michael Niedermayer
On Mon, Jul 18, 2022 at 08:35:00PM +0200, Tomas Härdin wrote: > mån 2022-07-11 klockan 23:44 +0200 skrev Michael Niedermayer: > > Signed-off-by: Michael Niedermayer > > --- > >  libavformat/mxf.c    |  3 +++ > >  libavformat/mxf.h    |  1 + > >  libavformat/mxfdec.c | 48 > > ++

Re: [FFmpeg-devel] [PATCH] lavc/libx264: support AV_CODEC_CAP_ENCODER_RECON_FRAME

2022-07-19 Thread Michael Niedermayer
On Mon, Jul 18, 2022 at 08:29:56PM +0200, Anton Khirnov wrote: > Quoting James Almer (2022-07-18 20:18:16) > > > > > > On 7/18/2022 3:15 PM, Anton Khirnov wrote: > > > Quoting James Almer (2022-07-18 14:23:58) > > >> On 7/18/2022 4:12 AM, Anton Khirnov wrote: > > >>> --- > > >>>libavcodec/lib

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/ffv1dec: consider run increase in minimal golomb frame size

2022-07-19 Thread James Almer
On 7/19/2022 8:34 AM, Michael Niedermayer wrote: Fixes: Timeout Fixes: 49160/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5672826144686080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 2/6] avcodec/exr: Check x/ysize

2022-07-19 Thread Michael Niedermayer
Fixes: OOM Fixes: 48911/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-6352002510094336 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/exr.c | 6 -- 1 file changed, 4 insert

[FFmpeg-devel] [PATCH 3/6] tools/target_dec_fuzzer: Adjust threshold for MMVIDEO

2022-07-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 49003/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MMVIDEO_fuzzer-5550368423018496 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file chang

[FFmpeg-devel] [PATCH 6/6] tools/target_dec_fuzzer: Adjust threshold for MWSC

2022-07-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 49172/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MWSC_fuzzer-5213749102903296 Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c index 017c5cf024.

[FFmpeg-devel] [PATCH 1/6] avcodec/mpeg4videoenc: fix encoding long frames

2022-07-19 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/mpeg4videoenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index 8f0452de3a..5f83a9dff1 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @

[FFmpeg-devel] [PATCH 5/6] avcodec/ffv1dec: consider run increase in minimal golomb frame size

2022-07-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 49160/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FFV1_fuzzer-5672826144686080 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/ffv1dec.c | 6 +- 1 file changed,

[FFmpeg-devel] [PATCH 4/6] avformat/asfdec_f: Use 64bit for packet start time

2022-07-19 Thread Michael Niedermayer
Fixes: signed integer overflow: 2147483647 + 32 cannot be represented in type 'int' Fixes: 49014/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_fuzzer-6314973315334144 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niede

Re: [FFmpeg-devel] [PATCH v2 0/8] ddagrab source filter, lavfi.c wrapped_avframe and dependent changes

2022-07-19 Thread Timo Rothenpieler
On 19.07.2022 09:25, Mark Himsley wrote: On Sun, 17 Jul 2022 at 12:37, Timo Rothenpieler wrote: I will push this series tonight, in about 8 hours from now. Last chance to delay this by reviewing or raising related concerns. Just FYI - this broke my nightly automated builds - which cross-comp

[FFmpeg-devel] [PATCH] avcodec/aacdec: remove skip samples multiplier

2022-07-19 Thread James Almer
The amount of padding samples reported by containers take into account the extended samplerate in HE-AAC. Fixes ticket #9671. Signed-off-by: James Almer --- libavcodec/aacdec_template.c | 3 --- tests/ref/fate/audiomatch-afconvert-16000-mono-he-m4a| 2 +- tests/r

Re: [FFmpeg-devel] [PATCH v2 0/8] ddagrab source filter, lavfi.c wrapped_avframe and dependent changes

2022-07-19 Thread Mark Himsley
On Sun, 17 Jul 2022 at 12:37, Timo Rothenpieler wrote: > > I will push this series tonight, in about 8 hours from now. > Last chance to delay this by reviewing or raising related concerns. Just FYI - this broke my nightly automated builds - which cross-compile on Linux for Windows. x86_64-w64-mi

Re: [FFmpeg-devel] [PATCH v10 10/13] lavu/hwcontext_qsv: make qsv hwdevice works with oneVPL

2022-07-19 Thread Xiang, Haihao
On Mon, 2022-07-18 at 15:02 +0200, Anton Khirnov wrote: > Quoting Xiang, Haihao (2022-07-12 08:27:32) > > +static int qsv_va_update_config(void *ctx, mfxHDL handle, mfxConfig cfg) > > +{ > > +#if CONFIG_VAAPI > > +#if VA_CHECK_VERSION(1, 5, 0) > > +#define LOCAL_VADISPLAYPCIID VADisplayPCIID > > +#

Re: [FFmpeg-devel] Development opportunity: LTC noise on files created from videotape source: filter idea

2022-07-19 Thread Stephen McConnachie
> It should be possible to implement a LTC decoder that turns a audio track > into LTC binary data. If that succeeded and the data is valid then teh track > would very likely have contained LTC. I was hoping that would be achievable, thank you Michael. For context, this site has a pretty good e