Why can't DrawMovie play movies longer than 27.5 seconds?
;I enter a fullscreen mode.
Graphics 1280,1024,32,1
SetBuffer FrontBuffer()
;Then I open the movie:
m=OpenMovie("My homemade movie.avi")
;Then I play the movie:
Repeat
DrawMovie m,0,0,1280,1024
Until MoviePlaying(m)=False or KeyHit(1)
;I close the movie when I'm done and then exit.
CloseMovie m
End
If I have the "DrawMovie m,0,0,1280,1024" command before the repeat loop instead of inside, then the soundtrack plays but the video is stuck at the first frame. The soundtrack stops after 27.5 seconds.
DrawMovie stops after 27.5 seconds and MoviePlaying reports that the movie has finished. The movie is 3 minutes and 40 seconds long. I can use the mci stuff found in the user libs to play the full movie.
P4 3.2ghz, GeForce 6800, 1G RAM, WinXP sp2, Blitz3D 1.91
;I enter a fullscreen mode.
Graphics 1280,1024,32,1
SetBuffer FrontBuffer()
;Then I open the movie:
m=OpenMovie("My homemade movie.avi")
;Then I play the movie:
Repeat
DrawMovie m,0,0,1280,1024
Until MoviePlaying(m)=False or KeyHit(1)
;I close the movie when I'm done and then exit.
CloseMovie m
End
If I have the "DrawMovie m,0,0,1280,1024" command before the repeat loop instead of inside, then the soundtrack plays but the video is stuck at the first frame. The soundtrack stops after 27.5 seconds.
DrawMovie stops after 27.5 seconds and MoviePlaying reports that the movie has finished. The movie is 3 minutes and 40 seconds long. I can use the mci stuff found in the user libs to play the full movie.
P4 3.2ghz, GeForce 6800, 1G RAM, WinXP sp2, Blitz3D 1.91