Hey, i'm currently making an RPG and I was wondering if you can put a video into a picturebox or something? I need this to put an action scene. I've tried using an animated gif, and that crashes the program. I tried using a Windows Media Player but that is way too laggy.
Any help?
Thanks
you could but it would take alot of your processor, maybe use a flash object?
Direct X is the way to go.
Direct Show
Or
DirectX's Audio Video Playback.
Posts 1–13 of 13 · Page 1 of 1
Post a Reply
Tags for this Thread
None
You can also have a look on VLC media player source code (it's open source)
Lol you guys read my mind ^^
DirectX is the way to go, if you don't get it check out some open-source programs.
Reading through noted code is good for learning stuff.
but wut about adobe flash?
Originally Posted by mnpeepno2
but wut about adobe flash?
For shock-wave active X, you'll need to convert the video to flash video format (FLV). Not so practical approach. You can use VLC's ActiveX component for displaying, but if you want custom appearance and stuff, read vlc's source code as brinuz said !!
Are you trying to make an RPG with pictureboxes? |:
yeah DirectX
Originally Posted by ovenran
yeah DirectX
Then why do you want to display a video in a picturebox when you're doing everything else in DirectX?
Originally Posted by freedompeace
Then why do you want to display a video in a picturebox when you're doing everything else in DirectX?
I'm doing the RPG with Pictureboxes, I just want action scenes. I'll try these suggestions, thanks guys.
EDIT : I used Shockwave.
Solved.
Ok, Glad it's solved. Still have to say Shockwave is a bad choice.
Direct X is easier then it sounds, and all around the best solution in this case
Originally Posted by NextGen1
Ok, Glad it's solved. Still have to say Shockwave is a bad choice.
Direct X is easier then it sounds, and all around the best solution in this case