View previous topic :: View next topic |
Author |
Message |
imcominup Apprentice
Joined: 07 Jan 2007 Posts: 176
|
Posted: Fri Jan 12, 2007 6:21 am Post subject: setting mplayer defaults |
|
|
i am having trouble figuring out how to do a few (probably common) configurations to mplayer. first, i'd like for mplayer when it starts a video (no matter if it's from my harddrive, a dvd, a cd, or from a website, i'd like it to automatically go into fullscreen mode. second, after mplayer finishes playing a video file, it automatically closes... where do i change this configuration to continue to loop through the video?
i'm pretty sure these configurations will be place in ./mplayer/config. but it has no examples, so i'm not even sure where to start.
thanks in advanced.
EDIT: upon further research, i found this thread http://www.ubuntuforums.org/archive/index.php/t-77329.html
looks like it's gonna get me started. still, if anyone has any suggestions, or advice, let me know. when i figure out what's going on and get my own config file going properly, i'll post it in this thread for documentation purposes. thanks again. |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Fri Jan 12, 2007 6:44 am Post subject: |
|
|
Yes that is the correct file to put defaults into.
To have mplayer play in fullscreen add this:
To have it loop add:
where foo is the number of times you want it to loop, to have it loop endlessly set it to 0 |
|
Back to top |
|
|
madisonicus Veteran
Joined: 20 Sep 2006 Posts: 1130
|
Posted: Fri Jan 12, 2007 7:30 am Post subject: Re: setting mplayer defaults |
|
|
imcominup wrote: | i'm pretty sure these configurations will be place in ./mplayer/config. but it has no examples, so i'm not even sure where to start. | The system defaults for all users are stored in /etc/mplayer.conf which does have a very full list of settings and explanations. You can copy that to ~/.mplayer.conf if you want and edit it there. The settings in your home directory will take precedence over the ones in /etc/mplayer.conf.
You'll also notice the settings for mplayerplug-in are stored in a similar fashion.... in case that comes up.
-m _________________ Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC |
|
Back to top |
|
|
imcominup Apprentice
Joined: 07 Jan 2007 Posts: 176
|
Posted: Fri Jan 12, 2007 7:30 am Post subject: |
|
|
thanks for the reply sirdilznik and madisonicus. so, i found that you can start mplayer in fullscreen mode by using the gui (gmplayer). i also added a few things to /.mplayer/config. loop=? being one of them. except it never looped... and now, i can't exit out of fullscreen mode. normally done by pressing the 'F' key. and second... i accidentally pressed 'D' when i went to press 'F'... and mplayer stopped... and the entire screen went blank... and i don't have a toolbar or anything. that virtual desktop is gone.. until i reboot... but why did it do that? |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Fri Jan 12, 2007 7:38 am Post subject: |
|
|
imcominup wrote: | thanks for the reply sirdilznik. so, i found that you can start mplayer in fullscreen mode by using the gui (gmplayer). i also added a few things to /.mplayer/config. loop=? being one of them. except it never looped... and now, i can't exit out of fullscreen mode. normally done by pressing the 'F' key. and second... i accidentally pressed 'D' when i went to press 'F'... and mplayer stopped... and the entire screen went blank... and i don't have a toolbar or anything. that virtual desktop is gone.. until i reboot... but why did it do that? |
Not sure why it did that. If mplayer freezes up and you can't get out of it you can always press Alt + F2 to go to your second desktop (substitute f3, f4 and so on depending on what desktop you want to go to and how many you have set up). The hot keys may be different on a different Window Manager, but that's what I use in E17. once in a different desktop open a terminal and . Try running mplayer from a terminal and if it freezes again copy and paster any error messages here. |
|
Back to top |
|
|
imcominup Apprentice
Joined: 07 Jan 2007 Posts: 176
|
Posted: Fri Jan 12, 2007 7:58 am Post subject: |
|
|
killall mplayer worked like a charm. i'm still not sure why it did that when i pressed d... plus, when a video file is playing, and i use the middle mouse scroll button, and scroll up or down... for a split second, a volume thing will show up and scroll from left to right like i'm raising the volume... then either it freezes, or immediately shuts down mplayer. what's the deal? |
|
Back to top |
|
|
sirdilznik l33t
Joined: 28 Apr 2005 Posts: 731
|
Posted: Fri Jan 12, 2007 8:26 am Post subject: |
|
|
imcominup wrote: | killall mplayer worked like a charm. i'm still not sure why it did that when i pressed d... plus, when a video file is playing, and i use the middle mouse scroll button, and scroll up or down... for a split second, a volume thing will show up and scroll from left to right like i'm raising the volume... then either it freezes, or immediately shuts down mplayer. what's the deal? | What version of mplayer are you using? I had some similar problems a little while back except in my case pressing practically any of the keyboard controls besides the arrow keys to advance or go back made mplayer crash or freeze. It started when I upgraded to mplayer-1.0_rc1. Downgrading to mplayer_pre8-r1 fixed it for me. |
|
Back to top |
|
|
blop n00b
Joined: 09 Oct 2006 Posts: 30
|
Posted: Sat Jan 27, 2007 6:50 pm Post subject: |
|
|
sirdilznik wrote: | What version of mplayer are you using? I had some similar problems a little while back except in my case pressing practically any of the keyboard controls besides the arrow keys to advance or go back made mplayer crash or freeze. It started when I upgraded to mplayer-1.0_rc1. Downgrading to mplayer_pre8-r1 fixed it for me. |
I have the same problem (same versions) and it started after the update. I'll be downgrading as soon as I can. After using keyboard mplayer freezees when launched from the console or when I use gmplayer. Certain things work, like cursor keys, I can also use fullscreen and use the scroll wheel. There is also something wrong with the focus as mplayer loses focus when entering fullscreen. |
|
Back to top |
|
|
|