FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New method for TMci
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
New method for TMci
Posted: Mon Feb 06, 2006 08:26 PM
Here it is (for playing fullscreen):

#define MCI_PLAY 2054
#define MCI_MCIAVI_PLAY_FULLSCREEN 33554432

METHOD PlayFull() INLINE MciSendCommand( ::nId, MCI_PLAY, MCI_MCIAVI_PLAY_FULLSCREEN, "" )


EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
New method for TMci
Posted: Tue Feb 07, 2006 10:21 AM

Enrico,

Added, many thanks!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
New method for TMci
Posted: Tue Feb 07, 2006 10:44 AM
Thank you. You may add this to TVideo too:

METHOD PlayFull() INLINE ::oMci:PlayFull()


EMG
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
New method for TMci
Posted: Tue Feb 07, 2006 10:48 AM

Enrico,

big thanks,

you are truly inspired :)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
New method for TMci
Posted: Tue Feb 07, 2006 10:52 AM

I think it could be useful to add MPEG playing capability to TVideo. Do you want my modified TVideo (very little changes)?

EMG

:-):-):-)

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
New method for TMci
Posted: Tue Feb 07, 2006 10:53 AM

Yes, please :)

All enhancement are welcome!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
New method for TMci
Posted: Tue Feb 07, 2006 11:32 AM
It is enough to change this in New() and Redefine() methods:

 ::oMci = TMci():New( "mpegvideo", cFileName )


We may use the filename extension to automatically switch from AVI to MPG or add a new clause in VIDEO command and leave the choice to the user.

EMG
Posts: 1067
Joined: Wed Nov 09, 2005 02:17 AM
New method for TMci
Posted: Wed Mar 14, 2007 01:11 PM

Hi Enrico,

When I show archives avi(divx) with the "Video" class, some times the image alone I appear if to make some movement in the window!

You know why this you happen?

Sds,
Vilian F. Arraes
vilian@vfatec.com.br
Belém-Pa-Brazil
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
New method for TMci
Posted: Wed Mar 14, 2007 01:36 PM

No, sorry. Maybe the codec?

EMG

Continue the discussion