[FFmpeg-devel] [PATCH] configure: Add mxpeg->hpeldsp dependency (PR #20741)

2025-10-23 Thread mkver via ffmpeg-devel
per" -mxpeg_decoder_select="mjpeg_decoder" +mxpeg_decoder_select="hpeldsp mjpeg_decoder" nellymoser_decoder_select="sinewin" nellymoser_encoder_select="audio_frame_queue sinewin" notchlc_decoder_select="lzf" -- 2.49.1 ___

[FFmpeg-devel] Re: [RFC] C++

2025-10-21 Thread InnocentZero via ffmpeg-devel
Romain Beauxis via ffmpeg-devel writes: > I understand the benefit of using higher order APIs borrowed from C++ but, > to fully make your case I think it'd be important to know: is it possible > to use STL and avoid linking with libstc++? I'm new to the list, so forgive me f

[FFmpeg-devel] [PATCH] Hardware resizing fixes, DPX decoder cleanups (PR #20854)

2025-11-06 Thread Lynne via ffmpeg-devel
-case 32: -if (elements == 1) { -av_image_copy_plane(ptr[0], p->linesize[0], - buf, stride, -elements * avctx->width * 4, avctx->height); -} else { -for (y = 0; y < avctx->height; y++) { -ptr[0] = p->data[0] + y * p->linesize[0]; -ptr[1] = p->data[1] + y * p->linesize[1]; -ptr[2] = p->data[2] + y * p->linesize[2]; -ptr[3] = p->data[3] + y * p->linesize[3]; -for (x = 0; x < avctx->width; x++) { -AV_WN32(ptr[2], AV_RN32(buf)); -AV_WN32(ptr[0], AV_RN32(buf + 4)); -AV_WN32(ptr[1], AV_RN32(buf + 8)); -if (avctx->pix_fmt == AV_PIX_FMT_GBRAPF32BE || -avctx->pix_fmt == AV_PIX_FMT_GBRAPF32LE) { -AV_WN32(ptr[3], AV_RN32(buf + 12)); -buf += 4; -ptr[3] += 4; -} - -buf += 12; -ptr[2] += 4; -ptr[0] += 4; -ptr[1] += 4; -} -} -} -break; -case 16: -elements *= 2; -case 8: -if ( avctx->pix_fmt == AV_PIX_FMT_YUVA444P -|| avctx->pix_fmt == AV_PIX_FMT_YUV444P) { -for (x = 0; x < avctx->height; x++) { -ptr[0] = p->data[0] + x * p->linesize[0]; -ptr[1] = p->data[1] + x * p->linesize[1]; -ptr[2] = p->data[2] + x * p->linesize[2]; -ptr[3] = p->data[3] + x * p->linesize[3]; -for (y = 0; y < avctx->width; y++) { -*ptr[1]++ = *buf++; -*ptr[0]++ = *buf++; -*ptr[2]++ = *buf++; -if (avctx->pix_fmt == AV_PIX_FMT_YUVA444P) -*ptr[3]++ = *buf++; -} -} -} else { -av_image_copy_plane(ptr[0], p->linesize[0], -buf, stride, -elements * avctx->width, avctx->height); -} -break; -} +read_frame_data(avctx, p, buf); *got_frame = 1; diff --git a/libavcodec/dpx.h b/libavcodec/dpx.h index 701208e09d..e92a9a6f4c 100644 --- a/libavcodec/dpx.h +++ b/libavcodec/dpx.h @@ -58,6 +58,11 @@ enum DPX_COL_SPEC { typedef struct DPXContext { enum AVPixelFormat pix_fmt; +int unpadded_10bit; +int need_align; +int encoding; +int packing; +int stride; int big_endian; int bits_per_component; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/prores_raw: Check get_value() return code (PR #20855)

2025-11-06 Thread michaelni via ffmpeg-devel
]; n += rn + 1; @@ -229,6 +240,8 @@ static int decode_comp(AVCodecContext *avctx, TileContext *tile, break; ac = get_value(&gb, ac_codebook); +if (ac < 0) +break; sign = -get_bits1(&gb); idx = scan[n >> log2_nb_blocks]

[FFmpeg-devel] [PATCH] avutil/timecode: Fix -Wformat-truncation warning (PR #20860)

2025-11-07 Thread mkver via ffmpeg-devel
c->fps; int drop = tc->flags & AV_TIMECODE_FLAG_DROPFRAME; int hh, mm, ss, ff, ff_len, neg = 0; int64_t framenum = framenum_arg; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Avoid av_unused (PR #20866)

2025-11-08 Thread mkver via ffmpeg-devel
1]; if (base + 4 <= pkt->size) { uint32_t v = AV_RB32(pkt->data + base); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] ffplay: print new metadata (PR #20867)

2025-11-08 Thread toots via ffmpeg-devel
q, is->continue_read_thread)) < 0) goto fail; if (is->ic->iformat->flags & AVFMT_NOTIMESTAMPS) { @@ -2776,6 +2802,11 @@ static int stream_component_open(VideoState *is, int stream_index) is->video_stream = stream_index; is->video_st = ic->str

[FFmpeg-devel] [PATCH] lavc/hevc: Fix usage of slice segment in invalid state (PR #20869)

2025-11-08 Thread frankplow via ffmpeg-devel
if ((s->avctx->skip_frame >= AVDISCARD_BIDIR && s->sh.slice_type == HEVC_SLICE_B) || (s->avctx->skip_frame >= AVDISCARD_NONINTRA && s->sh.slice_type != HEVC_SLICE_I) || -- 2.49.1 _______ ffmpeg-devel mailing list --

[FFmpeg-devel] [PATCH] Don't reset last{pts,dts} on new sequentialized ogg streams. (PR #20868)

2025-11-08 Thread toots via ffmpeg-devel
s:title=Second Stream +Stream ID: 0, packet PTS: 1451, packet DTS: 1451 +Stream ID: 0, frame PTS: 1451, metadata: N/A +Stream ID: 0, packet PTS: 2027, packet DTS: 2027 +Stream ID: 0, frame PTS: 2027, metadata: N/A -- 2.49.1 _______ ffmpeg-devel mailing list

[FFmpeg-devel] [PATCH] vulkan/prores: forward quantization parameter to the IDCT shader (PR #20870)

2025-11-08 Thread averne via ffmpeg-devel
= "readonly", +.buf_content = "MbParams mb_params", +.buf_elems = max_num_mbs, + }, { .name = "dst", .type = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, @@ -500,7 +569,7 @@ static int vk_decode_prores_init(AVCodecContext *avctx) }, }; RET(init_shader(avctx, &ctx->s, &ctx->exec_pool, spv, &shaders->idct, -"prores_dec_idct", "main", desc_set, 1, +"prores_dec_idct", "main", desc_set, 2, ff_source_prores_idct_comp, 0x200201, i)); } -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfoundation: buffer multiple audio frames to prevent sample overwrite (PR #20871)

2025-11-08 Thread drobinator via ffmpeg-devel
imebase_q, avf_time_base_q); } @@ -1249,8 +1285,7 @@ static int avf_read_packet(AVFormatContext *s, AVPacket *pkt) } } -CFRelease(ctx->current_audio_frame); -ctx->current_audio_frame = nil; +pop_frame(&ctx->audio_f

[FFmpeg-devel] [PATCH] avcodec/utvideodec: Set B for the width= 1 case in restore_median_planar_il() (PR #20872)

2025-11-08 Thread michaelni via ffmpeg-devel
for (i = 1; i < FFMIN(width, 16); i++) { /* scalar loop (DSP need align 16) */ B= bsrc[i - stride2]; bsrc[i] += mid_pred(A, B, (uint8_t)(A + B - C)); -- 2.49.1 ___ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.

[FFmpeg-devel] [PATCH] libavutil/timecodec: fix potential snprintf truncation in av_timecode_make_string (PR #20859)

2025-11-07 Thread caifan via ffmpeg-devel
uot;", + hh, mm, ss, drop ? ';' : ':', ff_len, ff); +av_assert0(len >= 0 && len < sizeof(buf)); return buf; } -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] libavformat/vorbiscomment: fix potential buffer truncation (PR #20858)

2025-11-07 Thread caifan via ffmpeg-devel
, 10 + 1 + 12); avio_write(pb, "CHAPTER", 7); avio_write(pb, chapter_number, 3); -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] libavformat/rtsp: fix potential buffer truncation in ff_rtsp_make_setup_request (PR #20857)

2025-11-07 Thread caifan via ffmpeg-devel
(CONFIG_RTPDEC && i == 0 && rt->server_type == RTSP_SERVER_REAL) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
Thanks for reviewing and applying the patch. Apologies for the incorrect commit message , I appreciate you correcting it. Thanks again On Fri, 7 Nov 2025 at 22:14, Michael Niedermayer via ffmpeg-devel < [email protected]> wrote: > Hi Reaxx > > On Fri, Nov 07, 2025 at 0

[FFmpeg-devel] Re: [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
Hi Michael, Yes, the commit message LGTM , Thank you for the detailed explanation and for taking the time to review this thoroughly. I appreciate your patience. On Fri, 7 Nov 2025 at 22:39, Michael Niedermayer via ffmpeg-devel < [email protected]> wrote: > Hi > > On Fri,

[FFmpeg-devel] [PATCH] vulkan: hardware decoding fixes and improvements (PR #20862)

2025-11-08 Thread Lynne via ffmpeg-devel
nne Date: Wed, 5 Nov 2025 15:29:57 +0100 Subject: [PATCH 7/7] vulkan: allow arrays of buffers Could be useful. --- libavutil/vulkan.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c index 5e23d78e1f..3633cb5516 100644 --- a/libavutil

[FFmpeg-devel] [PATCH] Small fixes for the extended color primaries and transfer functions (PR #20863)

2025-11-08 Thread Lynne via ffmpeg-devel
_INT, { .i64 = AVCOL_PRI_UNSPECIFIED }, - AVCOL_PRI_RESERVED0, AVCOL_PRI_NB - 1, FLAGS, .unit = "prm" }, + AVCOL_PRI_RESERVED0, AVCOL_PRI_EXT_NB - 1, FLAGS, .unit = "prm" }, { "itrc", "Input transfer characteristics", OFFSET(user_itrc), AV_OPT_TYPE_INT, { .i64 = AVCOL_TRC_UNSPECIFIED }, - AVCOL_TRC_RESERVED0, AVCOL_TRC_NB - 1, FLAGS, .unit = "trc" }, + AVCOL_TRC_RESERVED0, AVCOL_TRC_EXT_NB - 1, FLAGS, .unit = "trc" }, { NULL } }; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/rv60dec: add upper bound check for qp

2025-11-07 Thread Reaxx via ffmpeg-devel
-qp.patch Description: Binary data ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Bug fix attempt for #11691 - swscale: Fix heap-buffer-overflow in unscaled YUV-to-RGB conversion (PR #20864)

2025-11-08 Thread thomasdullien via ffmpeg-devel
dstStride2); +unscaled_end: if (scale_dst) dst2[0] += dstSliceY * dstStride2[0]; } else { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swscale/ops: fix ff_sws_pixel_type_to_uint (PR #20891)

2025-11-10 Thread cancername via ffmpeg-devel
int(SwsPixelType type) av_const; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/vf_frei0r: fix time when input is realigned (PR #20903)

2025-11-12 Thread breunigs via ffmpeg-devel
880, 0x0184436f +0, 2, 2,1, 314880, 0x7e3f2776 +0, 3, 3,1, 314880, 0x0dc5e915 +0, 4, 4,1, 314880, 0xcf9c76ef -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH 0/2] web/donations: Add section for individual developers

2025-11-12 Thread compn via ffmpeg-devel
On 2025-11-12 16:04, Michael Niedermayer via ffmpeg-devel wrote: This was suggested to me. Allowing only donations to a 501(c)(3) restricts both donators as well as developers This style of donation page has worked well for other projects. I agree we have had issues with limited scope of

[FFmpeg-devel] Re: [RFC] Microsoft store

2025-11-12 Thread compn via ffmpeg-devel
On 2025-11-11 15:15, Michael Niedermayer via ffmpeg-devel wrote: Hello everyone We have been contacted by Microsoft. Whats your oppinion about putting one or both the current community builds, that we link to, on the Microsoft store? its better for people to get ffmpeg direct from

[FFmpeg-devel] Re: question about submitting security patches

2025-11-12 Thread compn via ffmpeg-devel
On 2025-11-08 00:34, Thomas Dullien via ffmpeg-devel wrote: What's the best way to submit these patches? There is the bug tracker, there is this mailing list - what's the best way to contribute them? Cheers, Thomas the best way is whatever you prefer. https://code.ffmpeg.org/FFm

[FFmpeg-devel] Re: New mailing-list archive

2025-11-12 Thread compn via ffmpeg-devel
On 2025-10-13 01:32, Nicolas George via ffmpeg-devel wrote: Hi. I just went to the new archive for this mailing-list. Is it just me or does it suck? mailman 3 is open source. send them some patches to make it better :) -compn ___ ffmpeg-devel

[FFmpeg-devel] [Question]Inquiry Regarding RISC-V RVV Optimization for HEVC Decoding in FFmpeg

2025-11-13 Thread yunfei_zhou--- via ffmpeg-devel
___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Fix flacdec int overflow with a saturated add (PR #20900)

2025-11-12 Thread usepgp via ffmpeg-devel
16] = { -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/omx: Check extradata size and nFilledLen (PR #20894)

2025-11-11 Thread michaelni via ffmpeg-devel
) < 0) { avctx->extradata_size = 0; goto fail; -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] swscale: Fix out-of-bounds write errors in yuv2rgb_lasx.c file. (PR #20895)

2025-11-11 Thread chenhao via ffmpeg-devel
g1, r1, rgb1_l, rgb1_h); RGB32_STORE_RES(rgb1_l, rgb1_h, image1, image2); +DEALYUV2RGBLINERES32 +YUV2RGB_RES +RGB32_PACK(a, b1, g1, r1, rgb1_l, rgb1_h); +ENDYUV2RGBLINE32(rgb1_l, rgb1_h, image1, image2); END_FUNC() -- 2.49.1 _______

[FFmpeg-devel] [PATCH] avcodec/gifenc: avoid redundant local color table when global palette is used (PR #20897)

2025-11-11 Thread damitha via ffmpeg-devel
2, 2,1, 186, 0x770d5061, F=0x0 0, 3, 3,1, 208, 0x55784c8f, F=0x0 -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avutil/cpu: Deprecate AV_CPU_FLAG_FORCE (PR #20911)

2025-11-13 Thread mkver via ffmpeg-devel
_VERSION_MAJOR < 61) #define FF_API_OPT_PTR (LIBAVUTIL_VERSION_MAJOR < 61) +#define FF_API_CPU_FLAG_FORCE (LIBAVUTIL_VERSION_MAJOR < 61) /** * @} -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected]

[FFmpeg-devel] [PATCH] avfilter/vf_fspp: Add checkasm, port to SSE2, fix big-endian (PR #20909)

2025-11-13 Thread mkver via ffmpeg-devel
PR #20909 opened by mkver URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20909 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20909.patch >From 92fe3d96e6f9a3b169a3edcdb48ecdc543ba862e Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 9 Nov 2025 17:06:46 +0100 Subject: [PATC

[FFmpeg-devel] [Vulkan HWAccel] Incorrect default img_flags causes VUID-06811 validation error

2025-11-13 Thread titatovenaar76--- via ffmpeg-devel
gt; 1) && (hwctx->format[0] == fmt->vkf))     hwctx->img_flags |= VK_IMAGE_CREATE_EXTENDED_USAGE_BIT;     }     } A possible solution would be to modify the logic to differentiate between an intentionally set 0 and an uninitialized state. -- Secured with Tuta Mail:

