Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_get_buffer2

2023-05-16 Thread Xiang, Haihao
On Di, 2023-05-16 at 16:22 +0800, zhilizhao(赵志立) wrote: > > > On May 16, 2023, at 15:52, Hendrik Leppkes wrote: > > > > On Tue, May 16, 2023 at 4:07 AM Xiang, Haihao > > wrote: > > > > > > From: Haihao Xiang > > > > > > Intel MediaSDK and oneVPL expect contiguous allocation for data[i], > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add VP8 encoder

2023-05-16 Thread zhilizhao(赵志立)
Failed to build since missing +DECLARE_MEDIACODEC_ENCODER(vp8, "VP8", AV_CODEC_ID_VP8) Fixed locally and pushed as 416fd1b. > On May 17, 2023, at 01:34, Samuel Raposo Vieira Mira > wrote: > > > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add AV1 encoder

2023-05-16 Thread zhilizhao(赵志立)
Pushed as acd37fd. > On May 17, 2023, at 00:26, Samuel Raposo Vieira Mira > wrote: > > > > <0001-avcodec-mediacodec-Add-AV1-encoder.patch><0001-avcodec-mediacodec-Add-AV1-encoder.patch.b64>___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org >

Re: [FFmpeg-devel] [PATCH V1] avcodec/cbs_vp8: Add support for VP8 codec bitstream READ methods

2023-05-16 Thread Dai, Jianhui J
> -Original Message- > From: ffmpeg-devel On Behalf Of > Andreas Rheinhardt > Sent: Monday, May 15, 2023 4:10 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V1] avcodec/cbs_vp8: Add support for VP8 > codec bitstream READ methods > > Dai, Jianhui J: > > This

[FFmpeg-devel] [PATCH v2] avcodec/libdav1d: export decoder frame delay

2023-05-16 Thread James Almer
As this is an AV_CODEC_CAP_OTHER_THREADS decoder, threading is handled by the underlying library. In this case, the frame delay is calculated by libdav1d based on the values from avctx->thread_count and the private max_frame_delay option. Export said delay reported by the library in

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: switch to activate()

2023-05-16 Thread Michael Niedermayer
On Mon, May 15, 2023 at 11:13:10PM +0200, Paul B Mahol wrote: > Attached. > src_movie.c | 91 > > 1 file changed, 56 insertions(+), 35 deletions(-) > 2fe86f393e8afc2e055458cf8c505e0fb4e20931 >

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread James Almer
On 5/16/2023 3:11 PM, Paul B Mahol wrote: Attached. Nothing looks obviously wrong now, so if it's measurably faster and doesn't regress, then LGTM. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread Paul B Mahol
Attached. From e0651e789479b2062e4f8aa93be8274fe773e146 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 44 +++--

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread James Almer
From e1dc1a00ac327d450c33586269cb19230f433405 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 40 ++-- 1 file

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread Paul B Mahol
Yet another patch. From e1dc1a00ac327d450c33586269cb19230f433405 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 40

Re: [FFmpeg-devel] trac spam

2023-05-16 Thread Michael Niedermayer
On Mon, May 15, 2023 at 08:02:42AM +0200, Michael Koch wrote: > please have a look at ticket 2104 cleaned up thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many things microsoft did are stupid, but not doing something just because microsoft did it is even

Re: [FFmpeg-devel] [PATCH 04/13] lavf: use AV_CODEC_PROP_FIELDS where appropriate

2023-05-16 Thread Michael Niedermayer
On Mon, May 15, 2023 at 10:44:56PM +0200, Anton Khirnov wrote: > Quoting Michael Niedermayer (2023-05-15 20:59:42) > > On Tue, May 09, 2023 at 10:44:50AM +0200, Anton Khirnov wrote: > > > Quoting Michael Niedermayer (2023-05-08 16:15:42) > > > > On Sun, May 07, 2023 at 03:32:46PM +0200, Anton

[FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add VP8 encoder

2023-05-16 Thread Samuel Raposo Vieira Mira
0001-avcodec-mediacodec-Add-VP8-encoder.patch.b64 Description: 0001-avcodec-mediacodec-Add-VP8-encoder.patch.b64 0001-avcodec-mediacodec-Add-VP8-encoder.patch Description: 0001-avcodec-mediacodec-Add-VP8-encoder.patch ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec: Add VP8 encoder

2023-05-16 Thread Zhao Zhili
> From: ffmpeg-devel On Behalf Of Samuel > Raposo Vieira Mira > Sent: 2023年5月17日 0:16 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec: Add VP8 encoder > > > > Connected FFmpeg to Mediacodec VP8 encoder. > > > Minor Version bump. > >

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread James Almer
From beaaca4147e4d0510393a2dc802fdaee60769f0f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 39 +-- 1 file

Re: [FFmpeg-devel] [PATCH] avfilter/src_movie: dr support

2023-05-16 Thread Paul B Mahol
New patch attached. From beaaca4147e4d0510393a2dc802fdaee60769f0f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Mon, 15 May 2023 21:54:25 +0200 Subject: [PATCH 2/3] avfilter/src_movie: dr support Signed-off-by: Paul B Mahol --- libavfilter/src_movie.c | 39

[FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add AV1 encoder

2023-05-16 Thread Samuel Raposo Vieira Mira
0001-avcodec-mediacodec-Add-AV1-encoder.patch Description: 0001-avcodec-mediacodec-Add-AV1-encoder.patch 0001-avcodec-mediacodec-Add-AV1-encoder.patch.b64 Description: 0001-avcodec-mediacodec-Add-AV1-encoder.patch.b64 ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH v2] avcodec/mediacodec: Add AV1 encoder

2023-05-16 Thread Samuel Raposo Vieira Mira
All comments done. Thanks for the review :) > By the way, which hardware did you use to run the test? I used a Samsung S21 and a Pixel 6. From: Zhao Zhili Date: Sunday, 7. May 2023 at 11.57 To: Samuel Raposo Vieira Mira , FFmpeg development discussions and patches Subject: Re:

Re: [FFmpeg-devel] [PATCH] avcodec/mediacodec: Add VP8 encoder

2023-05-16 Thread Samuel Raposo Vieira Mira
> > Connected FFmpeg to Mediacodec VP8 encoder. > > Minor Version bump. > --- > > configure | 1 + > > libavcodec/Makefile | 1 + > > libavcodec/allcodecs.c | 1 + > > libavcodec/mediacodec_wrapper.c | 4 > > libavcodec/mediacodecenc.c | 29

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Lynne
May 16, 2023, 15:32 by an...@khirnov.net: > Quoting Lynne (2023-05-11 20:55:40) > >> May 11, 2023, 18:04 by an...@khirnov.net: >> >> > Quoting Lynne (2023-04-24 17:56:38) >> > >> >> From b0c429d0d77d1789b6349bc6b296449ae1f8e9da Mon Sep 17 00:00:00 2001 >> >> From: Lynne >> >> Date: Tue, 15 Mar

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Lynne
May 16, 2023, 15:41 by an...@khirnov.net: > Quoting Lynne (2023-05-11 20:13:29) > >> >> diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h >> >> index 4bd1c9fc00..4c38dbc2e6 100644 >> >> --- a/libavutil/vulkan.h >> >> +++ b/libavutil/vulkan.h >> >> @@ -216,6 +216,9 @@ typedef struct

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Lynne
May 16, 2023, 15:33 by an...@khirnov.net: > Quoting Lynne (2023-05-11 20:58:38) > >> May 11, 2023, 18:22 by an...@khirnov.net: >> >> > Quoting Lynne (2023-04-24 17:56:38) >> > >> >> From e20962a956444224b34d82f9a5936fae7e43bdf6 Mon Sep 17 00:00:00 2001 >> >> From: Lynne >> >> Date: Thu, 15 Dec

[FFmpeg-devel] [PATCH 1/1] fate/jpg: add RGB mjpeg fate tests

2023-05-16 Thread Leo Izen
Adds FATE tests for RGB jpegs to test commit 0b352e350e773673f11ea380f3507923c70e1175. --- tests/fate/image.mak | 11 +++ tests/ref/fate/jpg-rgb-1 | 6 ++ tests/ref/fate/jpg-rgb-2 | 6 ++ tests/ref/fate/jpg-rgb-3 | 6 ++ tests/ref/fate/jpg-rgb-4 | 6 ++

[FFmpeg-devel] [PATCH 0/1] RGB mjpeg FATE tests

