GLBasic forum

Main forum => Bug Reports => Topic started by: Hemlos on 2008-Oct-12

Title: Multiple Bugs With playmovie and loopmovie
Post by: Hemlos on 2008-Oct-12
Found multiple bugs with playmovie and loopmovie...

1. MPG and WMV, You must add these 2 to filetypes in Windows Media Player, view / plugin options / filetypes.
Or playmovie and loopmovie will not play mpg and wmv!
Very strange and illogical? It doesnt have this effect on AVI...AVI is ok here.

2.  playmovie and loopmovie does NOT do fullscreen mode..it is a blackscreen and skips past.

3. if the movie doesnt fit in the window properly, you see a white, or black or both colors around the borders of the movie.

4. playmovie doesnt work in viewport? i cant seem to debug this one..i dont know if i am coding it right.

Here is a code for a commandline movie player:
You must compile the program with this variable: -arg1 in the command line options in the editor.
You then right click on a movie file and "open with GLMovie"

Code (glbasic) Select

// --------------------------------- //
// Project: GLMovie Player (i only tested these: wmv, mpg, avi )
// Start: Sunday, October 12, 2008
// IDE Version: 6.034 WIN32
//
//  ADD -arg1 to the options in editor in the commandline textbox.
//make the window 800x600 or 1028x768 for large view, for viewing high res movies.
//you can associate wmv mpg and avi to play in GLmovie by right clicking on one
// of these files in a window and choosing "browse" , and select "GLmovie"...choose checkbox:
// "always run this program" ..if you disassociate them from wmplayer, they will not run..strange thing.


LIMITFPS -1
SYSTEMPOINTER TRUE
VIEWPORT 0,0, 600, 480
loadfile$=REPLACE$(GETCOMMANDLINE$(),CHR$(34),"")  //removes extra quotation marks "

LOOPMOVIE loadfile$





Title: Re: Multiple Bugs With playmovie and loopmovie
Post by: Kitty Hello on 2008-Oct-13
oh dear.