[FFmpeg-devel] Re: question about submitting security patches

2025-11-13 Thread ff--- via ffmpeg-devel
On 2025-11-13 06:50, Timo Rothenpieler via ffmpeg-devel wrote: On 13/11/2025 04:06, Michael Niedermayer via ffmpeg-devel wrote: Hi Kieran On Wed, Nov 12, 2025 at 12:09:00AM -0800, Kieran Kunhya via ffmpeg-devel wrote: On Mon, 10 Nov 2025, 19:00 Michael Niedermayer via ffmpeg-devel, < ffm

[FFmpeg-devel] [Question] Learning about VVC and wasm

2025-11-13 Thread Sidd via ffmpeg-devel
understand it better) Any help on this would be much appreciated ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [Question] Learning about VVC and wasm

2025-11-13 Thread Sidd via ffmpeg-devel
being good at writing it. And if I may ask, what exactly are the current drawbacks of the current C implementation? Thank you for taking your time to answer my questions. On Thu, Nov 13, 2025 at 11:13 PM Frank Plowman via ffmpeg-devel wrote: > > On 13/11/2025 16:46, Sidd via ffmpeg-devel

[FFmpeg-devel] Re: [Question] Learning about VVC and wasm

2025-11-13 Thread Sidd via ffmpeg-devel
Ok I misunderstood about the decoder part. Sorry I am new to mailing lists am not sure what top-posting means, if I have not abided by any rules I do apologize and will refrain from doing so On Thu, Nov 13, 2025 at 11:40 PM Frank Plowman via ffmpeg-devel wrote: > > On 13/11/2025 17:56, Si

