[FFmpeg-devel] Can a GetByteContext have a "sub" context?

2025-09-01 Thread Manuel Lauss via ffmpeg-devel
Hello, Is it possible to have a "sub" context with a limited byte range for a super-context? i.e. I read 4 bytes from context c1, these are a length, c2 = GetByteContext_from(c1, len) ? Or is "GetByteContext(&c2, c1.buffer, len);" enough? Thanks! Manuel

[FFmpeg-devel] [PATCH] avcodec/cbrt_table: use dynamic buffer instead of static array (PR #20392)

2025-09-01 Thread yibofang via ffmpeg-devel
PR #20392 opened by yibofang URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20392 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20392.patch The cbrt table generator previously used a 128 KiB static buffer in .bss. Replace it with a temporary av_malloc()/av_free() buffer used only at ini

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

2025-09-01 Thread Jack Lau via ffmpeg-devel
PR #20391 opened by Jack Lau (JackLau) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20391 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20391.patch Use av_gettime_relative() replace av_gettime() to get better measure Changed the display precision from showing only integers to showing

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

2025-09-01 Thread Marton Balint via ffmpeg-devel
PR #20390 opened by Marton Balint (cus) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20390 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20390.patch This is a preparation series for a future patchset aiming to set protocol URL options via AVOptions. This series adds AVOptions for pr

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

2025-09-01 Thread Adam Zofware via ffmpeg-devel
vf_scale_d3d11.c does not instantiate the interface IDs that it uses (IID_ID3D11VideoDevice and IID_ID3D11VideoContext). Builds of avfilter for Windows configured such that no other source files instantiate these IIDs will result in missing symbol errors during linking. The fix is to include and

[FFmpeg-devel] [PATCH] lavc/librsvgdec: Fix compilation with librsvg 2.50.3. (PR #20389)

2025-09-01 Thread Lastique via ffmpeg-devel
PR #20389 opened by Lastique URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20389 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20389.patch This fixes compilation with librsvg 2.50.3: ``` error: viewport undeclared ``` Fixes https://trac.ffmpeg.org/ticket/10722. >From 4f318bb8842dd7

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

2025-09-01 Thread Niklas Haas via ffmpeg-devel
PR #20388 opened by Niklas Haas (haasn) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20388 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20388.patch Effectively makes it a copy of the concat filter but with the ability to crossfade instead of hard cutting. I did have to formally err

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

2025-09-01 Thread John Cox via ffmpeg-devel
Hi Between 7.1.1 and 8.0 buffersrc has changed (commit a7fe27f9647e00041dcd079183bddabc998b6b31) to require hw_frames_ctx to be set at init time (in buffersrc.c:init_video line 290) if a hw pix fmt is selected rather than somewhat later. With the previous scheme hw_frames_context could be added us

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

2025-09-01 Thread Niklas Haas via ffmpeg-devel
PR #20387 opened by Niklas Haas (haasn) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20387 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20387.patch This wrapping logic still considered any nonzero return from the ASM function to be the overall result, but this is not true since the a

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

2025-09-01 Thread Henrik Gramner via ffmpeg-devel
PR #20386 opened by Henrik Gramner (gramner) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20386 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20386.patch A few of the most basic variants had existing AVX2 implementations since before. Those were rewritten to reduce code size. Checka

[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
PR #20385 opened by Zhao Zhili (quink) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20385 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20385.patch In hybrid_fragmented mode, the first moov at start should contain mvex tag, since it's fmp4. When writing the moov at the second time, it