LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   How-to: DVD Playback in FC4 (https://www.linuxquestions.org/questions/fedora-35/how-to-dvd-playback-in-fc4-337473/)

christopher5 06-26-2005 09:31 PM

How-to: DVD Playback in FC4
 
This is how to enable DVD playback uing yum

1. Login as root
2. Open Terminal as enter the following:
3. Open Gedit or any other text editor
4. Open /etc/yum.conf
5. Add the following at the bottom and save:

[livna]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1

6. At the terminal, enter these 3 commands:
Code:

yum install xine
yum install totem-xine
yum install libdvdcss

7. Now you can use either Xine or Totem to play your DVD. Enjoy :)

Please let me know of any mistakes; will be happy to add, cut or modify anything

macemoneta 06-27-2005 06:07 AM

You should add:

enabled=0

to the yum configuration for the repository, and install with:

yum --enablerepo=livna install xine totem-xine libdvdcss

The reason is that livna is not 100% compatible with Fedora Extras. Pulling selected packages, as you are doing is OK; you just wouln't want to do a "yum update" with livna enabled.

thtadthtshldntbe 06-27-2005 09:50 AM

Hi, I'm new here, this is my first post, thanks in advance for any help

I am just switching to Linux, I am a longtime Win user, hell I predate Windows, I remember Dos 3.1 with various shell progs... anyway

I tried the instructions above, I understand at least at a basic level how to use yum but when I try the first two commands, I get error messages at the end of the yum process, what follows is the output

Quote:

[root@pcp09192728pcs etc]# yum --enablerepo=livna install xine
Setting up Install Process
Setting up repositories
livna 100% |=========================| 951 B 00:00
http://mirrors.csumb.edu/pub/fedora/...ta/repomd.xml: [Errno 4] IOError: HTTP Error 404: Date: Mon, 27 Jun 2005 14:42:29 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.11 mod_perl/1.29 mod_ssl/2.8.19 OpenSSL/0.9.7a
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
Trying other mirror.
updates-released 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package xine.i386 0:0.99.3-0.lvn.7.4 set to be updated
--> Running transaction check
--> Processing Dependency: libaa.so.1 for package: xine
--> Processing Dependency: libgpm.so.1 for package: xine
--> Processing Dependency: libslang-utf8.so.1 for package: xine
--> Processing Dependency: libxine.so.1 for package: xine
--> Processing Dependency: libncurses.so.5 for package: xine
--> Processing Dependency: libreadline.so.5 for package: xine
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package slang.i386 0:1.4.9-17 set to be updated
---> Package xine-lib.i386 0:1.0.1-0.lvn.6.4 set to be updated
---> Package ncurses.i386 0:5.4-17 set to be updated
---> Package readline.i386 0:5.0-3 set to be updated
---> Package gpm.i386 0:1.20.1-71 set to be updated
--> Running transaction check
--> Processing Dependency: libaa.so.1 for package: xine
--> Processing Dependency: libiso9660.so.4 for package: xine-lib
--> Processing Dependency: libcdio.so.5 for package: xine-lib
--> Processing Dependency: libmodplug.so.0 for package: xine-lib
--> Processing Dependency: libaudiofile.so.0 for package: xine-lib
--> Processing Dependency: libvorbis.so.0 for package: xine-lib
--> Processing Dependency: libcdio.so.5(CDIO_5) for package: xine-lib
--> Processing Dependency: libmng.so.1 for package: xine-lib
--> Processing Dependency: libspeex.so.1 for package: xine-lib
--> Processing Dependency: libavcodec.so for package: xine-lib
--> Processing Dependency: libasound.so.2 for package: xine-lib
--> Processing Dependency: libvcdinfo.so.0 for package: xine-lib
--> Processing Dependency: libasound.so.2(ALSA_0.9) for package: xine-lib
--> Processing Dependency: libFLAC.so.7 for package: xine-lib
--> Processing Dependency: libtheora.so.0 for package: xine-lib
--> Processing Dependency: libogg.so.0 for package: xine-lib
--> Processing Dependency: libesd.so.0 for package: xine-lib
--> Processing Dependency: libasound.so.2(ALSA_0.9.0rc4) for package: xine-lib
--> Processing Dependency: libvcdinfo.so.0(VCDINFO_0) for package: xine-lib
--> Processing Dependency: libartsc.so.0 for package: xine-lib
--> Processing Dependency: libaa.so.1 for package: xine-lib
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package libmng.i386 0:1.0.9-1 set to be updated
---> Package flac.i386 0:1.1.2-25 set to be updated
---> Package audiofile.i386 1:0.2.6-2 set to be updated
---> Package libvorbis.i386 1:1.1.0-2 set to be updated
---> Package speex.i386 0:1.0.4-5 set to be updated
---> Package esound.i386 1:0.2.35-5 set to be updated
---> Package alsa-lib.i386 0:1.0.9rf-2.FC4 set to be updated
---> Package arts.i386 8:1.4.1-0.fc4.1 set to be updated
---> Package libtheora.i386 0:1.0alpha4-2 set to be updated
---> Package libogg.i386 2:1.1.2-2 set to be updated
---> Package ffmpeg.i386 0:0.4.9-0.lvn.0.15.20050427.4 set to be updated
---> Package vcdimager.i386 0:0.7.21-0.lvn.1.4 set to be updated
--> Running transaction check
--> Processing Dependency: libaa.so.1 for package: xine
--> Processing Dependency: libxvidcore.so.4 for package: ffmpeg
--> Processing Dependency: libcdio.so.5 for package: xine-lib
--> Processing Dependency: libmodplug.so.0 for package: xine-lib
--> Processing Dependency: libcdio.so.5 for package: vcdimager
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libcdio.so.5(CDIO_5) for package: xine-lib
--> Processing Dependency: libiso9660.so.4(ISO9660_4) for package: vcdimager
--> Processing Dependency: libmp3lame.so.0 for package: ffmpeg
--> Processing Dependency: libiso9660.so.4 for package: vcdimager
--> Processing Dependency: libfaad.so.0 for package: ffmpeg
--> Processing Dependency: libiso9660.so.4 for package: xine-lib
--> Processing Dependency: libqt-mt.so.3 for package: arts
--> Processing Dependency: libcdio.so.5(CDIO_5) for package: vcdimager
--> Processing Dependency: liba52.so.0 for package: ffmpeg
--> Processing Dependency: libaa.so.1 for package: xine-lib
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package faad2.i386 0:2.0-0.lvn.5.4 set to be updated
---> Package a52dec.i386 0:0.7.4-0.lvn.7.4 set to be updated
---> Package xvidcore.i386 0:1.0.3-0.lvn.1.4 set to be updated
---> Package qt.i386 1:3.3.4-14 set to be updated
---> Package lame.i386 0:3.96.1-0.lvn.1.4 set to be updated
--> Running transaction check
--> Processing Dependency: libaa.so.1 for package: xine
--> Processing Dependency: libcdio.so.5 for package: xine-lib
--> Processing Dependency: libmodplug.so.0 for package: xine-lib
--> Processing Dependency: libcdio.so.5 for package: vcdimager
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg
--> Processing Dependency: libcdio.so.5(CDIO_5) for package: xine-lib
--> Processing Dependency: libiso9660.so.4(ISO9660_4) for package: vcdimager
--> Processing Dependency: libiso9660.so.4 for package: vcdimager
--> Processing Dependency: libiso9660.so.4 for package: xine-lib
--> Processing Dependency: libcdio.so.5(CDIO_5) for package: vcdimager
--> Processing Dependency: libaa.so.1 for package: xine-lib
--> Finished Dependency Resolution
Error: Missing Dependency: libaa.so.1 is needed by package xine
Error: Missing Dependency: libiso9660.so.4 is needed by package xine-lib
Error: Missing Dependency: libcdio.so.5 is needed by package xine-lib
Error: Missing Dependency: libmodplug.so.0 is needed by package xine-lib
Error: Missing Dependency: libcdio.so.5(CDIO_5) is needed by package xine-lib
Error: Missing Dependency: libaa.so.1 is needed by package xine-lib
Error: Missing Dependency: libcdio.so.5 is needed by package vcdimager
Error: Missing Dependency: libImlib2.so.1 is needed by package ffmpeg
Error: Missing Dependency: libiso9660.so.4(ISO9660_4) is needed by package vcdimager
Error: Missing Dependency: libiso9660.so.4 is needed by package vcdimager
Error: Missing Dependency: libcdio.so.5(CDIO_5) is needed by package vcdimager
Does this mean that I must manually install all of those dependent files? I am not sure how a linux system is exactly laid. Should I be adding whereever those files are to my path statements?

I have FC4 for AMD64

thtadthtshldntbe 06-27-2005 09:58 AM

ok, quick update here.

I tried uninstalling and then reinstalling totem. Still no luck

I get this error message
Quote:

No URI handler implemented for "dvd://"
This is the same as before I began trying to get DVD playability.

macemoneta 06-27-2005 12:19 PM

The repositories for FC4 x86_64 (AMD64) are not yet populated. Once they are, the above commands should "just work".

macemoneta 06-27-2005 12:26 PM

There's another change that's needed in the livna repo definition in the first post... the release and architecture should not be listed explictly, or folks using x86_64 or ppc which are supported FC4 platforms will reference the wrong files. The livna repo should be defined as:

[livna]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1
enabled=0

