Announcement

Collapse
No announcement yet.

DVD playback fails even with all codecs etc installed

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DVD playback fails even with all codecs etc installed

    Hi,

    Been searching the forum for hours and still can't make it work...any help really appreciated!

    Recently changed from ubuntu to Kubuntu Gutsy.

    Basically DVD playback doesn't work in anything I've tried (Kaffeine, VLC or mplayer). I Prefer Kaffeine if possible (worked fine with ubuntu)

    I've been through the HowTo on playing commercial DVDs in Kaffeine (twice, infact), and have everything installed, but still get the error 'Source can't be read, maybe you don't have enough rights or source doesn't contain data (eg no disc in drive). (error reading from DVD).

    Interestingly, I found a post that suggested following these instructions
    help:/kubuntu/musicvideophotos/video.html#dvdplayback (paste into konqueror)

    They don't work because the command is wrong. However

    sudo /usr/share/doc/libdvdread3/install-css.sh

    does work. (still no playback though). BUT as soon as i do it, adept pops up saying that dvdcss2 has an upgrade. So I upgrade it, playback still doesn't work. And then if you install libdvdread3 command again, Adept pops up again, offering to upgrade dvdcss2, ad infinitum...

    Apart from this small anomoly (which might not be one at all?) I'm stuck. The hardware works, because it identifies it as a DVD and knows what its called. I'm in the UK, just incase that might be an issue with regions?

    Any ideas gratefully received!

    Thanks

    Will

    #2
    Re: DVD playback fails even with all codecs etc installed

    Wow. I have no encrypted DVDs at hand now but there should be no way VLC wouldn't work - check that it's not a disk problem, i.e. try the disk in a different drive and/or try a different encrypted disk (or a different OS/virtual machine). I had a DVD (not sure if it was encrypted) that would just crash/freeze VLC (or any program attempting to read it) on windows - I used Nero CDspeed back then to check the disk, not sure what do I use in Linux though (fsck?).

    Alternatively, if it's the rights that are a problem, check your rights on the DVD drive and the mount point:
    the device (/dev/scd0 on my PC) should be (user:group) root:cdrom, rw-rw----
    mount point is user:root r-xr-xr-x
    and of course, check that you are a member of cdrom group.

    HTH
    Migration status:<br />[DONE]Get GeForce2 MX200 working with 96xx drivers, get automount external ntfs volumes, fix resume from suspend<br />[pending]:find good BSPlayer replacement<br />If you know how to fix any of the pending problems, PM!

    Comment


      #3
      Re: DVD playback fails even with all codecs etc installed


      DVD playback fails even with all codecs etc installed

      What are all codecs?

      Have you installed libdvdcss2?
      "A problem well stated is a problem half solved." --Charles F. Kettering
      "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

      Comment


        #4
        Re: DVD playback fails even with all codecs etc installed

        When you shove the dvd in, do you get the icon on your desktop showing the mounted filesystem? Can you see the files with konqueror? Can you kaffeine, file open, browse to and play a vob file?
        FKA: tanderson

        Comment


          #5
          Re: DVD playback fails even with all codecs etc installed

          Hey everyone, thanks for the replies,

          Myxal, I don't think it's the dvd - it works on a normal DVD player, and I get this problem with every encrypted dvd i've tried. I got hold of an unencrypted one and that works fine though, so its obviously something to do with encryption.

          Could you explain the second half of your post though, because it could be that - about checking the rights on dvd drive and mount point? Sorry, i've never done that kind of thing before, how do I do it?

          Arochester - sorry, wrong terminology. I've got dvdread3, win32 codecs, libdvdcss2 and libxine1 bits all installed...

          Tanderson - yep the icon appears, and I can browse the files with Konqueror. When I try playing a vob file in kaffeine nothing happens though (it says 'stop' immediately.) Any ideas?

          Thanks again everyone

          Comment


            #6
            Re: DVD playback fails even with all codecs etc installed

            Testing media players:

            Kaffeine
            Start kaffeine in the konsole
            Code:
            kaffeine --verbose
            --verbose Output xine debug messages
            and kaffeine installation check

            Code:
            kaffeine -w
            -w, --wizard Run installation wizard
            Here it tells:
            Kaffeine-Xine...
            Ok.
            KDE...
            Found version: 3.5.8
            Ok.WIN32 Codecs...
            Ok.
            libdvdcss...
            Ok.
            DVD Drive...
            Ok.
            DVB-Device...
            No DVB-Devices found. The DVB related functions will be hidden.
            Distribution...
            Ok.
            RESULT: All ok!

            VLC
            Start VLC in the konsole:
            Code:
            vlc -v2
            -v, --verbose <integer> Verbosity (0,1,2)

            Testing media players directly (should start to play DVD or give error message):

            Kaffeine
            Code:
            kaffeine --verbose dvd://1
            VLC
            Code:
            vlc -v2 dvd://
            mplayer
            Code:
            mplayer dvd://1

            About help
            Code:
            kaffeine --help
            and
            Code:
            man kaffeine
            Code:
            vlc --help
            and
            Code:
            man vlc
            Code:
            mplayer --help
            and
            Code:
            man mplayer

            Afterthought

            If you use:
            Code:
            logsave output.txt kaffeine --verbose dvd://1
            Output will be redirected to the file.

            man logsave
            LOGSAVE(8) LOGSAVE(8)

            NAME
            logsave - save the output of a command in a logfile

            SYNOPSIS
            logsave [ -asv ] logfile cmd_prog [ ... ]

            DESCRIPTION
            The logsave program will execute cmd_prog with the specified argu‐
            ment(s), and save a copy of its output to logfile. If the containing
            directory for logfile does not exist, logsave will accumulate the out‐
            put in memory until it can be written out. A copy of the output will
            also be written to standard output.

            If cmd_prog is a single hyphen (’-’), then instead of executing a pro‐
            gram, logsave will take its input from standard input and save it in
            logfile

            logsave is useful for saving the output of initial boot scripts until
            the /var partition is mounted, so the output can be written to
            /var/log.
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: DVD playback fails even with all codecs etc installed

              Hey,

              Running
              Code:
              kaffeine -w
              says that

              DVD Drive...
              Can't check DMA mode. Permission denied or no such device: "/dev/dvd"
              Any ideas what I do about that? Sorry - my linux knowledge is patchy!

              also, just incase, running
              Code:
              kaffeine --verbose dvd://1
              gives the output below. I've copied the second half of the output, that seemed more relevant? thanks again.

              will@yurt:~$ kaffeine --verbose dvd://1
              0
              ...
              init class succeeded
              video_out_xcbxv: using Xv port 280 from adaptor 5:04: video_out_xcbxv: using Xv port 280 from adaptor 5:04: video_out_xcbxv: using Xv port 280 from adaptor for hardware colorspace conversion and scaling.
              for hardware colorspace conversion and scaling.
              video_out_xcbxv: port attribute XV_BRIGHTNESS (5) value is 0
              video_out_xcbxv: port attribute XV_CONTRAST (4) value is 4096
              video_out_xcbxv: this adaptor supports the yuy2 format.
              video_out_xcbxv: this adaptor supports the yv12 format.
              x11osd: unscaled overlay created (XShape mode).
              video_out: thread created
              audio_alsa_out : supported modes are 8bit 16bit 24bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
              audio_out: thread created
              xine_stream_new
              prebuffer=12000 pts
              gnome_vfs init_input_class
              gnome-vfs not initialised
              xine: found input plugin : DVD Navigator
              libdvdnav: Using dvdnav version 1.1.7 from http://xine.sf.net
              libdvdread: Using libdvdcss version 1.2.5 for DVD access
              libdvdread: Can't stat //1
              No such file or directory
              libdvdnav: vm: faild to open/read the DVD
              libdvdnav: Using dvdnav version 1.1.7 from http://xine.sf.net
              libdvdread: Using libdvdcss version 1.2.5 for DVD access
              libdvdcss debug: opening target `/dev/dvd'
              libdvdcss debug: using libc for access
              libdvdcss debug: disc is scrambled
              libdvdcss debug: requesting AGID
              libdvdcss debug: drive authenticated, using variant 0
              libdvdcss debug: authentication established
              libdvdcss debug: GetASF authenticated, ASF=1
              libdvdcss debug: decrypting disc key with player keys
              libdvdcss debug: decrypted disc key is 3c:1d:d3:a3:a9
              libdvdcss error: failed opening raw device, continuing
              libdvdcss debug: using CSS key cache dir: /home/will/.dvdcss//THE_MIGHTY_BOOSH_DISC1/
              libdvdnav: DVD Title: THE_MIGHTY_BOOSH_DISC1
              libdvdnav: DVD Serial Number: 42DE3FF6___MVB__
              libdvdnav: DVD Title (Alternative):
              libdvdnav: Unable to find map file '/home/will/.dvdnav/THE_MIGHTY_BOOSH_DISC1.map'
              libdvdnav: DVD disk reports itself with Region mask 0x00f50000. Regions: 2 4

              libdvdread: Attempting to retrieve all CSS keys
              libdvdread: This can take a _long_ time, please be patient

              libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000151
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001c1
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002f2eb
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0002f4fc
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0002f549
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x000c7a7e
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x000c7acb
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x00162cbd
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00162d0a
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x001f97d2
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x001f981f
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x00298bd3
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00298c20
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x00333387
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003333d4
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003ce984
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003ce9d1
              libdvdcss debug: key found in cache
              libdvdread: Elapsed time 0
              libdvdread: Found 8 VTS's
              libdvdread: Elapsed time 0
              load_plugins: probing demux 'anx'
              load_plugins: probing demux 'image'
              load_plugins: probing demux 'mpeg_pes'
              load_plugins: probing demux 'wve'
              load_plugins: probing demux 'idcin'
              load_plugins: probing demux 'ipmovie'
              load_plugins: probing demux 'vqa'
              load_plugins: probing demux 'wc3movie'
              load_plugins: probing demux 'roq'
              input not seekable, can not handle!
              load_plugins: probing demux 'str'
              input not seekable, can not handle!
              load_plugins: probing demux 'film'
              load_plugins: probing demux 'smjpeg'
              input not seekable, can not handle!
              load_plugins: probing demux 'fourxm'
              load_plugins: probing demux 'vmd'
              load_plugins: probing demux 'real'
              load_plugins: probing demux 'fli'
              load_plugins: probing demux 'pva'
              input not seekable, can not handle!
              load_plugins: probing demux 'iff'
              load_plugins: probing demux 'ogg'
              load_plugins: probing demux 'nsv'
              load_plugins: probing demux 'yuv4mpeg2'
              load_plugins: probing demux 'avi'
              load_plugins: probing demux 'mpeg-ts'
              load_plugins: probing demux 'mpeg_block'
              load_plugins: probing demux 'asf'
              load_plugins: probing demux 'matroska'
              load_plugins: probing demux 'quicktime'
              load_plugins: probing demux 'slave'
              load_plugins: probing demux 'aud'
              load_plugins: probing demux 'aiff'
              load_plugins: probing demux 'flac'
              input not seekable, can not handle!
              load_plugins: probing demux 'nsf'
              input not seekable, can not handle!
              load_plugins: probing demux 'realaudio'
              load_plugins: probing demux 'snd'
              load_plugins: probing demux 'tta'
              load_plugins: probing demux 'voc'
              load_plugins: probing demux 'vox'
              load_plugins: probing demux 'mod'
              input not seekable, can not handle!
              load_plugins: probing demux 'flashvideo'
              load_plugins: probing demux 'mng'
              load_plugins: probing demux 'mpeg'
              load_plugins: probing demux 'dts'
              load_plugins: probing demux 'ac3'
              load_plugins: probing demux 'wav'
              load_plugins: probing demux 'cdda'
              load_plugins: probing demux 'mpc'
              load_plugins: probing demux 'rawdv'
              load_plugins: probing demux 'elem'
              load_plugins: probing demux 'sputext'
              load_plugins: probing demux 'mp3'
              load_plugins: probing demux 'shn'
              load_plugins: probing demux 'yuv_frames'
              load_plugins: probing demux 'flac'
              load_plugins: probing demux 'aac'
              load_plugins: probing demux 'anx'
              load_plugins: probing demux 'image'
              load_plugins: probing demux 'mpeg_pes'
              load_plugins: probing demux 'wve'
              load_plugins: probing demux 'idcin'
              load_plugins: probing demux 'ipmovie'
              load_plugins: probing demux 'vqa'
              load_plugins: probing demux 'wc3movie'
              load_plugins: probing demux 'roq'
              input not seekable, can not handle!
              load_plugins: probing demux 'str'
              input not seekable, can not handle!
              load_plugins: probing demux 'film'
              load_plugins: probing demux 'smjpeg'
              input not seekable, can not handle!
              load_plugins: probing demux 'fourxm'
              load_plugins: probing demux 'vmd'
              load_plugins: probing demux 'real'
              load_plugins: probing demux 'fli'
              load_plugins: probing demux 'pva'
              input not seekable, can not handle!
              load_plugins: probing demux 'iff'
              load_plugins: probing demux 'ogg'
              load_plugins: probing demux 'nsv'
              load_plugins: probing demux 'yuv4mpeg2'
              load_plugins: probing demux 'avi'
              load_plugins: probing demux 'mpeg-ts'
              load_plugins: probing demux 'mpeg_block'
              xine: found demuxer plugin: DVD/VOB demux plugin
              audio discontinuity #1, type is 0, disc_off 0
              waiting for in_discontinuity update #1
              video discontinuity #1, type is 0, disc_off 0
              vpts adjusted with prebuffer to 42104
              xine_play
              play_internal ...done
              ao_flush (loop running: 1)
              load_plugins: plugin dxr3-spudec failed to instantiate itself.
              load_plugins: plugin spudec will be used for spu streamtype 00.
              load_plugins: plugin dxr3-mpeg2 failed to instantiate itself.
              audio_decoder: error, unknown buffer type: 02000000
              audio_decoder: error, unknown buffer type: 04000000
              audio_decoder: error, unknown buffer type: 01060000
              audio_decoder: suggested switching to stream_id ffffffff
              video_out_xcbxv: VO_PROP_INTERLACED(0)
              load_plugins: plugin mpeg2 will be used for video streamtype 00.
              will@yurt:~$ video discontinuity #2, type is 2, disc_off 25200
              waiting for audio discontinuity #2
              audio discontinuity #2, type is 2, disc_off 25200
              waiting for in_discontinuity update #2
              vpts adjusted with prebuffer to 357776
              libdvdcss error: no key but found encrypted block
              AFD changed from -2 to -1
              libdvdcss error: no key but found encrypted block
              demux_mpeg_block: warning: PES header indicates that this stream may be encrypted (encryption mode 1)
              video_out_xcbxv: VO_PROP_INTERLACED(0)
              video_out_xcbxv: VO_PROP_INTERLACED(0)
              input_cache: read calls: 7, main input read calls: 7
              input_cache: seek_calls: 0, main input seek calls: 0
              video_out_xcbxv: VO_PROP_INTERLACED(0)
              xine_dispose
              shutdown audio
              shutdown video
              video_out_xcbxv: VO_PROP_INTERLACED(0)
              xine_exit: bye!

              Comment


                #8
                Re: DVD playback fails even with all codecs etc installed

                Permission denied or no such device: "/dev/dvd"
                What tells:
                Code:
                ls -l /dev/dvd
                Here:
                lrwxrwxrwx 1 root root 3 2008-01-04 13:15 /dev/dvd -> hdc
                It is link to the real hardware (hdc).

                Or do you have /dev/dvd1 ?
                Code:
                ls -l /dev/dvd1
                or
                Code:
                ls -l /dev/dvd*
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: DVD playback fails even with all codecs etc installed

                  With
                  Code:
                  ls -l /dev/dvd
                  I get
                  lrwxrwxrwx 1 root root 4 2008-01-04 13:34 /dev/dvd -> scd0
                  ->
                  Does that look right?

                  I just tried a different encrypted DVD and it worked fine, so I guess it must only be some DVDs. Weird that the difficult one worked OK in a normal DVD player (box attached to the telly) though.

                  Are there some forms of encryption that libdvdcss2 can't deal with?

                  Comment


                    #10
                    Re: DVD playback fails even with all codecs etc installed

                    It's more likely, that the Region Code on the one(s) that won't play are different than what is set as the default in the players and/or the DVD firmware on the physical DVD unit.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: DVD playback fails even with all codecs etc installed

                      Does that look right?
                      Yes, it should work.


                      I just tried a different encrypted DVD and it worked fine, so I guess it must only be some DVDs. Weird that the difficult one worked OK in a normal DVD player (box attached to the telly) though.

                      Are there some forms of encryption that libdvdcss2 can't deal with?
                      Reports:

                      Libdvdcss2 package problem
                      http://ubuntuforums.org/showthread.php?t=35747

                      AMD64 and libdvdcss
                      http://ubuntuforums.org/showthread.php?t=322537

                      RH9.0+xine - libdvdcss2 stopped decrypting
                      http://mailman.videolan.org/pipermai...er/000297.html


                      But what is the solution
                      Before you edit, BACKUP !

                      Why there are dead links ?
                      1. Thread: Please explain how to access old kubuntu forum posts
                      2. Thread: Lost Information

                      Comment


                        #12
                        Re: DVD playback fails even with all codecs etc installed

                        Ah well, thanks for all the advice. Guess I'll have to make do with only watching some DVD's. If anyone finds out a good way to solve it though, I'd be really grateful if you could post it.

                        btw I don't think it's a region thing (the ones that work and the ones that don't are both region 2)

                        thanks again for trying - I think these forums are one of the best things about linux. Every other problem I've had I've solved by searching other posts...don't know where I'd be without them!

                        Comment


                          #13
                          Re: DVD playback fails even with all codecs etc installed

                          Just a thought: the DVD(s) that won't play aren't HD (Blue-ray) DVDs by chance?
                          Windows no longer obstructs my view.
                          Using Kubuntu Linux since March 23, 2007.
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Re: DVD playback fails even with all codecs etc installed

                            good thought, but unfortunately not. Atleast they don't say so on the box...

                            Comment


                              #15
                              Re: DVD playback fails even with all codecs etc installed

                              Rog131 - where do you get all the info from Nice one!

                              Humanebiscuit - kaffeine refuses to play some of my DVDs also while VLC never fails! In particular I experience problems with the VIDEO_TS and AUDIO_TS structure, where I have to click on individual vobs in the video folder (regardless of whether I use kaffeine or vlc).

                              To cut a long story short - have you tried another media player?
                              Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                              Comment

                              Working...
                              X