Hi!
I know that the AGS engine can play different video formats, but I can't figure out how.
I did a movie in MP4-format in Windows movie maker to try this, but when I use this script:
PlayVideo ("mymovie.MP4", eVideoSkipAnyKey, 1);}
I get an error message in the game once the script is triggered:
(http://i.imgur.com/r7t5QQV.png)
The video worked in windows media player.
In case anyone is wondering, the last sentence in the screenshot of the error message is
"The pins cannot connect since they are not supporting the same transport" in English.
Please, does anyone have any idea what's wrong?
I wanted to add a FMV to my game.
You might be missing some DirectShow filter for decoding that format.
- Alan
Quote from: Alan v.Drake on Wed 09/11/2016 18:11:04
You might be missing some DirectShow filter for decoding that format.
Probably AGS is missing? since Blondbraid said it played in media player.
TBH, since this type of video is played using DirectShow, there are two possible issues:
1) It won't work anywhere but Windows.
2) It may rely on certain components video must have or cannot have. AGS implementation may be way too simplistic to support any possible video format (and was not reviewed for years).
There was a similar problem reported before, and other people usually recommend converting to OGV format, which should be cross-platform too (as far as AGS is cross platform):
http://www.adventuregamestudio.co.uk/forums/index.php?topic=53337.0
Converting the file to OGV format helped,
but confusingly enough Windows media player won't play it. ???
Thank you!