Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: HOWTO: VLC for DVD playback

  1. #1
    Join Date
    Jan 2005
    Location
    Philippines
    Beans
    746

    HOWTO: VLC for DVD playback

    VLC is a highly portable multimedia player for various audio and video formats as well as DVDs, VCDs and various streaming protocols.

    Use VLC if the other known applications like Totem, Xine, Ogle doesn't work for you. On my configuration, only VLC worked perfectly with DVD playback (with menus).

    You will need to add extra repositories to be able to add some of the applications/codecs to be used in this guide. You can refer to the Unofficial Ubuntu 4.10 Starter Guide to do this.

    This HOWTO is tested only on Ubuntu 4.10 (Warty Warthog)

    Once you have added the repositories, open up Terminal and encode the following.

    Code:
    user@ubuntu:~ $ sudo apt-get install libdvdcss2
    user@ubuntu:~ $ sudo apt-get install vlc
    You may also want to install other multimedia codecs (win32, DivX, XviD) so that VLC will be able to play those as well.

    Code:
    user@ubuntu:~ $ sudo apt-get install w32codecs
    user@ubuntu:~ $ sudo apt-get install gstreamer0.8-plugins
    user@ubuntu:~ $ sudo apt-get install libxvidcore4
    user@ubuntu:~ $ sudo apt-get install libdivxdecore0
    Once VLC and the codecs are installed, you can start vlc on terminal:

    Code:
    user@ubuntu:~ $ vlc
    Before loading a DVD from VLC, you need to make a link from /media/cdrom0 to /dev/dvd (VLC assumes this is the path of your dvd).

    Code:
    user@ubuntu:~ $ sudo ln -s /media/cdrom0 /dev/dvd
    You may also want to make this link permanent (taken from ubuntuguide.org):

    Code:
     $ sudo ln -sf /dev/cdrom /dev/dvd
    $ sudo cp /etc/udev/udev.rules /etc/udev/udev.rules_backup
    $ sudo gedit /etc/udev/udev.rules
    Edit this line:

    Code:
     BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2}"
    to this:

    Code:
     BUS="ide", KERNEL="hd[a-z]", SYMLINK="cdrom dvd"
    And save.

    Now you can play DVDs in VLC by right clicking on the application then choose OPEN -> OPEN DISC. On the Disc Type tab, choose DVD (menus). Device name should be /dev/dvd, the press OK to start playing the DVD. If you didn't make the link on the previous code, the DVD will not load.

    If you noticed, VLC didn't make an entry in Nautilus. You can manually add a link to the launcher in Gnome by doing:

    Code:
    user@ubuntu:~ $ nautilus Applications:///Multimedia
    This will open up the Multimedia window. Select File -> Create Launcher. The Create Launcher window will appear and fill up the fields with the following:

    Name: VLC (You can also put VideoLAN Client)
    Comment: Cross platform media player and streaming server
    Comman: vlc
    Icon: /usr/share/pixmaps -> scroll down and you'll see vlc.png and click OK.

    Now you have created a launcher for VLC. Enjoy watching your DVDs!
    Last edited by jsgotangco; March 2nd, 2005 at 10:52 AM.

  2. #2
    Join Date
    Dec 2004
    Location
    Kill Devil Hills, NC
    Beans
    272
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: VLC for DVD playback

    Speaking of vlc, I don't have audio using this program. I also don't have audio using MPlayer either. I've got audio using totem and others. Anything I should do or change? I've tried everything I can think of.

  3. #3
    Join Date
    Dec 2004
    Location
    Kill Devil Hills, NC
    Beans
    272
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: VLC for DVD playback

    Wait a minute, now I don't have audio anywhere... I'm very very very very very confused with audio settings in Ubuntu. I can hook up a home theater but I can NOT figure this out...

  4. #4
    Join Date
    Jan 2005
    Location
    Philippines
    Beans
    746

    Re: HOWTO: VLC for DVD playback

    Quote Originally Posted by ctt1wbw
    Wait a minute, now I don't have audio anywhere... I'm very very very very very confused with audio settings in Ubuntu. I can hook up a home theater but I can NOT figure this out...
    maybe the volume controls just got messed up to mute. sometimes my laptop does that. when choosing menus on some DVDs with VLC, the app just closes but it only happens rarely.

  5. #5
    Join Date
    Dec 2004
    Location
    Kill Devil Hills, NC
    Beans
    272
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: VLC for DVD playback

    No, I'm not getting audio anywhere. I just updated the kernel to the 686 version. Think that had anything to do with it? Maybe ALSA?

  6. #6
    Join Date
    Dec 2004
    Location
    Kill Devil Hills, NC
    Beans
    272
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: VLC for DVD playback

    Yep, that was it. Now I have audio, but still not in MPlayer.

  7. #7
    Join Date
    Feb 2005
    Location
    Palermo, Italy
    Beans
    28

    Re: HOWTO: VLC for DVD playback

    I can't install css libs.... any help?

    After "sudo apt-get install libdvdcss2" (yes, apt-get is updated and universe sources are added to apt-get list) it can't find the package. Any idea?
    Testing UBUNTU on a 466 SE iBook

  8. #8
    Join Date
    Dec 2004
    Location
    Kill Devil Hills, NC
    Beans
    272
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: HOWTO: VLC for DVD playback

    do a search on www.google.com/linux

  9. #9
    Join Date
    Nov 2004
    Location
    Washington, DC
    Beans
    93
    Distro
    Ubuntu 6.06

    Re: HOWTO: VLC for DVD playback

    Quote Originally Posted by Caesar
    I can't install css libs.... any help?

    After "sudo apt-get install libdvdcss2" (yes, apt-get is updated and universe sources are added to apt-get list) it can't find the package. Any idea?
    You need to add the Debian Marillat repositories to get libdvdcss2. That's where any of the legally questionable packages, like w32codecs, live. See http://ubuntuguide.org/#extrarepositories for details.

    Andrew

  10. #10
    Join Date
    Feb 2005
    Beans
    8

    Re: HOWTO: VLC for DVD playback

    I installed it and made the symbolic link from my dvd drive (cdrom1) to /dev/dvd... I am getting these errors whenever I try to play a dvd:

    [00000230] v4l input error: cannot open device (no such file or directory)
    [00000230] v4l input error: cannot open audio device (no such file or directory)
    [00000230] main input error: no suitable access module for '/://dvd:///dev/dvd@:1'

    what could be wrong?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •