Movie is crashing! :(

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
quacksapup
Regular
Posts: 48
Joined: Fri Jan 04, 2013 3:43 pm
Projects: "Heartbeat" (In Progress)
Contact:

Movie is crashing! :(

#1 Post by quacksapup » Wed Jun 26, 2013 1:29 am

Hi,

I want my credits movie to play at the end of my game, but before it plays, Ren'Py crashes.
Could someone please help me find a solution to this? I thought I was finally past movie playing issues... :(

What you need to know:
- I'm using the latest version of Ren'Py (6.15.6.372).
- My game's dimension is 1280x800. (don't judge, please)
- My video is 1280x720.
- I'm using a Mac. (OS X 10.8.4)

My code right now:

Code: Select all

label credits:
    hide window
    stop music fadeout 5.0

    show movie
    play movie "Credits.mov"

    pause 120.5 #I've tried with and without the pause. Same result: crash.

    stop movie
    hide movie
What I've done already with no fruitful results:
I've tried the "inside displayable" route...

Code: Select all

init:
    image movie = Movie(size=(1280, 800), xalign=0.5, yalign=0.5)
And then when that didn't work...

Code: Select all

init:
    image movie = Movie(size=(1280, 800))
But that didn't work, too.

I also tried changing the dimensions of my game temporarily to see if it was that that was causing the problem, but no. Whether the game was 1280x800 or 1280x720, it still crashed.

Now, the cutscene doesn't work at all. That's what I first tried.
The code:

Code: Select all

$ renpy.movie_cutscene("Credits.mov")
It makes Ren'Py crash as well. :cry: Heeeeeeeeelp!
Could this be an internal issue, or am I just not getting something here?

Thanks all,
-Q

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Movie is crashing! :(

#2 Post by pwisaguacate » Wed Jun 26, 2013 4:29 am

I don't know if video support has changed since this wiki page [link], and after spending some time I realized that stuff I tried to use were using AAC audio, which isn't supported. Oh, and the WebM (.webm) container works.

Check the video and audio encoding; Ren'Py is picky about it.

You might be having a different issue because I'm not getting it to crash. Rather, it blinks and won't play an incorrect video.

User avatar
quacksapup
Regular
Posts: 48
Joined: Fri Jan 04, 2013 3:43 pm
Projects: "Heartbeat" (In Progress)
Contact:

Re: Movie is crashing! :(

#3 Post by quacksapup » Wed Jun 26, 2013 11:13 am

pwisaguacate wrote:I don't know if video support has changed since this wiki page [link], and after spending some time I realized that stuff I tried to use were using AAC audio, which isn't supported. Oh, and the WebM (.webm) container works.

Check the video and audio encoding; Ren'Py is picky about it.

You might be having a different issue because I'm not getting it to crash. Rather, it blinks and won't play an incorrect video.
What do you mean exactly by, "Check the video and audio encoding"? How do I do that?
I've used ".mov" before, and it's worked. But now it isn't working. So I have no idea what is going on. That blinking thing has happened with some of my other videos, but this specific video is causing Ren'Py to crash. Could it be that it is 30 fps? Though it says on the wiki page [link] that Ren'Py automatically recognizes the frame rate. :?

pwisaguacate
Veteran
Posts: 356
Joined: Mon Mar 11, 2013 11:03 pm
Contact:

Re: Movie is crashing! :(

#4 Post by pwisaguacate » Thu Jun 27, 2013 7:51 pm

quacksapup wrote:What do you mean exactly by, "Check the video and audio encoding"? How do I do that?
I've used ".mov" before, and it's worked. But now it isn't working. So I have no idea what is going on. That blinking thing has happened with some of my other videos, but this specific video is causing Ren'Py to crash. Could it be that it is 30 fps? Though it says on the wiki page [link] that Ren'Py automatically recognizes the frame rate. :?
You're going to have to find the information somehow. Right clicking the file and viewing its properties might work depending on the file browser. Some players/programs can show it too. A .mov is a container just like .mp4/.mkv (anything with both video and sound) and can wrap different formats. Frame rate doesn't matter.

I like to use Avidemux, which lets you re-encode video and/or audio.
Attachments
Screenshot from 2013-06-27.png

Post Reply

Who is online

Users browsing this forum: Google [Bot]