Streaming a video file...

So I read up on “Movie Texture” in the documentation, but it looks like it requires you to convert video files first, then add them to your project. I would like to stream files, like a media player. Are there any plugins/tutorials on how to do this?

Thanks!

Unity move texture supports to be streamed via the WWW class.

Hmm I wonder if this will be suitable for a VLC style media player? Will it be fast enough to seek around a video? At work now, will run some tests when I get home…

*and what formats are supported? Any that the local system can decode I hope?

If you like to have a replacement for your media player or vlc , not that is not what the unity movietexture class or the www class can for you.
Unity does only support very limited Video formats like oggTheora and there are no standard seaking slider, play and pause button available. You im not sure if jumping to a specific timepoint is possible while streaming.

Hmm I can’t be the first person to try and do ‘media player like’ functionality in Unity. I searched a bit but haven’t found anything. Are there really no plugins in the store, or other projects in the works?

Is my only option to try and rip apart something like VLC and add my own plugin to Unity?

I’m reading up on Unity’s plugin support… Would it be possible to use something like libavcodec/ffmpeg to decode a video file, and somehow get it into a unity texture?

Would unity support something like that?

Looks like there are some c sharp ffmpeg wrappers…

http://www.ffmpeg-csharp.com/news.html

Would something like this work in Unity? By ‘work’ I mean decode a video file, and write to a Unity texture.