I’ve been attempting to convert our video files for a project into .ogg format so that we can stream them from the web in our game. However all of the various encoders I have tried haven’t made an .ogg video that works on our web server. The sample .ogg file that Unity provides however does work off of our web server.
The encoding programs I’ve tried so far are:
MiniCoder
FFCoder
GFrontend(ffmpeg2theora)
DS Mux
Miro Video Encoder
TheorConverter .NET
None of them seem to be able to make an .ogg or .ogv that Unity will play off a web server. Has anyone had a similar problem and/or does anyone have any solutions to this problem?
That didn’t work either. Nothing we convert with will give us an .ogg that works. I feel like there might be something else we’re missing here that is making all our files not work like the sample provided.
Any thoughts on anything else you’d need to do to this file other than convert it to .ogg?
Apparently Unity was reading the video files as having a duration of -1 for some reason. Eventually we noticed that the sample video had the duration saved as Metadata in the video file which we could see from VLC Player. The other encoders weren’t automatically saving that metadata out, instead just listing the encoder in the metadata field, so Unity didn’t know what the duration was.
Our coders are not particularly happy to find that we are now going to have to embed duration Metadata into all of our videos to make sure Unity knows how long the clips are. Frustrating but at least we have a solution.
either you can search on google that conver video .ogg and post on webserver, play online videos http://www.googlevideo.co/ for more services go [format conversion]