home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Problem with g_Player
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lars Vinter" data-source="post: 103772" data-attributes="member: 29010"><p>Hi.</p><p></p><p>I have a strange scenario with g_Player. My code is:</p><p></p><p>[CODE] MyMMSURL = GetMMSURL(MyURL);</p><p></p><p> if (g_Player.Play(MyMMSURL))</p><p> {</p><p> GUIGraphicsContext.IsFullScreenVideo = true;</p><p> GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO);</p><p> g_Player.FullScreen = true;</p><p> }[/CODE]</p><p></p><p>On most of my mms-streams this works perfectly as expected, however on some very few it doesn't. In these cases the audio starts playing, but no video is seen and the green circle keeps rotating (wait symbol). When I look in the log-files, I can see that g_Player is never returned with a "player started" and thus the code never continues to the GUIGraphicsContext.... etc.</p><p></p><p>The _very_ strange thing is that it's always the same streams that give me this problem, but when I compare non-working mms-streams with working mms-streams in my normal Windows Media Player, it seems that they are excactly alike with respect to codec used, filetype, aspect ratio, bitrate etc.</p><p></p><p>Can anybody help me how to solve this? Or is there a workaround it - or maybe another function rather than Play() ?</p><p></p><p>I'm using 0.2.2 with latest SVN.</p><p></p><p>Thank you in advance.</p><p></p><p>EDIT: Just realised something: Could this have anything to do with the mms-stream is cached on the computer? I noticed that the stream I know there is a problem playing is "cached" when I play it with WMP, but the ones that I don't have a problem playing is streamed live in WMP. Any relevance???</p></blockquote><p></p>
[QUOTE="Lars Vinter, post: 103772, member: 29010"] Hi. I have a strange scenario with g_Player. My code is: [CODE] MyMMSURL = GetMMSURL(MyURL); if (g_Player.Play(MyMMSURL)) { GUIGraphicsContext.IsFullScreenVideo = true; GUIWindowManager.ActivateWindow((int)GUIWindow.Window.WINDOW_FULLSCREEN_VIDEO); g_Player.FullScreen = true; }[/CODE] On most of my mms-streams this works perfectly as expected, however on some very few it doesn't. In these cases the audio starts playing, but no video is seen and the green circle keeps rotating (wait symbol). When I look in the log-files, I can see that g_Player is never returned with a "player started" and thus the code never continues to the GUIGraphicsContext.... etc. The _very_ strange thing is that it's always the same streams that give me this problem, but when I compare non-working mms-streams with working mms-streams in my normal Windows Media Player, it seems that they are excactly alike with respect to codec used, filetype, aspect ratio, bitrate etc. Can anybody help me how to solve this? Or is there a workaround it - or maybe another function rather than Play() ? I'm using 0.2.2 with latest SVN. Thank you in advance. EDIT: Just realised something: Could this have anything to do with the mms-stream is cached on the computer? I noticed that the stream I know there is a problem playing is "cached" when I play it with WMP, but the ones that I don't have a problem playing is streamed live in WMP. Any relevance??? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Problem with g_Player
Contact us
RSS
Top
Bottom