LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   getting totem movie player to work (https://www.linuxquestions.org/questions/linux-software-2/getting-totem-movie-player-to-work-255798/)

Mytharak 11-16-2004 09:04 PM

getting totem movie player to work
 
when I try to play an mpeg video in totem it gives me an error message that says it cannot open the file: "Failed to open; reason unknown"

Is there something I have to do to get it to work?

Edit:
I'm using Fedora Core 3

Ghost_runner 11-17-2004 06:41 PM

i've had better luck with xine and xmms than totem, in all honesty.

darkknight_9 12-01-2004 01:20 PM

Your problem is that the totem in FC3 uses Gstreamer which lacks the mpeg plugin by default .. so totem can't play the file .. goto freshrpms.net and get the totem-xine from there ..

master 12-07-2004 04:30 PM

just curious to know if you had any luck with it im thinking of installing it my self does any one know if it can play the video from a camcorder

darkknight_9 12-08-2004 03:55 AM

totem-xine works for me .. I don't know about your camcorder though ..

sleeping 12-23-2004 10:13 PM

I have a fresh install of Fedora Core 3, and I am experiencing the same problem (Totem refusing to read files for "reason unknown").

Quote:

Originally posted by darkknight_9
Your problem is that the totem in FC3 uses Gstreamer which lacks the mpeg plugin by default .. so totem can't play the file .. goto freshrpms.net and get the totem-xine from there ..
I am not a total newbie, but I am not a super-über-geek either. I know roughly how rpms work, but here is what I get when trying to get the totem-xine rpm from freshrpm.net :

Code:

warning: totem-xine-0.99.22-1.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
        liblirc_client.so.0 is needed by totem-xine-0.99.22-1.1.fc3.fr.i386
        libxine.so.1 is needed by totem-xine-0.99.22-1.1.fc3.fr.i386
        lirc is needed by totem-xine-0.99.22-1.1.fc3.fr.i386
        totem conflicts with totem-xine-0.99.22-1.1.fc3.fr.i386

That won't stop me, I'm still gonna try it. On with the first dependency, I google liblirc_client.so.0 fc3 and I get the lirc package. It installs without any problem, good.
Now onto the next, with a Google of libxine.so.1 fc3, letting me find the xine-lib package.

Code:

warning: xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        libaa.so.1 is needed by xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386
        libdvdcss is needed by xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386
        libfame-0.9.so.1 is needed by xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386

*sigh*... more failed dependencies. Ok, I can do this. Looking for libaa.so.1 fc3, Google points me to the aalib package which installs fine. Moving on to looking for libdvdcss, which leads to the libdvdcss package. Another easy install. Keeping going, libfame-0.9.so.1 fc3 leads me to the libfame package Hurray, another flawless install.

I have now installed the three failed dependencies of xine-lib, so I can install xine-lib now. With libxine.so.1, I can also try and install the totem-xine package (this is the whole point after all). I still get :

Code:

warning: totem-xine-0.99.22-1.1.fc3.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
        totem conflicts with totem-xine-0.99.22-1.1.fc3.fr.i386

Ok, this could make sense. A totem is already there, so the new one doesn't want to install over it. All that is left to do now is to remove the old totem with "rpm -e totem", then install the new totem. Hurray, everything works, and my totem player can now play mpeg movies.

Now, my intent is really not to start a flame war or anything in the like, but just take a look at all the steps I had to take to be able to watch a mpeg movie. Out of the box, Fedora Core 3 has a movie player, but that player cannot read mpeg files, which is quite a common format on the internet. In order to let totem read mpegs, I had to install a package which had 3 failed dependencies, and one of those 3 dependencies also had 3 failed dependencies...

Don't get me wrong, I'm glad I got it all working now, but why did I have to manually install 6 packages just to an application that is said to come out-of-the-box be usable? Why don't the required libraries come with the package that requires them? Can't the applications have a static link to the libraries they require instead of a dynamic link?

I'm not being sarcastic or asking rhetorical questions, I am really wondering why things are done this way. I hear a lot of bitching about DLL hell, but aren't we getting into a .so hell ourselves?

darkknight_9 12-24-2004 09:03 AM

How about using the wonderful tool called "yum" that comes with FC3?

Head over to fedorafaq.org and have a look at

http://www.fedorafaq.org/#getsoftware

once you have yum configured as stated, you can just type

yum install totem-xine

and it will take care of everything for you (except the rpm -e totem part of course ;))

