[MPlayer-users] how to enable libdvdread, cannot play dvds

Antonio Olivares olivares14031 at yahoo.com
Tue Oct 6 00:09:25 CEST 2015






On Monday, October 5, 2015 4:02 PM, Roberto Togni <rxt at rtogni.it> wrote:
On Mon, 5 Oct 2015 20:09:08 +0000 (UTC)
Antonio Olivares <olivares14031-at-yahoo.com at ffmpeg.org> wrote:

> Dear folks,
> 
> I am running mplayer on Fedora 22 machine.  
> 
> 
> I get that I cannot play dvds because :
> 
> MPlayer was compiled without libdvdread support.
> 
> [olivares at localhost ~]$ mplayer dvd://$(mplayer dvd:// -identify -frames 0 | grep LENGTH | sort -n -t = -k 2 | tail -1 |cut -f 4 -d _) -dvd-device /dev/sr0
> No stream found to handle url dvd://
> MPlayer was compiled without libdvdread support.
> MPlayer SVN-r37420-5.1.1 (C) 2000-2015 MPlayer Team
> [olivares at localhost ~]$ mplayer dvd://
> MPlayer SVN-r37420-5.1.1 (C) 2000-2015 MPlayer Team
> 
> Playing dvd://.
> No stream found to handle url dvd://
> 
> 
> Exiting... (End of file)
> [olivares at localhost ~]$
> 
> [olivares at localhost ~]$ rpm -qa libdvdread
> libdvdread-5.0.2-1.fc22.x86_64
> 
> 
> 
> Config files successfully generated by ./configure --prefix=/usr !
> 
> Install prefix: /usr
> Data directory: /usr/share/mplayer
> Config direct.: /usr/etc/mplayer
> 
> Byte order: little-endian
> Optimizing for: native
> 
> Languages:
> Messages/GUI: en
> Manual pages: en
> Documentation: en
> 
> Enabled optional drivers:
> Input: ftp pvr tv-v4l2 tv vcd dvb networking 
> Codecs: libvpx ffmpeg(internal) real xanim gif 
> Audio output: alsa oss v4l2 sdl mpegpes(dvb) 
> Video output: v4l2 matrixview opengl sdl gif89a pnm jpeg mng mpegpes(dvb) fbdev xvidix cvidix dga xv x11 xover yuv4mpeg md5sum tga 
> 
> Disabled optional drivers:
> Input: dvdnav vstream radio tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda dvdread bluray smb 
> Codecs: libschroedinger libdirac x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb qtx win32 libopus ilbc faad2 faac musepack libdca libmpeg2 liba52 mpg123 libtheora libgsm speex libvorbis toolame twolame libmad liblzo OpenJPEG 
> Audio output: sndio sun openal jack pulse nas esd arts ivtv dxr2 
> Video output: zr zr2 ivtv dxr3 dxr2 vesa svga caca aa ggi winvidix 3dfx xmga vdpau xvmc directfb dfbmga bl xvr100 tdfx_vid wii s3fb tdfxfb mga 
> 
> 'config.h' and 'config.mak' contain your configuration options.
> Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
> compile *** DO NOT REPORT BUGS if you tweak these files ***
> 
> 'make' will now compile MPlayer and 'make install' will install it.
> Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
> 
> Please check MTRR settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)
> 
> NOTE: Win32 codec DLLs are not supported on your CPU (x86_64) or your
> operating system (Linux). You may encounter a few files that cannot
> be played due to missing open source video/audio codec support.
> 
> Check config.log if you wonder why an autodetection failed (make sure
> development headers/packages are installed).
> 
> NOTE: The --enable-* parameters unconditionally force options on, completely
> skipping autodetection. This behavior is unlike what you may be used to from
> autoconf-based configure scripts that can decide to override you. This greater
> level of control comes at a price. You may have to provide the correct compiler
> and linker flags yourself.
> If you used one of these options (except --enable-menu and similar ones that
> turn on internal features) and experience a compilation or linking failure,
> make sure you have passed the necessary compiler/linker flags to configure.
> 
> If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
> 
> 
> 
> How can I enable libdvdread support?  It is installed:
> [olivares at localhost ~]$ rpm -qa libdvdread
> libdvdread-5.0.2-1.fc22.x86_64
> 
> 
Have you installed the development package of libdvdread?
I have no idea how it's called on Fedora, probably libdvdread-devel ore
something like that.


Ciao,

Roberto 


I have installed the following too:

[olivares at localhost ~]$ rpm -qa libdvdread
libdvdread-5.0.2-1.fc22.x86_64
[olivares at localhost ~]$ su -c 'dnf install libdvdread-devel -y'
Password: 
Last metadata expiration check performed 2:52:44 ago on Mon Oct  5 14:10:00 2015.
Dependencies resolved.
================================================================================
Package                 Arch          Version              Repository     Size
================================================================================
Installing:
libdvdread-devel        x86_64        5.0.2-1.fc22         fedora         51 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 51 k
Installed size: 129 k
Downloading Packages:
libdvdread-devel-5.0.2-1.fc22.x86_64.rpm         82 kB/s |  51 kB     00:00 
--------------------------------------------------------------------------------
Total                                            34 kB/s |  51 kB     00:01 
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing  : libdvdread-devel-5.0.2-1.fc22.x86_64                        1/1 
Verifying   : libdvdread-devel-5.0.2-1.fc22.x86_64                        1/1 

Installed:
libdvdread-devel.x86_64 5.0.2-1.fc22 

Complete!


I checked after ./configure --prefix=/usr, and found libdvdnav missing 


Disabled optional drivers:
Input: dvdnav vstream radio tv-v4l1 tv-dshow librtmp live555 nemesi cddb cdda bluray smb 
Codecs: libschroedinger libdirac x264 xvid crystalhd libdv libopencore_amrwb libopencore_amrnb qtx win32 libopus ilbc faad2 faac musepack libdca libmpeg2 liba52 mpg123 libtheora libgsm speex libvorbis toolame twolame libmad liblzo OpenJPEG 

and installed the devel packages:  


[olivares at localhost mplayer]$ su -c 'dnf install libdvdnav-devel libvorbis-devel libtheora-devel -y'
Password: 
Last metadata expiration check performed 2:56:11 ago on Mon Oct  5 14:10:00 2015.
Dependencies resolved.
================================================================================
Package               Arch         Version                  Repository    Size
================================================================================
Installing:
libdvdnav-devel       x86_64       5.0.3-1.fc22             fedora        94 k
libogg-devel          x86_64       2:1.3.2-2.fc22           fedora        18 k
libtheora-devel       x86_64       1:1.1.1-12.fc22          fedora        38 k
libvorbis-devel       x86_64       1:1.3.4-3.fc22           fedora        24 k

Transaction Summary
================================================================================
Install  4 Packages

Total download size: 174 k
Installed size: 396 k
Downloading Packages:
(1/4): libvorbis-devel-1.3.4-3.fc22.x86_64.rpm   19 kB/s |  24 kB     00:01 
(2/4): libtheora-devel-1.1.1-12.fc22.x86_64.rpm  29 kB/s |  38 kB     00:01 
(3/4): libdvdnav-devel-5.0.3-1.fc22.x86_64.rpm   67 kB/s |  94 kB     00:01 
(4/4): libogg-devel-1.3.2-2.fc22.x86_64.rpm      51 kB/s |  18 kB     00:00 
--------------------------------------------------------------------------------
Total                                            59 kB/s | 174 kB     00:02 
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing  : libogg-devel-2:1.3.2-2.fc22.x86_64                          1/4 
Installing  : libvorbis-devel-1:1.3.4-3.fc22.x86_64                       2/4 
Installing  : libtheora-devel-1:1.1.1-12.fc22.x86_64                      3/4 
Installing  : libdvdnav-devel-5.0.3-1.fc22.x86_64                         4/4 
Verifying   : libdvdnav-devel-5.0.3-1.fc22.x86_64                         1/4 
Verifying   : libvorbis-devel-1:1.3.4-3.fc22.x86_64                       2/4 
Verifying   : libtheora-devel-1:1.1.1-12.fc22.x86_64                      3/4 
Verifying   : libogg-devel-2:1.3.2-2.fc22.x86_64                          4/4 

Installed:
libdvdnav-devel.x86_64 5.0.3-1.fc22     libogg-devel.x86_64 2:1.3.2-2.fc22 
libtheora-devel.x86_64 1:1.1.1-12.fc22  libvorbis-devel.x86_64 1:1.3.4-3.fc22 

Complete!



running make to see if I can view dvd again :)  I had not done this since Fedora 20.  Skipped 21 and did not see all these new steps :(

Best Regards && Thanks for helping,



Antonio 


More information about the MPlayer-users mailing list