MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

Reply
 
Thread Tools Display Modes
Old 2007-01-12, 02:19   #1 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 28
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Question Problem with g_Player

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;
            }
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???

Last edited by Lars Vinter; 2007-01-12 at 02:34.
Lars Vinter is offline   Reply With Quote
Old 2007-01-12, 02:58   #2 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 28
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Just found out that it actually WAS that.

I went into Windows Media Player and deleted cache and went into Internet Explorer and deleted temporary internet files. And now the very MMS-link that wouldn't work before, now works!

Obviously, this is not a real solution, but rather a workaround. So now my question is: Is this a problem of the g_Player-routine, that it can't play a stream that has been cached by WMP - or is a problem that lies with Microsoft?

Lars
Lars Vinter is offline   Reply With Quote
Reply

Bookmarks

Tags
gplayer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio CD + MP3 via SP/DIF Digital Out? (_NOT_ AC3 passthrough problem) codeeater Installation, configuration support 2 2006-12-13 15:04
Problem with sound after stopping dvd icemanguru General Support 1 2006-11-26 20:56
Mediaportal problem starting TV after zango spyware chrismalone MediaPortal 1 Talk 6 2006-06-02 10:51
Stuttering DVB-C radio - soundcard problem BugsBunny General Support 0 2006-05-05 22:10
Problem with TV-channel that got dual audiotrack (default/AC-3) bigal 0.2.0.0 Release Candidate 2 CVS Bugs 0 2006-03-02 14:02


All times are GMT +1. The time now is 05:39.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden