LinHES Forums
http://forums.linhes.org/

Xine and Mplayer fail to play dvd - pineapple issue?
http://forums.linhes.org/viewtopic.php?f=11&t=14808
Page 1 of 1

Author:  tuatara [ Tue Apr 03, 2007 6:04 am ]
Post subject:  Xine and Mplayer fail to play dvd - pineapple issue?

Hi There,

This is r5e50 - fresh install.
The pineapple and win32 codecs are installed.

When I try to play a DVD using "xine dvd://" from the shell - I get
"There is no input plugin available to handle dvd://"

In the shell, I see
"libdvdread: using libdvdcss version 1.2.9 for DVD access
libdvdread: Attempting to use device /dev/hda1 mounted on / for CSS authentication"

Then I get a bunch of read errors.
Note that hda1 is the / partition.

/dev/dvd and /dev/cdrom point to /dev/hdd, which looks correct.

I've read the previous posts about this issue, and mostly it got
resolved by fixing perms on /dev/hdd (660 by default) or re-adding
the symbolic links and/or the /dev/hdd device. That hasn't helped
here.


Note that xine-check indicates:
- multiple xine installs
- xine-config is not installed, and therefore xine-lib is not
installed or in a very unusual place
- unable to determine plugin directory

I'm sure xine-lib is installed because I can play .avi files.
I'm sure plugins are installed because I can browse to them
at /usr/lib/xine/plugins/1.1.2

MTD does not seem to see dvds either.

Any ideas would be very welcome.
Thanks.
Paul

Author:  alien [ Tue Apr 03, 2007 7:27 am ]
Post subject: 

I don't think your problem has anything to do with fruit (which is not a topic for the forums anyway).

Try "xine dvd:/" (only one slash).

Author:  tuatara [ Thu Apr 05, 2007 2:22 am ]
Post subject: 

That doesn't look right?
I've got a working myth box, and mine uses dvd://
I tested it from the command line too.

The issue is on a new box I'm installing for a friend.
Still - I'm desperate enough to try anything, so
I'll set it up and give it a try this weekend.

Thanks alien.

Paul.

alien wrote:
I don't think your problem has anything to do with fruit (which is not a topic for the forums anyway).

Try "xine dvd:/" (only one slash).

Author:  tjc [ Thu Apr 05, 2007 5:17 pm ]
Post subject: 

Did you update the xine library as per Cecil's post? It's there as a fix for a different problem, but it's still worth a shot.

http://mysettopbox.tv/phpBB2/viewtopic. ... 2986#82986

Author:  tuatara [ Fri Apr 13, 2007 3:29 am ]
Post subject: 

This didn't work.

This appears to be a linux problem rather than a {knopp}myth one. The /dev/dvd just isn't readable.

The actual error message appears to be:
"There is no input plugin available to handle dvd:/.
Maybe MRL syntax is wrong or file/stream source doesn't exist"

Further up you can see an error
"Read error from '/dev/dvd'"

I've checked perms on /dev/dvd and /dev/hdd (which dvd is a symbolic link to). Strangely /dev/cdrom (also symbolic link to /dev/hdd) does work.

This problem is mentioned around the web, but none of those solutions have worked here.

I'm guessing something strange happened during install and I need to do it again.

BTW - i've gotta eat some humble pie - it was dvd:/ not dvd://.
My bad (memory).

Cheers.
Paul.

tjc wrote:
Did you update the xine library as per Cecil's post? It's there as a fix for a different problem, but it's still worth a shot.

http://mysettopbox.tv/phpBB2/viewtopic. ... 2986#82986

Author:  tjc [ Fri Apr 13, 2007 6:34 am ]
Post subject: 

I'm guessing that you're missing the symbolic links. What does this show on your machine?
Code:
root@black2:~# ls -al /dev/dvd* /dev/cdr* /dev/hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/cdrw -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/dvd -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/dvdrw -> hdc
brw-rw---- 1 root cdrom 22, 0 Apr 10 19:23 /dev/hdc

Note that the device the links point to may be different depending on your hardware. By looking at the IDE info you can see that hdc is my DVD drive:
Code:
for i in /proc/ide/ide?/hd?/model ; do echo "$i: $(cat $i)" ; done
/proc/ide/ide0/hda/model: ST3250823A
/proc/ide/ide0/hdb/model: ST3250823A
/proc/ide/ide1/hdc/model: _NEC DVD_RW ND-3520A

