What video formats/codecs can Ren'Py play? [answered]

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
Kokoro Hane
Eileen-Class Veteran
Posts: 1237
Joined: Thu Oct 27, 2011 6:51 pm
Completed: 30 Kilowatt Hours Left, The Only One Girl { First Quarter }, An Encounter ~In The Rain~, A Piece of Sweetness, Since When Did I Have a Combat Butler?!, Piece by Piece, +many more
Projects: Fateful Encounter, Operation: Magic Hero
Organization: Tofu Sheets Visual
Deviantart: kokoro-hane
itch: tofu-sheets-visual
Contact:

What video formats/codecs can Ren'Py play? [answered]

#1 Post by Kokoro Hane »

I am curious as to what video formats and codecs Ren'Py is able to play with the video statement. I know .mpg and .ogv, but are there others?
Last edited by Kokoro Hane on Mon Jun 16, 2014 5:07 pm, edited 1 time in total.
PROJECTS:
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]

But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"

Asceai
Eileen-Class Veteran
Posts: 1258
Joined: Fri Sep 21, 2007 7:13 am
Projects: a battle engine
Contact:

Re: What video formats/codecs can Ren'Py play?

#2 Post by Asceai »

http://www.renpy.org/doc/html/movie.html

Best way is to try something, and if it doesn't work try something else.

Webm (vp8+vorbis) and ogv (theora+vorbis) are the best choices. Ogv is the least encumbered, webm is the best quality/size.
EDIT: Although there might be a convincing performance-related (or potentially running-on-Android-related) reason to go with a different format. I haven't really looked much into either of those, but the former is relevant on old machines and high resolutions due to renpy decoding video in CPU.

User avatar
Kokoro Hane
Eileen-Class Veteran
Posts: 1237
Joined: Thu Oct 27, 2011 6:51 pm
Completed: 30 Kilowatt Hours Left, The Only One Girl { First Quarter }, An Encounter ~In The Rain~, A Piece of Sweetness, Since When Did I Have a Combat Butler?!, Piece by Piece, +many more
Projects: Fateful Encounter, Operation: Magic Hero
Organization: Tofu Sheets Visual
Deviantart: kokoro-hane
itch: tofu-sheets-visual
Contact:

Re: What video formats/codecs can Ren'Py play?

#3 Post by Kokoro Hane »

Ah thank you!
PROJECTS:
Operation: Magic Hero [WiP]
Piece By Piece [COMPLETE][Spooktober VN '20]
RE/COUNT RE:VERSE [COMPLETE][RPG]
Since When Did I Have a Combat Butler?! [COMPLETE][NaNoRenO2020+]
Crystal Captor: Memory Chronicle Finale [COMPLETE][RPG][#1 in So Bad It's Good jam '17]

But dear God, You're the only North Star I would follow this far
Owl City "Galaxies"

User avatar
stwkun
Regular
Posts: 82
Joined: Wed Jan 02, 2013 7:57 pm
Organization: Stw Projects
Contact:

Re: What video formats/codecs can Ren'Py play? [answered]

#4 Post by stwkun »

Avi works perfectly, if you use mp4 renpy will crush . Video play doesn't work in android games

Post Reply

Who is online

Users browsing this forum: Google [Bot]