You are not logged in.

#1 2017-07-11 19:52:50

bobhund
Member
Registered: 2016-10-25
Posts: 43

[solved] vlc/mpv/gnomeplayer will not play dvd

I am in the mountains with a limited internet connection, so I got hold of a stack of dvds for my daughter. I am not able to get my bunsenbox to play any of them. I had the opportunity to test on a win box, and they where complete plug and play. I dont remember support being better on win than linux. Is there something I am not getting here?

Last edited by bobhund (2017-07-22 02:49:44)

Offline

#2 2017-07-11 20:03:28

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 818

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

Did you try to play a DVD with mpv from the terminal to see if it gives you an error?

I'm assuming these are movies, looks like libdvdcss isn't installed, but I'm not sure what codecs are pre-installed with BL.


A thousand miles can lead so many ways,
just to know who is driving what a help it would be
        -- John Lodge

Offline

#3 2017-07-11 20:07:00

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

This post might be helpful if the issue is similar to the one I used to have with dvds.

Offline

#4 2017-07-11 21:30:24

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 327

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

You can install libdvd-pkg from jessie-backports.  After it's installed, run as sysadmin

dpkg-reconfigure libdvd-pkg

and it will download the libdvdcss source, then build and install the deb.  That should take care of commercial DVD decryption.

Offline

#5 2017-07-12 06:30:29

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,588

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

@stevep, is that used by mpv as well?

Offline

#6 2017-07-12 09:10:49

damo
....moderator....
Registered: 2015-08-20
Posts: 4,375

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

brontosaurusrex wrote:

@stevep, is that used by mpv as well?

apt-cache depends mpv

mpv
  Depends: libasound2
  Depends: libass5
 |Depends: libavcodec57
  Depends: libavcodec-extra57
  Depends: libavdevice57
 |Depends: libavfilter6
  Depends: libavfilter-extra6
  Depends: libavformat57
  Depends: libavutil55
  Depends: libbluray2
  Depends: libc6
  Depends: libcdio-cdda1
  Depends: libcdio-paranoia1
  Depends: libcdio13
  Depends: libdrm2
  Depends: libdvdnav4
  Depends: libdvdread4
 |Depends: libegl1-mesa
  Depends: <libegl1-x11>
    libegl1-mesa
  Depends: libgbm1
 |Depends: libgl1-mesa-glx
  Depends: <libgl1>
    libgl1-mesa-glx
 |Depends: libjack-jackd2-0
  Depends: <libjack-0.125>
    libjack-jackd2-0
    libjack0
  Depends: libjpeg62-turbo
  Depends: liblcms2-2
  Depends: liblua5.2-0
  Depends: libpulse0
  Depends: librubberband2
  Depends: libsdl2-2.0-0
  Depends: libsmbclient
  Depends: libsndio6.1
  Depends: libswresample2
  Depends: libswscale4
  Depends: libuchardet0
  Depends: libv4l-0
  Depends: libva-drm1
  Depends: libva-wayland1
  Depends: libva-x11-1
  Depends: libva1
  Depends: libvdpau1
  Depends: libwayland-client0
  Depends: libwayland-cursor0
 |Depends: libwayland-egl1-mesa
  Depends: <libwayland-egl1>
    libwayland-egl1-mesa
  Depends: libx11-6
  Depends: libxext6
  Depends: libxinerama1
  Depends: libxkbcommon0
  Depends: libxrandr2
  Depends: libxss1
  Depends: libxv1
  Depends: zlib1g
  Recommends: xdg-utils
  Recommends: youtube-dl

wink


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2017-07-12 09:21:31

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,588

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

So that output is telling me ... ? smile

Offline

#8 2017-07-12 09:45:26

damo
....moderator....
Registered: 2015-08-20
Posts: 4,375

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

brontosaurusrex wrote:

So that output is telling me ... ? smile

Well, that is what I am told on my Stretch install.

libdvdnav4 - DVD navigation library
libdvdread4 - library for reading DVDs

Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2017-07-12 10:44:50

earlybird
ほやほや
Registered: 2015-12-16
Posts: 603
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

For mpv at least, you need

a) have mpv built against libdvdnav and/or libdvdread and
b) have libdvd-pkg installed, which is a wrapper package for libcss2, alternatives see https://wiki.debian.org/CDDVD#Video_DVD.

