Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Rémi Denis-Courmont via ffmpeg-devel" <ffmpeg-devel@ffmpeg.org>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: "Harish Raja Selvan" <harish.rajaselvan@multicorewareinc.com>,
	"Rémi Denis-Courmont" <remi@remlab.net>
Subject: [FFmpeg-devel] Re: [GASPP PATCH 1/2] Pass "-machine" options through to armasm
Date: Tue, 20 Jan 2026 13:32:37 +0200
Message-ID: <3C1B3820-C4C2-4CA5-B1A9-9AB15EE5A2A4@remlab.net> (raw)
In-Reply-To: <MA5P287MB46256E7A5D82CCAD5AFEB0B09E89A@MA5P287MB4625.INDP287.PROD.OUTLOOK.COM>

Hi,

Thanks for getting back to us. See below.

Le 20 janvier 2026 09:26:56 GMT+02:00, Harish Raja Selvan via ffmpeg-devel <ffmpeg-devel@ffmpeg.org> a écrit :
>Hi Martin and Rémi,
>I wanted to add a bit more context on the practical use case.
>There are several large and widely used Windows applications especially in enterprise and creator workflows that remain x64-only and rely heavily on FFmpeg at runtime. Examples include Feishu (Lark),
> Jianying / CapCut, and DingTalk, which are used at very large scale.
>Fully porting these applications to native ARM64 is a significant engineering effort and is taking considerable time.

Lark is already running on iOS and Android, so I doubt that it'd be x86-only. ByteDance is a 6-digit staff company, surely it can spare a couple of engineers to make a port for Windows on Arm64.

On the other hand, there still is no credible plan how we would make a proper Arm64EC port of FFmpeg. Recall that the current patch only fixes the C code, but it left broken:
- the assembler code, which doesn't conform to the Arm64EC ABI,
- the binary interface, which assumes an Arm64 caller rather than x86 (breaking at least CPU flags).

Overall I doubt that it would be easier to port FFmpeg to Arm64EC *properly* than to port Feishu to Arm64...

Ditto CapCut by the same company and which also has an Harmony OS port that would require Arm support too.

And pretty much the same with DingTalk, albeit by another large Chinese tech company.

> On Windows ARM devices, FFmpeg becomes a major performance bottleneck under x64 emulation.

We all get that, but the elephant in the room that you have not addressed once in the past months is how to make FFmpeg actually support Arm64EC. Currently it compiles, but that's just the easy 10% of the complete job.

Do you have a plan to address the outstanding shortcomings? What would the actual performance look like in such case, seen as it would disable most or all of the assembler optimisations?

Otherwise we are talking in pure hypotheticals here.

>If there are any maintenance concerns, technical challenges, or areas where our help would be useful, we would be glad to support and contribute. Having ARM64EC builds of FFmpeg is important for enabling these real-world use cases.

See above.

Br,
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org

  reply	other threads:[~2026-01-20 11:33 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-03 12:49 [FFmpeg-devel] " Martin Storsjö via ffmpeg-devel
2025-10-03 12:49 ` [FFmpeg-devel] [GASPP PATCH 2/2] Filter out the cl.exe option -arm64EC from armasm Martin Storsjö via ffmpeg-devel
2025-10-09 12:11 ` [FFmpeg-devel] Re: [GASPP PATCH 1/2] Pass "-machine" options through to armasm Martin Storsjö via ffmpeg-devel
2025-10-10 11:11   ` Harish Raja Selvan via ffmpeg-devel
2025-10-10 13:06     ` Martin Storsjö via ffmpeg-devel
2025-11-07  3:51       ` Harish Raja Selvan via ffmpeg-devel
2025-11-07  8:56         ` Martin Storsjö via ffmpeg-devel
2025-11-17  7:27           ` Harish Raja Selvan via ffmpeg-devel
2026-01-20  7:26             ` Harish Raja Selvan via ffmpeg-devel
2026-01-20 11:32               ` Rémi Denis-Courmont via ffmpeg-devel [this message]
2026-01-20 13:34                 ` Martin Storsjö via ffmpeg-devel
2026-01-20 14:33                   ` Rémi Denis-Courmont via ffmpeg-devel
2026-01-27  7:42                     ` Harish Raja Selvan via ffmpeg-devel
2026-01-27 15:34                       ` Rémi Denis-Courmont via ffmpeg-devel
2025-11-07  9:37         ` Rémi Denis-Courmont via ffmpeg-devel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C1B3820-C4C2-4CA5-B1A9-9AB15EE5A2A4@remlab.net \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=harish.rajaselvan@multicorewareinc.com \
    --cc=remi@remlab.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git