Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: [solved] Rendering movies ?  (Read 354 times)
Raul
Customers
Community Member
*****
Posts: 394


« on: July 19, 2008, 06:24:20 PM »

I have an .avi file. It's a little introduction movie. Since 6.5 does not have yet a media .dll I would like to know how to render my movie at the start of my app ?

I have tried to use 6.3 media dll version, but when i distribute my application the user receive a message error. even for sounds i had to use another library.

thanks
« Last Edit: July 20, 2008, 05:07:29 AM by Raul » Logged
sgrippa
Customers
Community Member
*****
Posts: 232


« Reply #1 on: July 19, 2008, 07:44:40 PM »

I'm sure I did answer a similar question in an other thread but actually I'm not able to find it on the forums.
Anyway you can try to use plain directx code before engine initialization; There are only few lines and it works great.

Code:
Private Sub play_movie()
        Dim video1 As Microsoft.DirectX.AudioVideoPlayback.Video
        video1 = New Microsoft.DirectX.AudioVideoPlayback.Video("data\video01.avi")
        video1.Owner = Me
        video1.Fullscreen = True
        video1.Play()
       End Sub
Logged

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
Raul
Customers
Community Member
*****
Posts: 394


« Reply #2 on: July 20, 2008, 04:08:00 AM »

thanks. i will try this one and will come back with an answer.

EDIT:
works fine. thanks again Wink
« Last Edit: July 20, 2008, 05:08:07 AM by Raul » Logged
sgrippa
Customers
Community Member
*****
Posts: 232


« Reply #3 on: July 20, 2008, 01:05:47 PM »

Glad to hear that !  Wink
Logged

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. (Rich Cook)
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks