View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 15 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: xine DVD hates me!
PostPosted: Mon Sep 05, 2005 6:02 am 
Offline
Joined: Sun Aug 21, 2005 5:56 pm
Posts: 13
i have roughly the same problem as this thread with none of the chewy-caramel-resolution at the end...

situation: i can play dvd's with xine just fine (as mythtv, NOT root) from an xterm, but i receive the annoyingly frustrating "no such plugin" message if i attempt to play from within mythtv. i've restarted mythtv a few times as i adjusted certain aspects (changing permissions, etc), but have not logged out and back in as mythtv has been a member of the cdrom group since before i started digging into this stuff. here's the following pertinent data...

Code:
root@mythtv:/home/mythtv# ls -al /dev/cdrom /dev/dvd /dev/scd0
lrwxrwxrwx  1 root cdrom     9 Sep  5 06:22 /dev/cdrom -> /dev/scd0
lrwxrwxrwx  1 root cdrom     9 Sep  5 06:14 /dev/dvd -> /dev/scd0
brw-rw----  1 root cdrom 11, 0 May  7  2004 /dev/scd0

Code:
root@mythtv:/home/mythtv# grep mythtv /etc/group
cdrom:*:24:mythtv,eric
audio:!:29:mythtv,eric
video:!:44:mythtv,eric
mythtv:x:105:


originally above, my /dev/cdrom and /dev/dvd linked to /dev/hdc (my dvd drive), but after reading umpteen posts i decided to try linking them to /dev/scd0 before posting, just to be certain that that wasn't the problem...

any ideas on where to go from here? as i said, i've run it successfully from the command line (as user mythtv), but it refuses with the 'input plugin' error as above when i try to run it from within mythtv. i have double-checked and triple-checked that i have the same command in myth as i used in the command line, but no joy!

hmmm... interesting. i just added the keyboard and went back to verify that i most certainly was user mythtv when i ran 'xine -pfhq dvd://' from an xterm, and now it doesn't work, even as root after changing /dev/dvd and /dev/cdrom to point to /dev/scd0... after pointing everything back to /dev/hdc, things are again working just as i described, xine plays perfectly fine (as root or mythtv), only erroring out when i try to play from within MythTV. also, to be exhaustive, i've added my newly changed symlink data, as well as my xine-check results...

Code:
mythtv@mythtv:~$ ls -al /dev/cdrom /dev/dvd /dev/hdc
lrwxrwxrwx  1 root cdrom     8 Sep  5 06:47 /dev/cdrom -> /dev/hdc
lrwxrwxrwx  1 root cdrom     8 Sep  5 06:47 /dev/dvd -> /dev/hdc
brw-rw-r--  1 root cdrom 22, 0 May  7  2004 /dev/hdc

Code:
mythtv@mythtv:~$ more xine-check.out
Please be patient, this script may take a while to run...
[ good ] you're using Linux, doing specific tests
[ good ] looks like you have a /proc filesystem mounted.
[ good ] You seem to have a reasonable kernel version (2.6.11.9-chw-2)
[ good ] intel compatible processor, checking MTRR support
[ good ] you have MTRR support and there are some ranges set.
[ good ] found the player at /usr/bin/xine
[ good ] /usr/bin/xine is in your PATH
[ good ] found /usr/bin/xine-config in your PATH
[ good ] plugin directory /usr/lib/xine/plugins/1.0.0 exists.
[ good ] found unknown plugin: xineplug_flac.so
[ good ] found input plugins
[ good ] found demux plugins
[ good ] found decoder plugins
[ good ] found video_out plugins
[ good ] found audio_out plugins
[ good ] skin directory /usr/share/xine/skins exists.
[ good ] found logo in /usr/share/xine/skins
[ good ] I even found some skins.
[ good ] /dev/cdrom points to /dev/hdc
[ good ] /dev/dvd points to /dev/hdc
[ good ] DMA is enabled for your DVD drive
[ good ] found xvinfo: X-Video Extension version 2.2
[ good ] your Xv extension supports YV12 overlays (improves MPEG performance)
[ good ] your Xv extension supports YUY2 overlays
[ good ] Xv ports:  YUY2 YV12 UYVY I420 YUY2 YV12 UYVY I420


is there anything left to try or should i accept my fate of never having a complete system and always having to play dvds for my wife? :shock:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 12:54 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Could you post the actual error messages you're getting? Also check out: /var/log/mythtv/mythbackend.log and: /home/mythtv/.xsession-errors


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 9:50 pm 
Offline
Joined: Sun Aug 21, 2005 5:56 pm
Posts: 13
well, i would have posted the actual error if it were easy to read, but since it's in a window that pops up and disappears in about a quarter of a second, it makes reading it rather hard. it's something along the lines of

Quote:
There is no input plugin to handle 'dvd'. maybe MRL syntax is wrong or the file/stream source does not exist.


the relative portions of .xsession-errors:
Code:
mythtv@mythtv:~$ tail -100 /home/mythtv/.xsession-errors
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.
xiTK received SIGSEGV signal, RIP.


the relative portions of mythbackend.log:
Code:
mythtv@mythtv:~$ date
Mon Sep  5 22:45:53 CDT 2005
mythtv@mythtv:~$ tail -10 /var/log/mythtv/mythbackend.log
[mpeg2video @ 0xb775e010]00 motion_type at 22 29
[mpeg2video @ 0xb775e010]ac-tex damaged at 19 11
[mpeg2video @ 0xb775e010]00 motion_type at 18 29
[mpeg2video @ 0xb775e010]ac-tex damaged at 28 29
[mpeg2video @ 0xb775e010]00 motion_type at 28 29
[mpeg2video @ 0xb775e010]end mismatch left=66

