Re: [FFmpeg-devel] Mailman3 Upgrade

2025-08-18 Thread Martin Storsjö via ffmpeg-devel
On Tue, 19 Aug 2025, Timo Rothenpieler via ffmpeg-devel wrote: mailman2 has no good way to deal with that in a more reasonable way. Mailman3 is already set up, and can be migrated to at a moments notice. The only problem with it is that I really don't like the new archives. It has wa

Re: [FFmpeg-devel] Mailman3 Upgrade

2025-08-19 Thread Timo Rothenpieler via ffmpeg-devel
On 19/08/2025 08:55, Martin Storsjö via ffmpeg-devel wrote: On Tue, 19 Aug 2025, Timo Rothenpieler via ffmpeg-devel wrote: mailman2 has no good way to deal with that in a more reasonable way. Mailman3 is already set up, and can be migrated to at a moments notice. The only problem with it is

[FFmpeg-devel] [PATCH] avcodec/sanm: mv and oob fixes (PR #20284)

2025-08-19 Thread Manuel Lauss via ffmpeg-devel
ofs + l + w) = *(db + ofs + l + w + mvofs); @@ -1571,8 +1572,8 @@ static int codec48_block(SANMVideoContext *ctx, uint8_t *dst, uint8_t *db, int x break; default:// copy 8x8 block from prev, c37_mv from source mvofs = c37_mv[opc * 2] + (c37_mv[opc * 2 + 1] * w); -

Re: [FFmpeg-devel] Mailman3 Upgrade

2025-08-18 Thread James Almer via ffmpeg-devel
On 8/18/2025 7:08 PM, Timo Rothenpieler via ffmpeg-devel wrote: Hi! As you might have noticed, a bunch of big Mail-Hosters have introduced new, even stricter, requirements. Primarily it's Microsoft, but others seem to already have followed suit. So we had to configure the list to sen

[FFmpeg-devel] [PATCH] avcodec/svq1enc: restrict Altivec acceleration to big-endian POWER configurations (backported to release/7.1) (PR #20285)

2025-08-19 Thread Sean McGovern via ffmpeg-devel
HAVE_ALTIVEC */ +#endif /* HAVE_ALTIVEC && HAVE_BIGENDIAN */ } -- 2.49.1 ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] FFmpeg 5.1.7 and 6.1.3

2025-08-16 Thread Michael Niedermayer via ffmpeg-devel
to go on forever, its just that you wont like living in it. -- Hiranya Peiri signature.asc Description: PGP signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link a

[FFmpeg-devel] [PATCH] avformat/tls_gnutls: add dtls support (PR #20254)

2025-08-16 Thread Jack Lau via ffmpeg-devel
;= ~AVIO_FLAG_NONBLOCK; -c->tls_shared.tcp->flags |= h->flags & AVIO_FLAG_NONBLOCK; + uc->flags &= ~AVIO_FLAG_NONBLOCK; +uc->flags |= h->flags & AVIO_FLAG_NONBLOCK; ret = gnutls_record_recv(c->session, buf, size); if (ret > 0) return ret; @@ -261,10 +706,12 @@ static int tls_read(URLContext *h, uint8_t *buf, int size) static int tls_write(URLContext *h, const uint8_t *buf, int size) { TLSContext *c = h->priv_data; +URLContext *uc = c->tls_shared.is_dtls ? c->tls_shared.udp + : c->tls_shared.tcp; int ret; // Set or clear the AVIO_FLAG_NONBLOCK on c->tls_shared.tcp -c->tls_shared.tcp->flags &= ~AVIO_FLAG_NONBLOCK; -c->tls_shared.tcp->flags |= h->flags & AVIO_FLAG_NONBLOCK; +uc->flags &= ~AVIO_FLAG_NONBLOCK; +uc->flags |= h->flags & AVIO_FLAG_NONBLOCK; ret = gnutls_record_send(c->session, buf, size); if (ret > 0) return ret; @@ -309,3 +756,24 @@ const URLProtocol ff_tls_protocol = { .flags = URL_PROTOCOL_FLAG_NETWORK, .priv_data_class = &tls_class, }; + +static const AVClass dtls_class = { +.class_name = "dtls", +.item_name = av_default_item_name, +.option = options, +.version= LIBAVUTIL_VERSION_INT, +}; + +const URLProtocol ff_dtls_protocol = { +.name = "dtls", +.url_open2 = dtls_open, +.url_handshake = dtls_handshake, +.url_read = tls_read, +.url_write = tls_write, +.url_close = tls_close, +.url_get_file_handle = tls_get_file_handle, +.url_get_short_seek = tls_get_short_seek, +.priv_data_size = sizeof(TLSContext), +.flags = URL_PROTOCOL_FLAG_NETWORK, +.priv_data_class = &dtls_class, +}; -- 2.49.1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avfilter/whisper: correct option formatting (PR #20255)

2025-08-16 Thread Gyan Doshi via ffmpeg-devel
}, 2, HOURS, .flags = FLAGS }, { "use_gpu", "Use GPU for processing", OFFSET(use_gpu), AV_OPT_TYPE_BOOL, {.i64 = 1}, 0, 1, .flags = FLAGS }, { "gpu_device", "GPU device to use", OFFSET(gpu_device), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MA

[FFmpeg-devel] [PATCH] vf_colordetect: add ability to detect fully opaque alpha planes (PR #20257)

2025-08-16 Thread Niklas Haas via ffmpeg-devel
1, m1, m1 +kortestb k1, k1 +setnz tmpb +%else +ptest m6, m3 +setnc tmpb ; CF = !(~m6 & m3) +%endif +or retb, tmpb + add colorq, color_strideq add alphaq, alpha_strideq dec heightq jg .lineloop -xor eax, eax + mov eax, retd RET .found: -mo

[FFmpeg-devel] [PATCH] vf_colorspace: Add an option to clamp trc LUT output

2025-08-19 Thread Drew Dunne via ffmpeg-devel
ot;Set all input color properties together", OFFSET(user_iall), AV_OPT_TYPE_INT, { .i64 = CS_UNSPECIFIED }, CS_UNSPECIFIED, CS_NB - 1, FLAGS, .unit = "all" }, -- 2.51.0.rc1.167.g924127e9c0-goog _______ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] vf_colorspace: Add an option to clamp trc LUT output

2025-08-19 Thread Drew Dunne via ffmpeg-devel
OFFSET(clamp_trc), AV_OPT_TYPE_BOOL, { .i64 = 0}, + 0, 1, FLAGS }, + { "iall", "Set all input color properties together", OFFSET(user_iall), AV_OPT_TYPE_INT, { .i64 = CS_UNSPECIFIED }, CS_UNSPECIFIED, CS_NB - 1, FLAGS, .unit = "all"

[FFmpeg-devel] [PATCH] avcodec/d3d12va_encode: add max_frame_size option (PR #20287)

2025-08-19 Thread Tong Wu via ffmpeg-devel
LAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM) static const AVOption d3d12va_encode_hevc_options[] = { HW_BASE_ENCODE_COMMON_OPTIONS, +D3D12VA_ENCODE_COMMON_OPTIONS, D3D12VA_ENCODE_RC_OPTIONS, { "qp", "Constant QP (for P-frames; scaled by qfactor/qoffset for I/B)", -- 2.49.1

Re: [FFmpeg-devel] Patches to add libomt OpenMediaTransport support to FFmpeg

2025-08-19 Thread Jacob Lifshay via ffmpeg-devel
On August 19, 2025 1:45:01 AM PDT, ffmpeg--- via ffmpeg-devel wrote: > We have have already completed implementation of this protocol into FFMPEG 7 > and I enclose patches to add this to the current FFmpeg origin/master. > > > If the .eml patches dont make it through the

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-08-19 Thread Michael Niedermayer via ffmpeg-devel
orgejo/CODEOWNERS and MAINTAINERS thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus signature.asc Description: PGP signature _

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-08-19 Thread Michael Niedermayer via ffmpeg-devel
blem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt. signature.asc Description: PGP signature _______ ffmpeg-devel mailing list [email protected] h

[FFmpeg-devel] FFmpeg 8.0 Name

2025-08-19 Thread Michael Niedermayer via ffmpeg-devel
your dictator signature.asc Description: PGP signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-08-19 Thread Michael Niedermayer via ffmpeg-devel
ptotically faster algorithms should always be preferred if you have asymptotical amounts of data signature.asc Description: PGP signature _______________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe,

[FFmpeg-devel] [PATCH] forgejo/CODEOWNERS: add myself (PR #20289)

2025-08-19 Thread Jacob Lifshay via ffmpeg-devel
format/mccenc.* @programmerjake libavformat/pp_bnk.* @zane libavformat/scd.* @zane @@ -102,3 +110,7 @@ doc/.* @GyanD # == .*d3d12va.* @jianhuaw .*vulkan.* @lynne + +# tests +# = +tests/ref/fate/sub-mcc.* @programmerjake -- 2.49.1 _______

Re: [FFmpeg-devel] FFmpeg 8.0 Name

2025-08-19 Thread Jacob Lifshay via ffmpeg-devel
On August 19, 2025 2:27:12 PM PDT, Michael Niedermayer via ffmpeg-devel wrote: > Hi all > > what name should we give 8.0 ? IDK if it's a very good suggestion, but Hachi? It's both the Japanese number 8, as well as a common nickname. There's a famously loyal do

[FFmpeg-devel] [PATCH v2] libavfilter/vf_remap_opencl: make kernel handle subsampled chroma

2025-09-05 Thread Matthias Welwarsky via ffmpeg-devel
++; + +CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_int4, &(ctx->plane[plane].swizzle)); +kernel_arg++; + err = ff_opencl_filter_work_size_from_image(avctx, global_work, output, plane, 0); if (err < 0) -- 2.51.0 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: HTML emails (was Re: [FFFjo] [FFmpeg/FFmpeg] .NET Bindings Crash (MS_VC_EXCEPTION / 0x406d1388) (Issue #20420))

2025-09-06 Thread Leon Grutters via ffmpeg-devel
On 2025-09-05 17:16:02+0200, Rémi Denis-Courmont via ffmpeg-devel wrote: Doesn't this ML have a plain text policy? I suppose that this is a problem with FFFjo rather than OP, but still. The mail you're replying to seemingly wasn't sent to the ML, but (probably) only you.

[FFmpeg-devel] [PATCH] vc1_parser: Reset unesc_index after extracting header with complete frames (PR #20445)

2025-09-05 Thread DE-AI via ffmpeg-devel
s, avctx, unesc_buffer, unesc_index); +unesc_index = 0; break; } if (unesc_index >= UNESCAPED_THRESHOLD && !start_code_found) { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscri

[FFmpeg-devel] [PATCH] avcodec/decode: treat orientation 1 as valid displaymatrix (PR #20447)

2025-09-05 Thread Leo Izen via ffmpeg-devel
ROR_INVALIDDATA; ret = ff_frame_new_side_data(avctx, frame, AV_FRAME_DATA_DISPLAYMATRIX, sizeof(int32_t) * 9, &sd); if (ret < 0) { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/mjpegdec: ignore APPx stubs unless AV_EF_EXPLODE is set (PR #20422)

2025-09-04 Thread Ramiro Polla via ffmpeg-devel
out; } + if (8 * len > get_bits_left(&s->gb)) return AVERROR_INVALIDDATA; id = get_bits_long(&s->gb, 32); -len -= 6; +len -= 4; if (s->avctx->debug & FF_DEBUG_STARTCODE) av_log(s->avctx, AV_LOG_DEBUG, "APPx (%s / %8X) len=%d\n", -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: remove openssl version check for whip (PR #20452)

2025-09-05 Thread Jack Lau via ffmpeg-devel
if enabled gcrypt; then GCRYPT_CONFIG="${cross_prefix}libgcrypt-config" if "${GCRYPT_CONFIG}" --version > /dev/null 2>&1; then -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Add Windows.Graphics.Capture based video source filter (PR #20455)

2025-09-06 Thread Timo Rothenpieler via ffmpeg-devel
PR #20455 opened by Timo Rothenpieler (BtbN) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20455 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20455.patch Captures windows and monitors with the respective WinRt API. The filter itself is written in C++, since interacting with WinRt with

[FFmpeg-devel] [PATCH] configure: Improve the check for schannel DTLS constants (PR #20444)

2025-09-07 Thread Martin Storsjö via ffmpeg-devel
IN32 makeinfo --version > /dev/null 2>&1 && enable makeinfo || disable makeinfo enabled makeinfo \ -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] libavfilter/vf_remap_opencl: make kernel handle subsampled chroma

2025-09-07 Thread Matthias Welwarsky via ffmpeg-devel
rnel_arg, cl_float4, &(ctx- >plane[plane].scale)); +kernel_arg++; + +CL_SET_KERNEL_ARG(ctx->kernel, kernel_arg, cl_int4, &(ctx- >plane[plane].swizzle)); +kernel_arg++; + err = ff_opencl_filter_work_size_from_image(avctx, global_work,

[FFmpeg-devel] [PATCH] avformat/whip: make time measure more precise (PR #20391)

2025-09-01 Thread Jack Lau via ffmpeg-devel
init:%d,offer:%d,answer:%d,udp:%d,ice:%d,dtls:%d,srtp:%d)\n", -whip->state, buffer_size, max_packet_size, ELAPSED(whip->whip_starttime, av_gettime()), + "elapsed=%.2fms(init:%.2f,offer:%.2f,answer:%.2f,udp:%.2f,ice:%.2f,dtls:%.2f,srtp:%.2f)\n", +whip->state, buffer_size, max_packet_size, ELAPSED(whip->whip_starttime, av_gettime_relative()), ELAPSED(whip->whip_starttime, whip->whip_init_time), ELAPSED(whip->whip_init_time, whip->whip_offer_time), ELAPSED(whip->whip_offer_time, whip->whip_answer_time), -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/movenc: remove mvex from final mp4 in hybrid_fragmented mode (PR #20385)

2025-09-01 Thread Zhao Zhili via ffmpeg-devel
ata/lavf/lavf.mov_hybrid_frag +358436 tests/data/lavf/lavf.mov_hybrid_frag tests/data/lavf/lavf.mov_hybrid_frag CRC=0xbb2b949b -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/x86/vf_colordetect: fix alpha detect tail handling (PR #20387)

2025-09-01 Thread Niklas Haas via ffmpeg-devel
ht, \ + p, q, k); \ } #if HAVE_X86ASM -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: support global_quality without qscale (PR #20382)

2025-08-31 Thread Zhao Zhili via ffmpeg-devel
lity = FFMIN(avctx->global_quality / factor, 1.0f); CFNumberRef quality_num = CFNumberCreate(kCFAllocatorDefault, kCFNumberFloat32Type, &quality); -- 2.49.1 ____

[FFmpeg-devel] [PATCH] .forgejo/CODEOWNERS: add myself for various files (PR #20380)

2025-08-31 Thread Zhao Zhili via ffmpeg-devel
til/hwcontext_mediacodec.* @quink libavutil/iamf.* @jamrial libavutil/integer.* @michaelni libavutil/lfg.* @michaelni -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] lavc/codec_desc: add lossless flags for hevc and av1 (PR #20378)

2025-08-31 Thread Gyan Doshi via ffmpeg-devel
= AV_CODEC_PROP_LOSSY, +.props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS, .profiles = NULL_IF_CONFIG_SMALL(ff_av1_profiles), }, { -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avcodec/aarch64/vvc: optimised alf_classify function 8/10/12bit of vvc codec for aarch64

2025-08-31 Thread George Zaguri via ffmpeg-devel
and I can take another look at it. In that form you don't > need to send the patches to the mailing list at all, and only interact > with the review through the Forgejo tool. > > // Martin > > _______ ffmpeg-devel mailing list -- ffmpe

[FFmpeg-devel] Re: [PATCH] avformat/wavdec: support loop_start and loop_end from 'smpl' chunk

2025-09-03 Thread Michael Niedermayer via ffmpeg-devel
On Sat, Aug 30, 2025 at 04:27:25PM -0700, Spencer Alves via ffmpeg-devel wrote: > The 'smpl' chunk is used for sampling music synthesizers, and includes > things like the pitch of the sample and how to loop it. This exposes the > loop points as "loop_start" and "

[FFmpeg-devel] Re: [PATCH] fftools/ffmpeg: fix gracefully shutdown

2025-09-03 Thread Michael Niedermayer via ffmpeg-devel
Hi Patrick On Fri, Aug 29, 2025 at 02:58:16AM +0800, Patrick Wang via ffmpeg-devel wrote: > d119ae2fd82a494d9430ff4d4fc262961a68c598 removed the loop-breaking condition > received_sigterm. > Thus, signals no longer gracefully shutdown ffmpeg. > > Fixes: #10834 > > Signed

[FFmpeg-devel] Re: [PATCH v3 2/2] avcodec/libaom: Add test for HDR10+ metadata support

2025-09-03 Thread Michael Niedermayer via ffmpeg-devel
On Wed, Aug 27, 2025 at 01:06:42PM +0200, Maryla Ustarroz via ffmpeg-devel wrote: > On Mon, Aug 11, 2025 at 2:01 PM Maryla Ustarroz wrote: > > > > On Mon, Aug 11, 2025 at 1:57 PM Maryla Ustarroz-Calonge > > wrote: > > > > > > Signed-off-by: Maryla U

[FFmpeg-devel] [PATCH] cehckasm: sw_ops: Avoid division by zero (PR #20397)

2025-09-03 Thread Martin Storsjö via ffmpeg-devel
2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] vf_colorspace: Add an option to clamp trc LUT output

2025-09-02 Thread Drew Dunne via ffmpeg-devel
Sure, I can submit it there. Is there documentation on how to submit a patch there? Do I just submit it as a pull request? On Tue, Aug 26, 2025 at 2:33 PM Ronald S. Bultje wrote: > Hi Drew, > > Thanks for the bug report! > > On Mon, Aug 25, 2025 at 10:50 AM Drew Dunne v

[FFmpeg-devel] [PATCH] swscale/ops: fix build with msvc (PR #20395)

2025-09-02 Thread Zhao Zhili via ffmpeg-devel
, W} }, \ ); #define DECL_CONVERT(EXT, FROM, TO) \ -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH v3 2/2] avcodec/libaom: Add test for HDR10+ metadata support

2025-09-02 Thread Michael Niedermayer via ffmpeg-devel
On Tue, Sep 02, 2025 at 10:39:12AM -0300, James Almer via ffmpeg-devel wrote: > On 9/2/2025 10:30 AM, Michael Niedermayer via ffmpeg-devel wrote: > > On Wed, Aug 27, 2025 at 01:06:42PM +0200, Maryla Ustarroz via ffmpeg-devel > > wrote: > > > On Mon, Aug 11, 2025 at 2:01 P

[FFmpeg-devel] [PATCH] avcodec/pcm: use stricter conditional expressions for compilation (PR #20394)

2025-09-02 Thread Zhao Zhili via ffmpeg-devel
to_ulaw, ulaw2linear, 0xff); } #endif -#if CONFIG_PCM_VIDC_DECODER || CONFIG_PCM_VIDC_ENCODER +#if CONFIG_PCM_VIDC_ENCODER static void pcm_vidc_tableinit(void) { build_xlaw_table(linear_to_vidc, vidc2linear, 0xff); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] doc/examples/vaapi_encode: fix invalid check on fwrite (PR #20396)

2025-09-03 Thread Zhao Zhili via ffmpeg-devel
> On Sep 3, 2025, at 11:30, mypopy--- via ffmpeg-devel > wrote: > > On Tue, Sep 2, 2025 at 6:13 PM Zhao Zhili via ffmpeg-devel > mailto:[email protected]>> wrote: >> >> PR #20396 opened by Zhao Zhili (quink) >> URL: https://code.ffmpeg.org/FFmpeg

[FFmpeg-devel] [PATCH] vp9: Add 8bpc intra prediction AVX2 asm (PR #20386)

2025-09-01 Thread Henrik Gramner via ffmpeg-devel
gnr m2, m3, 15 +add dstq, r3 +pslldq m3, 1 +decr2d +jg .loop +RET +%endif + ; FIXME 127, 128, 129 ? -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscr

[FFmpeg-devel] Re: [PATCH] avformat/demux: avoid unconditional ID3v2 tag consumption

2025-09-03 Thread Kyle Swanson via ffmpeg-devel
Hi, On Tue, Sep 2, 2025 at 9:41 AM Kyle Swanson wrote: > > On Wed, Aug 20, 2025 at 2:09 PM Kyle Swanson wrote: > > > > Hi, > > > > On Wed, Jul 23, 2025 at 10:51 AM Nil Fons Miret via ffmpeg-devel > > wrote: > > > Pinging this patch from a couple we

[FFmpeg-devel] [PATCH] Fix alpha_modes deprecation warning in ffplay (PR #20440)

2025-09-04 Thread Niklas Haas via ffmpeg-devel
}, -{ "alpha_modes", "set the supported alpha modes", OFFSET(alpha_modes), AV_OPT_TYPE_BINARY, .flags = FLAGS | AV_OPT_FLAG_DEPRECATED }, #endif { "pixel_formats", "array of supported pixel formats", OFFSET(pixel_formats), -- 2.49.1 ______

[FFmpeg-devel] [PATCH] avformat/whip: fix SDP ICE candidates parsing (PR #20423)

2025-09-04 Thread Jack Lau via ffmpeg-devel
from %s\n", ret, i, line, whip->sdp_answer); ret = AVERROR(EIO); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] vf_colorspace: Add an option to clamp trc LUT output

2025-09-04 Thread Drew Dunne via ffmpeg-devel
t;> On Tue, Aug 26, 2025 at 2:33 PM Ronald S. Bultje >> wrote: >> >>> Hi Drew, >>> >>> Thanks for the bug report! >>> >>> On Mon, Aug 25, 2025 at 10:50 AM Drew Dunne via ffmpeg-devel < >>> [email protected]> wrote: >>>

[FFmpeg-devel] [PATCH] vf_colorspace: Add an option to clamp trc LUT output (PR #20438)

2025-09-04 Thread Drew Dunne via ffmpeg-devel
er_iall), AV_OPT_TYPE_INT, { .i64 = CS_UNSPECIFIED }, CS_UNSPECIFIED, CS_NB - 1, FLAGS, .unit = "all" }, -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/vaapi_encode: avoid potential overflow (PR #20421)

2025-09-03 Thread Tong Wu via ffmpeg-devel
AGS } + { .i64 = 0 }, 0, INT_MAX / 8, FLAGS } #define VAAPI_ENCODE_RC_MODE(name, desc) \ { #name, desc, 0, AV_OPT_TYPE_CONST, { .i64 = RC_MODE_ ## name }, \ -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe

[FFmpeg-devel] Feedback requested (Re: [PATCH v2] libavfilter/vf_remap_opencl: make kernel handle subsampled chroma)

2025-09-09 Thread Matthias Welwarsky via ffmpeg-devel
first patch for ffmpeg and I have little experience with opencl etc, looking for insights. BR, Matthias _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-09 Thread Kieran Kunhya via ffmpeg-devel
On Tue, 9 Sept 2025, 09:19 Michael Niedermayer via ffmpeg-devel, < [email protected]> wrote: > Hi Everyone > > The subject of funding and sponsors came up a few times recently. > > I think FFmpeg needs a clear guideline on this matter. To avoid > confusion, to av

[FFmpeg-devel] [PATCH 5/7] decklink_dec: store timecode in 64-bit RFC 5484 format

2025-09-09 Thread Jerome Martinez via ffmpeg-devel
e = sizeof(uint64_t) * 4; +uint64_t *sd = (uint64_t *)av_packet_new_side_data(&pkt, AV_PKT_DATA_S12M_TIMECODE, size); if (sd) { *sd = 1; // one TC -- 2.46.0.windows.1 _____

[FFmpeg-devel] Re: SDR debate again Was: Re: [RFC] Sponsors & Funding

2025-09-09 Thread Kieran Kunhya via ffmpeg-devel
; of SDR by many companies. > Not because they care about SDR, but because they care about me working on > the FFmpeg code and SDR has no cost to them. This is completely delusional. Kieran ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avcodec/decode: fix enum conversion warnings in side_data_map.

2025-09-07 Thread Michael Niedermayer via ffmpeg-devel
On Thu, Sep 04, 2025 at 07:43:36PM +0800, 岑湛权 via ffmpeg-devel wrote: > From: zhanquan cen > > Fix two -Wenum-conversion warnings: > - Implicit conversion from AVPacketSideDataType to AVFrameSideDataType > - Implicit conversion from AVFrameSideDataType to AVPacketSideDataType

[FFmpeg-devel] [PATCH] WIP: Several improvements around early decoding latency and memory usage of unused inputs (PR #20457)

2025-09-07 Thread Niklas Haas via ffmpeg-devel
!avctx->internal->draining && !fctx->nb_early_frames) continue; p = &fctx->threads[fctx->next_finished]; @@ -612,6 +613,8 @@ int ff_thread_receive_frame(AVCodecContext *avctx, AVFrame *frame) * we first return all the frames, then the error */ if (fctx->df.nb_f) { decoded_frames_pop(&fctx->df, frame); +if (fctx->nb_early_frames) +fctx->nb_early_frames--; ret = 0; } else { ret = fctx->result; @@ -973,6 +976,7 @@ av_cold int ff_frame_thread_init(AVCodecContext *avctx) goto error; } +fctx->nb_early_frames = 1; return 0; error: -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/whip: enable RTCP NACK for whip (PR #20460)

2025-09-07 Thread Jack Lau via ffmpeg-devel
FMT=1 + */ +if (pt != RTCP_RTPFB) +goto write_packet; +if (fmt == 1) +handle_nack_rtx(s, ret); +} write_packet: if (whip->h264_annexb_insert_sps_pps && st->codecpar->codec_id == AV_CODEC_ID_H264) { if ((ret = h264_annexb_insert_sps_pps(s, pkt)) < 0) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avutil/samplefmt: add a sample format descriptor API (PR #20461)

2025-09-07 Thread James Almer via ffmpeg-devel
mple/swresample.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 0a4e216f9b..ff9093670b 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -143,11 +143,11 @@ av_cold int swr_init(struct SwrCont

[FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: update has_b_frames value after initialization of encoder (PR #20463)

2025-09-08 Thread Damiano Galassi via ffmpeg-devel
st - 1; +} + q->avctx = avctx; return 0; -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/tls_gnutls: add initial dtls support (PR #20464)

2025-09-08 Thread Jack Lau via ffmpeg-devel
*h, const char *uri, int flags, AVDictionary **op TLSShared *s = &c->tls_shared; uint16_t gnutls_flags = 0; int ret; +av_assert0(s); ff_gnutls_init(); @@ -260,6 +262,7 @@ static int dtls_open(URLContext *h, const char *uri, int flags, AVDictionary **o { TLSContext *c = h->priv_data; TLSShared *s = &c->tls_shared; +av_assert0(s); s->is_dtls = 1; return tls_open(h, uri, flags, options); } -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avutil/hwcontext_d3d11va: remove D3D11_BIND_RENDER_TARGET restriction for array textures (PR #20480)

2025-09-09 Thread Timo Rothenpieler via ffmpeg-devel
ze > 0) { hr = ID3D11Device_CreateTexture2D(device_hwctx->device, &texDesc, NULL, &hwctx->texture); if (FAILED(hr)) { av_log(ctx, AV_LOG_ERROR, "Could not create the texture (%lx)\n", (long)hr); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 3/7] matroskaenc: increase default for reserved bytes in video

2025-09-09 Thread Jerome Martinez via ffmpeg-devel
48 pos: 146946 size: 27925 ret: 0 st:-1 flags:1 ts:-0.645825 -ret: 0 st: 0 flags:1 dts: 0.00 pts: 0.00 pos:901 size: 27837 +ret: 0 st: 0 flags:1 dts: 0.00 pts: 0.00 pos: 978 size: 27837 -- 2.46.0.windows.1 _________

[FFmpeg-devel] [PATCH] avfilter/buffersink: add missing checks for alphamodes (PR #20469)

2025-09-08 Thread James Almer via ffmpeg-devel
av_opt_set_array(filt_out, "alphamodes", AV_OPT_SEARCH_CHILDREN, 0, FF_ARRAY_ELEMS(sdl_supported_alpha_modes), AV_OPT_TYPE_INT, sdl_supported_alpha_modes)) < 0) +goto fail; ret = avfilter_init_dict(filt_ou

[FFmpeg-devel] [PATCH] avfilter/vf_libplacebo: ensure linear tex is blittable (PR #20466)

2025-09-08 Thread Niklas Haas via ffmpeg-devel
true, .renderable = true, .sampleable = true, .storable = fmt->caps & PL_FMT_CAP_STORABLE, -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/vf_libplacebo: introduce fit_mode option (PR #20467)

2025-09-08 Thread Niklas Haas via ffmpeg-devel
= FIT_SCALE_DOWN }, 0, 0, STATIC, .unit = "fit_mode" }, { "fillcolor", "Background fill color", OFFSET(fillcolor), AV_OPT_TYPE_COLOR, {.str = "black@0"}, .flags = DYNAMIC }, { "corner_rounding", "Corner rounding radius", OFFSET(corner_rounding), AV_OPT_TYPE_FLOAT, {.dbl = 0.0}, 0.0, 1.0, .flags = DYNAMIC }, { "lut", "Path to custom LUT file to apply", OFFSET(lut_filename), AV_OPT_TYPE_STRING, { .str = NULL }, .flags = STATIC }, -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] fftools: use fopen_utf8 to open FFREPORT (PR #20472)

2025-09-08 Thread Marvin Scholz via ffmpeg-devel
AV_LOG_ERROR, "Failed to open report \"%s\": %s\n", -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-09 Thread Michael Niedermayer via ffmpeg-devel
Hi Remi On Tue, Sep 09, 2025 at 02:49:39PM +0300, Rémi Denis-Courmont via ffmpeg-devel wrote: > Hi, > > Le 9 septembre 2025 11:19:26 GMT+03:00, Michael Niedermayer via ffmpeg-devel > a écrit : > >Hi Everyone > > > >The subject of funding and sponsors came up

[FFmpeg-devel] [PATCH 6/7] matroskadec: read timecode in BlockAddition

2025-09-09 Thread Jerome Martinez via ffmpeg-devel
ount; +AV_WB64(sd_64 + count, tc); + } + +return 0; + } default: break; } -- 2.46.0.windows.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH 4/7] 32-bit timecode to 64-bit RFC 5484 timecode functions

2025-09-09 Thread Jerome Martinez via ffmpeg-devel
tc32 The 32-bit SMPTE timecode (from DeckLink or av_timecode_get_smpte) + * @return The 64-bit SMPTE 12M timecode format (without sync word) + */ +uint64_t av_timecode_expand_to_64bit(uint32_t tc32); + +/** + * Convert a 64-bit SMPTE 12M/RFC 5484 timecode to 32-bit SMPTE format. + * + * This recons

[FFmpeg-devel] [PATCH 7/7] matroskaenc: write timecode in BlockAddition

2025-09-09 Thread Jerome Martinez via ffmpeg-devel
+mkv_write_blockadditional_header(s, MATROSKA_BLOCK_ADD_ID_TYPE_SMPTE_12M, MATROSKA_BLOCK_ADD_ID_SMPTE_12M + i); +} if (remaining_video_track_space > 1) { put_ebml_void(track_bc, remaining_video_track_space); } -- 2.46.0.windows.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] SDR debate again Was: Re: [RFC] Sponsors & Funding

2025-09-09 Thread Michael Niedermayer via ffmpeg-devel
Hi Kieran On Tue, Sep 09, 2025 at 10:02:22AM +0100, Kieran Kunhya via ffmpeg-devel wrote: > On Tue, 9 Sept 2025, 09:19 Michael Niedermayer via ffmpeg-devel, < [...] > My suggestion would be: > > - The FFmpeg project should actively seek sponsors and funding. > > - The mo

[FFmpeg-devel] [PATCH] avutil/aes_ctr: reintroduce the block offset state (PR #20479)

2025-09-09 Thread James Almer via ffmpeg-devel
if (memcmp(tmp, plain, SIZE) != 0) { +av_log(NULL, AV_LOG_ERROR, "test failed\n"); +goto ERROR; +} +av_aes_ctr_crypt(ad, tmp + SIZE, tmp + SIZE, sizeof(tmp) - SIZE); +if (memcmp(tmp + SIZE, plain + SIZE, sizeof(tmp) - SIZE) != 0) {

[FFmpeg-devel] [PATCH] forgejo/CODEOWNERS: add myself to d3d12va related files (PR #20481)

2025-09-09 Thread Tong Wu via ffmpeg-devel
ain.* @haasn @@ -202,7 +202,7 @@ doc/.* @GyanD # Frameworks # == -.*d3d12va.* @jianhuaw +.*d3d12va.* @jianhuaw @tong1wu .*vulkan.* @lynne @haasn # tests -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send

[FFmpeg-devel] [PATCH] avformat/whip: add ICE consent freshness support (PR #20482)

2025-09-10 Thread Jack Lau via ffmpeg-devel
ED_TIMER); +ret = AVERROR(ETIMEDOUT); +goto end; +} if (whip->h264_annexb_insert_sps_pps && st->codecpar->codec_id == AV_CODEC_ID_H264) { if ((ret = h264_annexb_insert_sps_pps(s, pkt)) < 0) { av_log(whip, AV_LOG_ERROR, "Failed to insert SPS/PPS before IDR\n"); -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH 0/7] matroska: support of timecode

2025-09-11 Thread Dave Rice via ffmpeg-devel
> On Sep 9, 2025, at 8:37 AM, Jerome Martinez via ffmpeg-devel > wrote: > > This patch series adds support of timecode in Matroska files, specs are at: > https://github.com/ietf-wg-cellar/matroska-specification/blob/master/cellar-codec/block_additional_mappings/smpte-st12-1-time

[FFmpeg-devel] Suspected memory leak with CUDA detected by valgrind

2025-09-11 Thread Marco Oman via ffmpeg-devel
ite, Privacy section. _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-11 Thread Gyan Doshi via ffmpeg-devel
On 2025-09-11 02:22 am, Michael Niedermayer via ffmpeg-devel wrote: Hi Kieran On Wed, Sep 10, 2025 at 06:21:56PM +0200, Kieran Kunhya via ffmpeg-devel wrote: On Wed, 10 Sept 2025, 17:49 Michael Niedermayer via ffmpeg-devel, < [email protected]> wrote: Hi remi On Tue, Sep 09, 2

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-10 Thread Kieran Kunhya via ffmpeg-devel
On Wed, 10 Sept 2025, 17:49 Michael Niedermayer via ffmpeg-devel, < [email protected]> wrote: > Hi remi > > On Tue, Sep 09, 2025 at 07:29:02PM +0300, Rémi Denis-Courmont via > ffmpeg-devel wrote: > > Le tiistaina 9. syyskuuta 2025, 15.10.37 Itä-Euroopan kesäaika Mic

[FFmpeg-devel] [PATCH] avformat: add hxvs demuxer for IP camera (PR #20516)

2025-09-14 Thread Zhao Zhili via ffmpeg-devel
PR #20516 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20516 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20516.patch The fate sample is from: https://github.com/francescovannini/ipcam26Xconvert/blob/main/test_videos/A231130_171422_171436.265 and put at

[FFmpeg-devel] [PATCH] avfilter/vsrc_gfxcapture: switch to std::thread (PR #20520)

2025-09-14 Thread Timo Rothenpieler via ffmpeg-devel
le, "d3dcompiler_47.dll"); LOAD_FUNC(ctx->fn.combase_handle, RoInitialize); @@ -1012,6 +1015,8 @@ static av_cold int load_functions(AVFilterContext *avctx) LOAD_FUNC(ctx->fn.user32_handle, SetThreadDpiAwarenessContext); +LOAD_FUNC(ctx->fn.kernel32_handle, SetThreadDescription); + LOAD_FUNC(ctx->fn.d3dcompiler_handle, D3DCompile); #undef LOAD_FUNC -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [RFC] Issue tracker

2025-09-14 Thread Michael Niedermayer via ffmpeg-devel
some blue and some pink. People argued and fought, when they finally agreed, only rust was left. signature.asc Description: PGP signature _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swresample/swresample: Delete unused code (PR #20501)

2025-09-12 Thread Renjianguang-mi via ffmpeg-devel
goto fail; -av_opt_set_int(s, "uch", 0, 0); - return 0; fail: av_log(s, AV_LOG_ERROR, "Failed to set option\n"); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avutil/bprint: fix av_bprint_strftime with %p format string reporting truncated output (PR #20330)

2025-09-12 Thread Nicolas George via ffmpeg-devel
Sorry, lots of things to do these last weeks. Marton Balint via ffmpeg-devel (HE12025-08-26): > I just thought that for the typical case we can spare an strlen() call this > way. Except if the format is pathologically long, which is not a case we want to optimize for, I suspect the branch

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-12 Thread Michael Niedermayer via ffmpeg-devel
Hi Gyan On Fri, Sep 12, 2025 at 12:11:56PM +0530, Gyan Doshi via ffmpeg-devel wrote: > Let's put aside the extreme cases for now. What is the concrete definition > of the community in normal cases? In the normal case, we would reach a consensus or we would agree that the general ass

[FFmpeg-devel] [PATCH] avfilter/vf_colordetect: only report detected properties on EOF (PR #20503)

2025-09-12 Thread Niklas Haas via ffmpeg-devel
_inputs), FILTER_OUTPUTS(ff_video_default_filterpad), FILTER_QUERY_FUNC2(query_format), -.uninit= uninit, +.activate = activate, }; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH 1/7] matroskaenc: remove unused MaxBlockAdditionID

2025-09-12 Thread Michael Niedermayer via ffmpeg-devel
On Tue, Sep 09, 2025 at 02:38:53PM +0200, Jerome Martinez via ffmpeg-devel wrote: > libavformat/matroskaenc.c |8 +++ > tests/ref/lavf/mka|4 +-- > tests/ref/lavf/mkv|4 +-- > tests/ref/lavf/mkv_attachment |4 +-- > tests/re

[FFmpeg-devel] [PATCH] swresample: Delete matrix_flt to optimize memory (PR #20502)

2025-09-12 Thread Renjianguang-mi via ffmpeg-devel
ion table double matrix[SWR_CH_MAX][SWR_CH_MAX]; ///< floating point rematrixing coefficients -float matrix_flt[SWR_CH_MAX][SWR_CH_MAX]; ///< single precision floating point rematrixing coefficients uint8_t *native_matrix; uint8_t *native_one; uint8

[FFmpeg-devel] [PATCH] avcodec/rkmppdec: fix input queue overflow (PR #20511)

2025-09-13 Thread Zhao Zhili via ffmpeg-devel
_frame(avctx, frame); +do { +ret = rkmpp_retrieve_frame(avctx, frame); +} while (decoder->eos_reached && ret == AVERROR(EAGAIN)); + +return ret; } static av_cold void rkmpp_flush(AVCodecContext *avctx) -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH 6/7] matroskadec: read timecode in BlockAddition

2025-09-13 Thread Michael Niedermayer via ffmpeg-devel
Hi Jerome On Tue, Sep 09, 2025 at 02:41:39PM +0200, Jerome Martinez via ffmpeg-devel wrote: > matroska.h|1 + > matroskadec.c | 34 ++ > 2 files changed, 35 insertions(+) > 83b42253e7a0ca4f220f658b0671e4056e719592 > 0006-matroskadec-r

[FFmpeg-devel] Re: [PATCH 4/7] 32-bit timecode to 64-bit RFC 5484 timecode functions

2025-09-13 Thread Michael Niedermayer via ffmpeg-devel
On Tue, Sep 09, 2025 at 02:40:50PM +0200, Jerome Martinez via ffmpeg-devel wrote: > timecode.c | 104 > + > timecode.h | 22 > 2 files changed, 126 insertions(+) > 8969dd4cc3cc1d77acde18a6eae065e941375

[FFmpeg-devel] [PATCH] swscale/ops_tmpl_int: remove unused arguments from wrap read decl (PR #20514)

2025-09-13 Thread Kacper Michajłow via ffmpeg-devel
ACKED ? 1 : ELEMS); i++) \ -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] [8.0] Backport Videotoolbox improvements (PR #20496)

2025-09-11 Thread Marvin Scholz via ffmpeg-devel
"Doesn't support automatic bitrate in low_delay mode, " +"please specify bitrate explicitly\n"); +status = AVERROR(EINVAL); +goto init_cleanup; +} CFDictionarySetValue(enc_info,

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-11 Thread Michael Niedermayer via ffmpeg-devel
Hi Kieran On Wed, Sep 10, 2025 at 06:21:56PM +0200, Kieran Kunhya via ffmpeg-devel wrote: > On Wed, 10 Sept 2025, 17:49 Michael Niedermayer via ffmpeg-devel, < > [email protected]> wrote: > > > Hi remi > > > > On Tue, Sep 09, 2025 at 07:29:02PM +0300, R

[FFmpeg-devel] Re: [RFC] Sponsors & Funding

2025-09-11 Thread Michael Niedermayer via ffmpeg-devel
Hi Gyan On Thu, Sep 11, 2025 at 01:41:24PM +0530, Gyan Doshi via ffmpeg-devel wrote: > > > On 2025-09-11 02:22 am, Michael Niedermayer via ffmpeg-devel wrote: > > Hi Kieran > > > > On Wed, Sep 10, 2025 at 06:21:56PM +0200, Kieran Kunhya via ffmpeg-devel > >

[FFmpeg-devel] buffersrc: How do you set up a hwctx before init_video is called?

2025-09-01 Thread John Cox via ffmpeg-devel
___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Generalize acrossfade filter to support multiple inputs (PR #20388)

2025-09-01 Thread Niklas Haas via ffmpeg-devel
6, 549136, 4096,16384, 0x12a32ed0 -0, 553232, 553232, 4096,16384, 0x722bfc87 -0, 557328, 557328, 4096, 16384, 0x65e0fab9 -0, 561424, 561424, 4096,16384, 0x55cca852 -0, 565520, 565520, 4096,16384, 0x19a10ac6 -0, 569616, 569616, 4096,16384, 0x078180b2 -0, 573712, 573712, 4096,16384, 0xf6f8fc53 -0, 577808, 577808, 4096,16384, 0xc72ffe63 -0, 581904, 581904, 4096,16384, 0xf9f837fd -0, 586000, 586000, 4096,16384, 0x78d70334 -0, 590096, 590096, 4096,16384, 0x061d910c -0, 594192, 594192, 1158, 4632, 0xdc098a7f +0, 504080, 504080, 3070,12280, 0x1368a641 +0, 507150, 507150,88200, 352800, 0xfdb19b5d +0, 595350, 595350, 1912, 7648, 0x5d71938c +0, 597262, 597262, 3097,12388, 0xd852f4c5 -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Fix missing IID instantiation in vf_scale_d3d11.c

2025-09-01 Thread Adam Zofware via ffmpeg-devel
at/w32dlfcn.h" -- 2.51.0.windows.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Various small things in regarding URL options (PR #20390)

2025-09-01 Thread Marton Balint via ffmpeg-devel
ecode.c @@ -50,7 +50,7 @@ char *ff_urldecode(const char *url, int decode_plus_sign) while (s < url_len) { c = url[s++]; - if (c == '%' && s + 2 < url_len) { +if (c == '%' && s + 1 < url_len) { char c2 = url[s++]; char c3 = url[s++]; if (av_isxdigit(c2) && av_isxdigit(c3)) { -- 2.49.1 >From 85bc1ea39e2cf9fd126d5d06a079df95483283c1 Mon Sep 17 00:00:00 2001 From: Marton Balint Date: Tue, 26 Aug 2025 09:22:57 +0200 Subject: [PATCH 9/9] avformat/urldecode: factorize core url decoding from ff_urldecode Signed-off-by: Marton Balint --- libavformat/urldecode.c | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/libavformat/urldecode.c b/libavformat/urldecode.c index 150c64c15c..e7fa27b3fa 100644 --- a/libavformat/urldecode.c +++ b/libavformat/urldecode.c @@ -32,20 +32,10 @@ #include "libavutil/avstring.h" #include "urldecode.h" -char *ff_urldecode(const char *url, int decode_plus_sign) +static size_t urldecode(char *dest, const char *url, size_t url_len, int decode_plus_sign) { -int s = 0, d = 0, url_len = 0; +size_t s = 0, d = 0; char c; -char *dest = NULL; - -if (!url) -return NULL; - -url_len = strlen(url) + 1; -dest = av_malloc(url_len); - -if (!dest) -return NULL; while (s < url_len) { c = url[s++]; @@ -82,5 +72,24 @@ char *ff_urldecode(const char *url, int decode_plus_sign) } +return d; +} + +char *ff_urldecode(const char *url, int decode_plus_sign) +{ +char *dest = NULL; +size_t url_len; + +if (!url) +return NULL; + +url_len = strlen(url) + 1; +dest = av_malloc(url_len); + +if (!dest) +return NULL; + +urldecode(dest, url, url_len, decode_plus_sign); + return dest; } -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH v3 2/2] avcodec/libaom: Add test for HDR10+ metadata support

2025-09-02 Thread James Almer via ffmpeg-devel
On 9/2/2025 10:30 AM, Michael Niedermayer via ffmpeg-devel wrote: On Wed, Aug 27, 2025 at 01:06:42PM +0200, Maryla Ustarroz via ffmpeg-devel wrote: On Mon, Aug 11, 2025 at 2:01 PM Maryla Ustarroz wrote: On Mon, Aug 11, 2025 at 1:57 PM Maryla Ustarroz-Calonge wrote: Signed-off-by: Maryla

<    22   23   24   25   26   27   28   29   30   31   >