[FFmpeg-devel] [PATCH] libavfilter/af_join - Free memory if using custom channel layout (PR #20914)

2025-11-13 Thread colekas via ffmpeg-devel
.u.map && (s->ch_layout.order == AV_CHANNEL_ORDER_CUSTOM)) { -av_freep(&s->ch_layout.u.map); -} + +av_channel_layout_uninit(&s->ch_layout); av_freep(&s->channels); av_freep(&s->buffers); av_freep(&s->input_frames); -- 2.49.1 ___

[FFmpeg-devel] [PATCH] avcodec/prores_raw: Reuse permutation (PR #20918)

2025-11-14 Thread mkver via ffmpeg-devel
s_interlaced_scan, idct_permutation); +ff_permute_scantable(s->scan, ff_prores_interlaced_scan, s->prodsp.idct_permutation); return 0; } -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] lavu/x86: add Intel CET support (PR #20919)

2025-11-14 Thread brad via ffmpeg-devel
ter alignment than the known stack alignment is required %assign stack_offset 0 ; stack pointer offset relative to the return address -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Revert "avutil/hwcontext_amf: Simplified blocking before frame submission" (PR #20912)

2025-11-13 Thread mkver via ffmpeg-devel
100644 --- a/libavutil/hwcontext_amf.h +++ b/libavutil/hwcontext_amf.h @@ -26,7 +26,6 @@ #include #include #include -#include "thread.h" /** * This struct is allocated as AVHWDeviceContext.hwctx @@ -39,7 +38,6 @@ typedef struct AVAMFDeviceContext { int64_t

[FFmpeg-devel] [PATCH] Add myself as maintainer to the various ogg files. (PR #20961)

2025-11-18 Thread toots via ffmpeg-devel
*.c David Conrad, Romain Beauxis oma.c Maxim Poliakovski pp_bnk.c Zane van Iperen psxstr.c Mike Melanson -- 2.49.1 ___ ffmpeg-devel mail

[FFmpeg-devel] [PATCH] avformat/segafilmenc: Fix division by zero with malformed Cinepak data

2025-11-14 Thread Shubin123 via ffmpeg-devel
t;size); } else { -- 2.34.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] Update libavformat/segafilmenc.c (PR #20922)

2025-11-14 Thread Shubin123 via ffmpeg-devel
->size); } else { -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] 回复:Re: [Question]Inquiry Regarding RISC-V RVV Optimization for HEVC Decoding in FFmpeg

