Before updating to Windows 10 you may need to return your Pro license. More information here

HD Video Playback

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?

more ▼

asked Oct 18, 2010 at 03:47 PM

avatar image

27 1 2 3

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.

Jun 08, 2012 at 01:51 PM andresp

hey @andresp, did you use this? how did you get it working with Unity? I mean how did you make the video appear?

Oct 22, 2013 at 08:02 AM vexe

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 https://github.com/fishkingsin/ofGstPlayerExample

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.

Oct 23, 2013 at 07:32 PM andresp

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.

Oct 24, 2013 at 06:02 AM vexe
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Mar 03, 2011 at 09:00 AM

avatar image

1.8k 23 27 68

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Oct 18, 2010 at 03:47 PM

Seen: 5784 times

Last Updated: Oct 24, 2013 at 06:02 AM