- Joined
- Sep 13, 2018
- Messages
- 13
- Reaction score
- 2
- First Language
- Swedish
- Primarily Uses
- RMMV
As the title states I'm having problems with playing movies in my game.
Yes I've read the documentation, which says this:
The file formats that are playable depend on the operating environment, so please prepare the below 2 file formats with the same file name.
I'm only using windows and mac so my movies are in WEBM format. Still the game freezes when playing them.
My movies are in the correct size 816x624 however I do play a movie followed by a picture like this.
- Play move(Movie);
- Show picture(Picture);
What's even more strange is that this only occurs very randomly, sometimes it works sometimes it doesn't work so I figured this had something to do with the ram and cache, so I used a plugin to clean cache without any results.
Can the problem be that I use a common event for the conversation and then call another common event to play the correct movie? Because a different movie is played depending on a variable, so I use common event to make it easier to read and edit the conversation and there's no problem in the if conditions because the movie starts playing but freezes like 0.5-1 second into it.
I create my webm using ffmpeg with these commands
- png2yuv -I p -f 38 -b 0 -j nameOfThePictureSeries%02d.png > my.yuv
- vpxenc --good --cpu-used=0 --auto-alt-ref=1 --lag-in-frames=16 --end-usage=vbr --passes=2 --threads=2 --target-bitrate=3000 -o my.webm my.yuv
- ffmpeg -f concat -i my.txt -c copy nameOfTheFinishedMovie.webm
Thanks in advance.
Yes I've read the documentation, which says this:
The file formats that are playable depend on the operating environment, so please prepare the below 2 file formats with the same file name.
- WebM(.webm)
- MP4 (.mp4 encoded with H.264 codec)
I'm only using windows and mac so my movies are in WEBM format. Still the game freezes when playing them.
My movies are in the correct size 816x624 however I do play a movie followed by a picture like this.
- Play move(Movie);
- Show picture(Picture);
What's even more strange is that this only occurs very randomly, sometimes it works sometimes it doesn't work so I figured this had something to do with the ram and cache, so I used a plugin to clean cache without any results.
Can the problem be that I use a common event for the conversation and then call another common event to play the correct movie? Because a different movie is played depending on a variable, so I use common event to make it easier to read and edit the conversation and there's no problem in the if conditions because the movie starts playing but freezes like 0.5-1 second into it.
I create my webm using ffmpeg with these commands
- png2yuv -I p -f 38 -b 0 -j nameOfThePictureSeries%02d.png > my.yuv
- vpxenc --good --cpu-used=0 --auto-alt-ref=1 --lag-in-frames=16 --end-usage=vbr --passes=2 --threads=2 --target-bitrate=3000 -o my.webm my.yuv
- ffmpeg -f concat -i my.txt -c copy nameOfTheFinishedMovie.webm
Thanks in advance.








