PDA

View Full Version : GMediaplayer = Windows Mediaplayer + Girder support



Ron
October 13th, 2002, 12:55 PM
I've released GMediaplayer 0.1. This is the windows media player with remote control support, thru Girder. The .gir file is included. This would be the time to request features for the media player, and remote control support.

Ron
October 13th, 2002, 12:55 PM
Points 1 to 5 I agree with and are planned.

Point 6 might be hard,.. but worth a look

24 kbytes media player, now that is neat ain't it :) This was a 1 hour hack so don't expect to much functionality yet.



[Edited by RonB on 04-20-2001 at 10:44 PM GMT]

Ron
October 13th, 2002, 12:55 PM
GMP 0.2 has been released.

Features

Playlist support
Extended Remote support ( get the wmcopydata plugin)
More menus
lotsa stuff


Bugs :(
When in fullscreen mode the Media player component hangs and I'm totally puzzled why... are there people out here that have experience with this beast ???

Ron

Ron
October 13th, 2002, 12:55 PM
Could you guys confirm this problem, or if you don't have it. Please also include the version of the media player ( right click the GMP window ) Thanks!!

Ron
October 13th, 2002, 12:55 PM
Aaaah Yes i get that too! Thanks for the report,

Btw,.. this board is a little flaky on this server,.. just press reload a few times.. it usually will work. If not let it rest, for some reason it will work later,.. :(((

I seem to have failed in explaining the hang bug that I experienced, I sat to long programing yesterday. I'll explain it right this time


Open file
Play
Switch to fullscreen mode
PRESS ANY KEY ( this crashes it for me )


Could anyone try this ?

Regards,
Ron

Ron
October 13th, 2002, 12:55 PM
I released 0.3, this one fixes some bugs, including the one reported by Mike. Also I worked around the fullscreen bug, and added a lot of options. :D

Ron

Ron
October 13th, 2002, 12:55 PM
What version are you using ? And the fastforward doesn't work sometimes because of limitations of the mediaplayer, check if the original media player user the FF with that file you are playing..... There is a workaround available already. Checkout the remote command there is a skip +10/-10 seconds function. I will include this in the menus of GMP the next time.

Ron
October 13th, 2002, 12:55 PM
I have not been able to recreate the drag and drop crash. Could you describe when it happends ?

Ron
October 13th, 2002, 12:55 PM
3,.. hmmm doesn't ring a bell,...but I'm gonna try and find it :) Thanks for the report.

Ron

Ron
October 13th, 2002, 12:55 PM
Well i've played with it a little more and added some more error checking and stuff. The problem is it doesn't crash under win2k, so i don't see the error.

On the bright side of things i released the gmp under the GPL, this means that the source code is there and you can contribute to it!!!

Ron

Ron
October 13th, 2002, 12:55 PM
I'm getting tired of this media player component. It is totally buggy :(((

Ron
October 13th, 2002, 12:55 PM
I've put together a REALLY basic media player almost without any code of mine,.. if someone could test the drag and drop that would be great.

eXperimental Media player (http://www.stack.nl/~stilgar/windoze/files/xmp.zip)



[Edited by RonB on 04-24-2001 at 01:52 PM GMT]

Ron
October 13th, 2002, 12:55 PM
So you dropped and dropped and dropped,.. and it kept working and working and working ?

pfff,.. back to the drawing board :D

Ron
October 13th, 2002, 12:55 PM
And there it is

GMediaplayer 0.4b (http://www.stack.nl/~stilgar/windoze/files/gmediaplayer04b.zip)

if this fixed the problem i'm gonna take a loooong brake :D

Ron
October 13th, 2002, 12:55 PM
Yahoo,... Yes,,... man this was a subtle error on my part.... MFC did a hidden free on a variable that i thought I had to free. Well,.. its fixed now,.. I kicked the MFC away in that routine :D Thanks for the patience.

Ron

Ron
October 13th, 2002, 12:55 PM
I'll add this as an feature for the next version :)

maybe moving the mouse to the right and in the middle will help for now.

Ron

Younes
October 13th, 2002, 12:55 PM
There are some bugs I came to:
1. Drag and drop causes hang up
2. Fast forward and rewind doesn't work

-still testing

Regards
Younes

Younes
October 13th, 2002, 12:55 PM
GMP 0.3 and WMP 6.4.07.1112, skipping works fine I thought there should be something like picture search:)
What about drag and drop?


RonB wrote:
What version are you using ? And the fastforward doesn't work sometimes because of limitations of the mediaplayer, check if the original media player user the FF with that file you are playing..... There is a workaround available already. Checkout the remote command there is a skip +10/-10 seconds function. I will include this in the menus of GMP the next time.

mterlouw
October 13th, 2002, 12:55 PM
My initial reaction to this is that it's great! WMP pisses me off that it takes so long to load up. GMP loads in no time. The only thing I use WMP for is viewing movies I DL from the net so I don't need to see HTML in the media player, nor do I need it to search my HDD for media files. I don't know what your intentions are with Girder Media Player, but if you are looking to make it into a full-featured app then I have a couple suggestions.

1. Make all commands available in the menus.
2. Add a Close File command.
3. In addition to view normal size and view fullscreen, make a view doublesize option.
4. Add file types to the Open File dialog box (the drop-down list with filters for the directory listing ie. *.mpg, *.mpeg, *.avi, etc.)
5. Add playlist support. You could expand on this one with features like shuffle, repeat, and CDDB lookup. That also brings up the idea of having GMP auto-launch when an audio disk (or VCD for that matter) is inserted into the CD-ROM drive.
6. Add video settings controls for things like brightness, contrast, tint, etc.

Of course some of these features you may only want to add if you are making a full media player. Others should be rather simple to implement and would be nice to have regardless. Anyway nice work on this.

mterlouw
October 13th, 2002, 12:55 PM
Yeah, I wasn't sure if that last one you had to manually code or if it was part of the API.

Mike

mterlouw
October 13th, 2002, 12:55 PM
No I don't get any error when running in fullscreen. The About box says I'm running Windows Media Player Control Version 6.4.07.1112. I do get an error if I don't have anything in the playlist, but rather I open a file from the file menu. When the file finishes playing, I get a message that says "Gmediaplayer has caused an error in GMEDIAPLAYER.EXE. Gmediaplayer will now close." and then it crashes. If there are any files in the playlist (even if I'm watching the last one) the playback ends normally (either proceeding to the next file in the playlist or stopping completely if it's the last file). Does this happen to you?

Mike

mterlouw
October 13th, 2002, 12:55 PM
Ok something bad just happend when I tried that last post :D Let me try it again...

No I don't get any error when running in fullscreen. The About box says I'm running Windows Media Player Control Version 6.4.07.1112. I do get an error if I don't have anything in the playlist, but rather I open a file from the file menu. When the file finishes playing, I get a message that says "Gmediaplayer has caused an error in GMEDIAPLAYER.EXE. Gmediaplayer will now close." and then it crashes. If there are any files in the playlist (even if I'm watching the last one) the playback ends normally (either proceeding to the next file in the playlist or stopping completely if it's the last file). Does this happen to you?

mterlouw
October 13th, 2002, 12:55 PM
OK I'm on GMP 0.3 now...
When I press stop, then pause, it creates a small error. I know it's not a logical action, but I found it because the stop button doesn't really stop, rather it pauses. I think the stop action should cease playback, and then seek back to the beginning of the file.

I'm really starting to like this program. Ron, can you put a feature in there to remember settings, such as:
- reopen the last playlist upon launch
- remember window mode (ie. standard, compact, less-than-nothing)
- remember scaling mode

Ok here I go, I just got a bunch of ideas so don't be overwhelmed :D...

1. check marks next to scaling mode in the menu to show which mode is in use
2. auto resize the window to the new video size when a new scaling mode is selected
3. I noticed you can now select more than one file in the open box for "Add to playlist". Nice touch, btw, but can you add the capability to delete more than one file at a time in the playlist?
4. Maybe have the rew/ff, skip back/skip next buttons (the ones next to the play/pause/stop in the bottom of the window) do something, like skip to the next file in the playlist, or previous one. I don't know if this is under your control, or if it's a non-programmable part of the Active-X control but I though I'd throw it out there.

Alright I'll quit for now. Thanks for the cool program; at this pace it won't be long before I associate all my video files with GMP :D (except quicktime of course :()

Mike

mterlouw
October 13th, 2002, 12:55 PM
It happens to me too. If I drop files into the main window, I can do it twice before it crashes. The third time I drop a file on it it just appears to switch to the "Less than nothing" view (the controls disappear) but the screen stays black and I have to press Ctrl-Alt-Delete to terminate the task. The other way is if I drop files into the playlist. It works fine as long as I don't drop more than two files into it at a time. 3 or more gives me the error message box I told you about earlier (the one that sais G-MediaPlayer caused an error in Gmediaplayer.exe...). It appears the magic number is three here. Maybe you can go off of that?

Mike

mterlouw
October 13th, 2002, 12:55 PM
Hi Ron. I'm using GMP v.4 now, and I can no longer successfully drop any files into the play window without it crashing. Now I can drop up to five in the playlist though ;). If I drop six or more in the playlist it crashes :~(. I'll check out your source code in a little while when I get time, I gotta go right now. I may have to take a crash course in C++ however :D, and my Win32 skills are non-existant :~(.

Mike

mterlouw
October 13th, 2002, 12:55 PM
XMP works fine ;) Don't give up man, sometimes you just need to take a break and come back to it...

Mike

mterlouw
October 13th, 2002, 12:55 PM
:D :D :D It Works! :D :D :D

unimatrix
October 13th, 2002, 12:55 PM
A little problem:

In Full Screen Mode the mouse pointer is still there and if i move the mouse to the border then the popups appear.

is there a way to hide the pointer?

maps
July 9th, 2003, 10:48 PM
Hi there,

is gmp still available somewhere, or was it superseded by something else?

Ron
July 10th, 2003, 05:23 AM
yeah zoom player.