Feed of "FFmpeg" https://code.ffmpeg.org/FFmpeg 2026-03-31T15:09:46Z <p dir="auto">A complete, cross-platform solution to record, convert and stream audio and video.</p> James Almer created pull request FFmpeg/FFmpeg#22670 2026-03-31T14:32:59Z 1028820: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22670 22670#avcodec/lcevcdec: support differing base and enhancement bitdepths# 22670#avcodec/lcevcdec: support differing base and enhancement bitdepths# James Almer [email protected] michaelni created pull request FFmpeg/FFmpeg#22669 2026-03-31T14:21:33Z 1028744: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22669 <p dir="auto">Fixes: out of array access<br/> Fixes: matejsmycka/poc.mp4</p> <p dir="auto">Introducing commit: <code>baad75cafa6bac298b72c177f657a2eb8e31cff1</code> — &#34;aacdec_usac: add support for parsing Mpsp212 (MPEG surround)&#34;, 2025-11-17.</p> <p dir="auto">Found-by: Matěj Smyčka <a href="mailto:[email protected]" rel="nofollow">[email protected]</a><br/> Signed-off-by: Michael Niedermayer <a href="mailto:[email protected]" rel="nofollow">[email protected]</a></p> 22669#avcodec/aac/aacdec_usac: Implement missing bits of otts_bands_phase and residual_bands computation# michaelni [email protected] Gyan Doshi commented on pull request FFmpeg/FFmpeg#22430 2026-03-31T14:11:51Z 1028599: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34541 doc/Makefile: add MAKEINFO variable <p dir="auto">I&#39;ll relay that Q to the author.</p> doc/Makefile: add MAKEINFO variable <p dir="auto">I&#39;ll relay that Q to the author.</p> Gyan Doshi [email protected] ArazIusubov pushed to master at FFmpeg/FFmpeg 2026-03-31T14:07:35Z 1028528: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3b5581876405d8617a7325f2c42b0d502b4d9a06 <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3b5581876405d8617a7325f2c42b0d502b4d9a06" rel="nofollow">3b5581876405d8617a7325f2c42b0d502b4d9a06</a> avcodec/amfdec: set context dimensions from decoder size <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/3b5581876405d8617a7325f2c42b0d502b4d9a06">3b5581876405d8617a7325f2c42b0d502b4d9a06</a> avcodec/amfdec: set context dimensions from decoder size ArazIusubov [email protected] ArazIusubov merged pull request FFmpeg/FFmpeg#22590 2026-03-31T14:07:34Z 1028457: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22590 avcodec/amfdec: AMF set context dimensions from decoder size avcodec/amfdec: AMF set context dimensions from decoder size ArazIusubov [email protected] deadbeef84 created pull request FFmpeg/FFmpeg#22668 2026-03-31T14:04:08Z 1028385: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22668 <p dir="auto">Not all I-frames can be used for random-access, we should also<br/> respect bit 7 of the index table entry flags which indicates random<br/> access.</p> <p dir="auto">Refs: <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/22467" class="ref-issue" rel="nofollow">#22467</a></p> 22668#avformat/mxfdec: require keyframes to have random-access bit set# deadbeef84 [email protected] Ramiro Polla commented on pull request FFmpeg/FFmpeg#22430 2026-03-31T13:51:20Z 1028311: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34533 doc/Makefile: add MAKEINFO variable <p dir="auto">What about the <code>makeinfo</code> checks in configure?</p> doc/Makefile: add MAKEINFO variable <p dir="auto">What about the <code>makeinfo</code> checks in configure?</p> Ramiro Polla [email protected] Ramiro Polla commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T13:49:20Z 1028240: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34532 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/Lynne" class="mention" rel="nofollow">@Lynne</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34529" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/Lynne" class="mention" rel="nofollow">@Lynne</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34529" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> Ramiro Polla [email protected] Gyan Doshi commented on pull request FFmpeg/FFmpeg#22431 2026-03-31T13:34:21Z 1028168: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22431#issuecomment-34531 doc/t2h.pm: Never use node nor empty @top heading in ffmpeg_heading_command <p dir="auto">Plan to push this on Thursday, barring objections.</p> doc/t2h.pm: Never use node nor empty @top heading in ffmpeg_heading_command <p dir="auto">Plan to push this on Thursday, barring objections.</p> Gyan Doshi [email protected] Gyan Doshi commented on pull request FFmpeg/FFmpeg#22430 2026-03-31T13:34:10Z 1028097: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34530 doc/Makefile: add MAKEINFO variable <p dir="auto">Plan to push this on Thursday, barring objections.</p> doc/Makefile: add MAKEINFO variable <p dir="auto">Plan to push this on Thursday, barring objections.</p> Gyan Doshi [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T13:11:47Z 1028022: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34529 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">A lot of the warnings are due to drivers, and valgrind not dealing with GPU mapped memory well. The log is as clean as all the other Vulkan code, so I think its okay.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">A lot of the warnings are due to drivers, and valgrind not dealing with GPU mapped memory well. The log is as clean as all the other Vulkan code, so I think its okay.</p> Lynne [email protected] Ramiro Polla commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T13:06:35Z 1027951: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34528 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/Lynne" class="mention" rel="nofollow">@Lynne</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34525" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/Lynne" class="mention" rel="nofollow">@Lynne</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34525" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> Ramiro Polla [email protected] Jack Lau suggested changes for FFmpeg/FFmpeg#22558 2026-03-31T12:52:00Z 1027880: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22558#issuecomment-34527 avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packets avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packets Jack Lau [email protected] Jack Lau commented on pull request FFmpeg/FFmpeg#22558 2026-03-31T12:52:00Z 1027809: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22558#issuecomment-34526 avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packets <p dir="auto">can directly check whether <code>ret &gt; 13</code> here to simplify the code</p> avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packets <p dir="auto">can directly check whether <code>ret &gt; 13</code> here to simplify the code</p> Jack Lau [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:46:08Z 1027737: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34525 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/ramiro" class="mention" rel="nofollow">@ramiro</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34521" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/ramiro" class="mention" rel="nofollow">@ramiro</a> wrote in <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34521" class="ref-issue" rel="nofollow">#22609 (comment)</a>:</p> Lynne [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:41:51Z 1027665: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34524 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">I&#39;d prefer to leave them commented out to remind me and others of what has to happen.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">I&#39;d prefer to leave them commented out to remind me and others of what has to happen.</p> Lynne [email protected] Zhao Zhili commented on pull request FFmpeg/FFmpeg#22666 2026-03-31T12:40:49Z 1027594: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22666#issuecomment-34522 libswresample/arm: add MVE (Helium) optimized resample functions <p dir="auto">The commit should be splited into two parts:</p> libswresample/arm: add MVE (Helium) optimized resample functions <p dir="auto">The commit should be splited into two parts:</p> Zhao Zhili [email protected] Ramiro Polla suggested changes for FFmpeg/FFmpeg#22609 2026-03-31T12:37:18Z 1027523: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34521 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Valgrind still has a lot of uninitialised value errors. It seems to come from the output buffer after a hw conversion.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Valgrind still has a lot of uninitialised value errors. It seems to come from the output buffer after a hw conversion.</p> Ramiro Polla [email protected] Ramiro Polla commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:37:17Z 1027452: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34520 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">It seems I forgot to comment on this, but do they need to be commented out like this? Can&#39;t they be checked for later?</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">It seems I forgot to comment on this, but do they need to be commented out like this? Can&#39;t they be checked for later?</p> Ramiro Polla [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:31:04Z 1027380: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34519 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/haasn" class="mention" rel="nofollow">@haasn</a> Any comment on this?</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/haasn" class="mention" rel="nofollow">@haasn</a> Any comment on this?</p> Lynne [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:30:44Z 1027308: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34518 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Oh, forgot to add a note to &#34;configure: enable Vulkan only if the SPIR-V headers are installed&#34;. Added the following:</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Oh, forgot to add a note to &#34;configure: enable Vulkan only if the SPIR-V headers are installed&#34;. Added the following:</p> Lynne [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:25:03Z 1027236: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34517 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/ramiro" class="mention" rel="nofollow">@ramiro</a> Updated PR with your feedback. I split up the SPIR-V construction into its 3 logical sections, the same way the file is required to be laid out: headers+decorations, types+constants, descriptors.<br/> It should be more organized, especially to those familiar with SPIR-V.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto"><a href="/ramiro" class="mention" rel="nofollow">@ramiro</a> Updated PR with your feedback. I split up the SPIR-V construction into its 3 logical sections, the same way the file is required to be laid out: headers+decorations, types+constants, descriptors.<br/> It should be more organized, especially to those familiar with SPIR-V.</p> Lynne [email protected] Ramiro Polla commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T12:21:43Z 1027162: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34512 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">This change is no longer necessary after <code>fmt_is_supported_by_hw</code>.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">This change is no longer necessary after <code>fmt_is_supported_by_hw</code>.</p> Ramiro Polla [email protected] deadbeef84 created pull request FFmpeg/FFmpeg#22667 2026-03-31T12:11:21Z 1027090: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22667 22667#gxf: return proper errors when reading packets# 22667#gxf: return proper errors when reading packets# deadbeef84 [email protected] Renjianguang-mi created pull request FFmpeg/FFmpeg#22666 2026-03-31T12:08:47Z 1027013: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22666 <p dir="auto">Add ARM MVE SIMD optimization for resample_common in libswresample,<br/> targeting Cortex-M processors with ARMv8.1-M Helium extension.</p> <p dir="auto">MVE and NEON are mutually exclusive (Cortex-M vs Cortex-A), so<br/> compile-time selection is used. The assembly uses MVE tail-predicated<br/> loops (wlstp/letp) which handle arbitrary filter lengths without<br/> remainder loops. S32P support is added as MVE-only since vmlaldava.s32<br/> provides native 32x32-&gt;64 bit accumulation not available in NEON.</p> <p dir="auto">Also rename resample.S to resample_neon.S for clarity.</p> <p dir="auto">Benchmarked on Cortex-M55, 200ms 2ch stereo, speedup vs C fallback:</p> <pre><code> 44.1-&gt;48k 48-&gt;44.1k 8-&gt;48k 48-&gt;8k 16-&gt;48k 48-&gt;16k </code></pre> <p dir="auto">S16P: 1.70x 1.38x 1.77x 2.45x 1.75x 2.04x<br/> FLTP: 1.32x 1.19x 1.32x 2.14x 1.34x 1.76x<br/> S32P: 1.38x 1.17x 1.37x 1.80x 1.36x 1.59x</p> <p dir="auto">Signed-off-by: Jianguang Ren <a href="mailto:[email protected]" rel="nofollow">[email protected]</a></p> 22666#libswresample/arm: add MVE (Helium) optimized resample functions# Renjianguang-mi [email protected] Ramiro Polla pushed to master at FFmpeg/FFmpeg 2026-03-31T11:48:56Z 1026939: https://code.ffmpeg.org/FFmpeg/FFmpeg/compare/8b93c94f474664bb7a0ef801ef33acf4cc802217...53537f6cf5bcb43d716dfbdc5f306f547cea5a4e <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/53537f6cf5bcb43d716dfbdc5f306f547cea5a4e" rel="nofollow">53537f6cf5bcb43d716dfbdc5f306f547cea5a4e</a> swscale/aarch64: mark CPS kernel functions as indirect branch targets <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/af443abe99cfac2ad0ac33dbe029636092867c8b" rel="nofollow">af443abe99cfac2ad0ac33dbe029636092867c8b</a> aarch64: Add support for indirect branch targets in the function macro <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/53537f6cf5bcb43d716dfbdc5f306f547cea5a4e">53537f6cf5bcb43d716dfbdc5f306f547cea5a4e</a> swscale/aarch64: mark CPS kernel functions as indirect branch targets <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/af443abe99cfac2ad0ac33dbe029636092867c8b">af443abe99cfac2ad0ac33dbe029636092867c8b</a> aarch64: Add support for indirect branch targets in the function macro Ramiro Polla [email protected] Ramiro Polla automatically merged pull request FFmpeg/FFmpeg#22664 2026-03-31T11:48:56Z 1026868: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22664 swscale/aarch64: mark CPS kernel functions as indirect branch targets swscale/aarch64: mark CPS kernel functions as indirect branch targets Ramiro Polla [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T11:35:13Z 1026795: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34497 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Previous commits have mentioned this a few times, but sure, I&#39;ll add a comment.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Previous commits have mentioned this a few times, but sure, I&#39;ll add a comment.</p> Lynne [email protected] Lynne commented on pull request FFmpeg/FFmpeg#22609 2026-03-31T11:34:52Z 1026723: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34496 swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Sure, will do.</p> swscale/vulkan: add a native SPIR-V assembler backend <p dir="auto">Sure, will do.</p> Lynne [email protected] ArazIusubov pushed to master at FFmpeg/FFmpeg 2026-03-31T11:33:05Z 1026652: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8b93c94f474664bb7a0ef801ef33acf4cc802217 <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8b93c94f474664bb7a0ef801ef33acf4cc802217" rel="nofollow">8b93c94f474664bb7a0ef801ef33acf4cc802217</a> avutil/hwcontext_amf: Add AMF_IFACE_CALL macro <a href="https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8b93c94f474664bb7a0ef801ef33acf4cc802217">8b93c94f474664bb7a0ef801ef33acf4cc802217</a> avutil/hwcontext_amf: Add AMF_IFACE_CALL macro ArazIusubov [email protected]