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

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

问题描述

我不需要创建将利用ffmpeg进行合成,转换视频源的Web应用程序.我浏览了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天全站免登陆