最近需要在程序的界面上播放MPG格式的视频。本来以为很简单的。使用了
--mp1: TMediaPlayer; mp1.FileName:= 'D:\迅雷下载\yuman.mpg';
mp1.DeviceType:= dtAutoSelect;
mp1.Display:= pnl1;
mp1.Open;
mp1.DisplayRect:= pnl1.ClientRect;
mp1.Notify:= True;
mp1.Play;运行的时候,出现错误,或者在有的电脑上黑屏。
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 61FE53CE in module 'mciqtz32.dll'. Read of address FEEEFEEE'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------请使用过的朋友帮忙下。谢谢。
--mp1: TMediaPlayer; mp1.FileName:= 'D:\迅雷下载\yuman.mpg';
mp1.DeviceType:= dtAutoSelect;
mp1.Display:= pnl1;
mp1.Open;
mp1.DisplayRect:= pnl1.ClientRect;
mp1.Notify:= True;
mp1.Play;运行的时候,出现错误,或者在有的电脑上黑屏。
---------------------------
Debugger Exception Notification
---------------------------
Project Project1.exe raised exception class EAccessViolation with message 'Access violation at address 61FE53CE in module 'mciqtz32.dll'. Read of address FEEEFEEE'. Process stopped. Use Step or Run to continue.
---------------------------
OK Help
---------------------------请使用过的朋友帮忙下。谢谢。
解决方案 »
- [来者有分]急问题:用过MMTools的过来哦 其中MMOscope或者MMSpectrum在或者MMSpectrogram这些控件问题
- 多了一个三角,散分
- 初学者求助:关于DBGrid的两个问题
- 全文检索的实现方法?
- inno setup的问题
- 请明白人给讲解一下
- 如何把繁体的汉字、字符、数字等转成简体?
- 数据库软件发布的问题
- 我是菜鸟,问个简单的问题,请大家帮忙!!!
- delphi做B/S开发,该用webservice、intraweb、vcl for the web、internet等控件中哪个?
- delphi2010,MainMenu Autohotkey设为 maManual还是不行,怎么弄呀?
- 那位有reportmachine 6.5 中文帮助请发一个给我!先谢谢了![email protected]
只能先使用MPEG1的视屏代替。控件 TMediaPlayer 在播放MPEG1的格式,
未发现有问题。
其他情况,在TMediaPlayer控件播放完视屏后,Notify事件中 NotifyValue的值,不一定是nvSuccessful,不知道为什么。