Re: [FFmpeg-devel] [PATCH] libavformat/sdp: VPS is not a mandatory HEVC codec parameter.

2025-04-01 Thread Koushik Dutta
aming/channels/101/trackID=2?transportmode=unicast a=rtpmap:0 PCMU/8000 a=Media_header:MEDIAINFO=494D4B4801020400050010710110401F00FA; a=appversion:1.0 On Wed, Mar 26, 2025 at 1:51 PM wrote: > > From: Koushik Dutta > > Many IP cameras do not

Re: [FFmpeg-devel] [PATCH] avformat/rtpenc: Add flag AVFMT_NODIMENSIONS.

2025-03-28 Thread Koushik Dutta
28, 2025 at 4:39 PM Michael Niedermayer wrote: > Hi > > On Wed, Mar 26, 2025 at 01:13:13PM -0700, kou...@gmail.com wrote: > > From: Koushik Dutta > > > > Not all rtp formats require the video dimensions to be available > > up front. H264 and HEVC will send them a

Re: [FFmpeg-devel] GSoC 2025

2025-01-30 Thread Koushik Dutta
Why gitlab and not GitHub? If the intent is on making contribution from new developers easier, I think the workflow should be where the majority of developers are actively participating. On Wed, Jan 29, 2025 at 11:32 AM Kieran Kunhya via ffmpeg-devel < ffmpeg-devel@ffmpeg.org> wrote: > On Wed, J

Re: [FFmpeg-devel] [PATCH 3/3] scale_qsv frame crop support

2025-01-21 Thread Koushik Dutta
Is anyone reviewing patches for qsv? I have two pending patches for the qsv scale/crop filters. I submitted similar patches for cuda, videotoolbox, and vulkan already, which were committed. Koush On Tue, Sep 10, 2024 at 11:11 AM Koushik Dutta wrote: > > The crop filter has no eff

