I’m not sure if this is a bug or not, but there’s no documentation and it’s not working as I would expect it.
In the Media Player when I put in a URL to streaming video, such as http://www.ustream.tv/channel/live-iss-stream the Media Player doesn’t play the streaming video at that URL. It doesn’t show up in the Media Player previewer. It also doesn’t show up when used to create a material. If it’s broken, I just wanted to let you know. If I’m doing it wrong, any help is greatly appreciated!
Thanks!
Ok. Thanks for clarifying. Are there any plans to incorporate streaming video over the internet? If not, is it possible to create a system that would do that in code?
Streaming from the internet is already supported, but the stream must be in a format that the media player plug-in corresponding to the target platform actually supports. For streamed playback on Windows you need to have a Windows Media compatible stream. In other words: if it plays in Windows Media Player then it will likely also play in the Engine.
As for the plans for the Media Player, because it is new I am unsure of the future plans.
Here is a Forum post on plans for this new feature. I am sure a lot of other people have similar questions as well, so you will be able to find some answers here:
Ok. that’s promising. Thanks for the help! If you have any tips on tracking down Windows Media Player streams, I’d great appreciate it. Or if you have a recommended stream that I can test with. Thanks.
Note that the .asx extension is currently not registered in the WmfMedia plug-in as a supported file extension, so you will have to open these files in a text editor and extract the <ref> attribute containing the actual video stream URL (usually a .wmv file). Those will play in the Engine.
I had a quick look at this. It seems that ASX redirectors are not supported by Windows Media Foundation, so it won’t play in the Engine, sorry. You will have to stream one of the other supported formats, which are listed here: Supported Media Formats in Media Foundation - Win32 apps | Microsoft Learn
Thanks for the help. I found a sample MP4 here… http://techslides.com/demos/sample-videos/small.mp4 on this page. However, the video loads, and plays but no video actually appears. And the Media Player says, No Video Tracks Available. Might be a codec thing.
The .mp4 file likely uses H.264 encoding, which is also not supported right now. The only format that we found to play reliably is MPEG, which is what we use in our own .mp4 files.
We are currently working with Microsoft to improve the player plug-in for Windows. It will likely be rewritten, so it also supports XboxOne, but probably for 4.8 at the earliest as we are currently trying to finish up some other cool new things.
Have you gone through this post and read about the compatibility issues, as well as the documentation for the Media Player Asset to make sure you are setting up your Media Framework to play correctly in your project?
I’m trying to play videos with 4.8.2 on mac and android: it works with local files (also H264) but not if I use a URL of a video on internet.
Is there some kind of bug? Anybody got this working?