Hi,
Ariel Constenla-Haile wrote:
Hello Jean,
On Tuesday 20 January 2009 22:33, Jean Hollis Weber wrote:
Uwe Fischer wrote:
in theory, all movie and sound files that your default browser can play
should also be playable in Draw and Impress.
I think you mean default media player, not default browser?
this menu uses the Mozilla plug-ins, acording to
http://www.openoffice.org/servlets/BrowseList?list=dev&by=thread&from=2159761 it
seems it needs to be fixed, and testing it on a DEV300_m39, on Linux, no plug-
in works for me.
in theory, most Mozilla plugins (aka Firefox add-ons) should be
automatically recognized by OOo to play media files. As Mathias wrote,
this is a nice way to re-use the good work that was already done by
others in the FOSS world.
Some plugins may not work because they expect a real browser environment
to run, or because they ask for other dependencies than OOo.
I have another question. In the Help, a note in the Media Player topic
says:
---------------
On UNIX systems, the Media Player requires the Java Media Framework API
(JMF). Download and install the JMF files, and add the path to the
installed jmf.jar to the class path in Tools - Options - OpenOffice.org -
Java.
---------------
Minor issue: Is "UNIX" the best term to use here? I assume it includes
Linux, but I'm not sure that all the newbie Linux users (of which I am one)
equate "UNIX" with "Linux".
yes, I changed that to read "Linux or Solaris" and included a link to
the JMF page at java.sun.com.
Real question: is there somewhere with good, clear, easy-to-follow (for us
Linux newbies) instructions on where to get and how to install JMF,
specifically on Ubuntu? (I'm not suggesting that info should be in the
Help, but I want to know for my own use.) I had a look through Synaptic but
didn't find anything I recognised as being JMF or JMF-related.
you have to download the "JMF Performance Pack for Linux" from Sun:
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/download.html
Setting this up can be very simple, or an odyssey (no middle term). First time
I tried on other system it was very easy, now on Fedora 10 the file coulnd't
even be installed due to an issue in the installer, so I had to edit the
binary in vim and modify a line.
Ariel, can you please post the very easy way of setting up the JMF to
the Wiki? May be as a How-to or as a FAQ at
http://wiki.services.openoffice.org/wiki/Documentation/FAQ/General
I won't recomment to post the hacking tips though, because this might be
dangerous foe normal users.
And the supported formats are very little, even if you download the mp3 plug-
in
(http://java.sun.com/javase/technologies/desktop/media/jmf/mp3/download.html).
I download and compile the Fobs4JMF, which is a JMF wrapper for ffmpeg (that
means, you can play almost *anything*), see http://fobs.sourceforge.net .
Any way, I'd suggest you give it a try (otherwise you have no other option to
use that fork, that comes with native gstreamer support - something I strongly
discourage! IMHO for a few features you get lots of issues).
I download the file. Extract it in my home dir.
I don't follow the instructions for the mp3 plug-in, but unzip it and copy it
in the JMF (JMF-2.1.1e/lib).
Then as su I move the JMF-2.1.1e to /opt, create a simlink /opt/JMF so I can
update easyly (well, "update" is just a word here, as this is very unmantained
by Sun).
Then I solve every class path and library search path problem by
creating/editing /etc/profile.d/java.sh (in Fedora and Ubuntu I had to create
it), that looks like this:
export JAVA_HOME=/opt/jdk
export JMFHOME=/opt/JMF
export CLASSPATH=$JMFHOME/lib/jmf.jar:$JMFHOME/lib/mp3plugin.jar:
$JMFHOME/lib/fobs4jmf.jar:$CLASSPATH
export LD_LIBRARY_PATH=$JMFHOME/lib:$LD_LIBRARY_PATH
export PATH=$JAVA_HOME/bin:$JMFHOME/bin:$PATH
Add the $JMFHOME/lib/jmf.jar to OOo classpath (menu Tools - Options - Java),
and reboot.
Then as su, run the JMStudio and add the mp3 plug-in.
Building Fobs4JMF, the JMF wrapper for ffmpeg, requires some knowledge on
building (and programming: I had to correct some errors in five files to
compile). They have a deb pkg for Ubuntu but it's old.
Regards
Uwe
--
u...@openoffice.org - Technical Writer
StarOffice - Sun Microsystems, Inc. - Hamburg, Germany
http://wiki.services.openoffice.org/wiki/Documentation
http://user.services.openoffice.org/en/forum/
http://blogs.sun.com/oootnt
http://www.sun.com/staroffice
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@documentation.openoffice.org
For additional commands, e-mail: dev-h...@documentation.openoffice.org