Then,

mpv --dvd-device=/dev/sr0 dvd://1
mpv --dvd-device=/dev/sr0 dvdnav://1

should play back the DVD. Note: There are some bugs with DVD menus in mpv (see here), and the version in the Debian repos might be broken even more (mpv has no supported old releases, they just tag them sometimes so that distros like Debian have something to package).

(And this is why disc piracy is en vogue: It just works.)

Offline

#10 2017-07-12 21:27:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

Did DVD playback work OOTB in CrunchBang?

It would be nice if we could have it working.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#11 2017-07-13 11:27:20

earlybird
ほやほや
Registered: 2015-12-16
Posts: 603
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

Head_on_a_Stick wrote:

Did DVD playback work OOTB in CrunchBang?

It would be nice if we could have it working.

Judging from some #! threads I don't think so (or what's left of them; the corruption is getting worse; lots of empty post messages on the boards now).

Offline

#12 2017-07-13 11:57:50

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

^There is a way to read those threads.

Offline

#13 2017-07-13 16:36:35

damo
....moderator....
Registered: 2015-08-20
Posts: 4,375

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

martix wrote:

^There is a way to read those threads.

or click on Quote or Edit


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#14 2017-07-13 20:27:41

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

So do we need to add libdvd-pkg to the package list for Helium?

Would that be enough to get VLC playing DVDs?

Forgive my inane questions but the DVD drive on my laptop doesn't work any more  hmm


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2017-07-13 21:18:30

damo
....moderator....
Registered: 2015-08-20
Posts: 4,375

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

...and my laptop doesn't have one sad


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#16 2017-07-13 21:20:24

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,227

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

Head_on_a_Stick wrote:

So do we need to add libdvd-pkg to the package list for Helium?

Would that be enough to get VLC playing DVDs?

Forgive my inane questions but the DVD drive on my laptop doesn't work any more  hmm

AFAICT no, because

It automates the process of downloading source files, compiling them, and installing the binary packages.

I would need to look at how that mechanism works, but we could prebuild and ship libcss2 binaries; doesn't need to be that package. Offline-install would probably not work when using the unmodified package.

On the other hand, Debian does not dare ship the library…Does it work on Ubuntu?

