Feed of "FFmpeg"https://code.ffmpeg.org/FFmpeg2026-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#226702026-03-31T14:32:59Z1028820: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/2267022670#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#226692026-03-31T14:21:33Z1028744: 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> — "aacdec_usac: add support for parsing Mpsp212 (MPEG surround)", 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#224302026-03-31T14:11:51Z1028599: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34541doc/Makefile: add MAKEINFO variable
<p dir="auto">I'll relay that Q to the author.</p>
doc/Makefile: add MAKEINFO variable
<p dir="auto">I'll relay that Q to the author.</p>
Gyan Doshi[email protected]ArazIusubov pushed to master at FFmpeg/FFmpeg2026-03-31T14:07:35Z1028528: 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 sizeArazIusubov[email protected]ArazIusubov merged pull request FFmpeg/FFmpeg#225902026-03-31T14:07:34Z1028457: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22590avcodec/amfdec: AMF set context dimensions from decoder sizeavcodec/amfdec: AMF set context dimensions from decoder sizeArazIusubov[email protected]deadbeef84 created pull request FFmpeg/FFmpeg#226682026-03-31T14:04:08Z1028385: 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#224302026-03-31T13:51:20Z1028311: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34533doc/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#226092026-03-31T13:49:20Z1028240: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34532swscale/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#224312026-03-31T13:34:21Z1028168: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22431#issuecomment-34531doc/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#224302026-03-31T13:34:10Z1028097: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22430#issuecomment-34530doc/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#226092026-03-31T13:11:47Z1028022: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34529swscale/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#226092026-03-31T13:06:35Z1027951: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34528swscale/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#225582026-03-31T12:52:00Z1027880: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22558#issuecomment-34527avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packetsavformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packetsJack Lau[email protected]Jack Lau commented on pull request FFmpeg/FFmpeg#225582026-03-31T12:52:00Z1027809: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22558#issuecomment-34526avformat/tls_mbedtls: fix DTLS handshake failure when receiving non-DTLS packets
<p dir="auto">can directly check whether <code>ret > 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 > 13</code> here to simplify the code</p>
Jack Lau[email protected]Lynne commented on pull request FFmpeg/FFmpeg#226092026-03-31T12:46:08Z1027737: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34525swscale/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#226092026-03-31T12:41:51Z1027665: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34524swscale/vulkan: add a native SPIR-V assembler backend
<p dir="auto">I'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'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#226662026-03-31T12:40:49Z1027594: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22666#issuecomment-34522libswresample/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#226092026-03-31T12:37:18Z1027523: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34521swscale/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#226092026-03-31T12:37:17Z1027452: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34520swscale/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'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't they be checked for later?</p>
Ramiro Polla[email protected]Lynne commented on pull request FFmpeg/FFmpeg#226092026-03-31T12:31:04Z1027380: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34519swscale/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#226092026-03-31T12:30:44Z1027308: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34518swscale/vulkan: add a native SPIR-V assembler backend
<p dir="auto">Oh, forgot to add a note to "configure: enable Vulkan only if the SPIR-V headers are installed". Added the following:</p>
swscale/vulkan: add a native SPIR-V assembler backend
<p dir="auto">Oh, forgot to add a note to "configure: enable Vulkan only if the SPIR-V headers are installed". Added the following:</p>
Lynne[email protected]Lynne commented on pull request FFmpeg/FFmpeg#226092026-03-31T12:25:03Z1027236: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34517swscale/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#226092026-03-31T12:21:43Z1027162: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34512swscale/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#226672026-03-31T12:11:21Z1027090: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/2266722667#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#226662026-03-31T12:08:47Z1027013: 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->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->48k 48->44.1k 8->48k 48->8k 16->48k 48->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/FFmpeg2026-03-31T11:48:56Z1026939: 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 macroRamiro Polla[email protected]Ramiro Polla automatically merged pull request FFmpeg/FFmpeg#226642026-03-31T11:48:56Z1026868: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22664swscale/aarch64: mark CPS kernel functions as indirect branch targetsswscale/aarch64: mark CPS kernel functions as indirect branch targetsRamiro Polla[email protected]Lynne commented on pull request FFmpeg/FFmpeg#226092026-03-31T11:35:13Z1026795: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34497swscale/vulkan: add a native SPIR-V assembler backend
<p dir="auto">Previous commits have mentioned this a few times, but sure, I'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'll add a comment.</p>
Lynne[email protected]Lynne commented on pull request FFmpeg/FFmpeg#226092026-03-31T11:34:52Z1026723: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22609#issuecomment-34496swscale/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/FFmpeg2026-03-31T11:33:05Z1026652: 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 macroArazIusubov[email protected]