|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
GNU Gnash – Flash player for Kindle Touch
The browser plugin currently works only with custom browsers, as my port of SkipStone. When I first tried it, it worked also in native Kindle browser, but later on I introduced many changes and somehow I lost support for built-in browser. I hope I will manage to get back to this functionality. However compilation of this package takes a lot of time and there are plenty of different configuration options… And I am lost now Maybe someone will find out anything.Browser plugin is enabled or disabled from GUI Launcher. A script just creates or deletes a soft link from plugin in extensions folder to /tmp/root/.mozilla/plugins folder. According to Gnash developers it supports most SWF v7 features and some SWF v8 and v9. SWF v10 is not supported. There are also some limitations of the port. Kindle's system resources are very limited. There are often problems with sound. Shortly speaking it is very experimental support. Anyway have fun! Package for GUI Launcher is available on my webpage. Edit: Using gnash browser plugin is recommened only for developers or experienced users. Flash intensive sites may hang or restart your Kindle, as reported by cscat. Last edited by baf; 10-21-2012 at 03:23 AM. |
|
|
|
|
|
#2 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Hi mate. tested it immediately.
Can't say I got it working yet. (It launches but doesn't load anything, either natively or in the browser..) but I'll carry on having a play. Thanks for all your hard work anyway. much appreciated.EDIT: AH! EXTENSIONDIR=/mnt/us/extensions/gnash PLUGINSDIR=/home/root/.mozilla/plugins (or $HOME/.mozilla/plugins ?) not EXTENSIONDIR=/mnt/us/extensions/gnash PLUGINSDIR=/tmp/home/.mozilla/plugins for me mate ![]() Thanks EDIT: Okay, so I think there are two issues at play a) if the avail mem drops below a critical level the system restarts (I read that in either rc.lua or an upstart script) I'll have a look around for that setting again at some point. b) the cpu is topping out on really tough tasks (like youtube say) - I am thinking that perhaps the watchdog is not getting serviced. that's a guess, which also would cause a reboot. However the type of reboot occurs makes me suspect it is issue a) but again that is a guess. Great work on this. can't say I found it to work "natively" yet. but skipstone does a decent job on some sites. Definitely at the edge of it's (the touches) abilities great stuff!EDIT: Running the player natively simply fails to open files. I'll strace it, probably a path issue or something. : )
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 10-21-2012 at 08:38 AM. Reason: /.mozilla/plugins location |
|
|
|
|
Enthusiast
|
|
|
|
#3 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
Quote:
gnash-0.8.10/gui/gtk/gtk.cpp Code:
openFile(GtkWidget *widget, gpointer /* user_data */)
{
#if 0
// We'll need this when implementing file opening.
GtkGui* gui = static_cast<GtkGui*>(user_data);
#endif
#if GTK_CHECK_VERSION(2,4,0)
char* filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (widget));
#else
GtkWidget* file_selector = gtk_widget_get_ancestor(widget,
g_type_from_name("GtkFileSelection"));
GtkFileSelection* filesel = GTK_FILE_SELECTION (file_selector);
const char* filename = gtk_file_selection_get_filename (filesel);
#endif
// FIXME: we want to do something like calling gtk_main_quit here, so
// run() will return. If run() is then changed to return a pointer to the
// next file to be played, then the Player class can play the next file,
// unless run() returns NULL.
log_error(_("Attempting to open file %s.\n"
"NOTE: the file open functionality is not yet implemented!"),
filename);
#if GTK_CHECK_VERSION(2,4,0)
g_free(filename);
#endif
}
![]() So, for now only opening files from command line works. Last edited by baf; 10-21-2012 at 11:51 AM. |
|
|
|
|
|
|
#4 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Quote:
Hey no worries. That's what you have testers for. happy to help. Once I figure out the command line I'll post it ![]() cd /mnt/us/extensions/gnash/ [root@kindle gnash]# bin/gtk-gnash /mnt/us/clock1.swf
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set Last edited by twobob; 10-21-2012 at 12:49 PM. Reason: blah [root@kindle gnash]# bin/gtk-gnash /mnt/us/clock1.swf |
|
|
|
|
|
|
#5 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
|
|
|
|
|
|
#6 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Excellent mate. Really. having fun with this.
![]() FOR SURE need to weld in the Geekmaster ordered dithering code into this somewhere. I tested a stupidly complicated movie through it and the ONLY thing that let it down was the underlying graphics issues (much like proboom) and the occasional ALSA underrun (meh, could look at that one day) : ) brilliant mate lots of fun.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#7 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
Gnash 0.2
I fixed not working "File->Open" dialog in player.
New version on my webpage. |
|
|
|
|
|
#8 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
Quote:
I definitely didn't try all of them. I tested three renderer types: cairo, opengl and agg. Cairo seems to work better then opengl. And agg doesn't work at all with kindle pixelformat. Opengl still may be build in several manners, so there is still space for new discoveries. For media handling I tried gstreamer and ffmpeg. Efficiency seems comparable with ffmpeg supporting wider range of formats. Sound is handled by sdl. You can also build it with framebuffer or sdl gui. Last edited by baf; 10-22-2012 at 03:55 AM. |
|
|
|
|
|
|
#9 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Quote:
Thanks for this info I DEFINITELY want to push this into buildroot. for certain. so any config files and source code diffs are of course always a huge advantage (as I have to patch the makes sometimes) Thanks for the excellent info.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
|
#10 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
I didn't make any important changes to gnash. Browser plugin will work without any patches. I only made small changes to gtk-gui. I will publish patches on my site of course.
|
|
|
|
|
|
#11 | |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
Quote:
Yes I will play with a few targets. Convinced that the ordered dither solution (or at least 2 bit color of some type) is the solution for the movies (and the games) - perhaps one day I will get it done. FYI the audio dropouts via SDL are not limited to gnash - it's an SDL thing. Thanks for sharing. it's appreciated.
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
|
#12 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
you pushing your fixes up to
http://savannah.gnu.org/projects/gnash/ baf? nice work by the way. many thanks
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#13 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 918864
Join Date: May 2012
Device: kt
|
Quote:
|
|
|
|
|
|
|
#14 |
|
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,125
Karma: 5328983
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW, K5 B011, K3 us, K4, DXG, XDA I&II, Omnia, Ematic E6 + E8 :) etc.
|
got you. I'll dig around in the source diffs as and when then mate. cheers
__________________
Audiophile and electron bully. My tunes (for free) soundcloud.com/twobob. DONATE TO KUAL BY CLICKING THIS SIMPLE LINK Kung-Fu. Hard work over time to accomplish skill. A painter can have kung-fu... The musician can have kung-fu, or the poet who paints pictures with words and makes emperors weep. This, too, is kung-fu. Formless, nameless, the true master dwells within. Only you can free him. The album I'm headlining on at the moment: s.beatport.com/OCp9dT - FREE: 2012 Award winning set |
|
|
|
|
|
#15 |
|
hi
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 735
Karma: 4539690
Join Date: Jul 2012
Device: Kindle Touch 5.3.2.1
|
OMG I think baf is god
__________________
Why would you possibly want a signature? |
|
|
|
![]() |
| Tags |
| browser, flash, gui launcher, kindle touch, launcher add-ons |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flash Player | kedar | Android Developer's Corner | 0 | 10-02-2012 02:21 PM |
| flash my Kindle Touch using windows, how? | ldai | Kindle Developer's Corner | 1 | 03-23-2012 04:08 PM |
| There is an updated Flash Player available | kennyc | Android Devices | 12 | 04-29-2011 04:17 AM |
| iLiad Project: Flash Player!!! | King Mook Mook | iRex Developer's Corner | 1 | 01-02-2008 06:56 AM |