2025-11-14 Thread yunfei_zhou--- via ffmpeg-devel
--- 发件人:Rémi Denis-Courmont via ffmpeg-devel 发送时间:2025年11月14日(周五) 22:22 收件人:FFmpeg development discussions and patches 抄 送:"[email protected]"; "Rémi Denis-Courmont" 主 题:[FFmpeg-devel] Re: [Question]Inquiry Regarding RISC-V RVV Optimization for HEVC Decoding i

[FFmpeg-devel] [PATCH] avformat/matroska: add ordered-chapter parsing (PR #20971)

2025-11-19 Thread xobust via ffmpeg-devel
avpriv_new_chapter(s, chapters[j].uid, +(AVRational) { 1, 10 }, +chapters[j].start, chapters[j].end, +chapters[j].title); +max_start = chapters[j].start; +

[FFmpeg-devel] Re: [RFC] Funded Task Ideas

2025-11-19 Thread ff--- via ffmpeg-devel
On 2025-10-13 19:40, Michael Niedermayer via ffmpeg-devel wrote: Hi Everyone As we are now looking for sponsors, we also should look for tasks to fund. as i suggested on irc, a j2k vulkan decoder. since a lot of archivists are still stuck with j2k. also would be good to decode (maybe in

[FFmpeg-devel] [PATCH] avcodec/libaomenc: fix MSan warning (PR #20974)

2025-11-19 Thread jzern via ffmpeg-devel
tlidstr[id]); +av_log(avctx, AV_LOG_DEBUG, " %*s%d\n", width, buf, *ptr); + return 0; } #endif -- 2.49.1 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/xmv: Handle zero sized packet at end of file (PR #20985)

2025-11-20 Thread GXTX via ffmpeg-devel
t) +return AVERROR_EOF; return AVERROR(EIO); /* Update the size */ -- 2.49.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/xmv: Better handling of audio compressions relation to sample blocks (PR #20986)

2025-11-20 Thread GXTX via ffmpeg-devel
ast->codecpar->block_align = 36 * packet->channels; +ast->codecpar->block_align = XMV_BLOCK_ALIGN_SIZE * packet->channels; avpriv_set_pts_info(ast, 32, packet->block_samples, packet->sample_rate); -- 2.49.1 __________

[FFmpeg-devel] [PATCH] avcodec/amf: fix hw_device_ctx handling (PR #20979)

2025-11-20 Thread ArazIusubov via ffmpeg-devel
me_ctx_alloc failed\n"); +} } else { ret = av_hwdevice_ctx_create_derived(&ctx->device_ctx_ref, AV_HWDEVICE_TYPE_AMF, avctx->hw_device_ctx, 0); AMF_GOTO_FAIL_IF_FALSE(avctx, ret == 0, ret, "Failed to create derived AMF device context: %s\n",

[FFmpeg-devel] [PATCH] avcodec/apv_decode: Update metadata decoding to use byte order conversion functions (PR #20988)

2025-11-21 Thread dkozinski via ffmpeg-devel
if (clm) { -clm->MaxCLL = cll->max_cll; -clm->MaxFALL = cll->max_fall; + clm->MaxCLL = av_be2ne16(cll->max_cll); +clm->MaxFALL = av_be2ne16(cll->max_fall); } } break; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [Question] Testing and evaluating runtime performance of functions

2025-11-17 Thread Sidd via ffmpeg-devel
d and the usual practice here. PS: Sorry for double mailing my patch. I was not aware that opening a PR would do the same. _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] WIP: aacdec: add support for 960-frame HE-AAC (PR #20941)

2025-11-17 Thread Lynne via ffmpeg-devel
-s->neg_odd_64 = ff_sbr_neg_odd_64_sse; - s->sum_square = ff_sbr_sum_square_sse; -s->sum64x5= ff_sbr_sum64x5_sse; -s->hf_g_filt = ff_sbr_hf_g_filt_sse; -s->hf_gen = ff_sbr_hf_gen_sse; -s->qmf_post_shuffle = ff_sbr_qmf_post_shuffle_sse; -s->qmf_deint_neg= ff_sbr_qmf_deint_neg_sse; -s->autocorrelate= ff_sbr_autocorrelate_sse; +s->neg_odd_64[0] = ff_sbr_neg_odd_64_sse; +s->sum_square = ff_sbr_sum_square_sse; +s->sum64x5[0] = ff_sbr_sum64x5_sse; +s->hf_g_filt = ff_sbr_hf_g_filt_sse; +s->hf_gen = ff_sbr_hf_gen_sse; +s->qmf_post_shuffle[0] = ff_sbr_qmf_post_shuffle_sse; +s->qmf_deint_neg[0]= ff_sbr_qmf_deint_neg_sse; +s->autocorrelate = ff_sbr_autocorrelate_sse; } if (EXTERNAL_SSE2(cpu_flags)) { -s->qmf_deint_bfly = ff_sbr_qmf_deint_bfly_sse2; -s->qmf_pre_shuffle = ff_sbr_qmf_pre_shuffle_sse2; -s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2; -s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2; -s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2; -s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2; +s->qmf_deint_bfly[0] = ff_sbr_qmf_deint_bfly_sse2; +s->qmf_pre_shuffle[0] = ff_sbr_qmf_pre_shuffle_sse2; +s->hf_apply_noise[0] = ff_sbr_hf_apply_noise_0_sse2; +s->hf_apply_noise[1] = ff_sbr_hf_apply_noise_1_sse2; +s->hf_apply_noise[2] = ff_sbr_hf_apply_noise_2_sse2; +s->hf_apply_noise[3] = ff_sbr_hf_apply_noise_3_sse2; } if (EXTERNAL_SSE3(cpu_flags)) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: Update on your FLOSS/fund application

2025-11-16 Thread ff--- via ffmpeg-devel
On 2025-11-16 07:59, Michael Niedermayer via ffmpeg-devel wrote: On Sun, Nov 16, 2025 at 04:12:00PM +0100, Michael Niedermayer via ffmpeg-devel wrote: On Sun, Nov 16, 2025 at 01:56:49PM +, Kieran Kunhya via ffmpeg-devel wrote: > On Sun, 16 Nov 2025, 05:04 Michael Niedermayer via ffm

[FFmpeg-devel] [PATCH] WIP: aacdec: implement support for Mps212 decoding (PR #20936)

2025-11-16 Thread Lynne via ffmpeg-devel
PR #20936 opened by Lynne URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20936.patch This commit implements support for decoding of MPEG Surround data (USAC-flavoured). I'm raising funds and resources to build a rocket capable of str

[FFmpeg-devel] [PATCH] [libavformat][mov] Fixes individual track duration on fragmented files (PR #20946)

2025-11-17 Thread anthonybajoua via ffmpeg-devel
c->frag_index.complete = 1; +if (offset == 0) +c->frag_index.complete = 1; } return 0; -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avformat/segafilmenc: Fix division by zero with malformed Cinepak data

2025-11-15 Thread Shubin123 via ffmpeg-devel
t;size); } else { -- 2.34.1 ___________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] configure: Only test for SSE2 intrinsics on x86 (PR #20934)

2025-11-16 Thread mkver via ffmpeg-devel
ics_sse2 emmintrin.h "__m128i test = _mm_setzero_si128()" check_ldflags -Wl,--as-needed check_ldflags -Wl,-z,noexecstack -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/x86/mpegvideoenc cleanup (PR #20932)

2025-11-16 Thread mkver via ffmpeg-devel
ot;paddusw %%xmm6, %%xmm0 \n\t" // ABS(block[i]) + bias[0] "movdqa (%2, %%"FF_REG_a"), %%xmm5 \n\t" // qmat[i] "pmulhw %%xmm5, %%xmm0 \n\t" // (ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16 "por %%xmm0, %%xmm4 \n\t" RESTORE_SIGN("%%xmm1", "%%xmm0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i]) -"movdqa %%xmm0, (%5, %%"FF_REG_a") \n\t" +"movdqa %%xmm0, (%4, %0) \n\t" "pcmpeqw %%xmm2, %%xmm0 \n\t" // out==0 ? 0xFF : 0x00 -"movdqa (%4, %%"FF_REG_a"), %%xmm1 \n\t" +"movdqa (%3, %0), %%xmm1 \n\t" "movdqa %%xmm2, (%1, %%"FF_REG_a") \n\t" // 0 "pandn %%xmm1, %%xmm0 \n\t" "pmaxsw %%xmm0, %%xmm3 \n\t" @@ -177,7 +174,7 @@ static int RENAME(dct_quantize)(MPVEncContext *const s, "movd %%xmm3, %%"FF_REG_a" \n\t" "movzbl %%al, %%eax \n\t" // last_non_zero_p1 : "+a" (last_non_zero_p1) -: "r" (block+64), "r" (qmat+64), "r" (bias+64), +: "r" (block+64), "r" (qmat+64), "r" (inv_zigzag_direct16 + 64), "r" (temp_block + 64) XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6") -- 2.49.1 >From 8ae2428ebedca7f191846e5fde2442069d15e8b1 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 16 Nov 2025 12:10:22 +0100 Subject: [PATCH 9/9] avutil/x86/asm: Remove wrong comment, rename FF_REG_sp Before FFmpeg commit 531b0a316b24f00965cd8a88efdbea2c6d63147f, FFmpeg used REG_SP as macro for the stack pointer, yet this clashed with a REG_SP define in Solaris system headers, so it was changed to REG_sp and a comment was added for this. Libav fixed it by adding an FF_ prefix to the macros in 1e9c5bf4c136fe9e010cc8a7e7270bba0d1bf45e. FFmpeg switched to using these prefixes in 9eb3da2f9942cf1b1148d242bccfc383f666feb6, using FF_REG_sp instead of Libav's FF_REG_SP. In said commit the comment was changed to claim that Solaris system headers define FF_REG_SP, but this is (most likely) wrong. This commit removes the wrong comment and renames the (actually unused) macro to FF_REG_SP to make it consistent with FF_REG_BP. Signed-off-by: Andreas Rheinhardt --- libavutil/x86/asm.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavutil/x86/asm.h b/libavutil/x86/asm.h index 9bff42d628..f06ea25035 100644 --- a/libavutil/x86/asm.h +++ b/libavutil/x86/asm.h @@ -38,8 +38,7 @@ typedef struct ymm_reg { uint64_t a, b, c, d; } ymm_reg; #define FF_PTR_SIZE "8" typedef int64_t x86_reg; -/* FF_REG_SP is defined in Solaris sys headers, so use FF_REG_sp */ -#define FF_REG_sp "rsp" +#define FF_REG_SP "rsp" #define FF_REG_BP "rbp" #define FF_REGBP rbp #define FF_REGarax @@ -60,7 +59,7 @@ typedef int64_t x86_reg; #define FF_PTR_SIZE "4" typedef int32_t x86_reg; -#define FF_REG_sp "esp" +#define FF_REG_SP "esp" #define FF_REG_BP "ebp" #define FF_REGBP ebp #define FF_REGaeax -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size (PR #20933)

