Here’s a video featuring some smoother rotation (in 10 degree jumps) but with some scanline rendering artifacts. I’ll get rid of these, improve the scenegraph API and implement a proper pixel buffer object (rather than the direct int[] access it is now). It should be servicable for a while then.

It’s in Ogg Theora as usual so GNU/Linux users can play it out of the box. Windows and Mac users should have a look here for details about Ogg Theora support on their platform. Users of other platforms such as GNU/Hurd, FreeBSD, Solaris etc… are probably savvy enough to figure this one out themselves.
I ain’t savvy enough to figure this out.
All jokes aside Aidan, using ogg theora is crazy, its like me send you a Word doc and telling you OOo will read it, except its far worse. Surely there must be a more accepted mpeg based codec you can use.
I don’t know of an MPEG based codec that is legal for me to encode. And besides the Gnome video grabber thingy just dumps to Ogg Theora easily.
However, it’s more like me giving you a PDF file and telling you where to find a free software PDF viewer.
It’ll play with Real on Windows, or in Media Player with the codecs installed from http://www.illiminable.com/ogg/oggcodecs_0.69.8924.exe or with Mplayer
On Linux it’ll play in Totem, MPlayer, Video Lan Client or Real (Real is only on x86 though).
On Mac it should play through MPlayer or VLC though Dave says his MPlayer is hobbled.
Aidan, I told you XviD would work, I told you XviD was under the GPL, and I told you that XviD was compatible with the DivX decoder. Theora is an obscure codec that people have to spend time to set up, time which (quite frankly) is worth more than seeing your work.
I’m glad you told me what to do with my media file.
XviD may be under the GPL, but the program I used to generate the video exports Ogg Theora. I’m happy with Ogg Theora and I won’t be spending the time to convert it to XviD.
Deadly. Guess you’re more concerned with what codec you use than if it will fucking work.
Needs VLC to play on the Mac, and Des tried to get it working on Windows Media Player but he gave up when the first set of instructions didn’t work. I can’t blame him.
So, let’s look at who can actually play this clip:
1) People on Linux with VLC or Mplayer.
2) People on OSX with VLC.
3) People on Windows with Mplayer or a recent copy of Real Player.
Which means you don’t give a shit about the majority of your likely audience. You call it “your” media file… thing is, if you decide the codec to use based soley on what YOU like, you spit in the face of your end-users.
I’m a bit horrified you’re suggesting Real Player… it’s a horrible, spyware-ridden piece of crap.
I don’t suggest you use Real Player. In fact I suggest you use Totem on Linux
But Real has Theora support.
The basic thing is that media is a problem. If I were to give you a document to read I could give you a text file, an RTF file, a HTML file or a PDF and everyone* could read those.
If I want to give you a video file my options are MPEG2, which is patented up the ying-yang; XviD, which I know little about but it’s usage seems to be restricted in certain countries; or Ogg Theora. I could use WMV or MOV, but they’re even less supported than MPEG2, however they’ve a higher usage base than Ogg Theora.
So the question is: Should I
a) constrain my possible users by forcing them to buy a patent licence to view the video eg: MPEG4,
b) constrain my users by publishing in a format that they’ve already purchased with their OS (if they’re Windows or OSX users) and not distribute beyond that market eg: WMV,
c) constrain my users by requiring them to download a free codec that’s available on most platforms eg: Ogg Theora.
Furthemore given that (c) was the easiest for me…well guess what I chose. Problem is that it’s a mess any way that you look at it.
Lastly, I do give a shit about the majority of my audience. The majority of my audience is repeat visitors from MiNDS>, ILUG and (hopefully soon) my students. The ILUG people are likely to be using Linux, so it plays fine there. The MiNDS> people can install Ogg Theora if they want to see videos from this blog, not ideal…However, I’ve ensured that Ogg Theora and Vorbis are supported in the labs here at Brighton Uni. If there’s anything more I could do without restricting viewers (other than to download a Free Software codec) I’d like to know.
* Where everyone dosn’t include C64 or Amiga users.
Hmm,
I dunno how you can say it would work on out of the box GNU/Linux. Does it really work on linux without installing anything?
I got it to work on FreeBSD as follows:
portinstall libtheora
portupgrade -f mplayer-gtk-esound
But, it will only play if you manually set video output to x11, otherwise mplayer crashes. This doesn’t happen with any of my other codecs. I suggest you take another look at xvid. If you insist on capturing to this theora format, you could at least facilitate your readers by re-encoding to something more sensible using mencoder.
On a Ubuntu, Fedora or Novell GNU/Linux box it works perfectly as they use Totem as the multimedia player over the gstremer framework. The Gstreamer framework is distributed with Ogg Vorbis and Ogg Theora (along with others) by default as there are no legal issues with the codecs. IMHO Totem/Gstreamer is much easier to use than MPlayer.
But like I said, if you’re using anything other than Windows, Mac or GNU/Linux you’re probably capable of solving the problem yourself. The problem is that Des suggested that Codec installation on Windows ain’t that easy, which sucks, but there’s not much I can do.
testcomment83