Has anyone experimented with playing a fullscreen 1080p video on a GUI texture? It's easy to do, but a 1920 x 1080 fullsreen video is choppy at best. I'm using a .MOV that's honestly a pretty large file (I'm picky about quality). Target is a standalone player on Windows 7 x64 quadcore w/ 8 Gigs of ram and a high end graphics card so I can tell you that the hardware is not lacking. Any ideas on compression settings etc to get great quality but smooth 1080p fullscreen playback?
Video playback quality in Unity is very poor (feels like they don't use GPU acceleration for this) I ended up using an external application created with openFrameworks to play the video.
hey @andresp, did you use this? how did you get it working with Unity? I mean how did you make the video appear?
I didn't use that default OpenFrameworks video playback system. I've ended up using a GStreamer based add-on for Open Frameworks in order to achieve a more fluid user experience. http://forum.openframeworks.cc/index.php/topic,3610.0.html
In Unity I've just started a different process (by executing a command in the command line through the C# Api) with OpenFrameworks. When the process ended Unity was notified.
I don't have any code to give you though because I left the company I was working at and stopped working with Unity since then.
thanks for your reply. firstly, if you're running the thing as an external app, how would it appear in your game? like, if you execute it, would it take focus automatically, and appear on top of your game screen or...? secondly, do you think this method would give one total control? I mean, I'm gonna be using this for a video player in Unity (currently I'm converting the video to a picture sequence and loading the pictures as I need), in Unity, you could drag the video window, change its size, seek the video, go next/previous, etc basically all you'd do with a normal media player. since now this thing is an external app, I wonder if communication's gonna be easy between it and Unity... if feasible, at all.
Answer by taoa
Mar 03, 2011 at 09:00 AM
I'm actually very surprised you managed to import a 1080p video in Unity. The best I managed to do was a 720p.
To answer your question, Unity recompresses all imported videos in its own format, using Ogg Theora. So if you import your video using the best quality available (i.e. push the little slider aaaaaall the way to the right), then the result is going to be the best you can possibly achieve in Unity.
If that's not good enough for you, then you're out of luck, I'm afraid, until Unity improves video playback, but considering their main target market (mobile devices, webplayers...), it's massively unlikely in the short/middle term.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
2 People are following this question.
Full video out on iPad
HD Video in Unity 3D
Playing from a specific point using Handheld.PlayFullScreenMovie
Handheld.PlayFullScreenMovie only plays sound, but no video
I can't get my .mov or .mp4 to play in unity pro