Ren'py displays movies aliased

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
Coffee[Beans]
Newbie
Posts: 3
Joined: Sat Jun 19, 2021 10:24 am
Contact:

Ren'py displays movies aliased

#1 Post by Coffee[Beans] »

I am trying to display a movie in Ren'py. When I open it in VLC media player, movies and tv or adobe after effect the movie is anti-aliased like the anti-aliased letter below. However, when I display the movie in Ren'py the outlines become aliased like the aliased letter below.

Image

The size of the movie is 1920x1080 just like the gui size (gui.init(1920, 1080)) and the same happens in both fullscreen and window mode. The container format of the movie is webm with the vp9 video codec. I am defining the image as shown below.

Code: Select all

image test = Movie(play="images/test1.webm" ) 
Does anybody know why this is happening? It looks like the movie gets downscaled for some reason...

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3791
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Ren'py displays movies aliased

#2 Post by Imperf3kt »

media software applies an anti-aliasing filter. I don't know if Ren'Py does or not (I would assume not), so one possible solution is to transcode the video (use a lossless source if you have one to avoid generating generational compression artifacts) and apply some filtering to the video itself, TAA or SAA or any AA algorithm you prefer.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

Post Reply

Who is online

Users browsing this forum: Google [Bot]