(I doN't have a DVD drive anymore wink


Im grünen Wald, dort wo die Drossel singt…

Offline

#17 2017-07-13 21:24:27

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,149

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

I start mpv like this in OB:

mpv dvd:// --fs --no-border

But then I have libdvd-pkg installed - don't get the menus as earlybird stated, but the movies starts when I click on "DVD" on my OB Menu

@earlybird:  Either of your methods starts as clip on the making of Shrek

Mine (pushed 'f' to get it out of fullscreen):
2017-07-13_182013_Scrot11.th.jpg
and one of earlybirds starts:
2017-07-13_182140_Scrot11.th.jpg
Yes, this worked in #!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#18 2017-07-14 10:39:17

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 867
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

mpv 0.6.2-2 user here since 2/3 years on a Stable Jessie. I like the old version because it have some old supports. Newest version doesn't have DVD Menu support however according to mc4man they'll bring back soon.

Once i tried a later version 0.25.0-* on a Debian 9, noticed DVD Menu doesn't worked. I'll check in later time when Stretch will be well matured.

At least i'm very happy with 0.6.2-2 on old-stable jessie. Chances are to die it forever on this old system of mine.

Yeah, my mpv 0.6.2 DVD MENU is present, sometimes doesn't show but mostly do... While the playing is perfectly fine on all my DVD's.

I just opened a few AKB48 DVDS, as you can note Main menus/select are present, also other DVD actions mostly works.
35745038482_d8d9e33211_n.jpg

I use those two configs placed on "/home/user/.config/mpv"

mpv.conf

osd-level=3                                        # enable osd and display --osd-status-msg on interaction

border=no                                          # no window title bar

msg-module                                         # prepend module name to log messages

msg-color                                          # color log messages on terminal

vo=x11                                             # vo declares the video output mode as the framebuffer device

ao=alsa:mixer-name=PCM                             # audio output

osc=no                                             # disable the on screen controller (osc)

screenshot-format=png                              # scrot format

screenshot-png-compression=8                       # captured image compression

screenshot-png-filter=5                            # scrot filter

screenshot-template='~/documents/scrot/ %n'  # scrot saved destination

osd-duration=3000                                  # osd time duration

# On scren stuff
osd-font='Ubuntu'
osd-font-size=30
osd-bar-align-y=0
osd-bar-h=2
osd-border-size=1
osd-color='#F2F2F2'
osd-border-color='#CC99B3'

# Volume
volume=95

save-position-on-quit                               =yes

geometry=50%:50%                                   # resize window in case it's larger than W%xH% of the screen

autofit-larger=99%x99%                             # don't allow a new window to have a size larger than 90% of the screen size

input.conf

##
## MPlayer-style key bindings
##
## Save it as ~/.config/input.conf to use it.
##
## Generally, it's recommended to use this as reference-only.
##

RIGHT seek +10
LEFT seek -10
DOWN seek -60
UP seek +60
PGUP seek 600
PGDWN seek -600
m cycle mute
SHARP cycle audio           # switch audio streams
+ add audio-delay 0.100
= add audio-delay 0.100
- add audio-delay -0.100
[ multiply speed 0.9091	# scale playback speed
] multiply speed 1.1
{ multiply speed 0.5
} multiply speed 2.0
BS set speed 1.0	# reset speed to normal
q quit
ESC quit
ENTER playlist_next force       # skip to next file
p cycle pause
. frame_step            # advance one frame and pause
SPACE cycle pause
HOME set playlist-pos 0 # not the same as MPlayer
#END pt_up_step -1
> playlist_next             # skip to next file
< playlist_prev             #         previous
#INS alt_src_step 1
#DEL alt_src_step -1
i      show_text "\nℹ File Name: ${filename}\n \nℹ Video Resolution: ${width} x ${height} (display size: ${dwidth} x ${dheight})\nℹ Window Scale: ${window-scale}\nℹ Aspect Ratio: ${video-aspect}\n \nℹ Audio Bitrate: ${audio-bitrate}\nℹ Video Bitrate: ${video-bitrate}\nℹ FPS: ${estimated-vf-fps} (estimated)\nℹ FPS: ${fps} (container specified)\n \nℹ Video Codec: ${video-codec}"
o osd
I show_text "${filename}"     # display filename in osd
P show_progress
z add sub-delay -0.1        # subtract 100 ms delay from subs
x add sub-delay +0.1        # add
9 add volume -1
/ add volume -1
0 add volume 1
* add volume 1
1 add contrast -1
2 add contrast 1
3 add brightness -1
4 add brightness 1
5 add hue -1
6 add hue 1
7 add saturation -1
8 add saturation 1
( add balance -0.1          # adjust audio balance in favor of left
) add balance +0.1          #                                  right
d      cycle_values window-scale "1.5" "2.0" "0.5" "1.0" ; show_text "Scale: ${window-scale}"
CTRL+d cycle_values video-aspect "4:3" "16:9" "16:10" "2.35:1" "-1" ; show_text "Aspect Ratio: ${?video-aspect==1.500:3:2}${?video-aspect==1.333:4:3}${?video-aspect==1.778:16:9}${?video-aspect==1.600:16:10}${?video-aspect==2.350:2.35:1 (CinemaScope)}"
D      cycle deinterlace
r add sub-pos -1            # move subtitles up
t add sub-pos +1            #                down
#? sub_step +1		# immediately display next subtitle
#? sub_step -1		#                     previous
#? add sub-scale +0.1	# increase subtitle font size
#? add sub-scale -0.1	# decrease subtitle font size
f cycle fullscreen
T cycle ontop              # toggle video window ontop of other windows
g      cycle_values vf "" "yadif" "yadif=field" ; show_text "Deinterlace: ${?=vf==:No}${?=vf==yadif:Yes (default - half rate)}${?=vf==yadif=mode=field:Yes (full rate)}"
w add panscan -0.1          # zoom out with -panscan 0 -fs
e add panscan +0.1          #      in
c cycle stream-capture             # save (and append) file/stream to stream.dump with -capture
s screenshot            # take a screenshot (if you want PNG, use "--screenshot-format=png")
S screenshot - each-frame # S will take a png screenshot of every frame

h cycle tv-channel 1
l cycle tv-channel -1
n cycle tv-norm
#b tv_step_chanlist

##
## Apple Remote section
##
## To use OSD menu with Apple Remote, set key AR_MENU to any OSD menu command,
## or just comment out the 'AR_MENU osd' line and uncomment the line after it.
##

AR_PLAY cycle pause
AR_PLAY_HOLD quit
AR_NEXT seek 30
AR_NEXT_HOLD seek 120
AR_PREV seek -10
AR_PREV_HOLD seek -120
#AR_MENU menu up
#AR_MENU menu cancel
AR_MENU_HOLD cycle mute
AR_VUP add volume 1
AR_VDOWN add volume -1

##
## DVD and Bluray menus
##
## Unlike MPlayer, input doesn't require blocking normal keys when no menu
## is active. The "discnav-menu" input section is active only when a menu
## is shown, while "discnav" is always active when a DVD/Bluray is played.
##
## The bindings were adjusted according to this.
##

UP    {discnav-menu} discnav up          # DVDNav UP
DOWN  {discnav-menu} discnav down        # DVDNav DOWN
LEFT  {discnav-menu} discnav left        # DVDNav LEFT
RIGHT {discnav-menu} discnav right       # DVDNav RIGHT
ESC   {discnav} discnav menu             # DVDNav MENU
ENTER {discnav-menu} discnav select      # DVDNav SELECT (ok)
BS    {discnav-menu} discnav prev        # DVDNav PREVIOUS menu (in the order chapter->title->root)

AR_VUP    {discnav-menu} discnav up      # DVDNav UP
AR_VDOWN  {discnav-menu} discnav down    # DVDNav DOWN
AR_PREV   {discnav-menu} discnav left    # DVDNav LEFT
AR_NEXT   {discnav-menu} discnav right   # DVDNav RIGHT
AR_MENU   {discnav} discnav menu         # DVDNav MENU
AR_PLAY   {discnav-menu} discnav select  # DVDNav SELECT (ok)

#? add chapter -1      # skip to previous dvd chapter
#? add chapter +1      #         next

##
## Advanced seek
## Uncomment the following lines to be able to seek to n% of the media with
## the Fx keys.
##
#F1 seek 10 absolute-percent
#F2 seek 20 absolute-percent
#F3 seek 30 absolute-percent
#F4 seek 40 absolute-percent
#F5 seek 50 absolute-percent
#F6 seek 60 absolute-percent
#F7 seek 70 absolute-percent
#F8 seek 80 absolute-percent
#F9 seek 90 absolute-percent

I reach DVD Menu always by press "ESC" ESC doesn't close the window if DVD MENU is present, on the contrary it shows it. But yeah, sometimes close the window due to nature of complexity of DVD menus or bugs, but on a scale of 100 DVD's of mine 75 of them have menu present.

Installed and threw those on my system:

Start-Date: 2017-02-09  08:54:16
Commandline: apt-get install mpv --no-install-recommends
Install: libflac8:i386 (1.3.0-3, automatic), libcdio-paranoia1:i386 (0.83-4.2, automatic), libraw1394-11:i386 (2.1.0-3, automatic), libx264-142:i386 (0.142.2431+gita5831aa-1+b2, automatic), liblua5.2-0:i386 (5.2.3-1.1, automatic), libsasl2-2:i386 (2.1.26.dfsg1-13+deb8u1, automatic), libsndfile1:i386 (1.0.25-9.1+deb8u1, automatic), libsdl2-2.0-0:i386 (2.0.2+dfsg1-6, automatic), libva-x11-1:i386 (1.4.1-1, automatic), libquvi-scripts:i386 (0.4.21-2, automatic), libbluray1:i386 (0.6.2-1, automatic), libasyncns0:i386 (0.8-5, automatic), libenca0:i386 (1.16-1, automatic), libavdevice55:i386 (11.8-1~deb8u1, automatic), libva1:i386 (1.4.1-1, automatic), libogg0:i386 (1.3.2-1, automatic), libmpg123-0:i386 (1.20.1-2+deb8u1, automatic), libopencv-core2.4:i386 (2.4.9.1+dfsg-1+deb8u1, automatic), liborc-0.4-0:i386 (0.4.22-1, automatic), libsasl2-modules-db:i386 (2.1.26.dfsg1-13+deb8u1, automatic), libssh2-1:i386 (1.4.3-4.1+deb8u1, automatic), libavfilter5:i386 (11.8-1~deb8u1, automatic), libavresample2:i386 (11.8-1~deb8u1, automatic), libxkbcommon0:i386 (0.4.3-2, automatic), libdc1394-22:i386 (2.2.3-1, automatic), libopus0:i386 (1.1-2, automatic), libwrap0:i386 (7.6.q-25, automatic), libdvdread4:i386 (5.0.0-1, automatic), libavutil54:i386 (11.8-1~deb8u1, automatic), libfribidi0:i386 (0.19.6-3, automatic), libldap-2.4-2:i386 (2.4.40+dfsg-1+deb8u2, automatic), libspeex1:i386 (1.2~rc1.2-1, automatic), libtbb2:i386 (4.2~20140122-5, automatic), liblcms2-2:i386 (2.6-3+deb8u1, automatic), libvorbis0a:i386 (1.3.4-2, automatic), libcurl3-gnutls:i386 (7.38.0-4+deb8u5, automatic), libjack-jackd2-0:i386 (1.9.10+20140719git3eb0ae6a~dfsg-2, automatic), mpv:i386 (0.6.2-2), libguess1:i386 (1.2-1, automatic), libva-glx1:i386 (1.4.1-1, automatic), liblircclient0:i386 (0.9.0~pre1-1.2, automatic), libglu1-mesa:i386 (9.0.0-2, automatic), libvdpau1:i386 (0.8-3+deb8u2, automatic), libopencv-imgproc2.4:i386 (2.4.9.1+dfsg-1+deb8u1, automatic), libdvdnav4:i386 (5.0.1-1, automatic), libpulse0:i386 (5.0-13+devuan2, automatic), libopenjpeg5:i386 (1.5.2-3, automatic), libquvi7:i386 (0.4.1-3, automatic), libass5:i386 (0.10.2-3, automatic), libcdio-cdda1:i386 (0.83-4.2, automatic), libbs2b0:i386 (3.1.0+dfsg-2.1, automatic), libmp3lame0:i386 (3.99.5+repack1-7+deb8u1, automatic), libcdio13:i386 (0.83-4.2, automatic), libswscale3:i386 (11.8-1~deb8u1, automatic), libvorbisenc2:i386 (1.3.4-2, automatic), libtheora0:i386 (1.1.1+dfsg.1-6, automatic), libxvidcore4:i386 (1.3.3-1, automatic), libwayland-egl1-mesa:i386 (10.3.2-1+deb8u1, automatic), libavformat56:i386 (11.8-1~deb8u1, automatic), libavcodec56:i386 (11.8-1~deb8u1, automatic), libgsm1:i386 (1.0.13-4, automatic), librtmp1:i386 (2.4+20150115.gita107cef-1, automatic), libwayland-cursor0:i386 (1.6.0-2, automatic), libschroedinger-1.0-0:i386 (1.0.11-2.1, automatic), libvpx1:i386 (1.3.0-3, automatic)
End-Date: 2017-02-09  08:55:15

That's it from me to add.

P.S. i use SpaceFM file manager which have DVD Mount support, so i always mount the ".ISO" before playing with mpv. While ".ISO" itself opens/play just fine once i click the name but i'd like to mount first for a few reasons.

Regards!

Last edited by Nili (2017-07-14 10:41:16)


Nothing beats peace and quiet. - Tomoki Sakurai

Offline

#19 2017-07-14 10:57:00

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 1,588

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

@Nili interestingly complex input.conf, i just have

Meta+c run "/bin/sh" "-c" "/bin/echo -n ${time-pos/full} | xsel --clipboard --input"
F1 cycle-values af "lavfi=[dynaudnorm=s=30]" "lavfi=[loudnorm]" ""

Meta+c will copy current position "timecode" to clipboard,
f1 will cycle audio filters (usually using loudnorm this days).

Offline

#20 2017-07-14 11:41:10

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 867
Website

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

brontosaurusrex wrote:

@Nili interestingly complex input.conf, i just have

Meta+c run "/bin/sh" "-c" "/bin/echo -n ${time-pos/full} | xsel --clipboard --input"
F1 cycle-values af "lavfi=[dynaudnorm=s=30]" "lavfi=[loudnorm]" ""

Meta+c will copy current position "timecode" to clipboard,
f1 will cycle audio filters (usually using loudnorm this days).

Your's looks clean sure bronto,

The only complex part from "input.conf" is the DVD/Blu ray settings also for mpv itself as a player.
Therefore, mpv devs have intended to make some cuts on DVD parts year ago. The rest are just shortcut configs.

I do accept the bloated complexity on some parts for personal needs smile


Nothing beats peace and quiet. - Tomoki Sakurai

Offline

#21 2017-07-14 19:12:39

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 327

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

I'm sure that mpv works like vlc and the other multimedia apps, in that it checks for the libdvdcss2 library and uses it if present. They don't have a hard dependency.

Libdvd-pkg is just a script that will download the libdvdcss2 source code from videolan.org, then build a deb from that and install it--but you have to run

dpkg-reconfigure libdvd-pkg

for that to happen.

Since libdvdcss2 cracks DVD encryption without having to pay a license fee for that privilege, it's technically illegal in many jurisdictions, including the USA.  That's why the vast majority of distros don't include it by default. Apparently the script in libdvd-pkg, since the user has to go and get the source, is legal. 

So even if a distro includes libdvd-pkg, the user or some other script would have to run the reconfigure to get libdvdcss2 installed after installation.

Or just get it from deb-multimedia, but we all know leaving that repo enabled can be risky.

Offline

#22 2017-07-14 21:46:43

Sector11
Tpyo Knig
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,149

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

I have to say, I didn't know all of that - other than that last line.  I was set straight about deb-multimedia a long time ago by machinebacon. {sigh} how I miss him.

But if memory serves me correctly installing 'libdvd-pkg' downloads the source code, creates the deb installs it AND runs "dpkg-reconfigure libdvd-pkg".  But we all know about my forgetter!  big_smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: s12 Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4)
Desktop: Openbox 3.5.2 dm: (startx) Distro: Debian GNU/Linux 8

