LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-08-2004, 02:13 PM   #1
Philips
Member
 
Registered: Sep 2004
Posts: 40

Rep: Reputation: 15
Mplayer Options


I have slackware installed on my pc and i also have Mplayer on it. Whenever i play something put in "-vo x11 -framedrop" so that it runs better. Is there a way i can set these options to always stay on without typing it everytime?
 
Old 09-08-2004, 02:22 PM   #2
Joubert79
Member
 
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Are you using bash? You could alias the mplayer command in your /etc/profile, ie add
alias mplayer='mplayer -vo x11 -framedrop'

You might need to do the same for gmplayer if you use the gui, dunno though.
 
Old 09-08-2004, 02:30 PM   #3
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Add/uncomment these lines in /etc/mplayer.conf:
Code:
vo = x11
framedrop = yes
This will enable the settings system wide. To do it on a per user basis, add the lines to ~/.mplayer/config instead.
 
Old 09-08-2004, 03:30 PM   #4
Philips
Member
 
Registered: Sep 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Before I read the replys i was experimenting and in the .Mplayer folder i edited the config file and now Mplayer dosent work. I tried to play a file and it played for a second before breaking. Can i uninstall Mplayer completly and install it again fresh?
 
Old 09-08-2004, 08:36 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
No need to reinstall...just delete the entire ~/.mplayer folder and it will start up with the default settings...
 
Old 09-08-2004, 08:40 PM   #6
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
/usr/share/mplayer/mplayer.conf is the one mplayer turns to if it cant find itself in your home directory
 
Old 09-08-2004, 09:14 PM   #7
Philips
Member
 
Registered: Sep 2004
Posts: 40

Original Poster
Rep: Reputation: 15
Ok i did that and the options are reset but it still dosent work. Can u just tell me how to uninstall it so that i can reinstall a fresh version. I tried installing it again with the old one still there and it says that the files already exist.

Last edited by Philips; 09-08-2004 at 09:58 PM.
 
Old 09-08-2004, 10:43 PM   #8
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Never used Slack, and don't know about how to use it's package system. Sorry...

OK, just had a quick look at the slack docs:
http://www.slackware.com/book/index....rce=x4000.html

Seems it's as simple as:
Code:
removepkg mplayer && installpkg mplayer
but perhaps a slack user could interject here....

Last edited by bulliver; 09-08-2004 at 10:47 PM.
 
Old 09-09-2004, 06:01 PM   #9
Philips
Member
 
Registered: Sep 2004
Posts: 40

Original Poster
Rep: Reputation: 15
ok i put in a fresh mplayer and it works but now i cant mount a cd rom. when i try to mount a cd it says wrong fs type, bad option,bad superblock on dev/cdrom, or to many mounted file systems. I dont have any other things mounted
 
Old 09-09-2004, 06:12 PM   #10
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
umm, clean the cd?

(happens to me to a few times ... just fiddle around with the fstab, or cd device and maybe it'll start working again ... hmm, can u mount it as root?
 
Old 09-09-2004, 06:29 PM   #11
Philips
Member
 
Registered: Sep 2004
Posts: 40

Original Poster
Rep: Reputation: 15
It must be a bad cd cuz other work but this 1 dont. Well any way it works now

Last edited by Philips; 09-09-2004 at 06:39 PM.
 
Old 09-10-2004, 08:57 PM   #12
Philips
Member
 
Registered: Sep 2004
Posts: 40

Original Poster
Rep: Reputation: 15
How do i edit the config file? use xedit? and also can u tell me exactly what to type once i am able to edit it correctly.
 
Old 09-11-2004, 03:06 AM   #13
slackie1000
Senior Member
 
Registered: Dec 2003
Location: Brasil
Distribution: Arch
Posts: 1,037

Rep: Reputation: 46
hi there,

this sounds weird... mount a cdrom to see a video??
i am not sure what you are trying to do but just as further reference:

1. you don't need to mount a dvdrom to be able to watch it
2. in slackware if you installed from the source with the classical
Code:
./configure &&  make && make install
there is not automatic way to remove the package.

Quote:
Seems it's as simple as:
Code:
removepkg mplayer && installpkg mplayer
but perhaps a slack user could interject here....
this only works if you installed using pkgtool or something equivalent

I also need to point that Mplayer has a great docu. how to edit the config file is included there.

regards

slackie1000
 
  


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
using mplayer with .asx without -playlist? Would be useful for mplayer plug-in pierrethibault Linux - Software 1 02-18-2005 08:12 AM
Mplayer install / other options seanmaggs Linux - Software 3 03-29-2004 06:06 PM
Kernel 2.6.2 options question - LOCKED options ? tvojvodi Linux - General 0 02-17-2004 04:23 AM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
mplayer is cool ... mplayer plug-in is even cooler..! linuxlah Linux - General 4 07-16-2003 10:55 PM

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

All times are GMT -5. The time now is 07:51 AM.

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