線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:1213
推到 Plurk!
推到 Facebook!

TwindowsMediaPlayer and mp4

尚未結案
bigjing
一般會員


發表:4
回覆:4
積分:1
註冊:2005-01-24

發送簡訊給我
#1 引用回覆 回覆 發表時間:2005-04-05 18:47:24 IP:130.226.xxx.xxx 未訂閱
HI, I am trying to use TwinowsMediaPlayer in my program. and I find it is ok to play format such as: avi, mpg but when I try to play mp4 vedio, I get error: "Raised exception class EMCIDeviceError with message "Can't determine the device type from the given filename extension" :( But when I use Windows media player to watch this video, there is no problem. I have windows xp bcb 6.0 windows media player 10 in my computer // String fname ="C:\\MOVIE\\african_queen.mp4"; // get error when play this // String fname = "C:\\Music\\movie\\Birthday Girl.avi"; // this is ok String fname = "C:\\Music\\movie\\baby_doll.mpg"; // This is ok IWMPMediaPtr media = WindowsMediaPlayer1->mediaCollection->add(WideString(fname).c_bstr()); WindowsMediaPlayer1->URL = media->get_sourceURL(); WindowsMediaPlayer1->controls->play(); Could anyone help me on this:) Thanks
bigjing
一般會員


發表:4
回覆:4
積分:1
註冊:2005-01-24

發送簡訊給我
#2 引用回覆 回覆 發表時間:2005-04-05 18:53:35 IP:130.226.xxx.xxx 未訂閱
Do I need to locate the mp4 decode for the player by myself?
系統時間:2024-05-13 17:02:51
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!