Re: [FFmpeg-devel] [PATCH] avformat/mov: parse 3gpp titl from media or track udta

2021-07-24 Thread Jan Ekström
On Wed, Jul 21, 2021 at 8:30 PM Jan Ekström wrote: > > On Wed, Jul 21, 2021 at 8:28 PM Jan Ekström wrote: > > > > Seems to be: > > * Utilized by Handbrake for track titling > > * Actually defined as "title for the media" > > > > Definition from 3GPP TS 26.244 follows: > > > > Field

Re: [FFmpeg-devel] [PATCH V2] avformat/mxf: fixed frame wrapping detection for J2K essence container

2021-07-24 Thread Pierre-Anthony Lemieux
Great. Let me know if you need anything else to process the patch, which is necessary to process MXF files used by the Interoperable Master Format (IMF, SMPTE ST 2067). On Sun, Jul 18, 2021 at 1:03 PM Marton Balint wrote: > > > > On Sun, 18 Jul 2021, p...@sandflow.com wrote: > > > From:

[FFmpeg-devel] [PATCH] lavfi/formats: describe conversion in negotiation structure.

2021-07-24 Thread Nicolas George
Signed-off-by: Nicolas George --- libavfilter/avfiltergraph.c | 45 ++--- libavfilter/formats.c | 4 libavfilter/formats.h | 2 ++ 3 files changed, 18 insertions(+), 33 deletions(-) Obviously to be applied on top of the last two patches. The

Re: [FFmpeg-devel] Patch JPEG2000 Parser: Fix parsing of tile-part header

2021-07-24 Thread Jan Ekström
On Wed, Jul 21, 2021 at 7:02 PM Shaun Simpson wrote: > > Please find my patch attached. > > libavcodec/jpeg2000_parser: Fix parsing of tile-part header, and frames > where the end of frame marker is at the end of the buffer. > > Fixes playback of Sol Levante MXF JPEG2000 file: >

Re: [FFmpeg-devel] [PATCH v2 1/2] avcodec/v4l2_context: don't reinit output queue when dynamic resolution change

2021-07-24 Thread Andriy Gelman
Hi, On Thu, 22. Jul 11:01, Ming Qian wrote: > in the v4l2 stateful video document, we can see the following > description: > During the resolution change sequence, the OUTPUT queue must remain > streaming. Calling VIDIOC_STREAMOFF() on the OUTPUT queue would > abort the sequence and

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix order between field order autodetection and override

2021-07-24 Thread Jan Ekström
On Wed, Jul 21, 2021 at 8:29 PM Jan Ekström wrote: > > Somehow I missed this in fbb44bc51a647862eb05ae3f9d7d49a0be9bed57 , > even though the lines were within the context. Probably the code > originally being after the this logic had something to do with it, > but previously it only touched the

[FFmpeg-devel] [PATCH] tools/target_dec_fuzzer: Fix extradata duplication

2021-07-24 Thread Michael Niedermayer
Fixes: out of array access Fixes: 36340/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-5872546875572224.fuzz 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 | 2

Re: [FFmpeg-devel] [PATCH] avformat/mov: Remove pointless EOF checks

2021-07-24 Thread Michael Niedermayer
On Sat, Jul 24, 2021 at 06:35:14AM +0200, Andreas Rheinhardt wrote: > 9888ffb1ce5e0a17f711b01933d504c72ea29d3b added checks for EOF > in loops in the mov demuxer as a precaution against timeouts; > yet there is no I/O in the loop when parsing the STSZ atom > as the values are read from an already

[FFmpeg-devel] [PATCH] avformat/yuv4mpegenc: add support for yuva444p

2021-07-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/yuv4mpegenc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavformat/yuv4mpegenc.c b/libavformat/yuv4mpegenc.c index aff066f1c5..efa05133d5 100644 --- a/libavformat/yuv4mpegenc.c +++ b/libavformat/yuv4mpegenc.c @@ -113,6 +113,9

[FFmpeg-devel] [PATCH 2/2] lavfi/formats: put merge functions in structures.

2021-07-24 Thread Nicolas George
It makes the code clearer and will allow adding new stages of negotiation easier. Signed-off-by: Nicolas George --- libavfilter/avfiltergraph.c | 96 +- libavfilter/formats.c | 114 libavfilter/formats.h | 41

[FFmpeg-devel] [PATCH 1/2] lavu/internal: add FF_FIELD_AT().

2021-07-24 Thread Nicolas George
Signed-off-by: Nicolas George --- libavutil/internal.h | 5 + 1 file changed, 5 insertions(+) diff --git a/libavutil/internal.h b/libavutil/internal.h index a33e8700c3..2011813932 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -103,6 +103,11 @@ #define FF_PTR_ADD(ptr,

Re: [FFmpeg-devel] [PATCH] lavfi/signature: fix always true expression

2021-07-24 Thread Jai Luthra
On Mon, May 24, 2021 at 04:00:24AM +0300, Valerii Zapodovnikov wrote: Otherwise since "==" has higher precedence, mode is never checked. --- libavfilter/signature_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/signature_lookup.c