Can Chrome Extension somehow run with CLI program like ffmpeg?

375 views
Skip to first unread message

Minh Vong

unread,
Jan 13, 2019, 11:46:48 PM1/13/19
to Chromium Extensions
Hi,

I'm new at developing chrome extension. I'm intended to run or integrate my extension with ffmpeg. Is it possible? Any document or link for reference please

Thanks and Best Regards,
Minh Vong

PhistucK

unread,
Jan 14, 2019, 1:29:10 AM1/14/19
to Minh Vong, Chromium Extensions
I guess you have a few options -
1. Compile FFMPEG to Web Assembly and use it within your extension. If it works, it will probably work slower than the native FFMPEG, but it has the benefit of not requiring any installation by the user, other than the extension itself.
2. Use native messaging to talk to an native application explicitly installed by the user (or using enterprise policy, if this is an enterprise extension) which calls any FFMPEG API/starts any FFMPEG process.
3. Create a local server (that the user will have to explicitly install) that does whatever you need with FFMPEG and let the extension talk to it using HTTP(S).

PhistucK


--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/c7c1cda1-44c8-4983-95f9-146ac5072385%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Minh Vong

unread,
Jan 14, 2019, 8:39:05 PM1/14/19
to Chromium Extensions, vongqu...@gmail.com
Hello PhistucK,

That's a great big help, thanks.

Vào 13:29:10 UTC+7 Thứ Hai, ngày 14 tháng 1 năm 2019, PhistucK đã viết:
I guess you have a few options -
1. Compile FFMPEG to Web Assembly and use it within your extension. If it works, it will probably work slower than the native FFMPEG, but it has the benefit of not requiring any installation by the user, other than the extension itself.
2. Use native messaging to talk to an native application explicitly installed by the user (or using enterprise policy, if this is an enterprise extension) which calls any FFMPEG API/starts any FFMPEG process.
3. Create a local server (that the user will have to explicitly install) that does whatever you need with FFMPEG and let the extension talk to it using HTTP(S).

PhistucK


On Mon, Jan 14, 2019 at 6:46 AM Minh Vong <vongqu...@gmail.com> wrote:
Hi,

I'm new at developing chrome extension. I'm intended to run or integrate my extension with ffmpeg. Is it possible? Any document or link for reference please

Thanks and Best Regards,
Minh Vong

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Reply all
Reply to author
Forward
0 new messages