问题描述
我已经在这里工作了好几个小时,是时候要求一些帮助了。
I've been at this for hours, it's time to ask for a little help.
我需要知道JavaScript中加载视频的帧速率/ HTML我试图避免VLC插件或ffmpeg。
I need to know the frame rate of a video on load in JavaScript/HTML and I'm trying to avoid VLC plug-in or ffmpeg.
浏览器读取视频元数据以检查预期的帧速率,那么我该怎么做呢还有?我读了很多网上的东西,没有找到任何有用的东西,但我不相信这是不可行的。
The browser reads the video metadata to check the intended frame rate, so how can I do this as well? I read a lot of online things and didn't find anything useful but I can't believe that this is unfeasible.
我正在寻找但适用于视频。应该很简单吧?
I'm looking for this but for videos. Should be simple, right?
注意:我正在使用Electron构建一个桌面应用程序,因此文件访问不是问题。
Note: I'm building a desktop app with Electron so file access isn't a problem.
推荐答案
找到。 a
这篇关于JavaScript - 读取视频文件的元数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!