是否可以反向播放HTML5视频? [英] Is it possible to play HTML5 video in reverse?

查看:428
本文介绍了是否可以反向播放HTML5视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTML5 < video> 标记是反向播放视频,或者我必须下载2个视频(前进和后退字幕)。任何避免用户下载2个视频的解决方案?解析方案

没有进入HTML5或Javascript,许多视频格式都是流媒体格式,旨在向前播放。反向播放需要解码整个流,将每个原始帧存储在磁盘上,以避免破坏内存,然后渲染帧。至少有一个人实际上已经使用 mplayer


Is HTML5 <video> tag be play video in reverse, or I have to download 2 videos (forward and backword play). Any solution that avoid user from downloading 2 videos?

解决方案

Without even going into HTML5 or Javascript, many video formats are streaming formats that are designed to be played forward. Playing it backwards would require decoding the whole stream, storing each raw frame on the disk to avoid clobbering memory, then rendering the frames backwards.

At least one person actually tried that using mplayer, though, so it can be done, at least in principle.

这篇关于是否可以反向播放HTML5视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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