2005-09-05 22:00:37.272 Finished, 3 break(s) found.
[mpeg2video @ 0xb775c010]skiped MB in I frame at 28 29
[mpeg2video @ 0xb775c010]Warning MVs not available

date was run just prior in order to point out that i seem to be getting no messages logged about the DVD errors in the mythbackend.log... (i finished watching a movie (video file, not DVD) about 45 minutes ago and have since been playing with the dvd... nothing has really been logged).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 10:01 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
So you're fairly certain that it's an xine produced error rather than an mythtv error?

Try this variation as your command xine instead just to see if it makes any difference:
Code:
xine -pfhq --auto-scan dvd

The next step is to use xine options that bump up the logging level. I kind of suspect you've got an environment problem but that means we have to figure out what is different between when you run it from the command line and when MtythTV runs it for you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 10:21 pm 
Offline
Joined: Sun Aug 21, 2005 5:56 pm
Posts: 13
well. i knew there was a reason i dropped the --auto-scan... when i use it, xine comes up with the window (full-screen) that says xine, however, the dvd never actually plays. it just sits there with the xine logo, and works fine if you pull up the gui ('g') and manually choose 'dvd' and 'play', but won't actually start the dvd, which is kinda pointless for a headless, keyboard/mouseless computer on my TV...

anyhow, whilst i was doing this, i decided to double-check my myth settings and see exactly what command i had set, among other variables. if it weren't for the fact that this post might save someone else hours of searching and embarassing questions, i'd simply let the thread die and pretend i was never so dense.

the exact command that i had set was 'xine -pfhq dvd'. not 'dvd://' as it should have been. this now makes sense with the error stating that it couldn't find a plugin to handle the file type 'dvd'. adding the colon-slash-slash did the trick.

now for a final dvd-related question before i go tell the wife that she can use the computer to play dvds now... how do i get my dvd back? for some reason /dev/cdrom will not umount, even as root.
Code:
root@mythtv:/home/mythtv# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             2.7G  1.7G  865M  67% /
/dev/vg/myth          327G  127G  200G  39% /myth
/dev/cdrom            4.2G  4.2G     0 100% /cdrom
root@mythtv:/home/mythtv# umount /dev/cdrom
root@mythtv:/home/mythtv# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1             2.7G  1.7G  865M  67% /
/dev/vg/myth          327G  127G  200G  39% /myth
/dev/cdrom            4.2G  4.2G     0 100% /cdrom


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 05, 2005 10:30 pm 
Offline
Joined: Sun Aug 21, 2005 5:56 pm
Posts: 13
nevermind, i've found the 'eject' command works fine (i was thinking of doing it through cdrdao or cdrecord if i had to...), i'll just have to find a way to map that to a key on my remote...

thanks for your help, tjc, even though it was one of those PEBCAK things...


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 2:07 am 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
I gotta ask... PEBCAK? I have to know... (P.S. I loved the "chewy caramel" bit.)

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 3:32 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
Google is your friend even for acronyms. :)

"PEBCAK is an acronym for Problem Exists Between Chair And Keyboard."


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 11:16 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
:lol:

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 3:30 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It's like an ID 10 T problem... As in calling your favorite sysadmin back and saying "Never mind, I'm just an ID 10 T..." ;-)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 6:36 pm 
Offline
Joined: Sun Aug 21, 2005 5:56 pm
Posts: 13
i found this site to be a quite humorous definition and story of 'PEBCAK'...


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 18, 2007 2:39 pm 
Offline
Joined: Sun Mar 11, 2007 3:08 am
Posts: 18
hm. I do not have a /dev/dvd at all (after replacing my CDRW with a DVDROM device). The /dev/cdrom shows all data of the DVDs. But xine won´t play them. I get the can´t handle-msg, too. the command lines suggested don´t work, too. I tried, new, old, selfmade and selfburned DVDs.

Any suggestions?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 12:51 pm 
Offline
Joined: Tue Jun 27, 2006 5:19 pm
Posts: 100
Location: Naptown, Indiana; USA
I, too, had the "there is no input plugin available" problem. I fixed it by replacing my IDE cable.

_________________
R5.5; PVR-250; FX5200; Dell 4300 with Intel Pentium 4 (1.5 GHz);
BIOS Revision A02; 512MB RAM; 500GB PATA HDD


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 20, 2007 1:12 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
red wrote:
hm. I do not have a /dev/dvd at all (after replacing my CDRW with a DVDROM device). The /dev/cdrom shows all data of the DVDs. But xine won´t play them. I get the can´t handle-msg, too. the command lines suggested don´t work, too. I tried, new, old, selfmade and selfburned DVDs.

Any suggestions?
Did you jumper the new drive the same as the old? What does
Code:
ls -l /dev/dvd /dev/cdrom /dev/hd?
reveal? And what command are you using to try to play the DVDs?

If your command is pointing to /dev/dvd and there is no such device you will need to link to an existing one (eg. ln -s /dev/hdX /dev/dvd, where X will probably be the same device that /dev/cdrom is linked to)


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 21, 2007 12:33 am 
Offline
Joined: Sun Mar 11, 2007 3:08 am
Posts: 18
oookay. The solution: Cable with a slack joint.

tnx to every helping hand,

Red


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu