[FFmpeg-devel] Web overay

2022-11-23 Thread R. Subramanian
Is there any way to add browser / web overlay in FFMPEG. This feature is available in OBS Studio. If possible means is there any sample I want to add web overlay over a camera. Sent from Mail for Windows ___

[FFmpeg-devel] [PATCH] lavc/qsvenc_h264: don't support P010 format

2022-11-23 Thread Xiang, Haihao
From: Haihao Xiang Signed-off-by: Haihao Xiang --- libavcodec/qsvenc_h264.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/qsvenc_h264.c b/libavcodec/qsvenc_h264.c index 0ff7356346..bbdedc3335 100644 --- a/libavcodec/qsvenc_h264.c +++ b/libavcodec/qsvenc_h264.c @@ -197,7 +197,6 @

[FFmpeg-devel] [PATCH v2] libavcodec/qsvenc.c: Enable MFX_GOP_STRICT when adpative gop is disabled

2022-11-23 Thread wenbin . chen-at-intel . com
From: Wenbin Chen adaptive_i and adaptive_b cannot work with MFX_GOP_STRICT, so only enable MFX_GOP_STRICT when these features are disabled. Signed-off-by: Wenbin Chen --- libavcodec/qsvenc.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/liba

[FFmpeg-devel] [PATCH] lavu/hwcontext_vaapi: Skip 'vgem' driver

2022-11-23 Thread Brian Norris
There can be more than one available render node, and it's not guaranteed the first node we come across is the correct one. In particular, 'vgem' devices are common, and are never VAAPI-enabled and thus not valid here. We have a 'kernel_driver' arg already for specifying a single driver we *do* wa

Re: [FFmpeg-devel] [PATCH 1/6] swscale/utils: Factor initializing single slice context out

2022-11-23 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Initializing slice threads currently uses the function > (sws_init_context()) that is also used for initializing > user-facing contexts with the only difference being that > nb_threads is set to one before initializing the slice contexts. > > Yet sws_init_context() also initi

[FFmpeg-devel] [PATCH v5 4/4] swscale/output: add rgbaf32 output support

2022-11-23 Thread mindmark
From: Mark Reid --- libswscale/output.c | 92 libswscale/swscale_unscaled.c| 4 +- libswscale/tests/floatimg_cmp.c | 4 +- libswscale/utils.c | 16 +++-- libswscale/yuv2rgb.c | 2 + te

[FFmpeg-devel] [PATCH v5 3/4] avfilter/vf_transpose: add support for packed rgb float formats

2022-11-23 Thread mindmark
From: Mark Reid --- libavfilter/vf_transpose.c | 44 ++ 1 file changed, 44 insertions(+) diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index 469e66729f..1023d6fe82 100644 --- a/libavfilter/vf_transpose.c +++ b/libavfilter/vf_transpose.c

[FFmpeg-devel] [PATCH v5 2/4] avfilter/vf_hflip: add support for packed rgb float formats

2022-11-23 Thread mindmark
From: Mark Reid --- libavfilter/vf_hflip_init.h | 25 + 1 file changed, 25 insertions(+) diff --git a/libavfilter/vf_hflip_init.h b/libavfilter/vf_hflip_init.h index d0319f463d..31173f73fc 100644 --- a/libavfilter/vf_hflip_init.h +++ b/libavfilter/vf_hflip_init.h @@ -86,

[FFmpeg-devel] [PATCH v5 1/4] swscale/input: add rgbaf32 input support

2022-11-23 Thread mindmark
From: Mark Reid The input functions are currently matching the planar f32 functions. They can be factorized removing multiple lrintf/av_clipf calls, this will be addressed in a future patch. --- libswscale/input.c | 122 + libswscale/utils.c | 6 +++

[FFmpeg-devel] [PATCH v5 0/4] swscale: rgbaf32 input/output support

2022-11-23 Thread mindmark
From: Mark Reid This patch series adds swscale input/output support for the packed rgb float formats. A few of the filters also needed support the larger 96/128 bit packed pixel sizes. I also plan to eventually add lossless unscaled conversions between the planer and packed formats. changes

[FFmpeg-devel] [PATCH 2/2] avcodec/mediacodecenc: check missing Surface

2022-11-23 Thread Zhao Zhili
From: Zhao Zhili It's an invalid combination of Java MediaCodec with ANativeWindow. --- libavcodec/mediacodecenc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/mediacodecenc.c b/libavcodec/mediacodecenc.c index 7cdde59945..a4390a9df6 100644 --- a/libavcodec/mediacod

[FFmpeg-devel] [PATCH 1/2] avcodec/mediacodec: fix missing crop info when use NDK MediaCodec

2022-11-23 Thread Zhao Zhili
From: Zhao Zhili --- libavcodec/mediacodec_wrapper.c | 38 --- libavcodec/mediacodec_wrapper.h | 24 +++ libavcodec/mediacodecdec_common.c | 4 3 files changed, 63 insertions(+), 3 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/

Re: [FFmpeg-devel] [crop support for matroska demuxer, V4 2/3] libavcodec: Public code to support container crop

2022-11-23 Thread Dmitrii Ovchinnikov
>>The types seems mismatching The reason for the mismatch of types is that I left the int type according to the comments : " James Almer IMO the AVFrame ones should have not been size_t to begin with, not just because the actual dimensions you'll apply them to are int, but because these fields are

Re: [FFmpeg-devel] [PATCH V2] lavc/libvpx: increase thread limit to 64

2022-11-23 Thread Dmitrii Ovchinnikov
Thanks for the answer and comment! I will think about how best to rework the patch and then send a new version. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or em

[FFmpeg-devel] [PATCH] avfilter/vf_libplacebo: support more output formats

2022-11-23 Thread Niklas Haas
From: Niklas Haas Rather than hard-coding AV_PIX_FMT_VULKAN, expand this to the full list of formats supported by . We re-use the existing `format` option to allow selecting specific software formats in addition to specific vulkan hwframe formats. Some minor changes are necessary to account for

Re: [FFmpeg-devel] [PATCH v5 1/2] lavc: add HWACCEL_CAP_RESET_WITHOUT_UNINIT capacity for hwaccel

2022-11-23 Thread Xiang, Haihao
On Wed, 2022-11-23 at 11:29 +, Xiang, Haihao wrote: > On Mon, 2022-11-14 at 09:16 +0800, Fei Wang wrote: > > The capacity can avoid hwaccel being uninited when do the reset. It > > provides the method for hwaccel if it still want to use the previous > > initialized configuration after reset. An

Re: [FFmpeg-devel] [PATCH v5 1/2] lavc: add HWACCEL_CAP_RESET_WITHOUT_UNINIT capacity for hwaccel

2022-11-23 Thread Xiang, Haihao
On Mon, 2022-11-14 at 09:16 +0800, Fei Wang wrote: > The capacity can avoid hwaccel being uninited when do the reset. It > provides the method for hwaccel if it still want to use the previous > initialized configuration after reset. And the configuration can be > updated in AVHWAccel.init() if need