Play, seek a video in Unity 3D - c#

I want to play a video from Unity3D. The video play must be able to seek to a particular frame or time. Also I have a requirement of playing the video from web.
From Unity's documentation I am able to download an online video and play it as a movie texture. But I don't have the options to seek, fast forward etc. If you have any idea on that please let me know.
Or else suggest any libraries or plugins I can use to do this.
Thanks in advance.

Related

How to record video with device camera in Unity?

first question post here. Please go easy on me.
I want to be able to record videos with device camera in Unity.
I can play the camera video as a video texture using WebCamTexture, but cannot save the video as a .mp4 file or something in the device.
Is there any way to do it inside Unity?
Thank you very much.
Basically, I want to be able to record videos with device camera and save them in device as .mp4 files, just like a normal camera app, but with Unity
You can use this plugin available in the unity asset store >>
CameraShot plugin

How do stream video from my site and play in unity app?

I want to make a archive of my videos (high quality videos) on my site or other sites and I want to stream them online from the unity exported app.
How can I make stream option because if I preload it in the app, the size of the app is very big which is not needed, want the app to be small in size.
I also tried using YouTube streaming in the app but it only support up to 720p using plugin available on the asset store. Any steps or tutorials is much appreciated. Can someone please help I am stuck here and do not know how to do this.
For a Android/IOS app you can use a plugin called Easy Movie Texture, is not free but the plugin works great and the support is very good too.
All you need to do is add the MediaPlayerCs.cs to the gameObject who will be the "screen" then assign the path of your video in the inspector.(in your case an url)
All of this is explained in the plugin manual.
Link to plugin: https://www.assetstore.unity3d.com/en/#!/content/10032

Ability to set audio position before playback

While beginnning audio playback, I need the ability to set the position in the audio file from where to begin the playback.
Please guide me with the API's to be used for this functionality.
Until now I have been using SoundEffectInstance for audio playback, but I do not see an option to set the audio playback position in that.
There are many different ways to play audio, see Media for Windows Phone. Without knowing which one you're using, it's a bit difficult to answer the question.
The MediaElement class has a settable property for Position that could serve your purpose.

How do I make a video cut-scene with XNA 4.0?

I have transitions in my game and they work fine, but I want to now play a video cut-scene between certain transitions but can't find out how to do it.
EDIT Actually I just found out that XNA 4.0 has video playing capabilities now, they just have to be in .wmv format. Thanks for any help.
You might want to check out http://xnadsplayer.codeplex.com, saw that linked in a few different places.

Xna AudioEmitter & AudioLIstener

Can you tell me how exactly does that thing works. I mean how audioListnere knows, that audioEmitter is playing something ? We are making game with few friends, and i am responsible for the audio, and i am collection all kind of knowledge. I apprieciate all kind of help.
Here is an article about Dynamic Audio from XNA Creators website. They also have a 3D Audio sample.
There is also the SoundLab with 170 audio files which maybe a good starting point.

Categories

Resources