NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT v
« Previous 1 … 68 69 70 71 72 … 115 Next »
Media MVP software client

 
  • 0 Vote(s) - 0 Average
Media MVP software client
TivoGuy
Offline

Junior Member

Posts: 18
Threads: 0
Joined: Feb 2006
#11
2006-02-11, 03:07 PM (This post was last modified: 2006-02-11, 03:14 PM by TivoGuy.)
Check out the mvpviewer on source forge.

http://sourceforge.net/project/showfiles..._id=104568

It is written in java, but you can look at the source code, so it can be ported if you want.

Also, the MVP just uses a modified RFB protocol (like a VNC client), so here are a couple of links to the protocols:

MediaMVP Protocol
http://www.rst38.org.uk/vdr/mediamvp/protocol.html

RFB Protocol
http://www.realvnc.com/docs/rfbproto.pdf...0protocol'
SFX Group
Offline

Senior Member

Posts: 636
Threads: 128
Joined: Dec 2004
#12
2006-02-11, 04:55 PM
I am unable to download this at the moment, will try again later.
Many Thanks
Ashley

[SIZE="2"]© Copyright 2015 - www.ashleygriffin.ca[/SIZE]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#13
2006-02-13, 12:34 AM
Here try this: http://forums.nextpvr.com/showthread.php?t=13551

I've been playing (unsuccessfully).
TivoGuy
Offline

Junior Member

Posts: 18
Threads: 0
Joined: Feb 2006
#14
2006-02-13, 08:25 PM
In order to get the screen to react to key presses, I had to send the key code in the 4th byte of the key event message:

Code:
void writeKeyEvent(int keysym, boolean down) {
    debug.println(Integer.toHexString(keysym));
    eventBuf[eventBufLen++] = (byte) KeyboardEvent;
    eventBuf[eventBufLen++] = (byte) (down ? 1 : 0);
    eventBuf[eventBufLen++] = (byte) 0;
    eventBuf[eventBufLen++] = (byte) [color=Red]keysym[/color];
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 24) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 16) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 8) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym) & 0xff);
    debug.println(new String(eventBuf));
  }
SFX Group
Offline

Senior Member

Posts: 636
Threads: 128
Joined: Dec 2004
#15
2006-02-16, 08:41 AM
Hi

I am no programmer (well i was in 1988 or so but not now), if someone can come up with some working code i'm willing to pay for it...
Many Thanks
Ashley

[SIZE="2"]© Copyright 2015 - www.ashleygriffin.ca[/SIZE]
jeddi
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Feb 2006
#16
2006-02-23, 04:15 AM
Thanks for the code. After compiling with these changes, I can see the GB-PVR main menu, and I can use the Up and Down arrow keys to move up and down in the main menu. However, when I hit the Enter key, nothing happens. I was expecting this to select the currently highlighted menu option, as it would do on a native GB-PVR GUI.

Did you get the Enter key, or another way of selecting the highlighted menu item, to work?
TivoGuy Wrote:In order to get the screen to react to key presses, I had to send the key code in the 4th byte of the key event message:

Code:
void writeKeyEvent(int keysym, boolean down) {
    debug.println(Integer.toHexString(keysym));
    eventBuf[eventBufLen++] = (byte) KeyboardEvent;
    eventBuf[eventBufLen++] = (byte) (down ? 1 : 0);
    eventBuf[eventBufLen++] = (byte) 0;
    eventBuf[eventBufLen++] = (byte) [color=Red]keysym[/color];
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 24) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 16) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym >> 8) & 0xff);
    eventBuf[eventBufLen++] = (byte) ( (keysym) & 0xff);
    debug.println(new String(eventBuf));
  }
TivoGuy
Offline

Junior Member

Posts: 18
Threads: 0
Joined: Feb 2006
#17
2006-02-23, 02:23 PM
By changing the code above, the enter key works for me. I can cursor up or down to choose a menu item, and then enter takes me into that screen. I don't think I changed anything else. I'm attaching my rfbproto.java file, in case you want to try compiling with it.

The mvpviewer code currently only handles the GUI side of the MVP. I'm working on the MEDIA side right now. When I have something that works halfway decent, I'll post it here.
jeddi
Offline

Junior Member

