适用于 Window 上 Safari 的最佳 HTML5 视频格式(或让 VP8 在 Windows 上的 Safari 中播放)
事情是这样的,通过一系列巨大的事件,我被困在 Windows 上使用 Safari 来播放 HTML5 视频。
我不能使用任何其他浏览器,Chrome 是不可能的,我必须使用 Safari,并且它必须在 Windows 上以实现硬件兼容性。
我发现的最好的格式是 h.264 Quicktime 文件,但我仍然遇到一些丢帧和撕裂的情况。
该视频以 1920x1080 分辨率播放,我尝试将采样降低到 720p,这会导致明显的质量损失,并且性能没有明显的提升。
我正在寻找以下两个之一作为解决方案: - Safari(与 Windows 兼容)的插件,可使用除 Quicktime 之外的其他内容来播放 HTML5 视频。我查了一下,WebM (VP8) 插件仅适用于 OSX。 - 任何可以在 Windows 上的 Quicktime 中解码速度更快的视频格式配置。我什至尝试过 ProRes,但没有成功,它甚至比 h.264 还慢。
Here's the deal, through a huge series of events, I am stuck using Safari on Windows for video playback in HTML5.
I can't use any other browser, Chrome is out of the question, I must use Safari and it has to be on Windows for hardware compatibility.
The best format I've found is a h.264 Quicktime file, but I'm still getting some frames dropped and a bit of tearing.
The video is being played in 1920x1080 resolution and I have tried down-sampling to 720p, which causes noticeable quality loss and no noticeable gain in performance.
I'm looking for one of the following two as a solution:
- A plugin for Safari (that's Windows compatible) to use something other than Quicktime for HTML5 video. I've looked and the WebM (VP8) plugin is only for OSX.
- Any video format configuration that will decode faster in Quicktime on Windows. I've even tried ProRes to no avail, it's even slower than h.264.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更新...
Ogg Theora 可以在 Quicktime 中使用 XiphQT 播放,但我在尝试播放各种 Ogg 视频格式时遇到了很多问题。
对于h.264,如果您使用x264(例如:Handbrake)对视频进行转码/编码,则可以在高级模式下设置以下内容:
这些参数:
其他选项我不太确定,并且尚未找到其对解码影响的确凿证据,更不用说他们有没有对解码的影响。例如,“me”设置用于转码过程中的子像素强度,它会对视频质量产生影响,但了解帧如何变化,它可能会对解码过程产生影响(在某些视频中)。这是我不知道的事情,但我这么说是为了更好地理解我来自哪里。
有关这些设置的更多信息,请访问:
http://mewiki.project357.com/wiki/X264_Settings
Update...
Ogg Theora can be played in Quicktime with XiphQT, but I've ran into many issues when trying to playback various Ogg video formats.
With h.264, if you are using x264 (eg: Handbrake) to transcode/encode video, the following can be set in advanced mode:
These parameters:
The other options I am not as sure of and have yet to find solid evidence on their impact towards decoding, let alone if they have any impact on decoding. For example, the "me" setting is for subpixel strength in the transcoding process, it has an effect on video quality, but understanding how frames change, it could have an impact (in some videos) on the decoding process. That is something I do not know, but am stating for a better understanding of where I am coming from.
More about these settings can be found here:
http://mewiki.project357.com/wiki/X264_Settings