Video
Video
Is there an easy way to display a video file on an FB.gfx layer?(avi, mpeg, any format really). Any libraries out there that exists ready to use in FB? I browsed the forum already and no luck. Thanks for any info.
I found this recent avi player:
http://freebasic.net/forum/viewtopic.ph ... hlight=avi
but since I'm running Win 7 64-bit, it doesn't work. I would like to find one that is compatible with any windows version, at least so I can use it myself.
http://freebasic.net/forum/viewtopic.ph ... hlight=avi
but since I'm running Win 7 64-bit, it doesn't work. I would like to find one that is compatible with any windows version, at least so I can use it myself.
As long as you do not require audio you can use my AVI reader object to read and display and AVI...
http://www.freebasic.net/forum/viewtopi ... avi+reader
-Vince
http://www.freebasic.net/forum/viewtopi ... avi+reader
-Vince
Sorry about that. Here is an updated link...Ophelius wrote:unless, if I split the video and audio into separate files, and play them separately at the same time, would that work well you think, or would there be noticeable sync problems?
Edit: Vdecampo: The link you gave me doesn't work. I would like to try it out.
You can get the project from here...
http://www.imakegames.com/ccount/click.php?id=10
-Vince
Edit: Hmmm...looks like I need to reupload the file. Can't do that from the computer I am at currently. I will fix it ASAP.
-Vince
-
- Posts: 1009
- Joined: Oct 11, 2008 7:42
- Location: ABQ, NM
- Contact:
I made a video filetype of *.CGA, which is the SCREEN 2, saved over and over, repeatedly, in the same open file.
Does this interest you at all?
I use it to make video on DOS computers, but more often, DOS simulated environments in DOSBOX where SCREEN 2 becomes composite CGA with 16 pretty colors!
~Kiyote!
Just tossing that out there.
Does this interest you at all?
I use it to make video on DOS computers, but more often, DOS simulated environments in DOSBOX where SCREEN 2 becomes composite CGA with 16 pretty colors!
~Kiyote!
Just tossing that out there.
For Linux, if you have mplayer installed, you can use:
Code: Select all
screenres 640,480,,32
dim as integer xid
ScreenControl 2, xid
shell "mplayer -wid "+str(xid)+" -really-quiet video.avi"