Re: SOLVED - Since 0.10.26 the MODded videos do not play when Reshade is activated
Posted: Sat Dec 12, 2020 1:15 pm
You can read the gory details about supported formats and codecs by platform here: https://docs.unity3d.com/Manual/VideoSo ... ility.html
Code that picks what file extension to use for each platform is at the top of VideoReplacement.cs
From the look of the script I used for webm encoding, I chose 6Mbps target for video, and didn't spent more time tweaking parameters:
That's significantly lower bitrate than the source (30MB for 2 minutes 1280x720 seemed a bit excessive), so comparing outputs is not really fair.
Also, there will always be some quality loss with each reencoding, so to compare formats you should really start from the unencoded original, which you may not have anymore...
And given the very low quality videos this all started from, most details have been "invented" by algorithms, so I think we should look for result that looks good, rather than exactly preserve all the details of the unencoded video; It won't be less faithful to the original low res videos.
Code that picks what file extension to use for each platform is at the top of VideoReplacement.cs
From the look of the script I used for webm encoding, I chose 6Mbps target for video, and didn't spent more time tweaking parameters:
Code: Select all
ffmpeg -i "$file" -c:v libvpx -c:a libvorbis -b:v 6M "webm/${filename^^*}.webm"
Also, there will always be some quality loss with each reencoding, so to compare formats you should really start from the unencoded original, which you may not have anymore...
And given the very low quality videos this all started from, most details have been "invented" by algorithms, so I think we should look for result that looks good, rather than exactly preserve all the details of the unencoded video; It won't be less faithful to the original low res videos.