How to run VIDEO CLIPS 
Author Message
 How to run VIDEO CLIPS

Okay now I have found I can run any windows application from within FoxPro
using RUN /N mplayer <file name> && does not work, but comes up.

Another example: RUN /N control desktop && works great

But, the video player is mplayer2.exe

I have been able to APPEND GENERAL FROM c:\windows\desktop\welcome3.avi and
I can double click on the field, which brings up the first frame of the
video.  Then clicking on the first frame plays the video using the
MicroSoft's video player.  At the top of the frame while it is playing it
says "Video Clip in FoxPro 171752" so it sounds like it can be done.

Already tried RUN /N mplayer2 and several othersany ideas out there?

Thanks to Rick Bean of Lansing, Michigan US for getting me this far.

Happy Holiday Season,

Charles Bell, Wheeling, West {*filter*}ia, USA



Mon, 11 Jun 2001 03:00:00 GMT
 How to run VIDEO CLIPS

First, you don't want to use general fields. Once data goes in, you can't
get it out, and they're very prone to bloat. If you ABSOLUTELY INSIST on
using general fields, try:


If you have the media file stored as a separate file on disk, you should be
able to issue:

    RUN /N <name of media file>

such as

    RUN /N my.avi

which tells windows "Launch whatever program owns this kind of data."

You *certainly* don't want to hard code the name of the program to use to
play the video. This particular arena has been one of the fastet moving
targets in the weirding Windows world over recent years. It seems every
minor patch, upgrade, or new application installs a new media player.

There's also the ShellExec() API call. I'll let someone else jump in with
the syntax because I don't have it handy.

Dan

Quote:

>Okay now I have found I can run any windows application from within FoxPro
>using RUN /N mplayer <file name> && does not work, but comes up.

>Another example: RUN /N control desktop && works great

>But, the video player is mplayer2.exe

>I have been able to APPEND GENERAL FROM c:\windows\desktop\welcome3.avi and
>I can double click on the field, which brings up the first frame of the
>video.  Then clicking on the first frame plays the video using the
>MicroSoft's video player.  At the top of the frame while it is playing it
>says "Video Clip in FoxPro 171752" so it sounds like it can be done.

>Already tried RUN /N mplayer2 and several othersany ideas out there?

>Thanks to Rick Bean of Lansing, Michigan US for getting me this far.

>Happy Holiday Season,

>Charles Bell, Wheeling, West {*filter*}ia, USA



Wed, 13 Jun 2001 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Converting video MPEG clips to MOV clips - Ideas please

2. Video Clip!!

3. To Clip(per) or not to Clip(per).

4. To Clip(per) or not to Clip(per).

5. Running video through VB.

6. Video Error running FP in Novell

7. Can translate Clip to SQL??

8. Error 2005: The requested Clipping operation is not supported

9. Printing a large form - clipping at the bottom

10. Need help with playing a movie clip in VB


 
Powered by phpBB® Forum Software