Post by lightcalamar on Dec 30, 2017 7:28:28 GMT -8
Hello to all. I experimented to put audio to the videos of the new Gameduino 3 shield review. Now the videos have sound.
This be the test;
You have to modify the library simply with two lines. Locate in GD2.h(line 1344);
GD.cmd_playvideo(OPT_MEDIAFIFO | OPT_FULLSCREEN); and replace by;
GD.cmd_playvideo(OPT_MEDIAFIFO | OPT_FULLSCREEN | OPT_SOUND); Then you put new line add (after line 945):
#define OPT_SOUND 32 Restart IDE Arduino.
You need for example a video and an audio file, or transform yours. Use FFMPEG and SoX. Audio files must be mono 4/8 bit IMA ADPCM format or u-Lab, please follow documentation; FT81x Programmer Guide page 170.