Offline

#23 2017-07-15 09:16:55

ector1935
Member
Registered: 2017-05-03
Posts: 142

Re: [solved] vlc/mpv/gnomeplayer will not play dvd

As I wrote in post I updated to stretch, I did not install libdvd-pkg, but if I insert the dvd and do the command:
Mpv --dvd-device = / dev / sr0 dvd: // 1
Regularly starts the dvd without any problems, no configurations in.config / mpv
Also if I try to install libdvd-pkg,I am asked to install many packages, so I did nothing!
Here the result if I start from terminal with:
Mpv --dvd-device = / dev / sr0 dvd: // 1


ettore@ectorpc:~$ mpv --dvd-device=/dev/sr0 dvd://1
Playing: dvd://1
libdvdnav: Using dvdnav version 5.0.3
libdvdnav: DVD Title: RSBU4FF4
libdvdnav: DVD Serial Number: 254EA45D
libdvdnav: DVD Title (Alternative): RSBU4FF4
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
[dvdnav] Selecting title 0.

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

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0000014c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000296
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[dvdnav] DVDNAV, switched to title: 1
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
File tags:
 Title: RSBU4FF4
AO: [pulse] 48000Hz 5.1(side) 6ch float
VO: [opengl] 720x480 => 720x540 yuv420p
AV: 00:00:00 / 01:59:49 (0%) A-V: -0.000
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
     Subs  --sid=1 (eia_608)
(Paused) AV: 00:00:26 / 01:59:49 (0%) A-V:  0.000
Track switched:
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
 (+) Subs  --sid=1 (eia_608)
(Paused) AV: 00:00:26 / 01:59:49 (0%) A-V:  0.000
Track switched:
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
     Subs  --sid=1 (eia_608)
(Paused) AV: 00:00:26 / 01:59:49 (0%) A-V:  0.000
Track switched:
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
 (+) Subs  --sid=1 (eia_608)
(Paused) AV: 00:00:26 / 01:59:49 (0%) A-V:  0.000
Track switched:
 (+) Video --vid=1 (mpeg2video)
 (+) Audio --aid=1 --alang=en (ac3)
     Subs  --sid=1 (eia_608)
(Paused) AV: 00:00:26 / 01:59:49 (0%) A-V:  0.000


Exiting... (Quit)
ettore@ectorpc:~$ 

regards

Last edited by ector1935 (2017-07-16 09:58:44)

Offline

Board footer

Powered by FluxBB