1

I like to create the video player to show videos on my website. I made a video player in flash CS5 and actionscript3 to stream the videos on the website.

My videos are often flv or mp4 format. In the flv files I use flvmdi app to inject the metadata to that ,and for skipping the flv file I use xmoov-php (video player can pass the keyframe number from flv metadat to xmoov-php to create the new flv file from passed keyframe to the last flv keyframe, and return the flv video file on the php header for flash video player to show the video ).

but about mp4 format in Xmoov-php wiki it says: this file can't support the mp4 format to skiping...!!! Now I need skiping the mp4 files in my video player (I like my viewers select a part of video before buffering all video on their browser and play it ).

please give me a suggestion to skipping the mp4 file in the php or .net platform

4

1 回答 1

0

对于读取 mp4 元数据,您可以使用getid3

如需跳过,请参阅此页面帮助您

http://forum.videolan.org/viewtopic.php?p=345230#p345230

用 PHP 读取 mp4 文件

通过 php 打开 mp4 会导致在播放前完全下载

我读 了 Xmoov维基。

注意:xmoov-php 不支持播放 .mp4 文件。如果您希望允许播放 .mp4 文件,我们建议您使用 jwplayer 或 flowplayer 并安装任何必要的插件来播放 .mp4 文件。

这意味着 jwplayer 或 flowplayer 通过Byte-Range Requests支持它

于 2013-04-30T06:15:59.977 回答