My video won't play...

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
teacup
Holder of Tasty Drinks
Posts: 911
Joined: Thu Oct 15, 2009 12:25 pm
Completed: (P)lanets - the life of normalcy has ended
Projects: Circum[N]avigate
Contact:

My video won't play...

#1 Post by teacup » Tue May 03, 2011 11:29 am

Wanting to put a video at the start of the game (before you even see the menu).
Ive tried searching but none of the solutions have helped me =u=;;
Its a fairly large file. However, the size is not the problem, because I tested a smaller video and that didn't work either. I tried saving it as .avi and .mpg... but when the game starts, the music skips, the screen is black, and then it passes the video entirely. @u@;;
This is using the code for 'renpy.movie_cutscene'... anyone know what the problem could be?
Image

clannadman

Re: My video won't play...

#2 Post by clannadman » Tue May 03, 2011 11:32 am

your video is encoded wrong. try again as an avi but adjust the settings

User avatar
teacup
Holder of Tasty Drinks
Posts: 911
Joined: Thu Oct 15, 2009 12:25 pm
Completed: (P)lanets - the life of normalcy has ended
Projects: Circum[N]avigate
Contact:

Re: My video won't play...

#3 Post by teacup » Tue May 03, 2011 11:44 am

I don't know much about video, can you explain to me how I adjust the settings? What settings do I adjust?
Image

User avatar
RayRayTea
Regular
Posts: 69
Joined: Thu May 07, 2009 4:16 pm
Projects: The Stolen Diamond Ring (a mystery VN)
Contact:

Re: My video won't play...

#4 Post by RayRayTea » Tue May 03, 2011 8:36 pm

Is this video the only one that doesn't play (have you tried other videos)? Try playing the video in the demo that comes with Ren'Py - does that one work?

For me even the video in the demo doesn't play correctly when it's in fullscreen (only when it's small, behind Eileen) - although my computer has no problems with playing videos as far as I know.
nekomura games
Princess Battles, a card-based stat raising sim

wolveski
Regular
Posts: 40
Joined: Sun Jul 26, 2009 5:06 pm
Completed: none...yet
Projects: Heavens Falls (WIP)
Location: Leeds,England
Contact:

Re: My video won't play...

#5 Post by wolveski » Tue May 03, 2011 9:58 pm

try encoding it as a mkv

i had a simler problem with 6.12,the sound would play but the image just froze

downgraded to 6.11 and it worked just fine (still not sure what the problem was)

User avatar
teacup
Holder of Tasty Drinks
Posts: 911
Joined: Thu Oct 15, 2009 12:25 pm
Completed: (P)lanets - the life of normalcy has ended
Projects: Circum[N]avigate
Contact:

Re: My video won't play...

#6 Post by teacup » Tue May 03, 2011 11:23 pm

The demo video works fine.
I got the sound to (somewhat) work, and the game no longer completely ignores the video. I'm using an avi file. But the video is still black. X_X And after a few seconds, it starts to flip out and the sound skips crazily. Also, I'm using 6.11... so I'm kinda at a loss here... orz
Image

wolveski
Regular
Posts: 40
Joined: Sun Jul 26, 2009 5:06 pm
Completed: none...yet
Projects: Heavens Falls (WIP)
Location: Leeds,England
Contact:

Re: My video won't play...

#7 Post by wolveski » Wed May 04, 2011 5:14 am

my mkv settings are:

Video: MPEG 4 - 1500 kbps; Audio: MP3 - 192 kbps

i use ojosoft total video converter (not sure if that helps any)

if theres any way you could upload the video i could convert it for you

User avatar
teacup
Holder of Tasty Drinks
Posts: 911
Joined: Thu Oct 15, 2009 12:25 pm
Completed: (P)lanets - the life of normalcy has ended
Projects: Circum[N]avigate
Contact:

Re: My video won't play...

#8 Post by teacup » Thu May 05, 2011 11:43 am

@wolveski
Oh, I download ojosoft total video converter and the free version only converts 20% of the video orz
So I will PM you the link to the file once I get home (currently in school) if thats all right :)
Image

wolveski
Regular
Posts: 40
Joined: Sun Jul 26, 2009 5:06 pm
Completed: none...yet
Projects: Heavens Falls (WIP)
Location: Leeds,England
Contact:

Re: My video won't play...

#9 Post by wolveski » Thu May 05, 2011 1:50 pm

yeah thats fine :)

User avatar
Aka-kami
Regular
Posts: 150
Joined: Sat Dec 05, 2009 8:23 pm
Projects: A long-ish project. Will probably make a WIP thread when it's 50% done.
Location: Behind you.
Contact:

Re: My video won't play...

#10 Post by Aka-kami » Mon Aug 08, 2011 12:22 pm

Sorry about bringing back this old thread D: But I've got the same problem and wanted to see if it's been resolved?
See ya.

wolveski
Regular
Posts: 40
Joined: Sun Jul 26, 2009 5:06 pm
Completed: none...yet
Projects: Heavens Falls (WIP)
Location: Leeds,England
Contact:

Re: My video won't play...

#11 Post by wolveski » Thu Aug 11, 2011 2:50 pm

sorry for the late reply,if you upload the video to megafile or somewere similer i will convert it for you

User avatar
Aka-kami
Regular
Posts: 150
Joined: Sat Dec 05, 2009 8:23 pm
Projects: A long-ish project. Will probably make a WIP thread when it's 50% done.
Location: Behind you.
Contact:

Re: My video won't play...

#12 Post by Aka-kami » Fri Aug 12, 2011 1:33 am

Nah, it's okay. I've decided not to use a video anymore ^-^;; Thanks for offering, anyway <:'D
See ya.

Post Reply

Who is online

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