Trouble setting default Media Player Decoder
I am using gmpreussner's VlcMedia plugin (https://github.com/ue4plugins/VlcMedia) to stream from an IP camera into UE. This works fine except whenever I open my project in the UE editor the Media Player always defaults to WmfMedia, which is not compatible with my stream and so I just get a solid black texture when running the game. I have selected VlcMedia as the default Decoder:
Despite this you can see that it still says WmfMedia at the top right. I also set the Default Player in my StreamMediaSource asset to VlcMedia, but this seems to have no effect.
The only way that I can get the player to bump itself to VlcMedia is to already have the Media Player asset open in the Asset Editor when I click Play. After this it stays on VlcMedia for the rest of the session and works fine. I am starting the streams using Event BeginPlay from the Level Blueprint as shown:
As expected, the "Get Player Name" node returns WmfMedia when the video streaming fails and VlcMedia when it works. Even worse, in packaged builds it returns "None" and the streaming doesn't work. There is unfortunately no "Set Player Name" node.
I'm aware that the Media Framework is still in an experimental state but it would be nice if I could move past this one problem holding me back. Any help is appreciated!~
asked Dec 06 '16 at 04:12 PM in Bug Reports
I was able to reproduce your issue with the project you provided, and have gone ahead and entered a bug report which you can track by following the link below.
Once the issue has been addressed by our engineers the ticket will be updated and reflected in the public tracker. Let me know if you have further questions or need additional assistance.
answered Dec 14 '16 at 04:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here