What's the best codec and container for Ren'py?
I'm using mkv container with flac audio codec for lossless audio;
mkv container with ogg audio codec for lossy audio;
webm container with x264 video codec, flac audio codec for FMVs.
I'm just wondering what is the best optimized combination for Ren'py?
Best audio/video codec / container for Ren'py
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.
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.
- 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: Best audio/video codec / container for Ren'py
We like the webm format, except on iOS. It constrains both the container and available codecs to be something we can easily deal with.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Best audio/video codec / container for Ren'py
I noticed that opus does not play in Ren'py. I haven't tried VP9 yet.
So
VP8/Vorbis in webm for video
and
Vorbis in webm for lossy audio
are the best formats for Ren'py?
Are there any best practices for lossless audio? I notice flac is supported in Ren'py but will it continue to be supported?
So
VP8/Vorbis in webm for video
and
Vorbis in webm for lossy audio
are the best formats for Ren'py?
Are there any best practices for lossless audio? I notice flac is supported in Ren'py but will it continue to be supported?
- 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: Best audio/video codec / container for Ren'py
Yeah, we're set up for the old webm. I haven't looked into opus/vp9 yet.
Flac will continue to be supported, but it's probably a bad idea for game audio. It's more of a production format, isn't it?
Flac will continue to be supported, but it's probably a bad idea for game audio. It's more of a production format, isn't it?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Re: Best audio/video codec / container for Ren'py
It seems like libavcodec included with Ren'py6.99.6 is outdated.
libavcodec with Ren'py is libavcodec.54; latest version is libavcodec.56 (ffmpeg release 2. and includes decoding opus support.
The other options for lossless audio is ape (takes a lot of cpu time, has controversial license), tak (closed source), and of course, wav (uncompressed, uses a lot of space). flac and wav can go into Matroska container.
libavcodec with Ren'py is libavcodec.54; latest version is libavcodec.56 (ffmpeg release 2. and includes decoding opus support.
The other options for lossless audio is ape (takes a lot of cpu time, has controversial license), tak (closed source), and of course, wav (uncompressed, uses a lot of space). flac and wav can go into Matroska container.
Who is online
Users browsing this forum: Silac