Hi all,
As you can see in the picture below, I have a Webcam live feeding into a media player → media texture → material assigned on a Plane in a level which is working fine.
Now as soon as I hit Play, the media texture goes black on runtime.
I think the reason is: In the editor, as in the picture below, it actually won’t show a Webcam captured video until I manually choose a correct stream option.
So I guess I have to do the same thing in the blueprint. After “Open Url” node, is there any blueprint node that I can use to select a stream playback option?
Please help~~
Thank you for reading
Hi, i have this problem too,but i could not solve it even following what you did,
I tell you what I did so maybe you understand where I went wrong … I created a Media Player object and like you it works only in editor if I select the correct stream option.
I created a material with and entered the mediaplayer information into a texture sample and linked to the emissive color.
then i opened the common blueprint layer and i opened 'url of the webcam and referencing a variable mediaplayer
everything works in the editor but in runtime it seems that it cannot modify the playback options of the media player. what am i doing wrong in your opinion? any help is welcome
HAHA! Resolved! I put the delays as you did but it didn’t work, then I realized why! I realized it when I used some prints for if the media player was loaded correctly or not and this is precisely the point, going to frame it all depends on the power of the machine, and probably your pc is faster than mine so to solve any doubt or told to move to next operation only when finished as in the example below …