Flash 视频流 - 寻求框架和慢/快动作

发布于 2024-10-14 15:46:46 字数 350 浏览 11 评论 0原文

我正在开发一个将 FLV 流式传输给播放器的项目 - 播放器需要能够找到准确的帧编号并在其上暂停。

最终目标是实现可变的播放速度 - 播放器将转到一帧,暂停,然后转到下一帧,暂停,等等。 (如果请求倒带,它也可以转到先前的帧) - 仅适用于电影的一部分(例如,当用户选择“慢动作”时)。

目前,RTMP 用于提供 Flash 视频内容。

  1. 是否可以查找包含 Flash 视频文件的任何帧,或仅查找关键帧?
  2. 是否可以通过 RTMP 请求电影的一部分 - 并将内容分解为本地帧并将每帧图像存储在内存中,覆盖视频窗口并逐帧显示内容?

对上述任何建议将不胜感激!

阿尔卡迪

I am working on a project where an FLV is streamed to a player - the player needs to be able to seek to exact frame numbers and pause on them.

The end goal is to achieve a variable playing speed - the player will go to a frame, pause, then go to the next frame, pause, and so forth. (it can also go to previous frames, if rewind is requested) - only for a part of the movie (e.g. when the user selects "slow-mo").

Currently, RTMP is used to serve the flash video content.

  1. Is it possible to seek to any frame with flash video files, or only key-frames?
  2. Is it possible to request a portion of a movie via RTMP - and break down the content into frames locally and store an image-per-frame in memory, overlaying the video window and displaying content frame-by-frame?

Any advice on the above will be appreciated!

Arkadi

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

往事随风而去 2024-10-21 15:46:46

可以仅在关键帧上进行搜索。
Adobe FMS 具有内置转码器,可以解码 GOP 内的帧并进行帧精确搜索,但这不是一个好主意,因为服务器负载非常高,结果很差。

因此,在启用了视频样本访问的 Flash 播放器上可以更轻松地完成此操作。

It is possible to seek only on key-frames.
Adobe FMS has builtin transcoder that makes possible to decode frames inside GOP and make frame-precise seeking, but it is not a good idea because of very high server load with bad results.

So easier to do it on flash player with enabled access to video samples.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文