[FFmpeg-devel] [PATCH 5/5] avcodec/ffv1: use 64-bit frame counter

2023-01-23 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/ffv1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index 005f308784..04869da5c9 100644 --- a/libavcodec/ffv1.h +++ b/libavcodec/ffv1.h @@ -85,7 +85,7 @@ typedef struct FFV1Context { int

[FFmpeg-devel] [PATCH 4/5] avcodec/ratecontrol: drop remnants of libxvid rate control

2023-01-23 Thread Marton Balint
--- libavcodec/ratecontrol.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/ratecontrol.h b/libavcodec/ratecontrol.h index 2a7aaec644..4de80fad90 100644 --- a/libavcodec/ratecontrol.h +++ b/libavcodec/ratecontrol.h @@ -80,9 +80,6 @@ typedef struct RateControlContext{ int

[FFmpeg-devel] [PATCH 3/5] avcodec/mpegvideo: remove picture_number parameter from encode functions

2023-01-23 Thread Marton Balint
They are unused. Signed-off-by: Marton Balint --- libavcodec/flvenc.c| 2 +- libavcodec/flvenc.h| 2 +- libavcodec/h261enc.c | 2 +- libavcodec/h261enc.h | 2 +- libavcodec/h263enc.h | 2 +- libavcodec/ituh263enc.c| 2 +- libavcodec/mpeg12enc.c |

[FFmpeg-devel] [PATCH 2/5] avcodec/rv20enc: use MpegEncContext->picture_number instead of encode function parameter

2023-01-23 Thread Marton Balint
They should be the same and that is what most encode functions use. Signed-off-by: Marton Balint --- libavcodec/rv20enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/rv20enc.c b/libavcodec/rv20enc.c index a6bacacb48..00f6c41e77 100644 ---

[FFmpeg-devel] [PATCH 1/5] avcodec/mpeg4videoenc: use MpegEncContext->picture_number instead of encode function parameter

2023-01-23 Thread Marton Balint
They should be the same and that is what most encode functions use. Signed-off-by: Marton Balint --- libavcodec/mpeg4videoenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index a2a14afbd0..e327334d59 100644 ---

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Marton Balint
On Tue, 24 Jan 2023, Michael Niedermayer wrote: On Tue, Jan 24, 2023 at 12:22:52AM +0100, Marton Balint wrote: On Mon, 23 Jan 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-01-23 23:41:11) On Mon, 23 Jan 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-01-21 23:00:52)

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Michael Niedermayer
On Tue, Jan 24, 2023 at 12:22:52AM +0100, Marton Balint wrote: > > > On Mon, 23 Jan 2023, Anton Khirnov wrote: > > > Quoting Marton Balint (2023-01-23 23:41:11) > > > On Mon, 23 Jan 2023, Anton Khirnov wrote: > > > > Quoting Marton Balint (2023-01-21 23:00:52) > > > > >

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Marton Balint
On Mon, 23 Jan 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-01-23 23:41:11) On Mon, 23 Jan 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-01-21 23:00:52) AVCodecContext->frame_number should be changed to int64_t. I guess you could do something similar which was done for

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Anton Khirnov
Quoting Marton Balint (2023-01-23 23:41:11) > On Mon, 23 Jan 2023, Anton Khirnov wrote: > > Quoting Marton Balint (2023-01-21 23:00:52) > >> AVCodecContext->frame_number should be changed to int64_t. I guess you > >> could do something similar which was done for buffer_size_t, but that > >> seems

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Marton Balint
On Mon, 23 Jan 2023, Anton Khirnov wrote: Quoting Marton Balint (2023-01-21 23:00:52) On Sat, 21 Jan 2023, Michael Niedermayer wrote: On Sat, Jan 21, 2023 at 05:51:34PM +0100, Anton Khirnov wrote: Quoting Michael Niedermayer (2023-01-20 03:05:09) PS: iam not sure i fully understood

[FFmpeg-devel] [PATCH 04/26] avcodec: remove FF_API_THREAD_SAFE_CALLBACKS

2023-01-23 Thread James Almer
Signed-off-by: James Almer --- fftools/ffmpeg.c | 5 - libavcodec/avcodec.h | 21 --- libavcodec/decode.c | 13 -- libavcodec/encode.c | 7 +- libavcodec/frame_thread_encoder.c | 20 --- libavcodec/pthread_frame.c| 237

Re: [FFmpeg-devel] [PATCH 00/26] Major library version bump

2023-01-23 Thread Anton Khirnov
Quoting Marton Balint (2023-01-21 23:00:52) > > > On Sat, 21 Jan 2023, Michael Niedermayer wrote: > > > On Sat, Jan 21, 2023 at 05:51:34PM +0100, Anton Khirnov wrote: > >> Quoting Michael Niedermayer (2023-01-20 03:05:09) > >>> PS: iam not sure i fully understood the reason behind why versions

Re: [FFmpeg-devel] [PATCH] mov: Reduce the verbosity of the warning about fragmented MP4 vs advanced edit lists

2023-01-23 Thread Derek Buitenhuis
On 1/17/2023 9:31 AM, Martin Storsjö wrote: > Only warn if the advanced_editlist option is enabled (it is enabled > by default though) so we don't print one warning for each track, and > demote the warning to AV_LOG_LEVEL_VERBOSE; this message does get > generated whenever parsing a fragmented MP4

Re: [FFmpeg-devel] [PATCH 4/5] lavfi/graphparser: reimplement avfilter_graph_parse* using new API

2023-01-23 Thread James Almer
On 1/20/2023 6:39 PM, Nicolas George wrote: Nicolas George (12023-01-20): - Writing a large patch for a part of the code you know well or for a new feature is fine, of course. In fact, even for code we know well, we should consult, as long as we are not the only one who knows it well: as

[FFmpeg-devel] [PATCH 1/2] lavfi: Add vf_ssim360 filter

2023-01-23 Thread Anton Khirnov
From: Shannon Chen Customized SSIM for various projections (and stereo formats) of 360 images and videos. Further contributions by: Ashok Mathew Kuruvilla Matthieu Patou Yu-Hui Wu Anton Khirnov Suggested-By: ffm...@fb.com Signed-off-by: Anton Khirnov --- No longer loading the heatmap file

[FFmpeg-devel] [PATCH 2/2] FATE: add tests for v360/ssim360 filters

2023-01-23 Thread Anton Khirnov
--- Now using floats for comparison --- libavfilter/Makefile | 3 +- tests/Makefile | 4 +- tests/fate-run.sh | 6 + tests/fate/filter-video.mak| 19 +++ tests/ref/fate/filter-spherical-barrel | Bin 0 -> 160 bytes

Re: [FFmpeg-devel] [PATCH 5/5] fftools/ffmpeg: add special syntax for loading filter options from files

2023-01-23 Thread Anton Khirnov
Quoting Anton Khirnov (2023-01-20 20:31:32) > +static int filter_opt_apply(AVFilterContext *f, const char *key, const char > *val) > +{ > +const AVOption *o; > +int ret; > + > +ret = av_opt_set(f, key, val, AV_OPT_SEARCH_CHILDREN); > +if (ret >= 0) > +return 0; > + > +

Re: [FFmpeg-devel] GSoC 2023

2023-01-23 Thread Thilo Borgmann
Hi, sorry for delay, some thoughts: Description: VVC is the successor to the well-known codec HEVC. The whole video industry has high anticipation for VVC. The goal of the ffvvc project is to provide a VVC decoder for FFmpeg. We invite you to join us in> improving ffvvc. Depending on your