Unix Technical Forum

mplayer dvd woes

This is a discussion on mplayer dvd woes within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Anyone have pointers on how to get DVD's to play as a normal user with mplayer. When I try ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 04:27 PM
Douglas G
 
Posts: n/a
Default mplayer dvd woes

Anyone have pointers on how to get DVD's to play as a normal user with
mplayer. When I try as a normal user I get several errors one of which is
can't open X11 display 0:0. However if I open up a console su to root then
I have no problems playing the DVD.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 04:27 PM
Blumf
 
Posts: n/a
Default Re: mplayer dvd woes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Douglas G wrote:

> Anyone have pointers on how to get DVD's to play as a normal user with
> mplayer. When I try as a normal user I get several errors one of which is
> can't open X11 display 0:0. However if I open up a console su to root
> then I have no problems playing the DVD.


- From my experience Xine is better for DVD playback, mplayer seems to thrash
the DVD drive when it tries, YMMV though.

The can't open display error seems to suggest you're running mplayer as a
different user to the one that has the X session. Can mplayer play normal
mpeg video files?

Blumf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBbUidMid3IcxolsoRAkhjAJ9i1Xy9UrxPjjAJHN47Ev A1PjX58QCffe7s
giWMPSdst11D0j4XZqb3SgU=
=iPUm
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 04:27 PM
Douglas G
 
Posts: n/a
Default Re: mplayer dvd woes

Blumf wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Douglas G wrote:
>
>> Anyone have pointers on how to get DVD's to play as a normal user with
>> mplayer. When I try as a normal user I get several errors one of which
>> is
>> can't open X11 display 0:0. However if I open up a console su to root
>> then I have no problems playing the DVD.

>
> - From my experience Xine is better for DVD playback, mplayer seems to
> thrash the DVD drive when it tries, YMMV though.
>
> The can't open display error seems to suggest you're running mplayer as a
> different user to the one that has the X session. Can mplayer play normal
> mpeg video files?
>

Correct, I can play other files with the player as a normal user but not the
DVD, even though r-x permissions are set for other users. I'm trying to
get it to play as a normal user instead of root.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 04:27 PM
Mario Berger
 
Posts: n/a
Default Re: mplayer dvd woes

Blumf wrote:
> - From my experience Xine is better for DVD playback


I totally agree. Unless there is some good reason why you need mplayer,
use Xine - it works perfectly, with DVD menus, subtitles and all.

~Mik

--
Top-Bottom Programming never gets you where you wanted to go.
Bottom-Top Programming gets you where you never wanted to go.

while not life:
sleep((sleep.normal_time - 5h)); eat(mode=fast); pc_mainloop()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 04:27 PM
Mykil X
 
Posts: n/a
Default Re: mplayer dvd woes

I agree with the poster that recommended xine. mplayer cannot use dvd
menus, so all you'll be able to watch is the menu screen.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 04:28 PM
Douglas G
 
Posts: n/a
Default Re: mplayer dvd woes

Mykil X wrote:

> I agree with the poster that recommended xine. mplayer cannot use dvd
> menus, so all you'll be able to watch is the menu screen.


I haven't seen the menu's but since I'm calling it from command line I can
bring up different sections, but still only as root.

Furthermore, Xine, at least for the moment, isn't working and I'm going
through the pains to discover why it is and how to make it work. So really
it's not that great a solution, although the graphics certainly are nicer.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 04:28 PM
Mario Berger
 
Posts: n/a
Default Re: mplayer dvd woes

> Furthermore, Xine, at least for the moment, isn't working and I'm going
> through the pains to discover why it is and how to make it work. So really
> it's not that great a solution, although the graphics certainly are nicer.


If videos are working all right with mplayer, I would really prefer the
pains of xine to the pains of mplayer. For me, xine taps into the
mplayer codecs dir and can play all the codecs mplayer can. and it does
not only look nicer, but it works much, much better.

anyways, do you use K3B? if so, you might want to check the permissions
it sets for burning - they might have affected your DVD drive, too.

~Mik

--
Top-Bottom Programming never gets you where you wanted to go.
Bottom-Top Programming gets you where you never wanted to go.

while not life:
sleep((sleep.normal_time - 5h)); eat(mode=fast); pc_mainloop()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 04:28 PM
case
 
Posts: n/a
Default Re: mplayer dvd woes

Mario Berger wrote:
> Blumf wrote:
>
>> - From my experience Xine is better for DVD playback

>
>
> I totally agree. Unless there is some good reason why you need mplayer,
> use Xine - it works perfectly, with DVD menus, subtitles and all.
>
> ~Mik
>

I switched from xine to mplayer a year ago because al lot of dvd's I buy
here have some interlacing problem, probably having to do with the tv
standard here in Europe. In mplayer the filter -vop pp=fd takes care of
that. Now I wonder, has xine got a similar option? I'd like to be able
to choose freely between mplayer and xine.

Kornelis



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:25 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com