Mpeg Video question

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
Taters
Regular
Posts: 29
Joined: Sat Nov 11, 2006 8:29 pm
Contact:

Mpeg Video question

#1 Post by Taters »

*delurks*

Hi, I've been messing around with creating an interactive novel lately, and have hit a bit of a snag....

I had planned on creating animated opening and endings for the game, but the spacer video I inserted for the purposes for development refuses to display. Instead the background image from the previous scene is displayed for the time alotted for the video (3 seconds).

My spacer video has no audio, 800x600, and is Mpeg1 (I just checked again).

I used this to try and get the video to display.

Code: Select all

    $ renpy.movie_cutscene('logomovie.mpg', 3.0)
Is there something stupid I'm missing? I'm really new to all of this, so I could be missing something obvious.

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#2 Post by PyTom »

Can you send the movie over to me, so I can try it out? I don't see anything obviously wrong.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Taters
Regular
Posts: 29
Joined: Sat Nov 11, 2006 8:29 pm
Contact:

#3 Post by Taters »

Ok, here it is. I warn you though, it's extremely lame!
Attachments
logomovie.zip
Extremely lame video.
(386.46 KiB) Downloaded 68 times

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#4 Post by PyTom »

Ah... um... I hate to break this one to you...

The filename you sent me was logomovie.mpeg. The code you gave tries to play logomovie.mpg... this might very well be the problem.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Taters
Regular
Posts: 29
Joined: Sat Nov 11, 2006 8:29 pm
Contact:

#5 Post by Taters »

OMG! *bangs head on keyboard* I can't believe I wasted a half hour on that! I knew it was going to be something stupid, but I didn't think it would be that dumb! :shock:

It's fixed now!

Thanks! :D :D

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]