christopher5 06-27-2005 02:48 PM

Quote:

Originally posted by macemoneta
There's another change that's needed in the livna repo definition in the first post... the release and architecture should not be listed explictly, or folks using x86_64 or ppc which are supported FC4 platforms will reference the wrong files. The livna repo should be defined as:

[livna]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn
gpgcheck=1
enabled=0

you'e right, that is the defualt way to set it up. I had just changed it since the FC4 directory for Livna is different from 1-3, so I explicitly put in i386 instead. I'll change that, thanks for the input :)

christopher5 06-27-2005 02:52 PM

Quote:

Originally posted by thtadthtshldntbe
Hi, I'm new here, this is my first post, thanks in advance for any help

I am just switching to Linux, I am a longtime Win user, hell I predate Windows, I remember Dos 3.1 with various shell progs... anyway

I tried the instructions above, I understand at least at a basic level how to use yum but when I try the first two commands, I get error messages at the end of the yum process, what follows is the output



Does this mean that I must manually install all of those dependent files? I am not sure how a linux system is exactly laid. Should I be adding whereever those files are to my path statements?

I have FC4 for AMD64

As noted further down, I forgot that I had it set up only for i386. It's fixed so it will now fetch the rpm's from the x86_64 directory for your system.

Welcome to the world of Linux :)

We can have so-called "dependency hell", but modern package managers such as yum and apt-get take care of any such dependencies. For instance, when I enter
Code:

yum install xine
it knows to also install xine-lib and such.

christopher5 06-27-2005 02:53 PM

Quote:

Originally posted by macemoneta
The repositories for FC4 x86_64 (AMD64) are not yet populated. Once they are, the above commands should "just work".
From what I can tell xine and libdvdcss are in the x86_64 directory :)

christopher5 06-27-2005 02:55 PM

Quote:

Originally posted by thtadthtshldntbe
ok, quick update here.

I tried uninstalling and then reinstalling totem. Still no luck

I get this error message


This is the same as before I began trying to get DVD playability.

Make sure you enter
Code:

yum install totem-xine
and not
Code:

yum install totem
By default, Fedora installs Totem which uses Gstreamer and not Xine-lib. You can check which one you have by going to Help->About. As long as you have Totem-Xine and libdvdcss you should be able to play dvd's......

Can you play dvd's using Xine?

thtadthtshldntbe 06-28-2005 08:03 AM

Thanks, once I changed the livna.repo file to reflect those changes it worked. I can play DVDs with Xine, though not with totem yet. When I try totem seems to open the DVD like its exploring the disc. No play options. Maybe on reboot...

christopher5 07-02-2005 11:57 AM

Are you using File->Open or File->Play Disc? I always use the latter. I can't remember off-hand, but in prefs you might have to set which CD Drive for Totem to use. I had to change it from my CD-RW to my DVD-ROM before it worked. And once again, make sure under Help->About it says "Using xine-lib 1.x" and not "Uinsg gstreamer 0.8.x"

thtadthtshldntbe 07-02-2005 03:28 PM

Well, more bad news.

I have since reinstalled FC4 because I thought I had really screwed things up... Well this did not solve that problem.

Now not even Xine will play DVDs, this is really bloody frustrating as evey set of instructions of this DVD issue seems not to work for me. Now Totem (yes I checked to see that it is using Xine) just opens a browser window onto the DVd and Xine tells me that their is no plugin for DVD:/

If I can just get my media files to work here and get dualhead display configured I can work all the time in Linux....

rwhite7890 07-03-2005 05:20 PM

I was getting the same exact error messages from Totem when I was trying to play DVD's. I read this thread. I was trying to do the yum install commands and was getting the same error messages about missing dependencies as thtadthtshldntbe was. So then I read that I had the wrong /etc/yum.conf format. So I changed that to be:

################################
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

[livna]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/RPMS.lvn/
gpgcheck=1
enabled=0
##################################################

Now when I do the 'yum install libdvdread libdvdcss xine totem-xine' command I get these error messages:
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libdvdread
No Match for argument: libdvdcss
No Match for argument: xine
No Match for argument: totem-xine
Nothing to do

This is so frustrating. I am using FC4 on AMD64. I'm so frustrated right now because there are several things I can not get to work on this system. This is just one of them. And no one has answers. I can't download the right plugins for Mozilla/Firefox, I can't install Image::Magick for perl....ARGH!!!

I'm almost tempted to just start using Windows...but I don't want to. Someone please help!! :)

thtadthtshldntbe 07-03-2005 07:05 PM

Because of the enabled = 0 in the config lines, when you use yum and you want to use the livna repository use a command like this

yum --enablerepo=livna install xine

whatever is in the brackets for that repo setup goes after the = sign.


All times are GMT -5. The time now is 12:14 PM.