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.


> > Unfortunately, it is not easy to
> > guarantee this for a multi-platform program. So there are some issues:
>
> That is a lot of issues!
>
> 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".
>
> 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.

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
-- 
Ariel Constenla-Haile
La Plata, Argentina


"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@documentation.openoffice.org
For additional commands, e-mail: dev-h...@documentation.openoffice.org

Reply via email to