Gnash

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Gnash
180px
Gnash-0.8.0.png
Screenshot of Gnash 0.8.0 GTK+ GUI with test SWF file
Developer(s) Rob Savoye, Sandro Santilli, Bastiaan Jacques, Benjamin Wolsey, Zou Lunkai, Tomas Groth, Udo Giacomozzi, Hannes Mayr, John Gilmore, Markus Gothe.
Stable release 0.8.10[1] / February 15, 2012; 12 years ago (2012-02-15)
Written in C++, GTK+ / Qt
Operating system BSD, Linux and Microsoft Windows
Type Media player
License GNU General Public License
Website www.gnu.org/software/gnash/

Gnash is a media player for playing SWF files. Gnash is available both as a standalone player for desktop computers and embedded devices, as well as a plugin for several browsers.[2] It is part of the GNU Project and is a free and open-source alternative to Adobe Flash Player.[3] It was developed from the gameswf project.[4]

Gnash was first announced in late 2005[5] by software developer John Gilmore. The current maintainer is Rob Savoye.

History

Writing a free software Flash player has been a priority of the GNU Project for some time.[6] Prior to the launch of Gnash, the GNU Project had asked for people to assist the GPLFlash project. The majority of the previous GPLFlash developers have now moved to the Gnash project and the existing GPLFlash codebase will be refocused towards supporting embedded systems.[7]

The primary distribution terms for Gnash are those of the GNU GPL. However, since Gnash was started using the codebase of the gameswf project, which is in the public domain, code developed by the Gnash project which might be useful in gameswf is placed in the public domain.[8]

Technical details

Architecture

Adobe only provides an outdated version (11.2) of its official player for Linux on IA-32 and an AMD64 developer preview release in a binary-only form.[9][10] Gnash, however, can be compiled and executed on many architectures, including x86, ARM, MIPS, and PowerPC. It also supports BSD-based operating systems. An early port for RISC OS, which has never had Macromedia/Adobe Flash support beyond Flash 3,[11] does exist, as well as an early port for BeOS, where Flash support terminated at Version 4.[12] Development of a port to AmigaOS 4.1 has also recently begun.[13] A port to the Haiku Operating System also exists.[14]

Gnash requires one of AGG, Cairo, or OpenGL for rendering. In contrast to most GNU projects, which are typically written in C, Gnash is written in the C++ programming language because of its gameswf heritage.[4]

Flash compatibility

Currently, Gnash can play SWF files up to version 7, and 80% of ActionScript 2.0.[15]

The goal of the Gnash developers is to be as compatible as possible with the proprietary player (including behavior on bad ActionScript code). However, Gnash offers some special features not available in the Adobe player, such as the possibility to extend the ActionScript classes via shared libraries: sample extensions include MySQL support, file system access and more. For security reasons the extension mechanism must be compiled-in explicitly and enabled via configuration files.

Video support

Gnash supports playback of FLV videos and allows playing some FLV files from YouTube, Myspace, ShowMeDo and other similar websites (older files with sound – newer files without playing sound). FLV support requires FFmpeg or GStreamer to be installed on the system.[16]

Some other free-software programs, such as MPlayer,[17] VLC media player[18] or players for Windows based on the ffdshow DirectShow codecs can play back the FLV format if the file is specially downloaded or piped to it.

Version 0.8.8 was released 22 August 2010. Rob Savoye announced that Gnash should now work with all YouTube videos.[19] Version 0.8.8 has GPU support, which pushed it ahead of the proprietary Adobe Flash Player in Linux, until Flash 10.2 came out with hardware acceleration built in.[20][21] Gnash still suffers from high CPU usage. A Flashblock plugin can be installed by the user, turning on the Flash support on a case-by-case, as needed basis.[22] YouTube video controls and full screen mode is functioning, although version 0.8.8 has a bug that can cause YouTube to display "Invalid parameters". Many popular Flash games do not work with Gnash 0.8.8.

Commercial support

The project was financially supported by a commercial company, Lulu.com[23] until July 2010.[24]

Adobe Flash Player End-User License Agreement

One problem for the project is the difficulty of finding developers. The current developers have never installed Adobe's Flash player, because they fear that anyone who has ever installed the Adobe Flash Player has at the same time accepted an agreement not to modify or reverse engineer Flash player. Therefore, the Gnash project has only about 6 active developers.[25][26][27]

Such generic clauses, however, may be against national anticompetition laws when used in normal software license agreements. On May 2, 2012, the Court of Justice of the European Union ruled in case C-406/10 of SAS Institute Inc. v World Programming Ltd that the functionality of a computer program is not covered by copyright in the European Union and that contractual provisions are null and void if they forbid observing, studying and testing a computer program in order to reproduce its behavior in a second program. This holds as long as no source code or object code was copied.[28]

Windows support

Gnash has been ported to Windows and the plugin works best with Firefox 1.0.4 or newer, and should work in any Mozilla-based browser.[29] However, in newer browsers the plugin may become unstable or inoperative.

Newer Gnash binaries for Windows do not include a plugin and currently there is no newer working Gnash plugin on Windows.[30]

See also

References

  1. Gnash 0.8.10 released
  2. Gnash Project
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. 4.0 4.1 Lua error in package.lua at line 80: module 'strict' not found.
  5. Welcome to the Gnash project! Gnash mailing list, 20 December 2005
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.
  14. Lua error in package.lua at line 80: module 'strict' not found.[dead link]
  15. Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found.
  17. Lua error in package.lua at line 80: module 'strict' not found.
  18. Lua error in package.lua at line 80: module 'strict' not found.
  19. Gnash Project Rob's Blog
  20. Lua error in package.lua at line 80: module 'strict' not found.
  21. Lua error in package.lua at line 80: module 'strict' not found.
  22. Lua error in package.lua at line 80: module 'strict' not found.
  23. Lua error in package.lua at line 80: module 'strict' not found.
  24. Lua error in package.lua at line 80: module 'strict' not found.
  25. Lua error in package.lua at line 80: module 'strict' not found.
  26. Lua error in package.lua at line 80: module 'strict' not found.
  27. Lua error in package.lua at line 80: module 'strict' not found.
  28. Lua error in package.lua at line 80: module 'strict' not found.
  29. Lua error in package.lua at line 80: module 'strict' not found.
  30. Lua error in package.lua at line 80: module 'strict' not found.

External links