Forum Home
Press F1
 
Thread ID: 33310 2003-05-13 08:10:00 Linux pt. 1 - Watching a DVD Chilling_Silently (228) Press F1
Post ID Timestamp Content User
143687 2003-05-13 08:10:00 I have now got sound with Xine, so I thought why not put in a looney tunes DVD I have (Yes.. Im just starting off... :p) and see if it works. I could select certain parts (There were 5 odd files) and play them fine (They ended in .VOB I think), but there was no sound coz the sound is in a different folder.

Anyways - I tried to use the DVD function on Xine - but no luck.

So.. How would I go about setting up DVD Playback in Linux (RedHat 8). It reads the DVD fine, plays the parts of it fine, only theres no sound coz its in a different folder :-)

Cheers


Chilling_Silence
Chilling_Silently (228)
143688 2003-05-15 22:46:00 <bump>

Anybody have any ideas?

We have working:
Video
or
Sound
but not
Both
why
Because the sound/vid files are located in a seperate folder, and only one works at a time, sound or vid but not both!

Any idea's people?

Cheers


Chilling_Silence
Chilling_Silently (228)
143689 2003-05-16 04:59:00 The May PC Authority has an article on nice things for Linux. There is a specific mention that Xine as distributed by Red Hat does not handle encrypted DVDs. Have a look at FreshRPMS for a replacement which does. The article also recommends ALSA for sound rather than OSS. Same place. Graham L (2)
143690 2003-05-16 12:05:00 <bump> (no i'm not trying to ad to my post tally.....honest ;-)) tweak'e (174)
143691 2003-05-16 23:17:00 Thanks Tweak'e

And Ive currently got no ALSA working on Xine, so tough luck there...

Ive downloaded and installed Ogle DVD player, with the DVDcss rpm's and what-not.. it plays.. just a little jerky on the video.. doing a noticable skip once every 3 or so seconds :(


Any ideas?

And I cant change the nice value either?

It just hangs... :(


Cheers


Chill.
Chilling_Silently (228)
143692 2003-05-19 03:13:00 Okay...
OMS doesnt work..
Ogle still plays it, but skips once every 2-3 seconds...
VideoLAN Client will skip once every 1 1/2 seconds...
Xine just wont play it (I think I need the plugin for Xine) at all!

Ive tried increasing the Nice for the apps (Which freezes if Im my user, so to change the Nice value I have to be root) but that makes precious little difference, if any.

It plays like an under-powered PC might play it, skipping frames and audio too.

What might have gone wrong?
Other than that, VideoLAN Client is a great media player :-)

Thanks


Chill.
Chilling_Silently (228)
143693 2003-05-21 00:10:00 the problem with rh8 is that dma is not enabled by default on ide drives, to stop it from being jerky enable dma as root.
/sbin/hdparm -d1 /dev/hdb ---- make sure you get the right device

try ogle to see if it still skips, if it doesn't you enabled dma on the correct device
to get this to work every time you start the computer
edit /etc/rc.d/rc.local and add the above line in the script. This script is executed every time your computer starts

Once its working sweet i recommend you try mplayer to view dvd's i think its better, or use the goggles gui for ogle.
rsnic (3780)
143694 2003-05-21 07:21:00 Okay, Thanks.

I'll give that a shot and let you know how I get on.

BTW - Im kinda hooked now on VideoLAN Client.. Very Nice and Clean too!
Chilling_Silently (228)
143695 2003-05-21 11:24:00 Err.. It didnt work :(

I tried hda (My DVD drive is that for some reason.. my C: in doze is hdb1 then hdb5... not 100% sure but I think that the DVD Drive must be Primary Master)

tried /dev/cdrom too, and /dev/dvd and all 3 came up saying it couldnt do it and would set it to DMA off (dma=0).

This was done in a terminal after typing:
# su -
password:
and then the jazz i was instructe to type.

I even edited the file and added the line you mention, but no joy :(

Is there another way to do it?

Cheers


Chilling_Silence
Chilling_Silently (228)
143696 2003-05-21 13:48:00 It is pretty much certain that dma being not enabled is causing the skips, some older motherboards and drives may not support direct memory access. A list of ide drives and device names can be found in /proc/ide/ and information about it can be found in its corresponding directory. Put a dvd in the drive and test each device listed there with /sbin/hdparm -tT /dev/[device]
see which ones engage the dvd-rom when testing starts
then try to enable dma for the device that is the dvd
do ctrl-alt-f1 and login as root that way, my terminal sometimes doesn't display man pages properly which you should check out especially look at the hdparm -i and determine what dma mode the drive prefers.
rsnic (3780)
1 2