H265 not working, black screen. [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
Victorius
Regular
Posts: 30
Joined: Thu Jan 14, 2021 7:02 pm
Projects: Astral Lust
Github: Victorius-Astral
Contact:

H265 not working, black screen. [ANSWERED]

#1 Post by Victorius »

Hey,

I've tried to make the video using H265 instead of previous VP9 as it game me much better results, the problem appeared when I've tried to run these videos in-game. It shows black screen. Just pure black screen. No error, or anything. Lint also doesn't see any problem. I've tried the same video with VP9 and it worked like before.

This is ffmpeg code I've used to compile:

Code: Select all

for /d %%i in (Input/*) do (

ffmpeg -framerate %fr% -i "Input/%%i/%%d.png" -filter_complex "smartblur=lr=0.8:ls=0.8:lt=-3" -c:v libx265 -crf %crf% -preset veryslow -tune fastdecode -an -r %fr% -profile:v main444-10 "Output/2160p/%%i.mp4"
ffmpeg -framerate %fr% -i "Input/%%i/%%d.png" -filter_complex "smartblur=lr=0.8:ls=0.8:lt=-3;scale=w=iw/2:h=ih/2" -c:v libx265 -crf %crf% -preset veryslow -tune fastdecode -an -r %fr% -profile:v main444-10 "Output/1080p/%%i.mp4"
ffmpeg -framerate %fr% -i "Input/%%i/%%d.png" -filter_complex "smartblur=lr=0.8:ls=0.8:lt=-3;scale=w=iw/3:h=ih/3" -c:v libx265 -crf %crf% -preset veryslow -tune fastdecode -an -r %fr% -profile:v main444-10 "Output/720p/%%i.mp4"


)
I've tried various different settings, none of them worked. I've seen people talking about H265 in renpy, and I'm sure they get it working, so I would like to ask fellow creators if perhaps you have any solution.
Last edited by Victorius on Tue Jul 13, 2021 1:03 pm, edited 1 time in total.

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: H265 not working, black screen.

#2 Post by PyTom »

H265 isn't supported. (Mostly for patent reasons.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: No registered users