[ OSX Video Texture Pro ] - Improved QTKit/Quicktime video player for MacOSX

Now released! Video Texture Pro 2.0. Now compatible simultaneously with Syphon. Free.

VTP 2.0 is a HD video player plugin for Unity Pro. It uses fast texture decoding on OSX 10.8+ or iOS 6.0+ For games, art installations, performances, and simulations, and for those needing a high performance, flexible video player.

Features:

  • Supports alpha channel transparency
  • Adjustable volume/speed/timeline scrubbing
  • Callbacks generated in Unity when a video ends
  • Playlist support- queue up multiple videos
  • Runtime GUI included to control all videos

Images:

Asset store Link:
http://u3d.as/content/brian-chasalow/osx-video-texture-pro/2yW

Looks good. I am likely to buy this within a couple of days, but Im wondering how the audio of the movies behaves when you are adjusting the speed of the video or scrubbing. Can you give me a clue about this or post a video that shows it in use? Cheers.

Hey there elbows- When you adjust the speed, the audio does not change pitch, it just slows down in playback speed. As for scrubbing, drag the timeline in an open movie in Quicktime 7- the plugin should behave similarly. I will see if I can get a demo video of this up there.

Please check out the video demo here

Uggg, yes. This is what I’ve been dreaming about for so long!!!

But! No windows support will keep me away, for now. Know of anything similar using Ogg?

livemixlove: switch to only macOS? :wink: i saw there’s both packages for windows and mobile video texture playback on the asset store, made by other developers so I’m not sure of their details.

Thanks for the demo video. I went ahead and purchased your plugin yesterday, happy with it so far, cheers :slight_smile:

Np, and thanks elbows! Let me know if you have any questions/issues/etc.

Hey guys, just a heads up- the next version I’m submitting tomorrow-ish has support for HTTP movie streaming via Quicktime. Give it an URL, and stream videos from the web to any video surface in your game. This feature needs some beta testing, but it seems like it works!

I also made a class called VideoTextureSimple, for those that don’t want to deal with queue lists/video preloading or want to load videos from different locations on their hard drive, (or from the web, in the case listed above)
I added some samples that show how to programmatically create a video texture from script- it’s really easy.

Nice one, I was going to ask about web streaming at some point.

just submitted the update to the asset store- so whenever it gets approved, give web streaming a try and let me know how it works for you. :slight_smile:

hey all- I’ve updated the plugin 2x in the past 2 days for fixes to web streaming, bug fixes, etc, but naturally the asset store folks take a day or two to verify updates. If you want to send me your invoice # from the purchase via email (brian@chasalow.com), i can email you the latest updates as soon as they are completed.

The http web streaming should work properly now- and if it can’t load a video from the web, it should return an error gracefully and print an error to the OSX Console.

Also, I should let y’all know- if you are having problems with built apps not displays your videos, there appears to be a bug on Unity’s end where if you use the Unlit/Transparent shader but don’t have it in your Resources folder, it can’t find it, and aborts. It finds it just fine in the Editor. Apparently, built apps rely on this shader being in your Resources folder, even if it is supposed to be one of the default Unity-included shaders. Just copy the Unlit-Alpha.shader to your Resources folder and it should work. Version 1.0.6 of OSX Video Texture Pro has this shader included by default. If anyone at UT is watching, this is Case #438005

Also, there is a bug that prevents the plugin from appearing properly in standalone apps built with the 3.5b6 Trial. EDIT: this has been fixed and submitted to the asset store.

I would need this for iOS. Is there any chance it will work in the future on iOS devices?

helioxfilm: I currently have no plans to adapt it to iOS, unfortunately. However, this is not completely outside of the realm of possibilites.

Other folks- i just posted a very important update to the plugin bundle to the asset store- email me if you need it sooner. It fixes a low level GL texture stack issue, and it makes the plugin compatible with the 3.5b6 trial version.

Well, I would be on the market for such a version… In that case I would not need to leave Unity for an interactive video-book application development…

Can this be used to load movies dynamically from the file system after the game is compiled from the Editor?

In other words, can I build the game, and load the movies I want to play afterwards?

Also, when you say OSX Only, does that mean only OS X Builds, or only the OS X editor? I’ll assume both of course if it only works with builds. :slight_smile:

yes.

yes, both.

Rats. I saw another plugin got this working with Windows so long as Quicktime was installed on the system. Any possibility that your method could use a similar approach?

QTKit doesn’t exist for windows. Apple hasn’t updated Quicktime for Windows in years- it uses old texture upload methods and it for sure isn’t 1:1 compatible with the new, faster way of handling video in OSX. If another plugin got it working in both windows and OSX, they’re using the slower method of texture upload on the OSX side so that it remains compatible in windows (unless they wrote a completely different plugin for the windows vs. the OSX side)

Do you remember the name of this plugin?