Ren'Py video just appears as transparent

SillyWittleJester

New Member
Nov 24, 2022
6
1
whenever I try and put my video in for a scene it just gives me a transparent image. I have the vid in the right file and I've tried different video formats but it keeps giving me the same results here's the code:

define N = Character("????")
image movie = Movie("intro.ogv", size=(1920, 1080), loop=True, xalign=0.10, yalign=0.10)
# The game starts here.
label start:
N "blah blah blah blah blah blah"
scene movie
N "blah blah blah blah blah blah."
N "blah blah blah."
# This ends the game.
return


Screenshot_2.png
 

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,611
2,258
image movie = Movie("intro.ogv", size=(1920, 1080), loop=True, xalign=0.10, yalign=0.10)

Soooo close...

image movie = Movie(play="intro.ogv", size=(1920, 1080), loop=True, xalign=0.10, yalign=0.10)

You missed the play=.

As an aside. You're positioning the movie at 10% in and 10% from the bottom, yet using "1920, 1080".
Assuming your game is 1920x1080 - that doesn't seem quite right.

btw. The rather than scene myMovie with dissolve is
$ renpy.movie_cutscene("myMovie.ogv")
. Though I understand why people choose the displayable movie instead.

The checkerboard pattern is normal. It's the "empty background" shown while in developer mode. Normal players will see a solid black background, unless they turn developer mode on. You're seeing it, because your displayable "movie" is effectively blank. So you ARE seeing "movie", it's just not linked to a file - so you see the checkerboard background instead.
 
  • Like
Reactions: SillyWittleJester