OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Media Play in 2.0bc for linux

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Impress
View previous topic :: View next topic  
Author Message
Marek_McGann
Newbie
Newbie


Joined: 02 Mar 2005
Posts: 3

PostPosted: Wed Mar 02, 2005 8:32 am    Post subject: Media Play in 2.0bc for linux Reply with quote

Just downloaded and installed the 2.0bc for linux. I've had the 1.9-65 version running for a while and I had exactly the same problem, which is this:

I cannot embed images or sounds in presentations, and the media player (from the Tools menu in Impress) won't load any files. The error message I get, no matter what kind of files I am trying to load is:

"The format of the selected file is not supported"

Is there some codecs I should be downloading, or pointing the player to?

Or is there a way to use some other player in linux, like mplayers or vlc?

Other than that, 2.0's looking very nice indeed Wink
Back to top
View user's profile Send private message Visit poster's website
zingale
General User
General User


Joined: 21 Oct 2004
Posts: 14

PostPosted: Thu Mar 03, 2005 10:47 am    Post subject: Reply with quote

I have the same problems, and I have posted bug reports about it in bugzilla, but the claim is that it works for them. Perhaps it is just a really restricted set of formats that work with the JMF player that OOo 2.0 uses. I haven't found any that work thus far.
Back to top
View user's profile Send private message
Marek_McGann
Newbie
Newbie


Joined: 02 Mar 2005
Posts: 3

PostPosted: Thu Mar 03, 2005 10:53 am    Post subject: Reply with quote

Having looked around further I think what's causing the problem is setting the paths (that is, the environment variables) for the JMF player. I've tried a number of things at this point and just can't get the damn thing to work (the classpath in particular is the bugbear I think).

Don't really have time at the moment to try and work it all out, so I'll just have to go without media for the mo', I think.

Ah well.
Back to top
View user's profile Send private message Visit poster's website
zingale
General User
General User


Joined: 21 Oct 2004
Posts: 14

PostPosted: Thu Mar 03, 2005 1:09 pm    Post subject: Reply with quote

my bug report is here:

http://www.openoffice.org/issues/show_bug.cgi?id=43282

they say you need to restart after setting the class path, but this did not seem to do it for me either.

The document describing media in OOo 2.0 is:

http://specs.openoffice.org/appwide/media_player/MediaPlayer.sxw

but those directions still don't solve it for me. It would be nice to have somewhere posted a movie that is known to work in OOo 2.0, so we could then atleast determine if it is the encoding of the movies that we are trying that are at fault, or if it is an installation problem.
Back to top
View user's profile Send private message
zingale
General User
General User


Joined: 21 Oct 2004
Posts: 14

PostPosted: Thu Mar 03, 2005 5:00 pm    Post subject: Reply with quote

a little more information. If I set the CLASSPATH and LD_LIBRARY_PATH, following

http://java.sun.com/products/java-media/jmf/2.1.1/setup-linux.html

then I find that I can play MPEG-1 movies from the command line by running
jmstudio in the JMF bin/ directory. Still cannot embed the movies in OOo, nor does
the diagnostic applet at

http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html
Back to top
View user's profile Send private message
zingale
General User
General User


Joined: 21 Oct 2004
Posts: 14

PostPosted: Fri Mar 04, 2005 10:10 am    Post subject: Reply with quote

ok, after more and more experimenting, I have finally had some success, although I don't know yet how reproducible it is. I was able to embed an MPEG-1 movie into an Impress presentation on a Redhat 8.0 system. I will try later with my FC2 and FC3 systems at home, but RH8 is what is on my work machine currently.

Here are the steps I used:

1. install JMF:

sh ./jmf-2_1_1e-linux-i586.bin

2. make sure that the jre and mozilla-jre packages are installed. I used the RPMs from
Dag's archive.

3. set up the environment. In your .cshrc add:

setenv JMFHOME /home/username/JMF-2.1.1e/

setenv CLASSPATH $JMFHOME/lib/jmf.jar:$JMFHOME/lib/mediaplayer.jar:$JMFHOME/lib/multiplayer.jar

setenv LD_LIBRARY_PATH $JMFHOME/lib:${LD_LIBRARY_PATH}

setenv PATH ${PATH}:$JMFHOME/bin

and source .cshrc

4. open OOo and add $JMFHOME/lib to the tools/options/java/classpath dialog
and exit OOo

5. run $JMFHOME/bin/jmfinit

6. launch mozilla and go to http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html

make sure it says:

JMF Version... 2.1.1e

All Java Build
Native Libraries Found


7. finally, run openoffice and insert movies


As I said, so far, I only tried this on one machine, but it is working there. I was fooling around a lot, so I may have missed a step, but I believe this was the process. I will try to confirm on my laptop (FC2) later today.
Back to top
View user's profile Send private message
zingale
General User
General User


Joined: 21 Oct 2004
Posts: 14

PostPosted: Fri Mar 04, 2005 9:00 pm    Post subject: Reply with quote

one more step, perhaps the most important, which I overlooked above.

cp JMFHOME/lib/* /usr/lib/jre/lib/ext/

then try the diagnostics page -- make sure it works before playing around with openoffice.
Back to top
View user's profile Send private message
bryancole
OOo Advocate
OOo Advocate


Joined: 13 Jun 2003
Posts: 305

PostPosted: Mon Mar 07, 2005 2:26 pm    Post subject: Reply with quote

I got JMF to work in OOo-1.7.79, on FC3 by:

1) uninstalling all gcj java-compat libs. (there's some sort of conflict when the gcj stuff is installed)
2) installing JRE-1.4.2 (* JRE-1.5 doesn't work*) from Sun
3) setting the CLASSPATH and LD_LIBRARY_PATH as instructed in the JMF install instructions.

... and then it'll work
Back to top
View user's profile Send private message
helmerj
OOo Advocate
OOo Advocate


Joined: 12 Aug 2004
Posts: 235
Location: Germany

PostPosted: Thu Mar 17, 2005 5:10 am    Post subject: Reply with quote

bryancole wrote:
I got JMF to work in OOo-1.7.79, on FC3 by:

1) uninstalling all gcj java-compat libs. (there's some sort of conflict when the gcj stuff is installed)
2) installing JRE-1.4.2 (* JRE-1.5 doesn't work*) from Sun
3) setting the CLASSPATH and LD_LIBRARY_PATH as instructed in the JMF install instructions.

... and then it'll work


Hi!

I am still not able to get this to work. The media plugin is installed correctly, and mozilla sees it. I have two remaining questions, though:

1. How do you insert the video file?
a) Insert > Movie and Sound
b) Insert > Object > Video
c) Insert > Object > plugin

2. What codec is your video file?

Thanks Juergen
Back to top
View user's profile Send private message Visit poster's website
ocwong
Newbie
Newbie


Joined: 04 May 2005
Posts: 1

PostPosted: Wed May 04, 2005 1:12 am    Post subject: Mov files can run in OO Impress with JMF 2.1.1e for Linux Reply with quote

Hi guys,

Following zingale's advice, I have managed to get Quicktime movies to run in OpenOffice.
However, I can't get mpg files to do so.

Does anyone have any clue?

Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Impress All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group