Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Wed 27/02/2019 07:48:28

Title: ogv or mp4?
Post by: Slasher on Wed 27/02/2019 07:48:28
Regarding the latest video formats and codecs for ags,

ogv or mp4?

cheers
Title: Re: ogv or mp4?
Post by: Click'd on Wed 27/02/2019 07:59:32
Regarding what, exactly? File size? Subjective image quality? Ease of use?
Title: Re: ogv or mp4?
Post by: Monsieur OUXX on Wed 27/02/2019 08:30:13
There can be 3 factors in your choice :

1) The philosophy and licensing

If you're more in favor of open-source, or if your mp4 encoder or decoder forbids redistribution or forces you to change your game's license, then go for ogv. Otherwise this doesn't factor in.

2) The codecs

If your video is targetting a specific rendering style (for example : low resolution lossless compression for 320x200 games) and if you fail to find a proper encoding codec that does that, then you might be forced to use mp4 or ogv depending on what you find and what works. Pros wouldn't have any issues with that, but for noobs like me, codecs is a jungle.

3) AGS quirks

AGS supposedly supports the video formats it says it supports. And it supposedly relies on robust graphical libraries that do the decoding almost out of the box. But nowadays with all the weird device resolutions and stretching filters of mobile devices I'd recommend testing first. Testing, testing, testing.


The file size factors in only if your needs are unusual, and if one of the formats (and codec used inside) doesn't do it right. But it's now 2019 and I would expect ogv to be as good as mp4 for 99% of use cases.
Title: Re: ogv or mp4?
Post by: Crimson Wizard on Wed 27/02/2019 14:25:04
Right now in AGS playing mp4 and avi files is not a portable feature (Windows only). If you aim for other platforms (linux, mobile) then only ogv works.