How to : MP4 cut scene frame transition

This forum is meant for discussing how to create pictures, sounds, and videos. You can also post technical questions about how to use a particular program (Poser, Lightwave, etc.).

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

How to : MP4 cut scene frame transition

Postby reneuend » Mon Apr 18, 2022 4:06 am

After I fixed the issue with MP4 and modern graphic card compatibility, I found that using the PlayVideoWin7 routine works, but you can't go to another frame after playing the video using Action.CreateTimedEvent like this:

Code: Select all
Action.CreateTimedEvent 9,"Action.GoToFrame ""office cubical opening""", False
PlayVideoWin7 GetPath(2) & "office_box_delivery.mp4", 1, 9


It will play the video, but then it does not advance to the frame, "office cubical opening".

The Fix: Adding the StopVideoWin7 in the CreateTimedEvent fixes this issue:

Code: Select all
Action.CreateTimedEvent 9,"StopVideoWin7 9:Action.GoToFrame ""office cubical opening""", False
PlayVideoWin7 GetPath(2) & "office_box_delivery.mp4", 1, 9
---


Image
Image
User avatar
reneuend
Administrator
 
Posts: 2762
Joined: Sat Nov 22, 2008 8:37 pm
Location: Midwest Cornfield, USA

Return to How to make pictures, sounds, and videos

Who is online

Users browsing this forum: No registered users and 0 guests