2025-11-16 Thread nots1dd via ffmpeg-devel
ize) * sizeof(float)); for (int i = 0; i < window_size; i++) buf[i] += fft_out[i].re * window_lut[i] * f; } -- 2.49.1 _______________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
for (int i = 0; i < window_size; i++) > buf[i] += fft_out[i].re * window_lut[i] * f; > } > -- > 2.51.0 > ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] avcodec/mpeg12: Inline ff_mpeg1_clean_buffers() into its callers (PR #20942)

2025-11-17 Thread mkver via ffmpeg-devel
dc_val); +pred = msmpeg4v1_pred_dc(h, n, &dc_val); level += pred; /* update predictor */ diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index b4545f7624..1958f36c98 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -129,11 +129,11 @@ static int rv10_

[FFmpeg-devel] [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread nots1dd via ffmpeg-devel
oat)); for (int i = 0; i < window_size; i++) buf[i] += fft_out[i].re * window_lut[i] * f; } -- 2.51.0 _______ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] Re: [PATCH] avfilter/af_afftfilt: fix the overlap buffer size

2025-11-16 Thread Sidd via ffmpeg-devel
move(buf, buf + s->hop_size, window_size * sizeof(float)); > +memmove(buf, buf + hop_size, (window_size - hop_size) * > sizeof(float)); > for (int i = 0; i < window_size; i++) > buf[i] += fft_out[i].re * window_lut[i] * f; > } > -- > 2.51.0 >

