I've made a start writing a Theora player for Series 60 phones (mostly Nokia phones, but some Samsung and Sony Ericsson ones too). Download here: http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlay_010.zip I've been using Big Buck Bunny, Elephants Dream and a few other ogv files for testing. I've uploaded 320x180 versions of those here: http://symbianoggplay.sourceforge.net/OgvPlay/BBB-320x180.ogv http://symbianoggplay.sourceforge.net/OgvPlay/ED-320x180.ogv This is the first release (consider it Alpha 1) and as such there are a few issues. The most obvious one is performance. Big Buck Bunny plays ok, but ED is jerky. I've also disabled scaling for now as the performance isn't good enough, so videos will be centered and cropped if they are bigger than the screen. If they are smaller (as they probably will be on phones like the Nokia 5800) they will appear in the middle of the screen. I'll try to get scaling put back in when I can get the performance good enough. I was going to ask if anyone had done any optimisation for ARM processors, but I've now spotted this project: http://wss.co.uk/pinknoise/theorarm So I'm going to take a look at that and see if I can get another optimised version out soon! Release notes: Only 4:2:0 encoded files with vorbis are supported. i.e. videos must have a vorbis audio stream (theora only won't play). Videos need to go on the memory card in a folder called Ogv (i.e. E:\Ogv\). There's no support for streaming at the moment. Volumes controls on the phone can be used to change the volume. Left and right on the D-pad will work too. There is no GUI. Just use the red button if you want to quit. I've tested on the Nokia N82 and Nokia 5800, but it should also work on all other S60 3.x and 5.x phones. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100412/985da964/attachment.htm
I imagine that the S60 series phones are on a number of processors, right? Can any of them use the DSP work that David did? --Chris
On 11 April 2010 23:42, Stuart Fisher <stuart.fisher at fig7.com> wrote:> I was going to ask if anyone had done any optimisation for ARM processors, > but I've now spotted this project: > http://wss.co.uk/pinknoise/theorarmNote that there's some additional work happening on this code at http://svn.xiph.org/branches/theorarm-merge-branch/ So far it's mostly a license change, but the plan is to eventually merge this into to the upcoming 1.2.x libtheora releases. It might be a better branch to track for your work. David's port to the TI C64+ DSP is at http://code.entropywave.com/git, particularly the leonora and *-c64 repositories. See http://www.schleef.org/blog/2009/11/11/theora-on-ti-c64x-dsp-and-omap3/ for an overview. Thanks for working on this! More mobile support is really important. -r
This is a really great project. I use OggPlay all the time on my Nokia E61i to play Vorbis and FLAC content, so this would be a great addition. Sadly, I can't get it to run on the E61i. It installs and starts just fine, but when attempting to play the Elephant's Dream demo that you posted, it just closes out with nothing happening. The same goes for the OGV files I already had. I don't have any experience programing for the S60 platform, but I'd be glad to do any amount of testing for you. I'll likely be ordering the E72 in the coming weeks, and will report back my findings with it as well. Thanks again for your efforts. Tony Lovasco Twisted Lincoln, Inc. www.twistedlincoln.com On 04/12/2010 01:42 AM, Stuart Fisher wrote:> I've made a start writing a Theora player for Series 60 phones (mostly > Nokia phones, but some Samsung and Sony Ericsson ones too). > Download here: > http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlay_010.zip > I've been using Big Buck Bunny, Elephants Dream and a few other ogv > files for testing. I've uploaded 320x180 versions of those here: > http://symbianoggplay.sourceforge.net/OgvPlay/BBB-320x180.ogv > http://symbianoggplay.sourceforge.net/OgvPlay/ED-320x180.ogv > This is the first release (consider it Alpha 1) and as such there are > a few issues. The most obvious one is performance. Big Buck Bunny > plays ok, but ED is jerky. I've also disabled scaling for now as the > performance isn't good enough, so videos will be centered and cropped > if they are bigger than the screen. If they are smaller (as they > probably will be on phones like the Nokia 5800) they will appear in > the middle of the screen. I'll try to get scaling put back in when I > can get the performance good enough. > I was going to ask if anyone had done any optimisation for ARM > processors, but I've now spotted this project: > http://wss.co.uk/pinknoise/theorarm > So I'm going to take a look at that and see if I can get another > optimised version out soon! > Release notes: > Only 4:2:0 encoded files with vorbis are supported. i.e. videos must > have a vorbis audio stream (theora only won't play). > Videos need to go on the memory card in a folder called Ogv (i.e. > E:\Ogv\). There's no support for streaming at the moment. > Volumes controls on the phone can be used to change the volume. Left > and right on the D-pad will work too. > There is no GUI. Just use the red button if you want to quit. > I've tested on the Nokia N82 and Nokia 5800, but it should also > work on all other S60 3.x and 5.x phones. > > > _______________________________________________ > theora mailing list > theora at xiph.org > http://lists.xiph.org/mailman/listinfo/theora >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100412/0f1ca7e6/attachment-0001.htm
I've now uploaded an Alpha 2 here: http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlay_020.zip Please read the release notes for details. The two main changes are that I'm now using Theorarm and scaling has been added back in. The scaling code is currently horribly slow though, so it should be avoided if at all possible. Unfortunately it is necessary on all Nokia phones that have 640x360 screens. Even with Robin's optimisations there just isn't enough performance to decode 640x360 videos. For those of you lucky enough to have a Sony Ericssion Satio, Vivav or Samsung Omnia HD I've uploaded a 360p version of Big Buck Bunny (http://symbianoggplay.sourceforge.net/OgvPlay/BBB-640x360.ogv). These phones shouldn't have any problem at all with it as they have very fast OMAP3 processors. My next task is to go and fiddle with the Miro video converter as it's fairly obvious that we could do with being able to easily make Theora videos of the right size for mobile phones!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20100413/00d38f07/attachment.htm
If you want to see some results (displayed frames and dropped frames), intall this. http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlayLog.zip OgvPlay log data will appear in C:\Data\GCCLog.txt
Hi Stuart & Theora users! -- 2010/4/12 Stuart Fisher <stuart.fisher at fig7.com>:> I've made a start writing a Theora?player for Series 60 phones (mostly Nokia > phones, but some Samsung and Sony Ericsson ones too).BTW I used Theora engine for the project TV To Go (Mobile TV channels) http://togo.tv/eng/ (I wrote S60 version in C++ completely by myself). However it linked against obsolete libtheora1.0, had 10fps (that was ok for TV), and I don't support that project anymore, but do that for iPhone version in Objective-C. iPhone wrapper for Ogg demuxer and Theora/Vorbis codecs is considerably better tested and fixed than for S60 version. Unfortunately, seeking is absent at all. It uses libogg, without liboggz & libfishsound - those projects appeared a bit later. Also I used Tremor implementation of Vorbis, which lacks of floating point arithmetic. I used direct and stupid algorithm for scaling :) and hm, it didn't seem to take considerable time deal of whole frame processing. Decoding itself took much more time. So, I could help you in some revision of the S60 player's existing code, and also provide support for iPhone. iPhone hardware is considerably faster, and likely there should be no problem to decode 320x240 frames at 25 fps even without ARM optimizations. Also forget about scaling there - scaling and any other affine transforms is the work that Cocoa (iPhone GUI framework) will perform perfectly. -- WBR, Timur
Alpha 23 is released. Hopefully this week I'll get the project properly announced on the OggPlay forums and get the discussion moved over there. Things are looking good :-) Changes from 0.22: Fixed poor frame rates on some S60 phones. For most newer phones (and also some older ones, e.g. Nokia N82, N95). http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlay_023_ARM11.zip For older phones (e.g. Nokia E60, E61, N96) http://symbianoggplay.sourceforge.net/OgvPlay/OgvPlay_023_ARM9.zip