LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   watching a DVD in linux (https://www.linuxquestions.org/questions/slackware-14/watching-a-dvd-in-linux-4175655172/)

hedron 06-05-2019 01:13 AM

watching a DVD in linux
 
It really should be as easy as:

xine /dev/sr0

But it isn't. Can anyone link me to simple instructions to simply watch a stupid movie on a DVD disc in linux? I googled, but I get nothing but garbage.

Qury 06-05-2019 01:45 AM

try VLC, it just works.

dugan 06-05-2019 02:02 AM

Install libdvdcss and try again.

Labinnah 06-05-2019 02:19 AM

If you want use xine
Code:

xine dvd://
But I'm afraid you cannot watch encrypted DVD (region locked) in vanilla Slackware. You need libdvdcss from slackbuilds.org, however using it is probably illegal in USA.

Slackwarefanboy 06-05-2019 02:59 AM

libdvdcss, VLC and make sure you are multlib enabled, would be my best guess. Come back with input so we can know whats going on... I may just buy a external DVD player and see what is up. Also do you have an external DVD player or internal, what's your specs?

bassmadrigal 06-05-2019 10:25 AM

Quote:

Originally Posted by Slackwarefanboy (Post 6002300)
libdvdcss, VLC and make sure you are multlib enabled, would be my best guess.

Multilib won't be required for this. Typically multlib is required if you want to use wine, steam, or other closed-source programs that aren't available in 64bit.

EDIT: @OP, most likely, the only thing you're missing is libdvdcss. Pat can't include this in Slackware for legal reasons.

If you want to go the VLC route, I believe you may need to use the "restricted" version as that version is legally not allowed in a lot of countries due to enabling support for various patent and/or legal encumbered items. I don't think Eric includes libdvdcss with the normal package, only the restricted one.

http://slackware.nl/people/alien/res...d_slackbuilds/

USUARIONUEVO 06-05-2019 05:58 PM

Install libdvdcss , and mplayer do the rest.

mrapathy 06-06-2019 05:29 PM

last I knew had to mess with /dev/dvd. permission changes. I used to use xine which worked well.
look for DVD how-to should explain how to do everything.
do need libdvdcss

khronosschoty 06-06-2019 09:58 PM

Quote:

Originally Posted by https://www.videolan.org/vlc/download-slackware.html
32-bit and 64-bit Slackware packages (SlackBuild script included) for official VLC source releases are available from http://www.slackware.com/~alien/slackbuilds/vlc/. These packages do not contain codecs that are suffering from patent or copyright issues. If you need MP3/AAC encoding support, a full-featured version can be downloaded from this non-US mirror: http://slackware.org.uk/people/alien...ackbuilds/vlc/.

Alien's VLC packages have no dependency on additional packages (except for libdvdcss if you want to play DVD's)

Instructions for building a package from source are available on the VideoLAN Wiki

Even if you go the VLC route you'll likely need the libdvdcss.

bassmadrigal 06-06-2019 10:59 PM

Quote:

Originally Posted by khronosschoty (Post 6002955)
Even if you go the VLC route you'll likely need the libdvdcss.

Based on Eric's SlackBuild, libdvdcss should not be needed in the restricted version. See this pertinent code section from the SlackBuild:

Code:

# DVD support:
  # Only use patented code if we are allowing it:
  if [ "${USE_PATENTS}" == "YES" ]; then
    make_dvdcss
  fi

And that make_dvdcss function points to the following section:

Code:

# -----------------------------------------------------------------------------
# Compile libdvdcss
# -----------------------------------------------------------------------------
make_dvdcss()
{
echo -e "**\n**  libdvdcss  ...\n**"
cd $TMP/tmp-$PRGNAM/libdvdcss-$DVDCSS
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \
./configure \
  --prefix=$VLCDEPSDIR/usr \
  --libdir=$VLCDEPSDIR/usr/lib${LIBDIRSUFFIX} \
  --disable-doc \
  --disable-shared \
  --program-prefix= \
  --program-suffix= \
  --build=$TARGET \
  2>&1 | tee $OUTPUT/configure-${PRGNAM}_dvdcss.log
  # Shared library needed so that libdvdread can query the library
  #--disable-shared \
make ${NUMJOBS} 2>&1 | tee $OUTPUT/make-${PRGNAM}_dvdcss.log
# Install libdvdcss into a temp location so libdvdread can pickup the library
echo -e "\n**\n**\n"
make install 2>&1 | tee -a $OUTPUT/make-${PRGNAM}_dvdcss.log
# Add DOCS to the vlcdeps to have it added to vlc package later:
mkdir -p $VLCDEPSDIR/doc/libdvdcss/
cp AUTHORS COPYING ChangeLog NEWS README \
  $VLCDEPSDIR/doc/libdvdcss/ || true
cd -
}



All times are GMT -5. The time now is 12:04 AM.