Media Player with Matinee Create a Movie
I've got a Media Player and am controlling it through my level blueprint. It works fine in normal editor "Play" mode but when I try to write out a moviefile with matinee's "Create a Movie" tool it doesn't stay in sync with the global clock. If i write out an avi file it's mostly in sync but if i write out pngs or bmps it's way out of sync. It looks like the longer write time with the pngs/bmps is highlighting that the media player clock is not tied to the global clock. I looked at PlayLevel.cpp and it does look like the -BENCHMARK flag is being passed to the game instance in matinee's Create a Movie tool so i'd think that that would keep media playback in sync. any ideas?
asked Nov 07 '14 at 07:07 PM in Blueprint Scripting
You are correct, the clock of the video decoders is completely independent. Matinee will render as fast as it can while the video decoder will retain the video's playback rate. There is currently no way to synchronize playback during movie recording. We might change this in the not too distance future. See also Media Framework Roadmap.
answered Mar 24 '15 at 06:55 PM
Thanks for the update. Hoping for the best for this topic =)
answered Jan 08 '18 at 06:18 PM
First of all - this seems to be a very well known and sadly even harder to tackle issue, especially as the ArchViz community is growing and clients are breathing down many necks to get videos to play on video walls, jumbotrons etc.
I've read through all the explanations, and while it really is desirable for this issue to be reprioritized after having been reprioritized ;), I can say that this workaround did the trick for me:
Adding the "Delay" node was the key element that had been missing and cost me half a day to find in another thread, so I've included it here with the final result.
It's probably still far away from an elegant and perfect solution, but if your situation is anything like mine, you'll probably appreciate this workaround very much. In my case, it delivered a reasonably stable, controllable result.
Best of luck until the "big solution" is at hand - so long,
answered Jun 11 '18 at 09:51 PM
I find out that adding a delay node to this has be accurately measured for you to get the pleased results, but by using "IMG Media Source" you can source your source video file to play an image sequence, this allows the engine to sync the frames for the output video inside the screen you're trying to play inside the unreal with the render of the project video, yeah true it's a work around but it works fine with synced frames fro both the in game media and the final rendered video.
answered Jul 08 '19 at 01:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here