Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2007 23:23:03 +0100
From:      Michael Nottebrock <lofi@freebsd.org>
To:        freebsd-multimedia@freebsd.org
Cc:        freebsd-ports@freebsd.org
Subject:   OSS sound for linux-flashplugin9
Message-ID:  <200702262323.07066.lofi@freebsd.org>

next in thread | raw e-mail | index | archive | help
--nextPart1297881.MVmkTCF3iu
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

I installed Fedora Core 4 in Qemu today and compiled Macromedia's
libflashsupport there to see if its OSS support would work on FreeBSD.
It does. You can download the binary from

http://people.freebsd.org/~lofi/libflashsupport.so (for now)

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lofi/
libflashsupport.so (later - for prospective porters: that's
MASTER_SITE_LOCAL && MASTER_SITE_SUBDIR=3Dlofi)

How to install in three steps:

1.) Install www/linux-firefox, www/linux-flashplugin9 and
security/linux-openssl

2.) fetch http://people.freebsd.org/~lofi/libflashsupport.so

3.) cp libflashsupport.so /compat/linux/usr/lib

To test, run=20

linux-firefox http://www.adobe.com/shockwave/welcome/

Ignore the missing plugin warning for the shockwave demo and watch
the demo flash applet beneath it. It should make some swishing sounds
when you hover the mouse pointer over the 'Create', 'See' and 'About'
areas.

What doesn't work:

Youtube. I tried youtube and google video et al and it seems that
video-streaming flash applets are *very* crash-happy, so they must be
considered broken for now. *However*: They also crash the browser
without libflashsupport present, but they do work quite nicely on FC4
(which by the way does need the libflashsupport as well to make noise
in the shipped Firefox). My conclusion is that the flash video
crashes are in fact caused by a bug/shortcoming of our linuxulator. I
understand there's work going on to bring it up to date with the
Linux 2.6 world, so that problem might go away in the future.

And of course, nothing of all this will work in a native firefox with
the linuxpluginwrapper. You need *linux*-firefox.

=46inally: The binary was built from this source:=20
http://www.kaourantin.net/flashplayer/flashsupport.c

The license terms for it are at the top of the source code and, at least as=
=20
far as I interpret them, allow for distribution of the binary even without=
=20
accompanying source code.

Cheers,
=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart1297881.MVmkTCF3iu
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBF413LXhc68WspdLARApI6AJ0cGtr4NwWmtTYyGSrqgbGh42+lXACdGwUc
I92jRjk+JfhXEW75gQScsmY=
=QWw/
-----END PGP SIGNATURE-----

--nextPart1297881.MVmkTCF3iu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702262323.07066.lofi>