[FFmpeg-devel] [PATCH] avcodec: fix checkasm-hpeldsp failed on LA (PR #20951)

2025-11-17 Thread HecaiYuan via ffmpeg-devel
->put_no_rnd_pixels_tab[1][3] = ff_put_no_rnd_pixels8_xy2_8_lasx; +c->put_no_rnd_pixels_tab[1][1] = put_no_rnd_pix8_x2_8_lasx_wrap; +c->put_no_rnd_pixels_tab[1][2] = put_no_rnd_pix8_y2_8_lasx_wrap; +c->put_no_rnd_pixels_tab[1][3] = put_no_rnd_pix8_xy2_8_lasx_wrap

[FFmpeg-devel] [PATCH] avfilter/scale_cuda: Add support for 4:2:2 chroma subsampling (PR #20958)

2025-11-18 Thread ddesouza via ffmpeg-devel
0) +LANCZOS_KERNELS(planar16) +LANCZOS_KERNELS(semiplanar8) +LANCZOS_KERNELS(semiplanar10) +LANCZOS_KERNELS(semiplanar16) LANCZOS_KERNELS_RGB(rgb0) LANCZOS_KERNELS_RGB(bgr0) diff --git a/libavfilter/vf_scale_cuda.h b/libavfilter/vf_scale_cuda.h index 40d5b9cfac..1fb3498ee8 100644 --- a/libavf

[FFmpeg-devel] [PATCH] Update libavcodec/opus/parser.c (PR #20959)

2025-11-18 Thread mux47 via ffmpeg-devel
ze) < 0) +if (buf_size && set_frame_duration(ctx, avctx, buf, buf_size) < 0) goto fail; } else { next = opus_find_frame_end(ctx, avctx, buf, buf_size, &header_len); -- 2.49.1 ___________ ffmpeg-devel mailing list -- ffmpeg-

[FFmpeg-devel] [PATCH] avcodec/psd: Support auxiliary channels (PR #20966)

2025-11-18 Thread jchw via ffmpeg-devel
28 +#sar 0: 0/1 +0, 0, 0,1,49152, 0xe0013dee -- 2.49.1 >From a075417d629858aca2ab07b92d6b1bdb3a43bfc4 Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Wed, 19 Nov 2025 00:17:34 -0500 Subject: [PATCH 3/3] tests/fate/image: Add psd-rgbxx --- tests/fate/image.m

[FFmpeg-devel] [PATCH] avformat/oggenc: Schedule pagesize option for removal (PR #20992)

2025-11-21 Thread mkver via ffmpeg-devel
} @@ -477,9 +485,6 @@ static int ogg_init(AVFormatContext *s) OGGStreamContext *oggstream = NULL; int i, j; -if (ogg->pref_size) -av_log(s, AV_LOG_WARNING, "The pagesize option is deprecated\n"); - for (i = 0; i < s->nb_streams; i++) { AVS

[FFmpeg-devel] [PATCH] avutil/error: Avoid relocations and unused information (PR #20991)

2025-11-21 Thread mkver via ffmpeg-devel
RROR_R +#undef ENTRY +#define ENTRY(CODE, DESC) { .num = AVERROR(CODE), .offset = ERROR_ ## CODE ## _OFFSET }, +STRERROR_LIST(ENTRY) #endif }; int av_strerror(int errnum, char *errbuf, size_t errbuf_size) { -int ret = 0, i; -const struct error_entry *entry = NULL; - -for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) { +for (size_t i = 0; i < FF_ARRAY_ELEMS(error_entries); ++i) { if (errnum == error_entries[i].num) { -entry = &error_entries[i]; -break; +av_strlcpy(errbuf, error_stringtable + error_entries[i].offset, errbuf_size); +return 0; } } -if (entry) { -av_strlcpy(errbuf, entry->str, errbuf_size); -} else { #if HAVE_STRERROR_R -ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); +int ret = AVERROR(strerror_r(AVUNERROR(errnum), errbuf, errbuf_size)); #else -ret = -1; +int ret = -1; #endif -if (ret < 0) -snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum); -} +if (ret < 0) +snprintf(errbuf, errbuf_size, "Error number %d occurred", errnum); return ret; } diff --git a/libavutil/tests/error.c b/libavutil/tests/error.c index b7b253b7b5..774c71fcb9 100644 --- a/libavutil/tests/error.c +++ b/libavutil/tests/error.c @@ -18,13 +18,22 @@ #include "libavutil/error.c" +static const char *const tag_list[] = { +#define ERROR_TAG(CODE, DESC) #CODE, +#define ERROR_TAG2(CODE, CODE2, DESC) #CODE, +AVERROR_LIST(ERROR_TAG, ERROR_TAG2) +#if !HAVE_STRERROR_R +STRERROR_LIST(ERROR_TAG) +#endif +}; + int main(void) { int i; for (i = 0; i < FF_ARRAY_ELEMS(error_entries); i++) { -const struct error_entry *entry = &error_entries[i]; -printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num), entry->tag); +const struct ErrorEntry *entry = &error_entries[i]; +printf("%d: %s [%s]\n", entry->num, av_err2str(entry->num), tag_list[i]); } for (i = 0; i < 256; i++) { -- 2.49.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH] tcp: add TCP keepalive tuning options

2025-11-21 Thread Practice2001 via ffmpeg-devel
p_keepidle > 0 ? (DWORD)s->tcp_keepidle * 1000 : 720); +vals.keepaliveinterval = (DWORD)(s->tcp_keepintvl > 0 ? (DWORD)s->tcp_keepintvl * 1000 : 1000); +/* WSAIoctl returns SOCKET_ERROR on failure */ +if (WSAIoctl((SOCKET)fd, SIO_KEEPALIVE_VALS, &vals, sizeof(vals), + NULL, 0, &bytes, NULL, NULL) == SOCKET_ERROR) { +ff_log_net_error(ctx, AV_LOG_WARNING, "WSAIoctl(SIO_KEEPALIVE_VALS)"); +} +} +#endif /* HAVE_WINSOCK2_H */ + } #if !HAVE_WINSOCK2_H -- 2.34.1 ___ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]

[FFmpeg-devel] [PATCH v2] libsvtav1: Enable 2-pass encoding

2024-05-16 Thread Fredrik Lundkvist via ffmpeg-devel
->svt_handle) { svt_av1_enc_deinit(svt_enc->svt_handle); svt_av1_enc_deinit_handle(svt_enc->svt_handle); @@ -682,6 +733,10 @@ static av_cold int eb_enc_close(AVCodecContext *avctx) av_freep(&svt_enc->in_buf); } +if (param->rc_stats_buffer.buf) { +

[FFmpeg-devel] [PATCH] Added alpha layer support v2

2024-05-16 Thread Andrea Mastroberti via ffmpeg-devel
e *inpic) s->chroma.filter_context); } +if (inpic->data[3]) { + blur(outpic->data[3], outpic->linesize[3], + inpic->data[3], inpic->linesize[3], + inlink->w, inlink->h, s->alpha.threshold, + s->alpha.filter_context); +} + av_frame_free(&inpic); return ff_filter_frame(outlink, outpic); } -- 2.45.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] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-17 Thread Cosmin Stejerean via ffmpeg-devel
> On May 14, 2024, at 9:28 AM, Lynne via ffmpeg-devel > wrote: > > On 14/05/2024 17:09, Christian Bartnik wrote: >> From: Thomas Siedel >> Add external decoder VVdeC for H266/VVC decoding. >> Register new decoder libvvdec. >> Add libvvdec to wrap the v

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: Fix parsing of ts_layering_mode parameter

