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 > al

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]. >> whe

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 i

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] hwconte

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] vulkan:

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] 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. Play

[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 ++ tests/ref/fate/jpg-rg

[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 ++ tests/ref/fa

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 20

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 FFVulkanCont

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 20

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 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: [FFmpeg-devel]

[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] 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 ++

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 chang

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. > > ---

[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 f

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 Khirn

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 m

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] [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 chan

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 +++-- 1

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 https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

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 > 0001-avfilter-src_movie-switch-to-acti

[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 AVCodecContext.

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 commi

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 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: > > > > <0001-avcodec-mediacodec-Add-VP8-encoder.patch.b64><0001-avcodec-mediacodec-Add-VP8-encoder.pa

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] Global variables in FFmpeg command expressions?

2023-05-16 Thread Joan Lluch
Hi Paul, Yes, I agree that a filter that would process both Video and Audio together would be the best approach. But this does not seem to be the general case in FFmpeg. I mean, filters are either for video or for audio. With filters that just apply video transformations without affecting t

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-16 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. [PATCH v2 1/7] avcodec/la: add LSX optimization for h264 idct. [PATCH v2 2/7] avcodec/la: Add LSX opti