请问 如何获得TMediaPlayer当前正在播放的帧?

BladeW 2010-04-26 09:04:33
小弟刚刚开始学习 C++ Builder,遇到一个问题:
在使用TMediaPlayer控件播放avi文件时,请问 如何获得当前正在播放的 帧?
希望各位大牛不吝赐教,小弟在此谢过!!!
...全文
112 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
BladeW 2010-04-28
  • 打赏
  • 举报
回复
多谢各位帮忙了,结帖散分......
YeBinYe 2010-04-27
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 songhtao 的回复:]

Specifies the number of frames moved forward or backward.

__property int Frames = {read=FFrames, write=FFrames, nodefault};

Description

Frames specifies the number of frames the Step method ……
[/Quote]
Specifies the number of frames moved forward or backward.
通过设置Frame可以实现前一帧和后一帧
__property int Frames = {read=FFrames, write=FFrames};

我不懂电脑 2010-04-27
  • 打赏
  • 举报
回复
Specifies the number of frames moved forward or backward.

__property int Frames = {read=FFrames, write=FFrames, nodefault};

Description

Frames specifies the number of frames the Step method steps forward or the Back method steps backward. Frames defaults to ten percent of the length of the currently loaded medium, which is specified by the Length property.

The definition of a frame varies by multimedia device. For display media, a frame is one still image.
柯本 2010-04-27
  • 打赏
  • 举报
回复
没用过Media Player得到帧,相信jiangsheng老大应该没错的
自已用DX的Filter写可以得到当前的帧.可以参考我以前回过的:
http://topic.csdn.net/t/20050423/10/3960312.html
中directx的方法
蒋晟 2010-04-27
  • 打赏
  • 举报
回复
Media Player没有提供这样的接口

604

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder VCL组件使用和开发
社区管理员
  • VCL组件使用和开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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