- Thread starter
- #11
If compiling doesn't scare you Spragleknas, you could change the method "protected void PlayClip(Clip item)" to use g_Player.PlayVideoStream(url, item.Title); instead of PlayListplayer and get OSD. Using this seems a little more buggy than non-osd player however.
Ah, I haven't tried that player. Will give it a try next time I have time to look at this Guess I could just add an option to the settings to chose which player to use.
BTW, I just got write access to the svn repos, will upload the source there tomorrow.
Terje
EDIT: The source is up on the plugin svn repos now. I tried using the g_player to play the streams, but it doesn't work for me. I checked the log, and the following lines might give a clue as to why:
Code:
2008-03-25 22:32:34.519400 [Info.][MPMain]: VideoPlayer:play mms://straumOD.nrk.no/d/Amigo/2007-06-09/Amigo_09_06_07_1000_260910_20070609_183000.wmv
2008-03-25 22:32:34.552400 [Info.][MPMain]: vmr9:ctor()
2008-03-25 22:32:34.553400 [Info.][MPMain]: vmr9:ctor() done:True
2008-03-25 22:32:34.553400 [Info.][MPMain]: VideoPlayerVMR9: Enabling DX9 exclusive mode
2008-03-25 22:32:34.553400 [Info.][MPMain]: Main: DX exclusive mode: True
2008-03-25 22:32:34.553400 [Info.][MPMain]: Main: Goto fullscreen: True
2008-03-25 22:32:34.554400 [Debug][MPMain]: D3D: Switch to exclusive mode - Playing media: False
2008-03-25 22:32:34.555400 [Info.][MPMain]: D3D: BuildPresentParamsFromSettings using 60Hz as RefreshRate
2008-03-25 22:32:35.034400 [Debug][MPMain]: D3D: Switched to exclusive mode successfully
2008-03-25 22:32:35.035400 [Info.][MPMain]: fonts.SetDevice()
2008-03-25 22:32:35.102400 [Info.][MPMain]: vmr9:addvmr9
2008-03-25 22:32:35.102400 [Info.][MPMain]: EVR-Flag is set to False
2008-03-25 22:32:35.138400 [Info.][MPMain]: VMR9Helper: enabled YUV mixing - No DX Error
2008-03-25 22:32:35.138400 [Info.][MPMain]: VMR9: now active
2008-03-25 22:32:35.139400 [Info.][MPMain]: VMR9Helper:Vmr9 Added
2008-03-25 22:32:35.325400 [Info.][MPMain]: added filter:WMVideo Decoder DMO to graph
2008-03-25 22:32:35.341400 [Info.][MPMain]: added filter:WMAudio Decoder DMO to graph
2008-03-25 22:32:35.347400 [Info.][MPMain]: add filter:Default DirectSound Device to graph clock:False
2008-03-25 22:32:35.347400 [Info.][MPMain]: DirectShowUtils: found renderer - Default DirectSound Device
2008-03-25 22:32:35.355400 [Info.][MPMain]: DirectShowUtils: Passed removing audio renderer
2008-03-25 22:32:35.355400 [Info.][MPMain]: DirectShowUtils: Passed finding Audio Renderer
2008-03-25 22:32:35.356400 [Info.][MPMain]: added filter:Default DirectSound Device to graph
2008-03-25 22:32:35.363400 [Info.][MPMain]: added filter:DirectVobSub to graph
2008-03-25 22:32:35.364400 [Info.][MPMain]: VideoPlayerVMR9: Found WMAudio Decoder DMO
2008-03-25 22:32:35.364400 [Info.][MPMain]: VideoPlayerVMR9: WMAudio Decoder now set for > 2 audio channels
2008-03-25 22:32:35.365400 [Info.][MPMain]: VideoPlayer9: Failed to render file -> vmr9
2008-03-25 22:32:35.365400 [Info.][MPMain]: player:ended