在浏览器中运行 ffmpeg - 选项? [英] Running ffmpeg in browser - options?

查看:24
本文介绍了在浏览器中运行 ffmpeg - 选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不需要创建一个将利用 ffmpeg 进行合成、转换视频源的网络应用程序.我遇到了 videoConverter.js.https://bgrins.github.io/videoconverter.js/

I need t create a web app that will utilize ffmpeg for compositing , converting video sources. I cam across videoConverter.js. https://bgrins.github.io/videoconverter.js/

有谁知道其他选择吗?我可以使用 C# 解决方案吗?

Does anyone know of any other options? Can I use a C# solution?

推荐答案

您将很难直接在浏览器中运行类似的东西 - 即使这样做也需要大量代码.我建议构建一个位于服务器上的小型 Web 应用程序,该应用程序将媒体文件作为参数以及您想要传递的任何配置选项,并让 ffmpeg 在服务器上完成繁重的工作,而无需重新创建然后返回修改后的媒体文件.我做过类似的事情,效果很好,最终是一个非常小的轻量级应用程序.

You are going to have a tough time running something like that directly in the browser - and even if you did it would require a lot of code. I would suggest building a small web application that lives on a server that will take a media file as a parameter along with any configuration options that you want to pass along with it and let ffmpeg do the hard work on the server without having to recreate the wheel then return the modified media file. I've done something similar and it works great and in the end is a very small, lightweight application.

这篇关于在浏览器中运行 ffmpeg - 选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