Posts: 10
Threads: 3
Joined: Feb 2006
#18
2006-02-24, 04:22 AM
I could not open the downloaded zip file. I get this message when I try to open it: "The Compressed (zipped) folder is invalid or corrupt." Is it possible for you to email the file to me? Either way, I'll see if I can have a second go at it this weekend.

I am beginning to suspect that maybe it is possible that the Enter key did work, in principle, but my client's screen was not refreshing with the new screen for some reason.

Thanks.

TivoGuy Wrote:By changing the code above, the enter key works for me. I can cursor up or down to choose a menu item, and then enter takes me into that screen. I don't think I changed anything else. I'm attaching my rfbproto.java file, in case you want to try compiling with it.

The mvpviewer code currently only handles the GUI side of the MVP. I'm working on the MEDIA side right now. When I have something that works halfway decent, I'll post it here.
TivoGuy
Offline

Junior Member

Posts: 18
Threads: 0
Joined: Feb 2006
#19
2006-03-15, 12:32 AM
I've been working on the media side of the MVP viewer, and I can stream video, MP3's, and net radio right now. There are still a LOT of bugs with the program, but it's lightyears ahead of where it was when I started.

I'm not really a programmer. I wrote the program in VB6 because that seemed the easiest language to learn, and there is a lot of information about it out on the internet. I also had to create a small DLL in C++ to handle the YUV to RGB conversions (VB was just too slow).

The majority of the MVP gui side of the program was ported from the MvpViewer written in java by Ian Cass of the MVPServer sourceforge project The protocol for the gui and media sides came from the same project. I only have certain functions of the media side implemented, currently, so things like fast forward and rewind are not working.

The media side uses mplayer to do all of the decoding of the video and audio. When a request for video or audio is received from the server, mplayer is instructed to start streaming from the local host on port 4444. The viewer program has a simple http server that listens for this request, and then requests chunks of the file from the MVP server to send to mplayer. Then, mplayer renders the video inside of the viewer window.

I've only tested the program from a machine local to the GBPVR MVP server, and over a 100 Mbps LAN. I don't think wireless would work very well, now.

For those who want to check out a pre-beta version, I've included a link. Unzip the file to a folder and run the setup.exe program. There is a config.txt file in the install directory that tells the program what the server IP address and ports are.
The keyboard commands are (arrows) up, down, left, right, m (main menu), s (stop a video or mp3). If the program crashes, check your task manager and make sure that mplayer has shut down. Kill it if it hasn't. For net radio, increase your buffer size (200 kb is what I use).

This first version should be used for testing only. When it crashes (and it will), it usually crashes the MVP server, too.

I'm still going to work on the program, but I'll post the source code as soon as I add comments. That way, others (with more programming experience) can work on it if they want.

Download

I've added some screenshots below. I hope they aren't too big.

[Image: shot1.jpg]

[Image: shot2.jpg]

[Image: shot3.jpg]

[Image: shot4.jpg]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#20
2006-03-15, 02:06 AM
Whoo hoo, I was hoping some one could do this.

I'll give it a try tonight!!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR Settings keep adding Clients in Client Tab jksmurf 10 10,049 2016-10-09, 06:14 PM
Last Post: sub
  Media MVP Question -- Restrict Guide Channels msmith8228 5 4,188 2012-07-31, 09:43 PM
Last Post: mvallevand
  Want to start using a NMT or Hauppauge Media device. Suggestions? hexibot43 9 4,208 2010-06-12, 05:18 AM
Last Post: hexibot43
  Argosy HV372T Mobile Video HDD Media Player SLR_65 8 6,547 2010-03-25, 04:31 AM
Last Post: mvallevand
  Client connectivity to PC monitor with no PC? txinga 4 2,228 2010-01-14, 04:09 PM
Last Post: mvallevand
  Hisense 1080p Media Player CureForSanity 1 2,537 2009-11-06, 01:47 AM
Last Post: mvallevand
  Supported Media Extenders TimCoe 3 2,519 2009-09-17, 11:47 PM
Last Post: TimCoe
  UBUNTU as GBPVR NMT client cc1091 6 4,266 2009-08-30, 04:46 PM
Last Post: martint123
  MediaMVP, or popcorn hour with gbpvr or other media extenders. Andrewh 11 7,934 2009-07-20, 11:25 PM
Last Post: mvallevand
  Media MVP intermittant problems, any ideas? mnemonic76 0 1,327 2009-01-11, 11:53 PM
Last Post: mnemonic76

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode