Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unable to open DVD movie - need help

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Unable to open DVD movie - need help

#1 Post by khelben1979 »

mplayer -v dvd://1
Reading config file /etc/mplayer/mplayer.conf
: No such file or directory
get_path('') -> '/home/bear/.mplayer/'
get_path('config') -> '/home/bear/.mplayer/config'
Reading config file /home/bear/.mplayer/config
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 13
CPU: AMD A10-8700P Radeon R6, 10 Compute Cores 4C+6G (Family: 21, Model: 0, Stepping: 1)
extended cpuid-level: 30
extended cache-info: 67141952
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
Compiled against libavutil version 54.3.0
Compiled against libavcodec version 56.1.0
Compiled against libavformat version 56.1.0
Compiled against libswscale version 3.0.0
get_path('codecs.conf') -> '/home/bear/.mplayer/codecs.conf'
No optional codecs config file: /home/bear/.mplayer/codecs.conf
No optional codecs config file: /etc/mplayer/codecs.conf
163 audio & 363 video codecs
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-translation --enable-debug=3 --extra-ldflags=-Wl,--as-needed --enable-runtime-cpudetection
CommandLine: '-v' 'dvd://1'
get_path('fonts') -> '/home/bear/.mplayer/fonts'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/bear/.mplayer/fonts'
[ass] Raster: FreeType 2.5.2
[ass] Shaper: FriBidi 0.19.6 (SIMPLE) HarfBuzz-ng 0.9.35 (COMPLEX)
[ass] Initialized
get_path('fonts') -> '/home/bear/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/bear/.mplayer/subfont.ttf'
[ass] Updating font cache
Using nanosleep() timing
get_path('input.conf') -> '/home/bear/.mplayer/input.conf'
Cannot open file '/home/bear/.mplayer/input.conf': No such file or directory
Failed to open /home/bear/.mplayer/input.conf.
Can't open input config file /home/bear/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.
Can't open input config file /etc/mplayer/input.conf.
Falling back on default (hardcoded) input config
Setting up LIRC support...
Failed to open LIRC support. You will not be able to use your remote control.
get_path('1.conf') -> '/home/bear/.mplayer/1.conf'

Playing dvd://1.
get_path('sub/') -> '/home/bear/.mplayer/sub/'
URL: dvd://1
Reading disc structure, please wait...
There are 2 titles on this DVD.
There are 1 angles in this DVD title.
DVD successfully opened.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
audio stream: 1 format: ac3 (stereo) language: cs aid: 129.
audio stream: 2 format: ac3 (5.1) language: de aid: 130.
audio stream: 3 format: ac3 (stereo) language: hu aid: 131.
number of audio channels on disk: 4.
subtitle ( sid ): 0 language: en
subtitle ( sid ): 1 language: en
subtitle ( sid ): 2 language: bg
subtitle ( sid ): 3 language: da
subtitle ( sid ): 4 language: nl
subtitle ( sid ): 5 language: fi
subtitle ( sid ): 6 language: de
subtitle ( sid ): 7 language: is
subtitle ( sid ): 8 language: no
subtitle ( sid ): 9 language: sv
subtitle ( sid ): 10 language: tr
number of subtitles on disk: 11
DVD start cell: 0 pack: 0x0-0x2EBF3
DVD start=0 end=3030293
STREAM: [null] dvd://1
STREAM: Description: DVD stream
STREAM: Author:
STREAM: Comment:
DVD Seek! lba=0x0 cell=0 packs: 0x0-0x2EBF3
Angle-seek synced by cell/vob IDN search!
system stream synced at 0xD (13)!
==> Found video stream: 0
Detected file format: MPEG-PS
DVD Seek! lba=0x1 cell=0 packs: 0x0-0x2EBF3
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
MPEG: No audio stream found -> no sound.
[ass] Raster: FreeType 2.5.2
[ass] Shaper: FriBidi 0.19.6 (SIMPLE) HarfBuzz-ng 0.9.35 (COMPLEX)
[ass] Initialized
get_path('fonts') -> '/home/bear/.mplayer/fonts'
get_path('subfont.ttf') -> '/home/bear/.mplayer/subfont.ttf'
[ass] Updating font cache
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 7100.0 kbps (887.5 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
get_path('sub/') -> '/home/bear/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 running at 1920x1080 with depth 24 (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[vdpau] Error when calling vdp_device_create_x11: 1
vo: uninit ...
X11 opening display: :0.0
vo: X11 running at 1920x1080 with depth 24 (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[VO_XV] Using Xv Adapter #0 (AMD Radeon AVIVO Video)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 4096x4096
[vo] query(Planar YV12) -> 437
[ass] auto-open
Opening video decoder: [ffmpeg] libavcodec video codecs
Asking decoder to use 4 threads if supported.
Selected video codec: MPEG-2 video [libavcodec]
Video codecs.conf entry: ffmpeg2 (FFmpeg MPEG-2) vfm: ffmpeg
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[mpeg2video @ 0x7eff6fdbae00]MVs not available, ER not possible.
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1

Uninit video: ffmpeg
vo: uninit ...

Exiting... (End of file)
I've been struggling with this for many hours today and I feel a bit tired of this issue now, so I'm posting here! On 32 bit PC system systems I just install libdvdcss2 and some video codecs, and I can watch DVD movies with Debian. But this new laptop (bought in autumn last year) is a 64 bit computer and so the libraries I have installed for this is 64 bit as well. Now I don't know if that's the source of this problem, but all these video software programs just get me input and output errors, and they don't want to show anything.

Help with this is greatly appreciated!
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#2 Post by stevepusser »

You mention that "all these video software programs just get me input and output errors, and they don't want to show anything."

Can you watch any video at all on your machine, or is it just DVD disks? Since it's a newer machine, if it's all video that has problems, I'm inclined to blame it on video driver issues, which have a chance of being fixed.
MX Linux packager and developer

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#3 Post by khelben1979 »

It's definitely not a problem with my video driver, so you can exclude that 100%, trust me. :)

The problem is that I want to watch DVD movies and according to what I already know, it's trying to use a video codec using FFMPEG and it fails with that, as the output also explains. I have a theory that the root of these issues might be able to get solved if I install some missing packages which gives the system something that I really don't know at this point. According to several web searches, I should just install libdvdcss (which I also did) from the VideoLAN repos, and everything should work. It's the same problem I've had on older 32 bit linux systems, but for some reason, applying the exact same methods does not apply to this Debian Jessie (64 bit) system.

I am using the AMD catalyst from AMD webpage and I can watch 4K video on youtube and I don't have any issues with the video driver, what so ever.
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#4 Post by stevepusser »

OK, that's good.

Debian has a package script called "libdvd-pkg" upstream and in jessie-backports that'll get the source and build the correct libdvdcss2 packages for you, with the right command. If you install it on the command line, it will tell you the command.
This package fetches, compiles from source code and installs library
packages that are necessary to play all video DVDs with media
player of your choice (like VLC, SMplayer, Totem, etc.)
I'd try that first to see if that helps. It's as close as Debian could get to legally including the decrypting code.
MX Linux packager and developer

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#5 Post by khelben1979 »

Yes, unfortunately I already tried it. It does not solve the problem.

I'm not even sure that libdvdcss is the problem. I can explain one of the "symptoms" which happens with the VLC program if I tries to open a DVD movie. It starts spinning between 3 different DVD devices, although I only have 1 DVD drive. The MPlayer program where I use GUI:s to open it up such as SMPlayer just don't want to open it, although I hear the sound from the DVD drive and it is also displaced correctly on the desktop where I can open up it's content and look at all the .VOB files.

What are the required packages needed by Debian to get DVD playback working (excluding all the possible packages which are not directly supported by Debian?). This system is pretty new (still) and I wouldn't be too surprised if there is any essential packages missing in the system. Do you guys have any ideas on what could be causing this? Should I try with the 32 bit library of libdvdcss (I got special support for 32bit packages) and try and see if that works better? Are there any data that says that 64 bit packages works correctly?

Thanks! :D
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#6 Post by stevepusser »

Well, now I'm stumped. 64-bit playback works just fine for the vast majority of users, so that's not the issue. A 32-bit libdvdcss2 is only going to be used by a 32-bit DVD playing program, say if you install the i386 version of VLC on 64-bit by using multiarch.

Can you burn anything to your DVD drive? Maybe you could create a very short DVD video disc with something like DeVeDe, which would be unencrypted and rule out encryption and libdvdcss2 altogether as the problem. Or find out the brand and model of the drive and search to see if any other Linux users have problems with it.
MX Linux packager and developer

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#7 Post by khelben1979 »

I just got finished burning some AVI video to DVD which I originally created on my older laptop using Debian "Squeeze". It is an 32 bit laptop where I also installed libdvdcss2 and I can watch DVD movies and make backup of my old movies. So I can conclude with this that there is nothing wrong with the DVD drive. It both reads DVD discs, I'm able to burn software on it and run video using different video codecs. Now I'm no expert in creating DVD movies, I've never done that, but this is enough for me to exclude any hardware problem or that the DVD drive is not working correctly with the Linux system.

I still haveto conclude that either this system lacks essential system packages or that the versions of libdvdcss2 that I've tried isn't working correctly with the software I've tried, such as VLC, SMPlayer and Dragonplayer.

I feel I'm back at square 1 at the moment. I will do more google searches, but for now I cannot progress on this matter. If you or anyone else have any ideas to this, do feel free to answer to this topic. It would be nice to get this working!
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#8 Post by stevepusser »

Hmmm---have you installed anything from deb-multimedia.org? That has a well-deserved reputation for breaking multimedia playback.

Are you saying that you can play back your unencrypted DVD movie disk on Jessie, but not encrypted ones that require libdvdcss2? Exactly what procedure did you use to install the 64-bit libdvdcss2?
MX Linux packager and developer

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#9 Post by khelben1979 »

All I have done is to follow these instructions: http://www.videolan.org/developers/libdvdcss.html

Step by step I did that to get libdvdcss2 in the system. My system reports that I have 1.4.0-1~loc installed (64 bit arch). I also have libdvdnav4 version 5.0.1-1 (dvd navigation library).
As the new repos was added to sources.list it also persisted to insert libdvd-pkg (package installer) I have configured it NOT to auto update library version. I don't know if the two
versions of these libraries are compatible with each other. Other than that, something weird that I react upon directly, is that none of my video playing software recognizes that there is any tracks
to play, so I cannot even choose that from the menu, which you normally. I can only see the video tracks if I open up the disc from the desktop by clicking on it's icon and just browse
through it contents with .VOB files.

From my experience SMPlayer is the best program to use to play DVD:s and it has worked on all my previous systems, not this one! :)

No, I haven't installed anything from deb-mulimedia.org and those repos. isn't active or added to my sources.list file.
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

1624
Posts: 59
Joined: 2016-05-22 09:43

Re: Unable to open DVD movie - need help

#10 Post by 1624 »

Try this.

Purge that libdvdcss2 1.4.0-1... package.

Add this to your /etc/apt/sources.list

deb http://download.videolan.org/pub/debian/stable/ /

Get key

wget -O - http://download.videolan.org/pub/debian ... an-apt.asc | sudo apt-key add -

Now install libdvdcss2

It will install libdvdcss2 1.2.13-0 and it works very well

Sorry my English.
Debian 11 Bullseye XFCE 64-bit
HP Z230 Workstation

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#11 Post by khelben1979 »

OK, thank you for your help!

Unfortunately for me, I have already tried that as well. The consequence is that, in my installer program (dselect) I can choose to mark the software for install, but it will not install anything. If I install it by using apt-get install libdvdcss2 it forces me and installs the package: libdvd-pkg which then automatically runs the installer and asks for automatic update AFTER it has installed this other version of libdvdcss2 which is compatible with this installer package.

I'm back to square one. Should I compile the library from source code?
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#12 Post by khelben1979 »

I just installed the exact version of libdvdcss2 that you recommended from the VideoLAN webpage, compiled up and installed successfully to the system. I rebooted the system afterwards to make sure that all system libraries and everything which was left in RAM would not conflict with this in any way. Still no progress. And b.t.w. many thanks to all that have tried to help so far!

( I'm unable to attach any pictures so I cannot show anything, but thanks for reading )
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Unable to open DVD movie - need help

#13 Post by GarryRicketson »

( I'm unable to attach any pictures so I cannot show anything, but thanks for reading )
Attachments, How to post a screen shot and use code boxes

Bulkley
Posts: 6387
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Unable to open DVD movie - need help

#14 Post by Bulkley »

Have you tried MPV? I generally find that MPV will run stuff that other players won't touch. You may have to bypass the on disk menu. Go into the file and run:

Code: Select all

mpv VIDEO_TS
I'm doing this on Stretch. If you have Jessie you may need to use a backported MPV although I would try the Jessie version first.

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#15 Post by khelben1979 »

Code: Select all

bear@Jupiter:~$ mpv VIDEO_TS
mpv: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
I got the libEGL api installed in the system, but it does not want to use it. I tried to run the program with root privileges but gives the same output. So we can conclude that that isn't working.

What bothers me the most as that none of my video playing software programs are unable to detect any tracks or any information from the discs. With the lsdvd I'm at least able to get the relevant information from the DVD and for example it looks like this:

Code: Select all

bear@Jupiter:~$ lsdvd
Disc Title: EU_109920
Title: 01, Length: 00:48:23.640 Chapters: 07, Cells: 07, Audio streams: 05, Subpictures: 16
Title: 02, Length: 00:48:23.000 Chapters: 07, Cells: 07, Audio streams: 05, Subpictures: 16
Title: 03, Length: 00:48:23.040 Chapters: 07, Cells: 07, Audio streams: 05, Subpictures: 21
Title: 04, Length: 00:48:23.440 Chapters: 07, Cells: 07, Audio streams: 05, Subpictures: 16
Title: 05, Length: 00:01:02.640 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 06, Length: 00:01:02.280 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 07, Length: 00:01:02.120 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 08, Length: 00:01:01.920 Chapters: 02, Cells: 02, Audio streams: 01, Subpictures: 00
Longest track: 01
So that latest output looks OK to me.
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

Bulkley
Posts: 6387
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Unable to open DVD movie - need help

#16 Post by Bulkley »

khelben1979, I notice your Swedish location. Do European DVDs have the same technical standards as North American? The old VHS players used different speeds. Someone loaned me a DVD purchased in New Zealand and it would not play on my machine until I changed my clock to NZ time. Is it possible that we are running into something unexpected like that?

Bulkley
Posts: 6387
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Unable to open DVD movie - need help

#17 Post by Bulkley »

There does not seem to be a libEGL.so.1 in the Debian repositories. However, there is a libegl1-mesa. Will that solve the problem?

khelben1979, can you post your sources.list ?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#18 Post by stevepusser »

Yes, mpv in Jessie depends on libegl1-mesa, which provides that missing EGL library: https://packages.debian.org/jessie/amd6 ... a/filelist

I have to wonder exactly how you are installing packages, or if you're installing the correct architecture for your system, if mpv makes that complaint.

European video DVD disks do use a different format than US ones; PAL instead of NTSC, not to mention the whole region mess. But VLC should be able to play both formats; it's standalone players that have problems.

I would urge the use of a 64-bit Live USB to test the playback with a known set of packages.
MX Linux packager and developer

User avatar
khelben1979
Posts: 217
Joined: 2008-02-26 14:59
Location: Sweden

Re: Unable to open DVD movie - need help

#19 Post by khelben1979 »

Maybe it's time to go back here some, because I can see the tracks of the DVD if I click on the DVD drive icon on the desktop. It automatically mounts if I do that.

Out of curiosity and to have a chance to fix this issue once and for all, what are the required packages a Debian Jessie system needs in order for DVD playback to function with the libdvdcss library? It's possible I have missed something somewhere. As for the previous questions, there is no problem in running DVD movies despite US or European formats since this works on my previous Debian system, worked like a charm!! So I'm picking up my old laptop in the coming days and start making DVD backups from there.

Also, I've been very careful with this system, not installing any non standard system packages (except possibly libdvdcss), so it's pretty clean. If some things are missing, that's the source of this problem.
HP ENVY x360 15-ee0013no
OS: Debian 11 "Bullseye"

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unable to open DVD movie - need help

#20 Post by stevepusser »

Repeating this question:
Are you saying that you can play back your unencrypted DVD movie disk on Jessie, but not encrypted ones that require libdvdcss2?


VLC, mplayer, mpv, etc should be able to play an unencrypted video DVD out of the box in Jessie. The only thing libdvdcss2 does is enable decryption of commercial discs.
MX Linux packager and developer

Post Reply