Now available at the Asset Store! - Last updated 24 February 2016 (version 2.90).
NOTE: THIS PLUGIN IS NOW DEPRECATED AND IS NO LONGER SUPPORTED! PLEASE LOOK AT OUR NEWER PLUGIN: AVPRO VIDEO INSTEAD.
Hi, I’m starting this thread for anyone who wants to discuss our asset for Unity: AVPro Windows Media
Basically it’s a plugin for playback of video and audio and is aimed at the high-end user group that require video playback features beyond Unity’s built-in video support.
Features include:
NEW Unity 5.4 support!
Supports Unity 4.6 - 5.x
Both 32 and 64-bit friendly.
Free watermarked trial version available.
Years of professional use in the field.
Fast native Direct3D9, Direct3D11 and OpenGL texture updates.
Hi all, I wanted to let everyone know about an exciting new feature we have planned for an upcoming release of AVPro Windows Media: Overlays.
Overlays allow us to display videos in Unity really FAST and using very little CPU. It works by leveraging the graphics API (DirectX and OpenGL) directly and completely bypassing Unitys texture system. Currently our plugin plays videos to Unity textures and it works really well, however there is some extra overhead when using DirectX as we can’t update the textures directly like we can in OpenGL.
The current method of playing videos to Unity textures will remain however we will offer the new Overlay mode as an extra option for those that need faster video playback using DirectX.
The overlays are 2D rectangles that are drawn on top of the final scene. They can be positioned, alpha blended and have their depth set.
If you have any comments or questions about this upcoming feature let us know!
Could you tell me if this software could support the playing of AVI files that are 2GB in size? Ideally, I want to load these files after I have already built the runtime executable. In other words, I would like to load the 2GB movies from the filesystem from a script after the build is complete. Is this possible?
Thanks!
EDIT: I see from your demo that loading movies after the build is possible, but how about videos of large file size 2GB or greater?
Hi tylo - that’s right the demo lets you specify your own video files so you are free to test it with a video file > 2GB We haven’t tested this one yet but I don’t see any reason why it wouldn’t work.
What codec do I need to install to run the demo? I cant see any video playing when I run the demo but I can watch the default avi by using Windows Media Player. Thanks.
The demo video is encoded with DivX which is a common format that should be available on most systems. I’m not sure why it’s not working for you but feel free to download the codec or try your own video file
Hi Ray…If you can find a DirectShow codec/plugin/transform that can load YouTube then it may be possible yes. Our system doesn’t support this natively though. I would be very surprised if you could find anything that does this though. I know there is an AS3 API that allows you to play YouTube content, but I don’t think the other APIs (C#) let you do that.
I badly want to buy AVPro windows media.But felt it would be better if i try the demo in unity and then buy.
I downloaded the UnityPlugin-AVProWindowsMedia-1.5-Demo. After extracting these are the files and folder present
The demo doesn’t work in Unity - it’s a standalone application built in Unity that uses the plugin. Perhaps if you have some questions about how it integrates into Unity I could answer them here for you?
Hi All! I’m please to announce the release of version 2.0 of AVPro Windows Media!
The main new feature is Unity 4.0 support, which includes support for it’s new DirectX native texture access. This means our plugin finally runs the same speed as it did in OpenGL! Faster smoother videos using less CPU power!
We’ve also made a number of other improvements and bugfixes.
hi,
i’m trying to play a bunch of wmv files (not at the same time / with one AVPro Movie MB). everything works fine until i play one special video the second time.
the error report says “(0x0000000006BE11FA) (AVProWindowsMedia): (filename not available): (function-name not available) + 0x0”
but the first time, when i play the video everything is ok and i see the video playing.
this happens only in a standalone builds (x86 and x64).
when i’m trying to reproduce the behavior in the editor, the application freezes for ~0.5s and then the video starts normally.
some ideas ?
here,I have some serious promblems after I import the packge, they’re that,
‘Assets/AVProWindowsMedia/Scripts/Internal/AVProWindowsMediaFormatConverter.cs(67,82): error CS1061: Type UnityEngine.Texture2D' does not contain a definition for GetNativeTexturePtr’ and no extension method GetNativeTexturePtr' of type UnityEngine.Texture2D’ could be found (are you missing a using directive or an assembly reference?)
Assets/AVProWindowsMedia/Scripts/Internal/AVProWindowsMediaFormatConverter.cs(67,41): error CS1502: The best overloaded method match for `AVProWindowsMediaPlugin.SetTexturePointer(int, System.IntPtr)’ has some invalid arguments
Assets/AVProWindowsMedia/Scripts/Internal/AVProWindowsMediaFormatConverter.cs(67,41): error CS1503: Argument #2' cannot convert object’ expression to type `System.IntPtr’’
:?:?:?
can anyone help me solve these??..I would really appreciated…
I don’t know! You can download the demo on the website and feed your own video in as a test. I think it will greatly depend on what the codec supports. Do share your results