ogv or mp4?

Started by Slasher, Wed 27/02/2019 07:48:28

Previous topic - Next topic

Slasher

Regarding the latest video formats and codecs for ags,

ogv or mp4?

cheers

Click'd

Regarding what, exactly? File size? Subjective image quality? Ease of use?

Monsieur OUXX

#2
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.
 

Crimson Wizard

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.

SMF spam blocked by CleanTalk