Re: [FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-21 Thread Koushik Dutta
Benjamin Cheng via ffmpeg-devel wrote: > > On 2025-01-15 7:38 p.m., Koushik Dutta wrote: > > For my use case I ended up creating a custom pkgconfig file. My > > platform and compiler is windows and msvc. > > > > I was unable to get the existing configure to work corre

Re: [FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-15 Thread Koushik Dutta
at 3:13 AM Lynne wrote: > > > > On 07/01/2025 14:46, Koushik Dutta wrote: > > Searches pkg-config for glslang libraries. > > Use libavutil thread.h wrapper rather than directly including pthread.h. > > > > Signed-off-by: Koushik Dutta > > --- > >

[FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-06 Thread Koushik Dutta
Searches pkg-config for glslang libraries. Use libavutil thread.h wrapper rather than directly including pthread.h. Signed-off-by: Koushik Dutta --- configure | 1 + libavutil/vulkan_glslang.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b

Re: [FFmpeg-devel] [PATCH 1/5] hwcontext_vulkan: disable validation layer threading warnings

2024-12-23 Thread Koushik Dutta
I am not seeing the previous commit to this file in the mailing list so I'm not sure what to respond to. The previous commit broke the build on Windows as it results in an empty array: commit 18af3a1db2db07cd24d611cc9cdc86fcdec4b505 Author: Lynne Date: Wed Dec 18 13:14:27 2024 +0900 hwcont

Re: [FFmpeg-devel] [PATCH 3/3] scale_qsv frame crop support

2024-12-03 Thread Koushik Dutta
On Tue, 2024-09-10 at 11:10 -0700, Koushik Dutta wrote: > > The crop filter has no effect on scale_qsv: > > > > -vf crop=100:100,scale_qsv=300x300 > > > > How about to use vpp_qsv filter directly? It support both scale and > crop via its options which is

[FFmpeg-devel] [PATCH] avfilter/scale_vulkan: add dynamic crop region and aspect ratio match

2024-11-26 Thread Koushik Dutta
scale filter should also allow negative values that respect aspect ratio, similar to other scale filters. Signed-off-by: Koushik Dutta --- libavfilter/vf_scale_vulkan.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_scale_vulkan.c b

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/scale_vt: implement frame crop

2024-11-24 Thread Koushik Dutta
:58 AM Zhao Zhili wrote: > > > > > On Nov 21, 2024, at 00:40, Koushik Dutta wrote: > > > > Is anyone reviewing videotoolbox or qsv filters? The scale_cuda > > version of this patch was merged. > > > > On Sat, Oct 19, 2024 at 10:58 PM Koushik Dutta wrot

[FFmpeg-devel] [PATCH 1/2] avfilter/scale_vt: implement negative width/height aspect ratio sizing

2024-11-24 Thread Koushik Dutta
Signed-off-by: Koushik Dutta --- libavfilter/vf_scale_vt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 05f4e7b797..07d825b1ba 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter/vf_scale_vt.c @@ -189,6 +189,8 @@ static

[FFmpeg-devel] [PATCH 2/2] avfilter/scale_vt: implement frame crop

2024-11-24 Thread Koushik Dutta
-off-by: Koushik Dutta --- libavfilter/vf_scale_vt.c | 55 +++ 1 file changed, 55 insertions(+) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 07d825b1ba..eff23a6f39 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/scale_vt: implement frame crop

2024-11-20 Thread Koushik Dutta
Is anyone reviewing videotoolbox or qsv filters? The scale_cuda version of this patch was merged. On Sat, Oct 19, 2024 at 10:58 PM Koushik Dutta wrote: > > The crop filter has no effect on scale_vt: > > -vf crop=100:100,scale_vt=300x300 > > Hardware frames (AV_PIX_FMT_FLAG_HWA

[FFmpeg-devel] [PATCH 2/4] avfilter/scale_cuda: implement frame crop

2024-10-20 Thread Koushik Dutta
. Signed-off-by: Koushik Dutta --- libavfilter/vf_scale_cuda.c | 15 ++- libavfilter/vf_scale_cuda.cu | 22 ++ 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/libavfilter/vf_scale_cuda.c b/libavfilter/vf_scale_cuda.c index 54a340949d..eb8beee771 100644

[FFmpeg-devel] [PATCH 3/4] avfilter/scale_qsv: implement frame crop

2024-10-20 Thread Koushik Dutta
frame crop via the vpp_qsv filter. If no explicit crop is detected via that filter, AVFrame.crop_* will be used instead. Removal of vpp_qsv's crop argument may be warranted. Signed-off-by: Koushik Dutta --- libavfilter/qsvvpp.c | 10 ++ 1 file changed, 10 insertions(+) diff --

[FFmpeg-devel] [PATCH 1/4] avfilter/scale_vt: implement frame crop

2024-10-20 Thread Koushik Dutta
-off-by: Koushik Dutta --- libavfilter/vf_scale_vt.c | 50 +++ 1 file changed, 50 insertions(+) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 05f4e7b797..3da46a6cd5 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter

[FFmpeg-devel] [PATCH 4/4] avfilter/scale_vt: implement negative width/height aspect ratio sizing

2024-10-20 Thread Koushik Dutta
Signed-off-by: Koushik Dutta --- libavfilter/vf_scale_vt.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 3da46a6cd5..3785b884d9 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter/vf_scale_vt.c

Re: [FFmpeg-devel] [PATCH 2/3] scale_cuda frame crop support

2024-10-18 Thread Koushik Dutta
would require changes in the crop filter, and have unknown downstream effects with hardware scalers that I have not touched in this change. My new patch set addresses your first problem. Koush On Fri, Oct 18, 2024 at 1:14 PM Koushik Dutta wrote: > > I think the passthrough flag should be val

[FFmpeg-devel] [PATCH 4/4] scale_vt implementation for negative width/height sizing

2024-10-18 Thread Koushik Dutta
--- libavfilter/vf_scale_vt.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 3da46a6cd5..3785b884d9 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter/vf_scale_vt.c @@ -33,8 +33,6 @@ typedef struct

[FFmpeg-devel] [PATCH 3/4] scale_qsv frame crop support

2024-10-18 Thread Koushik Dutta
The crop filter has no effect on scale_qsv: -vf crop=100:100,scale_qsv=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. This patch is slightly different from the previously submitted patches since qsv supports

[FFmpeg-devel] [PATCH 2/4] scale_cuda frame crop support

2024-10-18 Thread Koushik Dutta
The crop filter has no effect on scale_cuda: -vf crop=100:100,scale_cuda=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. The current workaround is to hwdownload the full frame and perform the crop on CPU. ---

[FFmpeg-devel] [PATCH 1/4] scale_vt frame crop support

2024-10-18 Thread Koushik Dutta
The crop filter has no effect on scale_vt: -vf crop=100:100,scale_vt=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. The current workaround is to hwdownload the full frame and perform the crop on CPU. --- lib

Re: [FFmpeg-devel] [PATCH 2/3] scale_cuda frame crop support

2024-10-18 Thread Koushik Dutta
currently implements crop. Koush On Sun, Oct 6, 2024 at 12:09 PM Timo Rothenpieler wrote: > > On 10.09.2024 20:10, Koushik Dutta wrote: > > The crop filter has no effect on scale_cuda: > > > > -vf crop=100:100,scale_cuda=300x300 > > > > Hardware frames (AV

[FFmpeg-devel] [PATCH] program_opencl: implement planar and format options

2024-09-30 Thread Koushik Dutta
nv12 to rgba: program_opencl=kernel=nv12torgba:format=rgba:planar=0:source=... Kernel that supports processing all planes on the input image: __kernel void nv12torgba(__write_only image2d_t output_image, __read_only image2d_t y_image, __read_only image2d_t uv_image) Signed-off-by: Koushik

[FFmpeg-devel] [PATCH] program_opencl: implement filter process_command

2024-09-30 Thread Koushik Dutta
Implements process_command to allow program source to be sent as an arg. Signed-off-by: Koushik Dutta --- libavfilter/vf_program_opencl.c | 49 +++-- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_program_opencl.c b/libavfilter

[FFmpeg-devel] [PATCH] scale_vt implementation for negative width/height sizing

2024-09-15 Thread Koushik Dutta
--- libavfilter/vf_scale_vt.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_scale_vt.c b/libavfilter/vf_scale_vt.c index 3da46a6cd5..3785b884d9 100644 --- a/libavfilter/vf_scale_vt.c +++ b/libavfilter/vf_scale_vt.c @@ -33,8 +33,6 @@ typedef struct

[FFmpeg-devel] [PATCH 3/3] scale_qsv frame crop support

2024-09-10 Thread Koushik Dutta
The crop filter has no effect on scale_qsv: -vf crop=100:100,scale_qsv=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. This patch is slightly different from the previously submitted patches since qsv supports

[FFmpeg-devel] [PATCH 2/3] scale_cuda frame crop support

2024-09-10 Thread Koushik Dutta
The crop filter has no effect on scale_cuda: -vf crop=100:100,scale_cuda=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. The current workaround is to hwdownload the full frame and perform the crop on CPU. ---

[FFmpeg-devel] [PATCH 1/3] scale_vt frame crop support

2024-09-10 Thread Koushik Dutta
The crop filter has no effect on scale_vt: -vf crop=100:100,scale_vt=300x300 Hardware frames (AV_PIX_FMT_FLAG_HWACCEL) are expected to use the crop_* properties, as seen in the implementation vf_crop.c. The current workaround is to hwdownload the full frame and perform the crop on CPU. --- lib