iPodLinux

Stretching the iPod to its limits.
Last visit was: Thu Mar 27, 2014 11:33 pm It is currently Fri Mar 28, 2014 12:44 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Flash player is now po...
PostPosted: Sat Apr 04, 2009 6:34 am 
Offline
User avatar

Joined: Sat Mar 07, 2009 11:32 pm
Posts: 2
Location: Aus
Ok me and my friend have been devs since 2005 and have coded a macromedia .swf flash player it's still buggy but it will be released soon



(Sorry for my English)

_________________
I HAVE A

IPOD NANO 1st gen white (ipodlinux,rockbox)
IPOD TOUCH 2 gen black (thinking about jailbreak)

ADD ME TO YOUR STEAM VS ME IN CS S
gman180


Report this post Post details Warn user Delete post
Top
 Profile Send private message E-mail  
Edit post Reply with quote  
 Post subject: Re: Flash player is now po...
PostPosted: Sat Apr 04, 2009 9:46 am 
Offline
User avatar

Joined: Tue Oct 07, 2008 9:04 am
Posts: 284
Wow, for real? Can you give more information such as what your code you are porting or whatever?

_________________
5g iPod Video 60GB
iPod Nano 1st Gen 2GB
iPodlinux user since 2005


Report this post Post details Warn user Delete post
Top
 Profile Send private message E-mail  
Edit post Reply with quote  
 Post subject: Re: Flash player is now po...
PostPosted: Wed Apr 15, 2009 8:07 pm 
Online
User avatar

Joined: Mon Oct 06, 2008 9:36 pm
Posts: 262
Here's my two cents. Keep in mind that this is just my speculation/rambling/etc. so don't take it to heart/seriously.

I've looked into getting Flash playback on the iPod before in the past and the only suitable project I found was Gnash. Gnash is an open source, GPL'd replacement for Adobe's web browser flash player. Its written in C++, uses GTK+, and can be cross-compiled. I've ported simple GTK-to-hotdog before so that's not an issue, and from what I've read, Gnash _can_ be cross-compiled for the ARM-architecture.

One problem. It's slow. If it has troubles running on a 200MHz processor (assuming everything is done through software), unless you did some crazy hacks (i.e. at the level of the iBoy) or ARM-specific optimizations (that you should definitely create a patch for and submit to Savannah), there is no way for it to run at an acceptable speed on the maxed-88MHz iPod processor (even if you somehow use both processors). If you actually ported a different Flash player, I doubt it'd be more optimized than Gnash assuming it is open source (if it's not, we do not encourage closed-source applications here).

Porting aside, you also have to take into account usability. What type of Flash applications are you planning for your player to play? If it is Flash videos, I personally do not believe it to be worth the effort - just use mencoder to convert the SWF to some common video format, then convert that video file to an iPodLinux-playable format (i.e. raw AVI, MvPD, Rockbox's mpeg1 or mpeg2). If its actual interactive games you are wanting, keep in mind the difficulty of input-control and, of course, speed (i.e. don't over-estimate the tiny iPod's processor power).

Remember, just because something _can_ be ported doesn't mean it should or it's worth it. In my port-ing rampage a while back, I ported a few apps that I later scrapped due to un-usability. The original NetHack was easily portable and definitely something people wanted. I ported it in under an hour. Then I realized how impractical it was due to difficulty of command input and the iPod's tiny screen. So I scrapped that. The Neko98 (I think that was the name) project that was the PC-98 emulator. I wanted to play the original Touhou on my iPod nano. After a day or two of modifying the source code, it compiled and ran. At a few frames per second. Completely unplayable. I was quite disappointed.

Cross-compiling? Doable. Making it run? Slightly hard, but do-able. Making it work? Lots of hacks probably needed. Making it work fast and usable? Good luck ; (

Again, just my two-cents. Take it as advice or a comment, but please don't take it as discouragement. Contributing to open source is always a good thing, but you do have to analyze how practical some things are. But then again, I could be shown completely wrong ^_^

~Keripo

_________________
Need iPodLinux? See Project ZeroSlackr -> http://sourceforge.net/projects/zeroslackr/


Report this post Post details Delete post
Top
 Profile Send private message E-mail  
Edit post Reply with quote  
 Post subject: Re: Flash player is now po...
PostPosted: Wed Apr 15, 2009 10:22 pm 
Offline
User avatar

Joined: Fri Oct 10, 2008 11:10 pm
Posts: 24
Location: Georgia, USA
There are a few alternatives to Gnash which prove to be more viable solutions. Take a look at GplFlash as an example. Nano-X even had a simple--and somewhat broken--flash player.


Report this post Post details Warn user Delete post
Top
 Profile Send private message E-mail  
Edit post Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Keripo and 0 guests


Quick-mod tools:
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group