Yum is also a great way to keep ur system up2date.. just type

yum update

and it'll get and install all updates available.

Enjoy!

darkknight_9 12-24-2004 09:10 AM

Just as a follow-on .. there is currently another package manager called "smart" that is very similar to YUM but supposedly does things a little better .. it even has a GUI frontend .. check out:

http://www.smartpm.org/

for details. I'f you're interested, I'd suggest that you head over to Dag's repo at:

http://dag.wieers.com/packages/smart/

and grab the FC3 packages from there. They already have most of the major repos configured for use.

Good luck!

sleeping 12-24-2004 09:22 AM

Quote:

Originally posted by darkknight_9
How about using the wonderful tool called "yum" that comes with FC3?

Head over to fedorafaq.org and have a look at

http://www.fedorafaq.org/#getsoftware


Yum actually looks good, thanks for the pointer. Would have been a lot easier if you had said that in the first place ;-). The only pointer I had so far was "goto freshrpms.net and get the totem-xine from there", so I didn't know better.

darkknight_9 12-24-2004 09:26 AM

oops .. sorry abt that .. I'll remember that for the next person who comes asking ;)

Petra9 01-09-2005 05:25 PM

The problem with yum is that not all of us have internet connection within linux, I can't make my agere modem to work:(

I have the same problem sleeping had and did everything he did, everything went fine until this happened:

$ rpm -ivh xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386.rpm
error: xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386.rpm: V3 DSA signature: BAD, key ID 6b8d79e6
error: xine-lib-1.0.0-0.16.rc7.1.fc3.rf.i386.rpm cannot be installed

What is this about signature? And what are those warnings for NOKEY?

davcefai 01-10-2005 12:02 AM

Quote:

The problem with yum is that not all of us have internet connection within linux, I can't make my agere modem to work:(
It's not just yum. Linux depends heavily on the internet - how else can you get updates and support?

Also, this is probably the right place to get help with getting your modem to work.

Petra9 01-10-2005 12:58 PM

Quote:

Originally posted by davcefai
It's not just yum. Linux depends heavily on the internet - how else can you get updates and support?

Also, this is probably the right place to get help with getting your modem to work.

yes, I know, but I have to study a lot right now, and finding the right driver for modem requires some time (I already lost few days on it). I have internet working on my desktop and I'm trying to make it work on my lap-top (outside of windows). but it's just gonna have to wait for a bit longer.

about totem - I downloaded xine-lib again and, as I supposed, everything ended well, so now I can watch movies when I need a break from studying and don't need to enter windows for that.

but, I am still curious - what are those keys and ids for?

dr_zayus69 01-10-2005 05:43 PM

i think what davcefai is trying to say is that instead of posting about your modem in someone else's thread when it is off topic is not the right place. You could have started your own thread in the hardware section.

Petra9 01-10-2005 05:59 PM

like I said - I don't have time to work on my modem now, sorry if you got the expression that I'm trying to get help on that here. I'm asking about problems I had during the installation of totem, I don't think I should open a new thread for that, or should I?!

This is off topic and I'm sorry for that, but I had to explain it in case somebody else didn't understand my question (maybe it's my english?)

davcefai 01-10-2005 11:41 PM

Just for the record, I was not alluding to the thread Petra9 was in but that linuxquestions is the place where the modem problem can doubtless be resolved.

Petra9 01-11-2005 06:02 AM

That's what I thought you said. Thanx, I'll do that very soon:)


All times are GMT -5. The time now is 02:24 PM.