Hi,
is it possible to playback videos with the following codecs: mpeg2/h.264 and ac3?
if there is no nativ support, is it possible to extend the unity functionalities to support mpeg2/h.264 and ac3?
Best regards,
Omid
Hi,
is it possible to playback videos with the following codecs: mpeg2/h.264 and ac3?
if there is no nativ support, is it possible to extend the unity functionalities to support mpeg2/h.264 and ac3?
Best regards,
Omid
Unity uses Ogg Theora for video playback and so all files must ultimately be converted to the Ogg format. You can use Unity to do the conversion (from *.mov, *.avi, *.asf, *.mpg, *.mpeg and *.mp4) or you can find 3rd party tools if necessary.
You may be able to write your own plugin for that purpose, but please note that plugins are not supported in the web player so you’ll be limited to desktop based applications/games if you go that route.
Could the QTplayback script from the wiki not playback h264 video through quicktime?
Agreed you could only do it then on standalone builds and quicktime needs to be installed, but the video quality would be very good.
Could the QTplayback script from the wiki not playback h264 video through quicktime?
Agreed you could only do it then on standalone builds and quicktime needs to be installed, but the video quality would be very good.
Notice that while native-flavour dll’s aren’t supported in the webplayer for security, .net dlls are. Perhaps theres a piece of .net software that solves this? If you could get a byte stream serving frames of a video, you could put these frames in Texture2Ds and display those in the GUI or on 3D objects.
I have done this. I don’t have the link offhand but if you do an author search of “rab236” you will find an answered question about this. there’s a special script to use, but the movie is an image sequence and needs to be put in frame by frame. I’m pretty sure the thread is called “Image Sequence?”