Gnash: Difference between revisions

From OLPC
Jump to navigation Jump to search
(No 64-bit Flash; OLPC videos in Gnash)
(Make major changes; add info from devel list; reorg.)
Line 1: Line 1:
'''[http://www.gnu.org/software/gnash/ Gnash]''' is a GNU Flash movie player, the default Flash player on the XO. It is the free software version of the [[Adobe Flash]] player. Note that there is no 64-bit Adobe Flash player for Linux.
'''[http://www.gnu.org/software/gnash/ Gnash]''' is a GNU Flash movie player and is the default Flash player on the XO. It is the free software counterpart to the [[Adobe Flash]] player.

== About Flash ==

[http://en.wikipedia.org/wiki/Adobe_Flash Wikipedia] has a good overview of the various Flash technologies. Flash animiations and games typically have the .swf extension, while Flash videos typically use the .flv extension. Flash technologies include the ActionScript virtual machine, as well as many proprietary codecs that are covered by patents.

== Differences between Gnash (XO) and Adobe Flash ==

Many flash applications and movies that work with Adobe Flash will not work on the XO. This can be frustrating due to the large and growing base of animations, tutors, and other content available for Flash. These include:
* [http://www.nortellearnit.org/ Nortel LearniT Collaborative Program] (pls confirm if it works/does not work)
* [http://www.eshikshaindia.in/ Shiksha Collaborative Learning Portal] from the Indian Industry Confederation

The Gnash team faces several challenges. The primary challenge is the number of basic encoding schemes, such as MP3, that are covered by patents. While Gnash supports these proprietary codecs, the OLPC cannot or will not ship codecs to support the proprietary schemes. Another challenge is that Adobe had not provided full information about SWF files, though a recent [http://www.stanford.edu/class/ee380/Abstracts/061206.html Stanford class] and contributions to Mozilla's Tamarin project points towards some additional openness. Note that SWF files continue to evolve. While Gnash provides good support for SWF version 7, support for later version is more challenging. Finally, Gnash depends on a number of rapidly evolving libraries, such as Gstreamer which hamper stability.

The easiest way to get Flash to work with Gnash is to get developers of the Flash content to test with Gnash. For example, a developer might choose an open codec such as Vorbis or Theora. Streaming these format in full screen would be as simple as a five line Gnash script.

=== Shipping Adobe Flash Controversy ===

Adobe provides Flash under a free (as in beer), somewhat restrictive license. Adobe's license clearly restricts any party besides Adobe from making Flash libraries available on the Internet, and may make it possible to distribute within an Intranet. Some, such as Bryan Berry, have speculated that providing Flash plug-ins as downloads in certain deployments would further the educational goals of the overall project.

Other voices suggest that providing more incentives, better tools, and more complete implementations for Flash developers may help them to embrace open formats. There is some undesirability of a long term dependence on a commercial entity for core functionality or core file formats.

=== Example Videos ===
Playable in Gnash on the XO
*[http://www.youtube.com/ YouTube], part of the [ Not-Evil Empire]

Not playable in Gnash on the XO
*OLPC.TV
*[http://www.scribemedia.org/2008/02/20/greener-gadgets-jepsen/ Mary Lou Jepsen keynote] at [http://www.greenergadgets.com/ Greener Gadgets] Conference


== Upgrading Gnash ==
== Upgrading Gnash ==
Line 14: Line 42:
After which you will want to reboot.
After which you will want to reboot.


==OLPC Videos==
== 64-bit Linux ==
Playable in Gnash
*[http://www.youtube.com/ YouTube], part of the [ Not-Evil Empire]


Gnash is the only player for the Flash language on 64-bit Linux. There is no 64-bit Adobe Flash player for Linux.
Not playable in Gnash
*OLPC.TV
*[http://www.scribemedia.org/2008/02/20/greener-gadgets-jepsen/ Mary Lou Jepsen keynote] at [http://www.greenergadgets.com/ Greener Gadgets] Conference


If you look at [http://labs.adobe.com/wiki/index.php/Flash_Player Adobe's statement on 64-bit Flash player] (the question is well down the screen):
== Links ==


Q: When will a 64-bit version of Adobe Flash Player for Linux be available?
* [http://www.gnu.org/software/gnash/ Gnash homepage]
* Gnash mailing list : <tt>gnash-dev /at/ gnu.org</tt>
* [http://labs.adobe.com/wiki/index.php/Flash_Player Adobe on 64-bit Flash player] is well down the screen.


Q: The Adobe Flash Player team is working on support for 64-bit platforms as part of our ongoing commitment to the cross-platform compatibility of Adobe Flash Player. We have not yet announced timing or release dates.
When will a 64-bit version of Adobe Flash Player for Linux be available?


== Links ==
The Adobe Flash Player team is working on support for 64-bit platforms as part of our ongoing commitment to the cross-platform compatibility of Adobe Flash Player. We have not yet announced timing or release dates.


* [http://www.gnu.org/software/gnash/ Gnash homepage]
{{stub}}
* Gnash mailing list : <tt>gnash-dev /at/ gnu.org</tt>

Revision as of 05:33, 25 March 2008

Gnash is a GNU Flash movie player and is the default Flash player on the XO. It is the free software counterpart to the Adobe Flash player.

About Flash

Wikipedia has a good overview of the various Flash technologies. Flash animiations and games typically have the .swf extension, while Flash videos typically use the .flv extension. Flash technologies include the ActionScript virtual machine, as well as many proprietary codecs that are covered by patents.

Differences between Gnash (XO) and Adobe Flash

Many flash applications and movies that work with Adobe Flash will not work on the XO. This can be frustrating due to the large and growing base of animations, tutors, and other content available for Flash. These include:

The Gnash team faces several challenges. The primary challenge is the number of basic encoding schemes, such as MP3, that are covered by patents. While Gnash supports these proprietary codecs, the OLPC cannot or will not ship codecs to support the proprietary schemes. Another challenge is that Adobe had not provided full information about SWF files, though a recent Stanford class and contributions to Mozilla's Tamarin project points towards some additional openness. Note that SWF files continue to evolve. While Gnash provides good support for SWF version 7, support for later version is more challenging. Finally, Gnash depends on a number of rapidly evolving libraries, such as Gstreamer which hamper stability.

The easiest way to get Flash to work with Gnash is to get developers of the Flash content to test with Gnash. For example, a developer might choose an open codec such as Vorbis or Theora. Streaming these format in full screen would be as simple as a five line Gnash script.

Shipping Adobe Flash Controversy

Adobe provides Flash under a free (as in beer), somewhat restrictive license. Adobe's license clearly restricts any party besides Adobe from making Flash libraries available on the Internet, and may make it possible to distribute within an Intranet. Some, such as Bryan Berry, have speculated that providing Flash plug-ins as downloads in certain deployments would further the educational goals of the overall project.

Other voices suggest that providing more incentives, better tools, and more complete implementations for Flash developers may help them to embrace open formats. There is some undesirability of a long term dependence on a commercial entity for core functionality or core file formats.

Example Videos

Playable in Gnash on the XO

  • YouTube, part of the [ Not-Evil Empire]

Not playable in Gnash on the XO

Upgrading Gnash

Enabling and disabling Gnash

You can uninstall or reinstall Gnash as you would any package: from a terminal,

su
yum remove gnash -y

or

yum install gnash -y

After which you will want to reboot.

64-bit Linux

Gnash is the only player for the Flash language on 64-bit Linux. There is no 64-bit Adobe Flash player for Linux.

If you look at Adobe's statement on 64-bit Flash player (the question is well down the screen):

Q: When will a 64-bit version of Adobe Flash Player for Linux be available?

Q: The Adobe Flash Player team is working on support for 64-bit platforms as part of our ongoing commitment to the cross-platform compatibility of Adobe Flash Player. We have not yet announced timing or release dates.

Links