How to play movies at Mobiles?[SOLVED]

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
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

How to play movies at Mobiles?[SOLVED]

#1 Post by MimirollCookie »

Okay. So when I ported an early-beta of my game to android(It has an Opening Video.) And played it, it didn't worked.
I kept clicking at it put it said that the app has stopped.
Help me guys! :(
And I was assuming that the video ruined it. Any ideas how to fix it? :)
EDIT:
So i_jemin helped me in the making of my project. So it was solved. I only need to convert the OGV to MP4. Problem solved!
If you guys wish to see the project, here it is.
Last edited by MimirollCookie on Fri Mar 25, 2016 3:43 am, edited 1 time in total.
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: How to play movies at Mobiles?

#2 Post by i_jemin »

use renpy.movie_cutscene method.

renpy mobile only support fullscreen movie.

$renpy.movie_cutscene("intro/opening.mp4")

and, check did you use proper type of file. I recommend mp4 on mobile.

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: How to play movies at Mobiles?

#3 Post by MimirollCookie »

Well it's fullscreen but it's ogv. Does that work or not?
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: How to play movies at Mobiles?

#4 Post by i_jemin »

ogv is not natively supported on android

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: How to play movies at Mobiles?

#5 Post by MimirollCookie »

Oh, really?
Anyway, I added this to my options.rpy. Maybe it's another cause.

Code: Select all

config.hw_video = True
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: How to play movies at Mobiles?

#6 Post by i_jemin »

config.hw_video = True mean your device gonna render video with hardware and it's fast and stable.
and Android hardware don't support ogv, still I don't know renpy mobile can play ogv as software method.

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: How to play movies at Mobiles?

#7 Post by MimirollCookie »

Okay. Then the best option is MP4?
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: How to play movies at Mobiles?

#8 Post by i_jemin »

yes

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: How to play movies at Mobiles?

#9 Post by MimirollCookie »

Okay. Converting the video to mp4.
thanks a lot i_jemin!
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

User avatar
MimirollCookie
Miko-Class Veteran
Posts: 725
Joined: Sat May 23, 2015 5:05 am
Completed: Best Friends (DRAMA), Sweet and Spices (NaNo16)
Projects: Cupid's Wish, Best Friends Deux
Organization: Pastelle Studios
Deviantart: MimirollCookie
Location: A place where rainbows and unicorns collide. ^0^
Contact:

Re: How to play movies at Mobiles?

#10 Post by MimirollCookie »

It worked! Thank you so much!
SOLVED
Image
"If they can do it, you can do it too! make them do it. They can do it, right?" :lol:
Getting a new laptop. Hopefully going back to VN making! (BWAHAHA)

Post Reply

Who is online

Users browsing this forum: Semrush [Bot]