无法在Windows Mobile 5(手机-> i-mate SPL)上播放3gp视频 [英] Not able to play 3gp video on windows Mobile 5 (Handset-->i-mate SPL)
问题描述
我编写了一个用于在Windows Mobile中播放媒体的应用程序.我使用了QuartzTypeLib.当我尝试将文件名传递给FilgraphManager的RenderFile方法时,它显示COMException.代码片段.如果我尝试将媒体格式更改为avi,则会显示BadImageFormat异常.
graph =(IGraphBuilder)new FilterGraph();
graph.RenderFile("http://dev.com//test.3gp");//异常在这里
videoWin =图形为IVideoWindow;
videoWin.put_Owner((IntPtr)panel1.Handle);
videoWin.put_WindowStyle(WindowStyle.Child | WindowStyle.ClipSiblings | WindowStyle.ClipChildren);
&b矩形rc = panel1.ClientRectangle;
videoWin.SetWindowPosition(0,0,rc.Right,rc.Bottom);
control.Run();
>
感谢您的信息!我建议在( Microsoft >
> Windows Phone论坛 > ; Windows Phone帮助 )论坛位于: ( http://social.microsoft.com/Forums/en-US/windowsmobilehelp/threads ). 希望会有所帮助.
祝您度过愉快的一天!
感谢&问候,
I wrote one application for playing media in windows mobile..I used QuartzTypeLib for the same.When I try to pass file name to RenderFile method of FilgraphManager it shows COMException..Anybdy has the solution for the same?Below is my code snippet.If i try to change the media format to avi it shows BadImageFormat Exception.
graph = (IGraphBuilder)new FilterGraph();
graph.RenderFile("http://dev.com//test.3gp");//Exception is here
videoWin = graph as IVideoWindow;
videoWin.put_Owner((IntPtr)panel1.Handle);
videoWin.put_WindowStyle(WindowStyle.Child | WindowStyle.ClipSiblings | WindowStyle.ClipChildren);
Rectangle rc = panel1.ClientRectangle;
videoWin.SetWindowPosition(0, 0, rc.Right, rc.Bottom);
control.Run();
Hello,
Thank you for your post! I would suggest creating a new thread for your question in the (Microsoft > Forums Home > Windows Phone Forums > Windows Phone Help ) forum located here: (http://social.microsoft.com/Forums/en-US/windowsmobilehelp/threads).
Hope that would be helpful.
Have a great day!
Thanks & regards,
这篇关于无法在Windows Mobile 5(手机-> i-mate SPL)上播放3gp视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!