关于mpeg文件播放时的Seek问题

yaoer 2000-03-05 09:42:00
我在进行多媒体编程时,
将光盘文件DAT动态转换成MPG文件,
发现播放时,SEEK到文件的靠前面一段时,SEEK得很快,
但SEEK到较后面一段时,响应很慢(一般要等十几秒)。
感到非常不解,难道MPG文件有长度的限制。
我用的是ActiveMovie技术。

...全文
274 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
RedBrier 2000-05-23
  • 打赏
  • 举报
回复
If u seek with specified time ,

I think u should record the TOC of MPG file at first,or u can calculate
the location in MPG file ,possiblely according bitrate,playback time per
frame,or system refence clock;

8,303

社区成员

发帖
与我相关
我的任务
社区描述
游戏开发相关内容讨论专区
社区管理员
  • 游戏开发
  • 呆呆敲代码的小Y
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