- Home /
Video import problem post Unity 5
So I tracked down the majority of my problem (so remove the old post about it) but still faced with the biggest problem.
I can't get Unity 5 (Pro) to import video.
I drag it into my Streaming Assets directory in the editor and it places it but it doesn't show in assets when selecting a texture.
In Unity 4.x Pro it converted the video using QuickTime. Unity 5.x doesn't seem to do this step. I have tried mp4 files and wmv files (just to see if it converted a wmv) but it doesn't.
Anyone have any ideas how to import a video in Unity 5 and have it show to assign as a texture like Unity 4.x allowed or did this whole process change with Unity 5?
Answer by Chris D · Mar 18, 2015 at 09:13 PM
I've been working with rendering to textures recently in Unity 5 and also ran into some issues on import. My adjusted workflow as of now is:
Process file (working with MP4s) using ffmpeg2theora from command line
Import new .ogv file into Unity
Create new material to house my video
Assign video to material's Albedo map
Trigger video playback in scene as desired.
As I understand it, Unity uses theora internally. The conversion step seemed to be the rough bit for me so this has been my work-around until I figure out a proper workflow.
Your answer
Follow this Question
Related Questions
How to Cycle video through sphere as a texture ? 0 Answers
How to play video on WEBGL 0 Answers
Unity 1080p Video player 1 Answer
VideoPlayer Completed Event Handler 0 Answers
4K video playback 2 Answers