2023-05-16 Thread Leo Izen
The samples required for these tests can be located at: https://traneptora.com/share/i.zip (they were also sent to the samples mailing list). Leo Izen (1): fate/jpg: add RGB mjpeg fate tests tests/fate/image.mak | 11 +++ tests/ref/fate/jpg-rgb-1 | 6 ++

Re: [FFmpeg-devel] [PATCH] Revert "avformat/hls: fail on probing non hls/m3u8 file extensions"

2023-05-16 Thread Anton Khirnov
Quoting Michael Niedermayer (2023-05-14 23:39:44) > On Sun, May 14, 2023 at 09:41:29PM +0200, Anton Khirnov wrote: > > This reverts commit 6b1f68ccb04d791f0250e05687c346a99ff47ea1, which > > broke many streams in the wild > > > > Fixes #10353. > > This change violates a SHOULD in rfc8216 4.

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Anton Khirnov
Quoting Lynne (2023-05-11 20:13:29) > >> diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h > >> index 4bd1c9fc00..4c38dbc2e6 100644 > >> --- a/libavutil/vulkan.h > >> +++ b/libavutil/vulkan.h > >> @@ -216,6 +216,9 @@ typedef struct FFVulkanContext { > >> VkPhysicalDeviceProperties2 props; > >>

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Anton Khirnov
Quoting Lynne (2023-05-11 20:58:38) > May 11, 2023, 18:22 by an...@khirnov.net: > > > Quoting Lynne (2023-04-24 17:56:38) > > > >> From e20962a956444224b34d82f9a5936fae7e43bdf6 Mon Sep 17 00:00:00 2001 > >> From: Lynne > >> Date: Thu, 15 Dec 2022 17:43:27 +0100 > >> Subject: [PATCH 47/97]

Re: [FFmpeg-devel] [PATCH 55/97] Vulkan patchset part 2 - hwcontext rewrite and filtering

2023-05-16 Thread Anton Khirnov
Quoting Lynne (2023-05-11 20:55:40) > May 11, 2023, 18:04 by an...@khirnov.net: > > > Quoting Lynne (2023-04-24 17:56:38) > > > >> From b0c429d0d77d1789b6349bc6b296449ae1f8e9da Mon Sep 17 00:00:00 2001 > >> From: Lynne > >> Date: Tue, 15 Mar 2022 23:00:32 +0100 > >> Subject: [PATCH 26/97]

Re: [FFmpeg-devel] [PATCH] avformat/hls: look for trailing GET headers with m3u8 extension check

2023-05-16 Thread Rémi Denis-Courmont
Le 15 mai 2023 05:38:22 GMT+08:00, Michael Niedermayer a écrit : >> > >> > But lets consider: >> > file:///home/myname/myfile.m3u8?file.avi >> > /home/myname/myfile.m3u8?file.avi >> > http:/server/myfile.m3u8?file.avi >> > >> > The first is odd, iam not sure what "?file.avi" is and i wonder

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_get_buffer2

2023-05-16 Thread zhilizhao(赵志立)
> On May 16, 2023, at 15:52, Hendrik Leppkes wrote: > > On Tue, May 16, 2023 at 4:07 AM Xiang, Haihao > wrote: >> >> From: Haihao Xiang >> >> Intel MediaSDK and oneVPL expect contiguous allocation for data[i], >> however there are mandatory padding bytes between data[i] and data[i+1]. >>

Re: [FFmpeg-devel] [PATCH 1/3] lavu/frame: add av_frame_get_buffer2

2023-05-16 Thread Hendrik Leppkes
On Tue, May 16, 2023 at 4:07 AM Xiang, Haihao wrote: > > From: Haihao Xiang > > Intel MediaSDK and oneVPL expect contiguous allocation for data[i], > however there are mandatory padding bytes between data[i] and data[i+1]. > when calling av_frame_get_buffer. So adding av_frame_get_buffer2 to >

[FFmpeg-devel] [PATCH v2] avcodec/cavs_parser: fix finding the end of a frame

2023-05-16 Thread Zhao Zhili
From: Zhao Zhili Use the next I/P/B or start code as the end of current frame. Before the patch, extension start code, user data start code, sequence end code and so on are treated as the start of next frame. Signed-off-by: Zhao Zhili --- v2: add fate test The sample has been sent to