2024-05-17 Thread James Zern via ffmpeg-devel
Hi, On Wed, May 15, 2024 at 11:11 PM Aaron Thompson via ffmpeg-devel wrote: > > The value was being parsed as base 4, so the value "4" was invalid and > would result in ts_layering_mode being set to 0. > > Signed-off-by: Aaron Thompson > --- > libavcodec/libvpxen

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-18 Thread Cosmin Stejerean via ffmpeg-devel
AAC decoder in ffmpeg but it's still useful to have FDK-AAC available for decoding when running into edge cases on the native AAC decoder, or to decode USAC while the new decoder is under development, etc. - Cosmin _______________ ffmpeg-devel mailing list ffmpeg-de

Re: [FFmpeg-devel] [RFC] STF 2025

2024-05-19 Thread Thilo Borgmann via ffmpeg-devel
uld produce costs for us. -Thilo ___________ 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] [RFC] STF 2025

2024-05-19 Thread Thilo Borgmann via ffmpeg-devel
r. That is nothing that 'professionals' should pay out of their budget or should even be allowed to do as we talk about a presence for the open-source project, not some company's presence. -Thilo _______ ffmpeg-devel mailing list ff

Re: [FFmpeg-devel] Samples with invalid permissions

2024-05-20 Thread Thilo Borgmann via ffmpeg-devel
ugs/trac/ticket6765/Canon-C200-Raw.CRM These are in the size of GB's. If someone really needs them, send us a mail according to http://samples.ffmpeg.org/00-README -Thilo ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
On May 18, 2024, at 10:48 PM, Rémi Denis-Courmont wrote: Le 18 mai 2024 21:55:04 GMT+03:00, Cosmin Stejerean via ffmpeg-devel mailto:[email protected]> > a écrit : On May 18, 2024, at 7:04 AM, Nuo Mi mailto:[email protected]> > wrote: This happened many years ago. See th

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
Trying again with better formatting, hopefully > On May 18, 2024, at 10:48 PM, Rémi Denis-Courmont wrote: > > Hi, > > Le 18 mai 2024 21:55:04 GMT+03:00, Cosmin Stejerean via ffmpeg-devel > a écrit : >> >> >>> On May 18, 2024, at 7:04 AM, Nuo Mi wrote

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
> On May 20, 2024, at 11:03 AM, Rémi Denis-Courmont wrote: > > Le maanantaina 20. toukokuuta 2024, 19.33.43 EEST Cosmin Stejerean via ffmpeg- > devel a écrit : > >> hwaccel decoding seems somewhat orthogonal > > How exactly will that work then? Either vvdec

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
> On May 20, 2024, at 12:01 PM, Rémi Denis-Courmont wrote: > > Le maanantaina 20. toukokuuta 2024, 21.39.18 EEST Cosmin Stejerean via ffmpeg- > devel a écrit : >> The same way using FDK-AAC as a decoder works, if you want to use it as the >> *AAC decoder you have to

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
> On May 20, 2024, at 1:05 PM, Rémi Denis-Courmont wrote: > > Le maanantaina 20. toukokuuta 2024, 22.33.45 EEST Cosmin Stejerean via ffmpeg- > devel a écrit : >>> And again, you can't expect users to select decoders manually. If vvdec is >>> the >>&

