[MPlayer-users] Re: [Fwd: gmplayer 0.9-1]

Jonathan Rogers jonner at teegra.net
Mon Sep 1 12:54:57 CEST 2003

Graeme Nichols wrote:
> Hello Jonathan, thanks for the reply. I managed to get sound working
> after I downloaded all the Docs and read them. I simply added -ao oss to
> the command line. I tried to add it to my ~./mplayer/config file using
> pico but ended up with an error, segmentation fault or something if I
> remember correctly, so deleted it and renamed the original back to
> config.

I assumed that mplayer would try some audio output module, rather than 
none at all. Do you have a global config file like "/etc/mplayer/config" 
or "/etc/mplayer.conf"? A default sound module should be set there.

I've had the same problem with mplayer segfaulting because it didn't 
like the format of the config file. Make sure you have a line that says 
"ao=oss". It may also have a problem if there isn't a newline at the end 
of the file. The parser seems to be fixed in CVS; it doesn't segfault, 
but tells you what the problem is.

> As far as the problem I have with mplayer not playing the whole dvd is I
> believe something I am doing wrong. I have attached the output of ls-la
> inline below. Also, mplayer reports the following when beginning to play
> the dvd
> There are 77 titles on this DVD.
> There are 26 chapters in this DVD title.
> There are 1 angles in this DVD.
> Does this mean that I have to get mplayer to play each title
> individually? I am hoping there may be some way to tell mplayer to play
> 1 through to 77 by a command line switch.

I don't think there is a way to tell mplayer to play all titles. This 
has been discussed before, but I can't remember the details. Search the 
archives if you're interested (the link's at the bottom).

Though mplayer doesn't do it itself, the Unix way is to combine several 
special purpose tools to accomplish a complex goal:

mplayer $(for n in $(seq 77); do echo dvd://$n; done)
The command "seq 77" simply outputs the sequence from 1 to 77, so 
replace 77 with the actual number of titles on a certain DVD.

> If I use '1' as the DVD title it plays through to the menu and then
> aborts with a message saying it cannot find <dir where I happen to be>dvd 1.
> If I use '2' as the title it plays through for a bit and then aborts and
> comes up with the same error except the title is now 2.

There are often DVD titles or chapters that aren't regular video, but 
menus or still images or something else. However, I haven't seen that 
error message, so I don't know what to tell you. Most likely you can 
safely ignore those titles that display menus, since the real video will 
be in differeent titles.

Jonathan Rogers

More information about the MPlayer-users mailing list