NRK Browser (1 Viewer)

orz

Portal Member
March 22, 2008
11
7
Home Country
Norway Norway
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
 

Vattenmelon

Portal Pro
June 1, 2007
159
22
Home Country
Norway Norway
The vmr9 renderer is somewhat strange. E.g. it only works for me when I use MP in fullscreen on my HTPC, not while testing in windowed mode on my laptop. Maybe it is related to hardware and videodrivers to. Really have no clue but after reading the forums it seems like the "vmr9 for webstreams" options works for some people and not for others.
 

esas

Portal Pro
November 14, 2006
160
27
Home Country
Norway Norway
Thanks for this great plugin. It has quickly become one of my favourites.

However, I'm missing one feature; When using the arrow keys to step forward or backward you can't see the timeline in top of the screen as you usually do watching movies in MP. Nor can you see the amount of time you're skipping if you hit the arrow keys several times.
 

samundsen

Portal Pro
December 30, 2006
119
4
Houston, TX
Home Country
United States of America United States of America
Agree with the last post, this plugin is awesome. I live in the US, and are using this plugin all the time now to watch NRK. I do miss some kind of on-screen-display when attempting to skip/pause/fast-forward etc.

I also wish NRK would organize their Nett-TV archive better..... It's quite a mess the way it is now.

Is there a way to select Live/Direkte broadcasts from the plugin? I haven't found it anywhere, but I figured it should be possible since there is a section for that on the Nett-TV web site.
 

orz

Portal Member
March 22, 2008
11
7
Home Country
Norway Norway
I notice that many people miss the on-screen-display (OSD) while playing back a clip. This is true both for adjusting aspect ratio etc, as well as seeing a timeline while navigating in the clip.

The reason this is missing is that I use the playlistplayer instead of the g_player to playback the content. The g_player provides all this osd niceness for free, but unfortunately doesn't work with web streams, at least not on my box.

The source is available on svn now, so if anyone would like to make the OSD work (either by making g_player work with web streams or otherwise) feel free to do so :)

I'll have another look at the plugin this weekend, I have some ideas for incorporating some live streams for at least NRK1 and NRK2 ;)
 

esas

Portal Pro
November 14, 2006
160
27
Home Country
Norway Norway
I just downloaded the WindowsMediaPlayerOSD plugin and it works perfectly. I now have the standard timeline while navigating in a clip..
 

PetterHJ

Portal Member
December 18, 2005
8
1
37
Oslo
Home Country
Norway Norway
Thank you!! I was in fact browsing through the plugins folders in search for this. I was envying those who could download a plugin for their broadcasters. Then I came to the last page and found this! Nice :)

A couple of suggestions: Instead of having the show description behind the show name in the list, it would be cool if it could be placed in an info box to the left of the list. Maybe it also would be possible to download the logo-images associated with each show from the NRK site as well, and put it in the same info box?

Another, not so important thing, coul be to add an option in the plugin preferences where you can customize the list name of the plugin? (so that I could call it "NRK Nett-TV" in my list instead of NRK browser. ;)

Anyways, thank you! This is really great.
 

Users who are viewing this thread

Top Bottom