The current version is 0.8.7

Haiku port is maintained by Adrian Panasiuk.

As of revision 11974, Haiku is supported in mainline.

As of revision 12202, Youtube is once again supported by Gnash. A new build for Haiku with yt support will appear soon.

Download from Haikuware
Download Gnash 0.8.7 from Haikuware. Download dependencies boost::thread, boost::date_time, giflib and ffmpeg in one package. Extract the contents to /boot. Other files here.

To check for the newest upstream version, visit the Gnash homepage.

This release features

Haiku specific changes in 0.8.7 include
  • Better integration!
    Resizing Gnash now uses the native Be toolkit for it's GUI and the Media Kit for sound handling. Paths for config and executables files have been amended to match the native conventions. The new GUI supports resizing (in the stand-alone player) and
  • Full screen mode!
    Fullscreen Both the stand-alone player and the Firefox plugin are now capable of resizing to cover the full screen. Although Gnash does not stand to the long established standards of BeOS multimedia performance and speed, playback in both fullscreen and non-fullscreen modes is smooth and perfectly enjoyable.
    The use of native GUI toolkit and sound handling allowed dropping dependency on SDL. The 0.8.7 release needs
  • Fewer dependencies!
    Gnash now only needs
    • ffmpeg;
    • giflib;
    • boost.thread and date_time.
    Dependencies on sdl and libltdl have been dropped, Gnash also needs OpenSSL and Curl but these are included with most Haiku builds. If you don't have them, install the proper optional packages.
Changes implemented upstream by the GNU Gnash team in 0.8.7 include
  • dynamic gradient fills Gradient in an annotation
  • saving the playback in the form of a series of png files.
    For example, the command haiku-gnash file.swf --screenshot=all will save all rendered frames under a default naming pattern, whereas haiku-gnash file.swf --screenshot 1,10,last --screenshot-file Capture-%f.png will save the first, tenth and last frame under the names of Capture-1.png, Capture-10.png and Capture-last.png.

    The resulting images can be joined with image magick into an animated gif file or with ffmpeg into a video file. Resizing
  • Improved support for seeking and the HD button in youtube videos.
  • Significant memory savings in parsing large XML trees and in some function calls
  • Non blocking load of bitmaps, movies, data
  • Refactoring to eliminate most static data and get closer to re-entrant VM

Thanks to
- tester Hugen;
- the Haikuware crew;
- the Haiku crew;
- the GNU Gnash crew.

Adobe won't be fouled
Level 19

Other features

A script downloads dependencies for you And many features which were also present in previous releases:
  • Firefox plugin for both gcc2 and gcc4 builds of Firefox
  • Support for youtube videos, also in High Definition resolutions
  • Resizing BeZilla run from the Terminal outputs the player command. By slightly changing the command, one can run youtube videos in the stand-alone player. For example, when playing a youtube video, BeZilla wrote to the console:
    '/boot/common/bin/haiku-gnash' '-x' '74764' '-j' '640' '-k' '385' '-u' 'http://s.ytimg.com/yt/swf/watch-vfl146219.swf' '-d' '25' '-F' '56' '-D' '/tmp/gnashpluginy2qeaU' '-U' 'http://www.youtube.com/watch?v=2WpDH5zbhIk' '-P' 'allowfullscreen=true' '-P' 'allowscriptaccess=always' '-P' 'bgcolor=#000000' '-P' 'flashvars=rv.7.length_seconds=305

    .......

    _&playnext=0&enablejsapi=1' '-P' 'height=100%' '-P' 'id=movie_player' '-P' 'name=movie_player' '-P' 'quality=high' '-P' 'src=http://s.ytimg.com/yt/swf/watch-vfl146219.swf' '-P' 'style=' '-P' 'type=application/x-shockwave-flash' '-P' 'width=100%' '-'

    By copying this command into a script file and removing the '-x' '74764' part, which is only applicable when running Gnash as plugin; and replacing the last argument '-' with the URL of the swf file which is also the argument in: '-u' 'http://s.ytimg.com/yt/swf/watch-vfl146219.swf; we are able to run the youtube video in the standalone player.

    You may also download the video file rendered within the youtube player using a script such as youtubedown.

  • Can be fine-tuned with /boot/home/config/settings/Gnash/gnashrc and /boot/home/config/settings/Gnash/gnashpluginrc files. For example, set sound off and set pluginsound off turn sound off for the standalone player and plugin, respectively.
  • Resizing Using the dump-gnash (which is not included, but can be compiled) together with ffmpeg allows to render swf files into video files. For more information, see the manual of an old version of dump-gnash. Furthermore, using named pipes for the video and audio outputs allows using less disk space.
  • You may use the Flashblock Firefox extension, which will block flash media from playing until you press to play them.
  • Gnash will save SOL files to ~/.gnash

Other
  • The -f num options allows to trace the fps, for example -f 0.4.
Gnash logo


Contact at adek336@gmail.com

Gnash

Gnash logo