Video System Error!!!

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
ksotaku100
Regular
Posts: 65
Joined: Fri Dec 25, 2009 8:12 pm
Contact:

Video System Error!!!

#1 Post by ksotaku100 »

Code: Select all

"I went to my laptop and played this video...."
    
    scene bg blank with fade
    
    $ renpy.movie_cutscene("Produce_4.mpg")
    
    scene bg bedroomday with fade
When I proceed to a video in my VN, it exits immediately after I click to the video.... No error reports come up... It just exits... Somebody, please help me... It's a problem since my VNs use an amount of Videos...

lucy
Lucy-Class Veteran
Posts: 103
Joined: Wed Feb 11, 2009 5:07 am
Location: Stuck in a cave
Contact:

Re: Video System Error!!!

#2 Post by lucy »

Assuming you're using Windows...

Download and install CCCP (Combines Community Codec Pack) in your computer
http://www.cccp-project.net

See if it works...

"POOF" (Disappears)
Image

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:

Re: Video System Error!!!

#3 Post by PyTom »

CCCP wouldn't matter, since Ren'Py includes all of the codecs it needs.

Can you post the video somewhere, so I can see if there's something weird about how it's encoded?
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

ksotaku100
Regular
Posts: 65
Joined: Fri Dec 25, 2009 8:12 pm
Contact:

Re: Video System Error!!!

#4 Post by ksotaku100 »

PyTom wrote:CCCP wouldn't matter, since Ren'Py includes all of the codecs it needs.

Can you post the video somewhere, so I can see if there's something weird about how it's encoded?
I'll try, but it's pretty chunky... It was made with CyberLink PowerDirector and is an MPEG2 File, it was encoded with DVD, as least what it said on the Production Window...

Edit: I've figured out the problem... it's the codec... I'm going to encode it again using HandBrake... so problem's solved...

ksotaku100
Regular
Posts: 65
Joined: Fri Dec 25, 2009 8:12 pm
Contact:

Re: Video System Error!!!

#5 Post by ksotaku100 »

Wait a moment... It's not solved... it exits on movies that don't even have the DVD codec encoded, could it be my 3rd party codecs, there is no problem with my laptop running the videos... but when it comes to my desktop, well it obvious... I just realized this... I was clicking to a video and it exits... again... the ones that are overlapped with the dialogue boxes work, but when it comes to the ones using

Code: Select all

$ renpy.movie_cutscene ("Produce_4.mpg")/code] they exit...

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:

Re: Video System Error!!!

#6 Post by PyTom »

I'd consider updating your video drivers. The full-window video path uses YUV overlay surfaces for acceleration. If something went wrong with your drivers, then you could have this 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

Post Reply

Who is online

Users browsing this forum: Google [Bot]