Author:  tuatara [ Fri Apr 13, 2007 9:45 pm ]
Post subject: 

Symbolic links are there - to hdd rather than hdc

tjc wrote:
I'm guessing that you're missing the symbolic links. What does this show on your machine?
Code:
root@black2:~# ls -al /dev/dvd* /dev/cdr* /dev/hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/cdrom -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/cdrw -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/dvd -> hdc
lrwxrwxrwx 1 root root      3 Apr 10 19:23 /dev/dvdrw -> hdc
brw-rw---- 1 root cdrom 22, 0 Apr 10 19:23 /dev/hdc

Note that the device the links point to may be different depending on your hardware. By looking at the IDE info you can see that hdc is my DVD drive:
Code:
for i in /proc/ide/ide?/hd?/model ; do echo "$i: $(cat $i)" ; done
/proc/ide/ide0/hda/model: ST3250823A
/proc/ide/ide0/hdb/model: ST3250823A
/proc/ide/ide1/hdc/model: _NEC DVD_RW ND-3520A

Author:  tjc [ Fri Apr 13, 2007 9:53 pm ]
Post subject: 

That was actually a multi part question... Using the other command does it show /dev/hdd as your DVD drive? Does the user/ownership from ls match mine? Do you have multiple optical drives?

Author:  tuatara [ Mon Apr 16, 2007 1:20 am ]
Post subject: 

Oooops my bad.

Yes, ls -l is the same. 660 on /dev/hdd, and 777 on the
symbolic links.

And there is only one optical drive.

Cheers.
Paul

tjc wrote:
That was actually a multi part question... Using the other command does it show /dev/hdd as your DVD drive? Does the user/ownership from ls match mine? Do you have multiple optical drives?

Author:  tjc [ Mon Apr 16, 2007 7:26 pm ]
Post subject: 

Try the following for your dvd player command:
Code:
xine -pfhq --no-splash --no-logo --auto-scan dvd

Author:  tuatara [ Tue Apr 17, 2007 3:12 am ]
Post subject: 

Yes, have tried that. Same result.
I've been banging on this weird issue for a week or more - so
I'm going to try a reinstall and see if that makes a difference.

Thanks for your help.
Paul


tjc wrote:
Try the following for your dvd player command:
Code:
xine -pfhq --no-splash --no-logo --auto-scan dvd

Author:  tjc [ Tue Apr 17, 2007 6:14 pm ]
Post subject: 

Don't forget to check your other DVD related settings to make sure that they're OK too.

Code:
root@black2:~# mysql -u root mythconverg -e "select * from settings where value like '%dvd%' or data like '%dvd%'"
+--------------------------+----------------------------------------------------------------------+----------+
| value                    | data                                                                 | hostname |
+--------------------------+----------------------------------------------------------------------+----------+
| DVDDeviceLocation        | /dev/dvd                                                             | black2   |
| DVDPlayerCommand         | xine -pfhq --no-splash --no-logo --auto-scan dvd                     | black2   |
| DVDRipLocation           | /myth/tmp                                                            | black2   |
| TitlePlayCommand         | mplayer -dvd-device %d -fs -zoom -vo xv -dvd %t -aid %a -channels %c | black2   |
| DVDDBSchemaVer           | 1002                                                                 | NULL     |
| DVDOnInsertDVD           | 1                                                                    | black2   |
| MythArchiveDVDLocation   | /dev/dvd                                                             | black2   |
| MythArchiveDvdauthorCmd  | dvdauthor                                                            | black2   |
| mythdvd.DVDPlayerCommand | xine -pfhq --auto-scan dvd                                           | black2   |
| MythBurnBurnDVDr         | 1                                                                    | black2   |
| MythBurnEraseDvdRw       | 0                                                                    | black2   |
+--------------------------+----------------------------------------------------------------------+----------+

Author:  tuatara [ Sat Apr 21, 2007 4:31 am ]
Post subject:  Solved!

The solution turned out to be....

(drum roll)...

Replacing the DVD drive.

Twas very weird - a brand new kit, including a brand new
HP DVD 300i Writer. Worked fine as a CD, but was unable to
reliably read some DVD's.

I happened to have a spare DVD reader lying around - dropped
that in and voila! Playing DVD's immediately worked.

Being a pair of s/w guys, we immediately blamed the s/w, and
spent 3 weeks chasing our tails.

Thanks to all who helped and responded.
The box is up and running (I'm setting it up for a mate) and we have
a new Myth/KM convert!

Paul.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/