@lofcz wrote:
Are Videos properly implemented in this version yet? When I compile my mp4 using H.264 Video importer and Video - MonoGame processor, output xnb file is about 1Kb in size. Videos get loaded properly and for example Duration attribute is correct. Game crashes on following code:
VideoPlayer vp = new VideoPlayer();
Video v = video_get("MyVideo").VideoSource; // v contains valid duration, framerate, path
vp.Play(v); // crashes on nullreference0Running this on Windows10, DX.
Would be grateful for any info about this, thanks!Update:
Turned out MonoGame itself plays video well, problem is caused by MonoGame.Forms which I guess doesn't initialize some mandatory systems. As for audio to workFrameworkDispatcher.Update();
needs to be called, are there any steps required to get video working?
Posts: 1
Participants: 1