On 09/20/2007 10:08 AM, NoOp wrote: > On 09/20/2007 08:11 AM, Robin Laing wrote: >> Help, >> >> Last night I was trying to help my daughter with a presentation for a >> school project. She needed to export an presentation with sound but >> when exported, there was no sound with the files. At least they >> wouldn't play when opened. >> >> This was done on Linux. This was with OpenOffice 2.2 (Fedora 7 version) >> >> I installed 2.3 from OOo but I couldn't get any sound. >> >> I just tried on 2.2 from OOo and I don't get any sound either. If I try >> to insert a sound file, even a wave file, I get >> "The format of the selected file is not supported" >> >> According to the Issue Tracker, sound export is supposed to work but I >> don't know what version. >> >> Now what I need to know is does OpenOffice support exporting with sound >> or is the problem that I cannot import a PowerPoint presentation with sound? >> >> The second question is how to get sound working in Linux from the OOo? >> >> > > And that's the $64,000 question. Some have had luck by installing the > Sun JMF, but I've never gotten it to work w/Ubuntu 7.04 and standard > OOo. (The Ubuntu'ised version of OOo *does* work - I think it uses > GStreamer). > > http://www.google.com/search?hl=en&q=openoffice+%2Bsun+JMF&btnG=Search > http://www.oooforum.org/forum/viewtopic.phtml?p=245819 > [also look at page 1]
OK, after all this time I *finally* got JMF to work. The trick was following a combination of the Sun instructions, instructions from posts 2 (james_h) and 7 (hovel). Here is what I did (this is on Ubuntu 7.04 w/OOo 2.3 so modify according to your distro): 1. Downloaded the JMF bin file from: http://java.sun.com/products/java-media/jmf/2.1.1/download.html Followed the instructions on that page: <quote> If you are installing the JMF Performance Pack for Linux * Change directories to the install location. * Run the command % /bin/sh ./jmf-2_1_1e-linux-i586.bin </quote> by moving the file to my /opt directory. 2. From a terminal: $ cd /opt $ sudo /bin/sh ./jmf-2_1_1e-solaris-sparc.bin Accepted/yes to all except the last where it recommends that you enter "no". That creates the /opt/JMF-2.1.1e folder/directory $ export JMFHOME=/opt/JMF-2.1.1e $ export CLASSPATH=$JMFHOME/lib/jmf.jar::$JMFHOME/lib/sound.jar:.:${CLASSPATH} $ export LD_LIBRARY_PATH=$JMFHOME/lib:${LD_LIBRARY_PATH} 3. Opened OOo: Tools/Options/Java/Class Path - _browse_ to /opt/JMF-2.1.1e/lib and click on jmf.jar - click OK. Sound now works! :-) Man... I've been fighting with this for over a year now. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
