Daz Good program to convert avi or movie files to webm

Seath Black

Well-Known Member
Jun 17, 2020
1,674
7,598
So I use Hitfilm Express to have my pngs files into a movie file. But renpy wont let me use mp4s for whatever reason. So I convert them to webm using Xmedia Recode, and it works for animations. The problem is, it turns a 10 meg video mp4 file with good quality, to a 1 meg webm file that is shit quality. What program do you recommend I can use that doesn't let me lose quality. I don't care about file size, I just want to convert a mp4 to a webm with the same quality video. Thanks!
 

whippetmaster

Active Member
Oct 4, 2018
804
1,138
I know someone who has use to convert to webm with lossless encoding. IIRC, you have to specify lossless encoding.
Read this link for more details. I'm not "techy" enough to understand it all.
 
  • Like
Reactions: LoafyLemon

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,610
2,258
My answer is always going to be . WebM uses either the VP8 or VP9 codecs.

You can just select the Preset -> Matroska -> VP9 MKV 1080p 30.
Then on the Summary tab, change the overall format to WebM.
Then tweak the settings on the Video tab to suit your needs (perhaps lower FPS or quality/bitrate).

As regards image/video quality...
... I would tend to use video Constant Quality = 20 or 21 for most movies. Though porn game video might be fine with a lower quality of 24 or 25.

There are many graphics converters out there, this is my preferred one.

That that said, I'd probably leave the movie as a H264 encoded MP4 with AAC audio. The overall filesize will be marginally larger compared with VP8/VP9, but it's much lower CPU usage (because it's such an old set of codecs) - which can be helpful with low power devices like smartphones or tablets.
 

Seath Black

Well-Known Member
Jun 17, 2020
1,674
7,598
My answer is always going to be . WebM uses either the VP8 or VP9 codecs.

You can just select the Preset -> Matroska -> VP9 MKV 1080p 30.
Then on the Summary tab, change the overall format to WebM.
Then tweak the settings on the Video tab to suit your needs (perhaps lower FPS or quality/bitrate).

As regards image/video quality...
... I would tend to use video Constant Quality = 20 or 21 for most movies. Though porn game video might be fine with a lower quality of 24 or 25.

There are many graphics converters out there, this is my preferred one.

That that said, I'd probably leave the movie as a H264 encoded MP4 with AAC audio. The overall filesize will be marginally larger compared with VP8/VP9, but it's much lower CPU usage (because it's such an old set of codecs) - which can be helpful with low power devices like smartphones or tablets.
Works so much better than what I was using. Thank you so much!
 

LoafyLemon

Witch Trainer Silver
Game Developer
Jul 1, 2017
577
1,637
You can encode your PNG sequences into a WEBM directly via ffmpeg.

Bash:
ffmpeg -r 24 -i prefix_%03d.png -c:v libvpx -b:v 4M -auto-alt-ref 0 output.webm
Formatted input string will require an image sequence in a following format:
Code:
prefix_000.png
prefix_001.png
prefix_002.png
prefix_003.png
prefix_004.png
...
In my example I have used VP8 encoder because it's more widely supported on mobiles, but VP9 is preferable for optimal quality and file sizes, you can enable it by setting the encoder to libvpx-vp9, just make sure to set -auto-alt-ref to 1 as it enables some quality enhancements unique for VP9 encoder.

If you set the framerate to a higher number than the image sequence supports, the output will use interpolated motion, which may or may not be desirable, so I'd recommend playing with the idea as

Legend:
-r - Framerate
-i - Input
-c:v - Encoder
-b:v - Bitrate
-auto-alt-ref - VP9-only Quality Enhancer
output.webm - Output file
 

Romirom

Member
Jul 5, 2018
170
332
For everything video editing related I'm using Adobe Premier Pro. It can handle pretty much every video file with a great control for the different codecs and compression.

Cheers
 

carmennnoiu

New Member
Jul 7, 2023
9
3
I honestly don't know any good converters, but if you need one, I can recommend a good program for opening a WEBM file.
For example, I use Elmedia Player.
 
Last edited: