ArticleslgStudy

computer science

Gnash (software)

Gnash (software) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gnash (software) rather than just read about it. In short: Gnash is a media player for playing Adobe Flash (SWF) files. Gnash is available both as a standalone player for desktop computers and embedded devices, as well as a plugin for the browsers still supporting NPAPI.

Gnash (software) — main illustration
Gnash (software) — illustration

Key takeaways

  • Gnash (software) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gnash (software) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gnash (software) from memory before moving on to harder problems.

Reference excerpt

Gnash is a media player for playing Adobe Flash (SWF) files. Gnash is available both as a standalone player for desktop computers and embedded devices, as well as a plugin for the browsers still supporting NPAPI. It is part of the GNU Project and is a free and open-source alternative to Adobe Flash Player. It was developed from the gameswf project. Gnash was first announced in late 2005 by software developer John Gilmore. As of 2011, the project's maintainer is Rob Savoye. The main developer's web site for Gnash is located on the Free Software Foundation's GNU Savannah project support server. Gnash supports most SWF v7 features and some SWF v8 and v9, however SWF v10 is not supported.

History Writing a free software Flash player has been a priority of the GNU Project for some time. 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. 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.

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. 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, does exist, as well as an early port for BeOS, where Flash support terminated at Version 4. Development of a port to AmigaOS 4.1 has also begun. A port to the Haiku Operating System also exists. 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.

Flash compatibility Gnash can play SWF files up to version 7, and 80% of ActionScript 2.0. 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. Some other free-software programs, such as MPlayer, VLC media player 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. 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. 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. 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.

Cygnal

Cygnal is the Gnash Project's Flash Media Server-compatible audio and video server. It handles negotiating the copyright metadata exchange, as well as streaming the content. It will need to handle many thousands of simultaneous network connection, and support running on large Linux clusters. It should support handling multiple streams with differing content, as well as a multicast stream with a single data source. Due to the patent issues surrounding MP3, and the fact that FLV and ON2 are closed formats, one of the main goals of this project is to support free codes and free protocols as the primary way of doing things. There is an optional support for MP3, FLV, and ON2 (VP6 and VP7) when playing existing Flash content. Both FLV and the VP6 & VP7 codecs are included in ffmpeg. Users can use the ffmpeg plugin for GStreamer 0.10 to use these proprietary codecs.

Platform availability Gnash has successfully run on Microsoft Windows, Darwin (OS X), Irix, Solaris, BeOs, OS/2, and Haiku. Gnash has also run on the following 64-bit systems: PowerPC, Itanium, UltraSparc and AMD64.

Microsoft Windows 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. 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.

Financial support The project was financially supported by a commercial company, Lulu.com until July 2010. As of March 2012, the lead developer reported donations were barely enough to pay for hosting the project on the web.

… excerpt ends here. Continue reading the full article.

Illustrations

Gnash (software) illustration
Gnash (software) illustration

Worked examples

Example 1 — a first encounter with Gnash (software)

Start with the simplest possible case. Write down what Gnash (software) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gnash (software) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gnash (software) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gnash (software)

In research
Gnash (software) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gnash (software) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gnash (software) is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2005 software, Adobe Flash, Free media players, so understanding it makes those chapters shorter.
In everyday life
Look for Gnash (software) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gnash (software)” →

How to study Gnash (software) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gnash (software) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gnash (software) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gnash (software) in simple terms?

Gnash is a media player for playing Adobe Flash (SWF) files. Gnash is available both as a standalone player for desktop computers and embedded devices, as well as a plugin for the browsers still supporting NPAPI.

Why does Gnash (software) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gnash (software)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gnash (software).

Tags

  • 2005 software
  • Adobe Flash
  • Free media players
  • Free software programmed in C++
  • GNU Project software
  • Interpreters (computing)
  • Software using the GNU General Public License

Keep exploring