/boot.
Other files here. 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.
image magick into
an animated gif file or with ffmpeg into a video file.
'/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%' '-'
'-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.
/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.
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.
~/.gnash
-f num options allows to trace the fps, for example -f 0.4.
Contact at adek336@gmail.com