[FFmpeg-devel] [PATCH] avcodec/dovi_rpudec - correctly read el_bit_depth_minus8 when ext_mapping_idc is non-zero

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
VALIDATE(bl_bit_depth_minus8, 0, 8); VALIDATE(el_bit_depth_minus8, 0, 8); -- 2.42.1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg

[FFmpeg-devel] [PATCH] avcodec/libsvtav1: send the EOS signal without a one frame delay to allow for the library to operate in a low-delay mode

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
FFERFLAG_EOS) svt_enc->eos_flag = EOS_RECEIVED; +#endif ff_side_data_set_encoder_stats(pkt, headerPtr->qp * FF_QP2LAMBDA, NULL, 0, pict_type); -- 2.42.1 _______________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailma

Re: [FFmpeg-devel] [PATCH v2] avutil/hwcontext_videotoolbox: Set proper CVBuffer colorspace

2024-05-20 Thread Gnattu OC via ffmpeg-devel
tachments( > + pixbuf, > +attachments, > +kCVAttachmentMode_ShouldPropagate); > +CFRelease(attachments); > + > return 0; > } > > > base-commit: 463c573e6b6489c588bee90124d5cf92db8ccaaa > -- > 2.39.3 (Apple Git-145) >

Re: [FFmpeg-devel] [PATCH] avcodec/libsvtav1: send the EOS signal without a one frame delay to allow for the library to operate in a low-delay mode

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
> On May 20, 2024, at 6:17 PM, Cosmin Stejerean via ffmpeg-devel > wrote: > > From: Cosmin Stejerean > > Co-authored-by: Amir Naghdinezhad > Signed-off-by: Cosmin Stejerean > --- > libavcodec/libsvtav1.c | 10 ++ > 1 file changed, 10 insertions(+)

[FFmpeg-devel] [PATCH] avcodec/dovi - disable metadata compression by default

2024-05-20 Thread Cosmin Stejerean via ffmpeg-devel
quot;dovi" }, { "auto", NULL, 0, AV_OPT_TYPE_CONST, {.i64 = FF_DOVI_AUTOMATIC}, .flags = VE, .unit = "dovi" }, +{ "dv_enable_compression", "Enable Dolby Vision metadata compression", OFFSET(dovi.enable_compression), AV_OPT_TYPE_BOOL, {.i64 = 0 }, 0, 1, VE }, #endif { NULL } }; -- 2.42.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] [PATCH v2] checkasm: add sample argument to adjust during bench

2024-05-21 Thread Henrik Gramner via ffmpeg-devel
ns = bench_runs;\ > checkasm_set_signal_handler_state(1);\ > -for (ti = 0; ti < BENCH_RUNS; ti++) {\ > +for (ti = 0; ti < truns; ti++) {\ This is comparing int with uint64_t. We should probably just use int for the sample count too. ___________ ffmpeg-d

Re: [FFmpeg-devel] [PATCH] avcodec/dovi_rpudec - correctly read el_bit_depth_minus8 when ext_mapping_idc is non-zero

2024-05-21 Thread Cosmin Stejerean via ffmpeg-devel
> On May 21, 2024, at 3:21 AM, Niklas Haas wrote: > > On Tue, 21 May 2024 01:17:32 + Cosmin Stejerean via ffmpeg-devel > wrote: >> From: Cosmin Stejerean >> >> It looks like the el_bitdepth_minus8 value in the header can also encode >>

Re: [FFmpeg-devel] [PATCH v12 0/8] [WIP] webp: add support for animated WebP decoding

2024-05-21 Thread Thilo Borgmann via ffmpeg-devel
tion... Thanks, Thilo _______ 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 v2] avcodec/dovi - correctly read el_bit_depth_minus8 and ext_mapping_idc

2024-05-21 Thread Cosmin Stejerean via ffmpeg-devel
uint8_t vdr_bit_depth; /* [8, 16] */ uint8_t spatial_resampling_filter_flag; uint8_t el_spatial_resampling_filter_flag; -- 2.42.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] [RFC] STF 2025

2024-05-21 Thread Thilo Borgmann via ffmpeg-devel
On 20.05.24 20:51, Rémi Denis-Courmont wrote: Le sunnuntaina 19. toukokuuta 2024, 14.29.43 EEST Thilo Borgmann via ffmpeg- devel a écrit : [...] * Fund administrative / maintainance work (one example is the mailman upgrade that is needed>> with the next OS upgrade on one of our s

Re: [FFmpeg-devel] [PATCH 01/13] avformat/flvenc: Implement support for multi-track video

2024-05-21 Thread Dennis Sädtler via ffmpeg-devel
> From: Dennis Sädtler via ffmpeg-devel I wonder what happened here, did I make a mistake when submitting the original patch to the ML so the actual commit author name/email got lost? Should be the same as the signed-off section based on the repo I submitted it from: https://github.com/der

Re: [FFmpeg-devel] [PATCH 01/13] avformat/flvenc: Implement support for multi-track video

2024-05-21 Thread Cosmin Stejerean via ffmpeg-devel
> On May 21, 2024, at 11:48 AM, Dennis Sädtler via ffmpeg-devel > wrote: > >> From: Dennis Sädtler via ffmpeg-devel > > I wonder what happened here, did I make a mistake when submitting the > original patch to the ML so the actual commit author name/email got > lo

Re: [FFmpeg-devel] [PATCH 01/13] avformat/flvenc: Implement support for multi-track video

2024-05-21 Thread Cosmin Stejerean via ffmpeg-devel
> On May 21, 2024, at 11:54 AM, Cosmin Stejerean via ffmpeg-devel > wrote: > > > However I've found a workaround. By setting my git send-email from to just > "[email protected] <mailto:[email protected]>" rather than "Cosmin Stejerean > mailto:

<    5   6   7   8   9   10   11   12   13   14   >