Author Topic: Playing DVD  (Read 9446 times)

nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Playing DVD
« on: August 06, 2007, 09:39:20 am »
I'm using linuxmce RC1 and I have problem playing DVD.
The DVD starts playing and stop immediatly. Any hints?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Playing DVD
« Reply #1 on: August 06, 2007, 01:10:07 pm »
I'm using linuxmce RC1 and I have problem playing DVD.
The DVD starts playing and stop immediatly. Any hints?

Hi Nicola,

It sounds like you need to configure libdvdread3 which is the lib that allows lmce to playback DVD discs. try the following at your lmce machine;

Open a console window and type;

sudo /usr/share/doc/libdvdread3/install-css.sh <Return>

This should start the config script for libdvdread3 and then you should be able to go back into the LMCE Orbiter and play DVD's successfully. If you get an error when running the above command that says it can't find the script then try the following;

sudo apt-get install libdvdread3 <Return>
(the above line will install libdvdread3 for you... now try the line below again and it should work ok this time)

sudo /usr/share/doc/libdvdread3/install-css.sh <Return>

Hope the above gets your DVD playback working for you.

Regards

Andrew


Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Playing DVD
« Reply #2 on: August 06, 2007, 02:26:52 pm »
Thanks for the answer but i just find that it's not a problem of library.
I have to insert a music CD and then autoplay of DVD magically works until the next reboot.
 ;)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Playing DVD
« Reply #3 on: August 06, 2007, 04:00:19 pm »
Thanks for the answer but i just find that it's not a problem of library.
I have to insert a music CD and then autoplay of DVD magically works until the next reboot.
 ;)

Have a look into logs: DCERouter.log or pluto.log. It may give the answer why your DVD isn't played.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Playing DVD
« Reply #4 on: August 07, 2007, 11:59:52 am »
I take a look to the log, but I don't understand what do i have to look for?

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Playing DVD
« Reply #5 on: August 07, 2007, 06:03:37 pm »
Just guessing here, but maybe a necessary kernel module isn't loaded automagicly when the DVD is inserted, but then it is loaded when a CD is inserted.
"Change is inevitable. Progress is optional."
-- Anonymous


nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Playing DVD
« Reply #6 on: August 08, 2007, 01:08:56 pm »
I take a look to the log, but I don't understand what do i have to look for?

Some errors or warnings can be seen in the logs when you insert DVD. DCERouter is a brain of the system. So, you may see where the command 'Play DVD' is redirected. Maybe Zaerc is right. The library to play CD/DVD is not loaded properly. But without checking of logs it's very difficult to solve that.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: Playing DVD
« Reply #7 on: August 08, 2007, 01:41:00 pm »
nicola, do you have this issue happening constantly or it just happened only once? when it breaks again? I don't remember any fixes between 1.1 RC1 and 0704 release for it, but I suggest you to move to the latest version if possible :)

nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Playing DVD
« Reply #8 on: August 08, 2007, 10:43:27 pm »
I'm currently using the official release and  I still have the issue;
it happens every time I reboot the computer and I insert a DVD before a music CD, then when the music CD is inserted once it works perfectly.
I noticed, as Zaerc suggested, that the ide_cd modules is not loaded when first inserting a DVD.

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: Playing DVD
« Reply #9 on: August 09, 2007, 02:32:43 pm »
Can you please do the following to get and post logs?
:
1) edit /etc/pluto.conf  to enable more logging:  change line LogLevels to include 5 and 10
2) ensure that no DVD is inserted
3) start LinuxMCE and switch to KDE Desktop
4) open Konsole and do:
ls /var/log/pluto/*Disk*
to figure out the log of Disk_Drive application (one of its taks is watching of disk availability in drive). suppose the log name is
/var/log/pluto/26_Disk_Drive.log

5) run in Konsole:
tail -f /var/log/pluto/26_Disk_Drive.log | grep '^05\|^10'
this will filter only interesting logs

6) switch back to Orbiter
7) insert DVD and give it few seconds to ensure it doesn't do autoplay
8 ) switch back to KDE desktop  and pls post here output from the Konsole grepped log (from step 5) - so we can see what exactly happens

nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Playing DVD
« Reply #10 on: August 12, 2007, 10:58:43 am »
Sorry for the delay here is the log:
10      08/12/07 10:46:29.050           Disk_Drive_Functions::cdrom_checkdrive status 4 inserted 0 flag: -1 duration 1186908                                                         389/1186908389 <0xb762b6d0>
10      08/12/07 10:46:29.050           Displaying on OSD: 20 VFD: 0 Disc detected in drive. <0xb762b6d0>
10      08/12/07 10:46:29.050           InternalSendCommand confirmation id 406 conf 1 resp (nil) <0xb762b6d0>
10      08/12/07 10:46:29.050           Socket::SendMessage type 1 id 406 from 26 to -2000 <0xb762b6d0>
10      08/12/07 10:46:29.056           InternalSendCommand confirmation done id 406 conf 1 resp (nil) (1) OK type 1 id 406                                                          to -2000 <0xb762b6d0>
10      08/12/07 10:46:29.056           Got a disc. Sleep a sec, then reopen. One hack to allow the disk to spin I think. <0                                                         xb762b6d0>
10      08/12/07 10:46:30.065           Can't read disc TOC. The disc is either a blank, or has a broken TOC. <0xb762b6d0>
10      08/12/07 10:46:30.066           Disk_Drive_Functions::UpdateDiscLocation device 26 type b disc -1 / (nil) <0xb762b6d                                                         0>
10      08/12/07 10:46:30.081           Socket::SendMessage type 2 id 3 from 26 to -1001 <0xb762b6d0>
10      08/12/07 10:46:30.082           InternalSendCommand queue  id 314 conf -1 resp (nil) <0xb762b6d0>
10      08/12/07 10:46:30.083           Disk_Drive_Functions::StartNbdServer --start    --quiet --exec  /bin/nbd-server --ok                                                         nodo    --pidfile       /var/run/nbd-server.18026.pid   --      18026   /dev/cdrom      -r <0xb762b6d0>
10      08/12/07 10:46:30.085           Socket::SendMessage type 1 id 314 from 26 to 27 <0xb6628b90>
10      08/12/07 10:46:33.099           Disk_Drive_Functions::cdrom_checkdrive status 4 inserted 1 flag: 4 duration 11869083                                                         93/1186908393 <0xb762b6d0>

The DVD I'm using is Matrix and I can see it once I do the manipulation i described in the earlier posts.

kir

  • Guru
  • ****
  • Posts: 183
    • View Profile
Re: Playing DVD
« Reply #11 on: August 13, 2007, 05:44:10 pm »
Hmm... Weird. Does this happen only with this DVD or with some other DVDs too? Is this DVD special in any sense (e.g. encrypted)?

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Playing DVD
« Reply #12 on: August 13, 2007, 05:57:31 pm »
I wouldn't be surprised at all if this was a side effect of some kind of crappy copy "protection" sceme.
"Change is inevitable. Progress is optional."
-- Anonymous


nicola

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Playing DVD
« Reply #13 on: August 13, 2007, 08:11:35 pm »
It happens with all DVD and yes they are Zone protected for the Europe.

Zaerc

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 2256
  • Department of Redundancy Department.
    • View Profile
Re: Playing DVD
« Reply #14 on: August 13, 2007, 08:17:10 pm »
I doubt this would be it, but I don't have any other ideas, next time could you try doing
Code: [Select]
modprobe ide_cd before inserting the first DVDs?
"Change is inevitable. Progress is optional."
-- Anonymous