Announcement

Collapse
No announcement yet.

Calling Windows Media Player from PB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Patrice Terrier
    replied
    The BassBox project is not intended to play VIDEO, but AUDIO using OpenGL visual plugin to display animations in real time (a visual plugin is very different than playing a "static" video with a codec).

    However i have also posted on José Roca's forum, a complete managed source code video project named: zMoviePlayer, it is based on the DirectX AudioVideo assembly.

    I think I could convert zMoviePlayer to work with PowerBASIC using the Active movie code that has been posted by José Roca there:
    http://www.powerbasic.com/support/pbforums/showthread.php?t=35549
    but because this represent a fairly amount of work, I am not sure i would do it very quick.

    About MCI: forget it, it is just a toy...

    ...
    Last edited by Patrice Terrier; 14 Feb 2008, 09:05 AM.

    Leave a comment:


  • Eros Olmi
    replied
    Do you know about BassBox project here? http://www.jose.it-berater.org/smffo...p?topic=1364.0

    Delivered with full Power Basic source code and a lot of video plug-ins.
    A MUST HAVE code from Patrice Terrier
    Last edited by Eros Olmi; 14 Feb 2008, 12:47 AM.

    Leave a comment:


  • Cliff Nichols
    replied
    If your needs are simple you can use the old Mci commands to do this. Deep down inside windows the same code runs. It's really easy, but limited. If all you want to do is play an avi or mpeg file, this isn't a bad way to do it.
    Ditto

    Somewhere in my past I had VB6 code that did the same (easily convertible to PB) that as long as Codec's did not come into play, then the video and audio was easily played (under simple ideas, but the more complex you get the more you have to troubleshoot)

    I am sure if you search the forums, or POFF's then you are sure to find an example of basic AVI (Huge file uncompressed), or MPG (basic concepts, leave CODEC's out of the picture, but lots smaller)

    Leave a comment:


  • Russ Srole
    replied
    If your needs are simple you can use the old Mci commands to do this. Deep down inside windows the same code runs. It's really easy, but limited. If all you want to do is play an avi or mpeg file, this isn't a bad way to do it.

    Leave a comment:


  • Edwin Knoppert
    replied
    Check this out, this app uses wmp.dll (WMPlayer.OCX.7)

    http://www.hellobasic.com/trials/wmp_voo.zip

    Screenshot available..

    Leave a comment:


  • Edwin Knoppert
    replied
    Via ATL it's prob. the easiest
    Progid: MediaPlayer.MediaPlayer.1

    Leave a comment:


  • Walt Thompson
    started a topic Calling Windows Media Player from PB

    Calling Windows Media Player from PB

    Is it possible to run a portion or portions of Windows Media Player from with in a PB app.? What I would like to do is run the video portion of the player as part of a PB app.. Any guidance in this matter would be greatly appreciated.

    TIA

    Walt
Working...
X