LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-23-2014, 03:08 PM   #1
Haines
LQ Newbie
 
Registered: Mar 2014
Posts: 18

Rep: Reputation: Disabled
Mplayer plays only one section of DVD and quits


I'm running mplayer (svn r34540 (Debian)). It works fine for single files, such as .flv, and it used to work fine for DVDs. I may have updated my system since I last played a DVD. What happens now is that just one section of the DVD plays (with sound), but when the section ends it closes without the following sections playing. In lieu of knowing how to do a debug, my terminal reports the following for a normal movie disk when I run

$ mplayer dvd://1 -dvd-device /dev/sr0

This plays an FBI warning about duplication and then the name of the production company.

/VIDEO_TS/VIDEO_TS.VOB
/VIDEO_TS/VTS_01_0.VOB
/VIDEO_TS/VTS_01_1.VOB

I suspect this says mplayer sees the disk as having three titles, but then it says:

libdvdread: Found 1 VTS's

should this be 3 VTS's?

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open
shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video filter: [pp=hb/vb/dr/al/fd]

Is this significant? An a title of the DVD does play.

If I do dvd://0 it is the same as dvd://1. If I try dvd://2 I the film without the introductory material begins, but terminates about about
10% of the film. If I try dvd://3, I get "libdvdread: Can't seek to block 2102665". If I try dvd://4 I get "Invalid DVD title number: 4"

Haines Brown

Last edited by Haines; 03-23-2014 at 03:31 PM. Reason: premature closure
 
Old 03-23-2014, 04:47 PM   #2
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
These days there are two forms of mplayer, mplayer and mplayer2.

I generally keep both installed since it does seem that if the one doesn't play something properly, the other usually will.

The -identify option to mplayer will show you what titles are on the DVD and the lengths of the titles. You can use related options to adjust the level and type of detail produced.

mplayer can be a bit low level in the way it does thing. There are other video players that handle a DVD at a higher level, more like an external DVD player would, giving you access to DVD menus in a manner similar to an external DVD player, playing the default title, etc
 
Old 03-23-2014, 10:34 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
mplayer normally dose not play "store bought" or ripped vob's files well

now the Gnome GUI Gnome-mplayer or the QT GUI SMplayer
"can" sometimes play a dvd


use VLC 2 for DVD's
 
Old 03-24-2014, 06:27 AM   #4
Haines
LQ Newbie
 
Registered: Mar 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
John, I've not in the past had difficulties. More significantly, when I try a DVD that I've plaid in the past, it no longer works. I install the lsdvd package
and get this:

$ lsdvd /dev/sr0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't seek to block 377984
libdvdread: Can't seek to block 377984
libdvdread: Invalid IFO for title 1 (VTS_01_0.IFO).
Can't open ifo 1!

It seems I'm having trouble reading the information file for disks. People seem to resolve this problem by stumbling about, such as reinstalling libdvdcss or
setting the DVD's region. I suspect that when I updated my Debian Squeeze it introduced a software version incompatibility. Somehow I need to find the time to
upgrade Debian from Squeeze to Wheezy.
 
Old 03-24-2014, 11:26 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
i solve this type of issue by using VLC
the dvd playback on mplayer is "experimental" at best

by chance are there blank spaces in the name of this dvd ?
if so did you use double quotes ?
 
1 members found this post helpful.
Old 03-24-2014, 12:56 PM   #6
Haines
LQ Newbie
 
Registered: Mar 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
John, I've never tried VLC, but installed it. Did not help. On the terminal, using either vlc or cvlc I see an unending cycle of messages such as:

[mpeg2video @ 0x9c36560] slice mismatch
[mpeg2video @ 0x9c36560] concealing 1125 DC, 1125 AC, 1125 MV errors
[swscaler @ 0x9cd99c0] bad dst image pointers
[swscaler @ 0x9cd99c0] bad dst image pointers
[mpeg2video @ 0x9c36560] sequence header damaged
[mpeg2video @ 0x9c36560] concealing 1125 DC, 1125 AC, 1125 MV errors
[swscaler @ 0x9cd99c0] bad dst image pointers
[mpeg2video @ 0x9c36560] ac-tex damaged at 8 6

A VLC GUI eventually opened, but it was blank.

You asked about titles. I normally view titles with spaces, but it just happens that the DVD I'm experimenting with has a single word title.
Besides, I start things with $ cvlc dvd://1 /dev/sr0, not by specifying a title.

Haines
 
Old 03-24-2014, 01:27 PM   #7
Haines
LQ Newbie
 
Registered: Mar 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
In reply to rigor, I installed mplayer2 and tried it. I ran the disk by title:

$ mplayer dvd://Tango /dev/sr0
...
Playing dvd://Tango.
The hostname option must be an integer: Tango
Struct dvd, field hostname parsing error: Tango
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't stat /dev/dvd
No such file or directory
Couldn't open DVD device: /dev/dvd (No such file or directory)
No stream found to handle url dvd://Tango

Playing /dev/sr0.
Failed to recognize file format.

Exiting... (End of file)

It looks as though mplayer ignores the /dev/sr0 option and looks for the default /dev/dvd, which does not exist.

Haines
 
Old 03-24-2014, 11:03 PM   #8
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
I meant title in the same sense as in these pieces from your original post:

Quote:
Originally Posted by Haines View Post
[...]

If I do dvd://0 it is the same as dvd://1. If I try dvd://2 I the film without the introductory material begins, but terminates about about
10% of the film. If I try dvd://3, I get "libdvdread: Can't seek to block 2102665". If I try dvd://4 I get "Invalid DVD title number: 4"

Haines Brown

That is, the title number. Here's the sort of output I get using the -identify option I suggested that you try, using this command:

Code:
mplayer -identify dvd:// -dvd-device /dev/sr0
when I run it with one of my DVD's in /dev/sr0 :

Code:
MPlayer -4.8 (C) 2000-2013 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvd://.
libdvdread: Using libdvdcss version 1.2.13 for DVD access
ID_DVD_TITLES=8
ID_DVD_TITLE_1_CHAPTERS=17
ID_DVD_TITLE_1_ANGLES=1
ID_DVD_TITLE_2_CHAPTERS=17
ID_DVD_TITLE_2_ANGLES=1
ID_DVD_TITLE_3_CHAPTERS=2
ID_DVD_TITLE_3_ANGLES=1
ID_DVD_TITLE_4_CHAPTERS=2
ID_DVD_TITLE_4_ANGLES=1
ID_DVD_TITLE_5_CHAPTERS=1
ID_DVD_TITLE_5_ANGLES=1
ID_DVD_TITLE_6_CHAPTERS=1
ID_DVD_TITLE_6_ANGLES=1
ID_DVD_TITLE_7_CHAPTERS=2
ID_DVD_TITLE_7_ANGLES=1
ID_DVD_TITLE_8_CHAPTERS=1
ID_DVD_TITLE_8_ANGLES=1
ID_DVD_TITLE_1_LENGTH=6016.900
ID_DVD_TITLE_3_LENGTH=13.000
ID_DVD_TITLE_4_LENGTH=567.367
ID_DVD_TITLE_5_LENGTH=0.500
ID_DVD_TITLE_7_LENGTH=78.000
ID_DVD_TITLE_8_LENGTH=0.500
ID_DVD_TITLE_2_LENGTH=6016.900
ID_DVD_TITLE_6_LENGTH=0.500
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_07_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_08_0.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VTS_09_0.IFO failed
ID_DVD_DISC_ID=********************************
ID_DVD_VOLUME_ID=*******
There are 8 titles on this DVD.

ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.

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

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000135
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000d85
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000216e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x001cb77c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001cb7ec
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001cc795
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001fa265
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x00203273
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0020465c
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003dd306
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003dd376
libdvdread: Elapsed time 0
libdvdread: Found 6 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: ac3 (stereo) language: en aid: 128.

ID_AUDIO_ID=128
ID_AID_128_LANG=en
audio stream: 1 format: ac3 (5.1) language: en aid: 129.

ID_AUDIO_ID=129
ID_AID_129_LANG=en
audio stream: 2 format: ac3 (stereo) language: fr aid: 130.

ID_AUDIO_ID=130
ID_AID_130_LANG=fr
number of audio channels on disk: 3.
number of subtitles on disk: 0

CHAPTERS: 00:00:00.000,00:05:53.600,00:10:09.933,00:20:06.098,00:29:53.931,00:36:03.931,00:46:12.098,00:50:40.432,00:55:27.432,00:57:28.965,01:06:44.931,01:14:54.263,01:21:23.762,01:25:50.762,01:32:06.462,01:34:55.562,01:40:16.396,
ID_VIDEO_ID=0
ID_AUDIO_ID=128
ID_AUDIO_ID=129
ID_AUDIO_ID=130
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0 kbyte/s)
ID_FILENAME=dvd://
ID_DEMUXER=mpegps
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=9800000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=480
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=0.19
ID_LENGTH=6016.90
ID_SEEKABLE=1
ID_CHAPTERS=17
It tells me how many numbered "titles" are on the DVD, the viewing angles associated with each title, the length of each title, the number of "chapters" for each title, alternate types of audio, alternate language audio, all sorts of things.

By glancing at this particular output, I would tend to suspect that there may be a "letter box" and a "full screen" version, since titles 1 and 2 are pretty good size, and have a reasonable number of chapters. The other titles can be company logos, video for the menu, etc. If the titles are long enough, they could be out takes, or advertisements for other DVD's, etc.

This is a simple way to find out what mplayer, or mplayer2 thinks the structure of the DVD is, rather than just guessing what the structure is from the error messages obtained trying different title numbers, etc.

Last edited by rigor; 03-24-2014 at 11:07 PM.
 
Old 03-25-2014, 04:34 PM   #9
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
Two other thoughts.


WRT:

Quote:
Originally Posted by Haines View Post
In reply to rigor, I installed mplayer2 and tried it. I ran the disk by title:

$ mplayer dvd://Tango /dev/sr0
...
Playing dvd://Tango.
The hostname option must be an integer: Tango
Struct dvd, field hostname parsing error: Tango
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Can't stat /dev/dvd
No such file or directory
Couldn't open DVD device: /dev/dvd (No such file or directory)
No stream found to handle url dvd://Tango

Playing /dev/sr0.
Failed to recognize file format.

Exiting... (End of file)

It looks as though mplayer ignores the /dev/sr0 option and looks for the default /dev/dvd, which does not exist.

Haines

In my environment, when I install mplayer2 I run it with the command mplayer2 not mplayer. So when you run the command mplayer are you sure you are running mplayer2 ?

Also, it looks as if you might need to use the option -dvd-device to access /dev/sr0 as you illustrated in your initial post.


WRT:

Quote:
Originally Posted by Haines View Post
I'm running mplayer (svn r34540 (Debian)). It works fine for single files, such as .flv, and it used to work fine for DVDs. I may have updated my system since I last played a DVD. What happens now is that just one section of the DVD plays (with sound), but when the section ends it closes without the following sections playing. In lieu of knowing how to do a debug, my terminal reports the following for a normal movie disk when I run

$ mplayer dvd://1 -dvd-device /dev/sr0

This plays an FBI warning about duplication and then the name of the production company.

/VIDEO_TS/VIDEO_TS.VOB
/VIDEO_TS/VTS_01_0.VOB
/VIDEO_TS/VTS_01_1.VOB

I suspect this says mplayer sees the disk as having three titles, but then it says:

libdvdread: Found 1 VTS's

should this be 3 VTS's?

Failed to open VDPAU backend libvdpau_nvidia.so: cannot open
shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
Opening video filter: [pp=hb/vb/dr/al/fd]

Is this significant? An a title of the DVD does play.

If I do dvd://0 it is the same as dvd://1. If I try dvd://2 I the film without the introductory material begins, but terminates about about
10% of the film. If I try dvd://3, I get "libdvdread: Can't seek to block 2102665". If I try dvd://4 I get "Invalid DVD title number: 4"

Haines Brown
In some Linux Distros, I feel I've discovered what could be described as some missing dependencies in some of the NVIDIA stuff. Due to what seem like missing dependencies, the package management facility I use, will think my system is in a consistent state, even when in some cases, needed NVIDIA related packages are actually missing. So if there's any chance you did actually update your system as you mention, given that you are seeing that error message about what could be a dynamically linked NVIDIA related module a .so file, you might want to manually check on the NVIDIA related dependencies. YMMV. Sorry I didn't mention the dependency issue sooner!


HTH.

Last edited by rigor; 03-25-2014 at 04:43 PM.
 
Old 03-25-2014, 08:09 PM   #10
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
First, I would make sure the DVD or DVD player are not damaged by trying it in another player.

Also, to play a dvd I usually run 'mplayer dvd://'.
 
Old 03-26-2014, 03:50 PM   #11
Haines
LQ Newbie
 
Registered: Mar 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
People have been very supportive, but I suspect the problem is simply version incompatibility.

I installed mplayer2, but its command remains "mplayer"; there is no "mplayer2" command (I'm running Debian Etch). I should also
note that there was a typo in my last message. The command I run is:

$ mplayer -v dvd://1 -dvd-device /dev/sr0

I tried the -noconfig option, but it didn't help. An -identify option returns:

$ mplayer -identify dvd://1 -dvd-device /dev/sr0
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
...
libdvdread: Using libdvdcss version 1.2.10 for DVD access
ID_DVD_TITLES=1
ID_DVD_TITLE_1_CHAPTERS=28
ID_DVD_TITLE_1_ANGLES=1
libdvdread: Can't seek to block 377984
libdvdread: Can't seek to block 377984
libdvdread: Invalid IFO for title 1 (VTS_01_0.IFO).
...
ID_DVD_VOLUME_ID=TANGO
There are 1 titles on this DVD.
ID_DVD_CURRENT_TITLE=1
There are 1 angles in this DVD title.
libdvdread: Can't seek to block 377984
libdvdread: Can't seek to block 377984
libdvdread: Invalid IFO for title 1 (VTS_01_0.IFO).

Cannot open the IFO file for DVD title 1.
No stream found to handle url dvd://1
Exiting... (End of file)

Haines
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mplayer plays my DVD, but there's no video newbiesforever Linux - Software 2 12-12-2012 12:17 AM
Mplayer won't play dvd-video disc but it plays another dvd-video discs. stf92 Linux - Software 5 07-04-2011 11:32 AM
mplayer quits after one file. knockout_artist Linux - Newbie 8 04-18-2008 04:56 AM
mplayer quits on RH9 mozilla when i try to stream any video tnf Linux - Software 2 03-31-2004 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration