maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Mplayer Volume (https://talk.maemo.org/showthread.php?t=18163)

mrlanrat 2008-03-21 03:14

Mplayer Volume
 
Hi, When I play a video in Mplayer the volume is too low. (yes all of the volume bars are maxed out)

So I did some research. I found this: http://howto.wikia.com/wiki/Howto_in...maximum_volume
Which is from this: http://www.mplayerhq.hu/DOCS/man/en/...MPLAYER%20ONLY)

How do I make mplayer do this on the tablet without always starting it from xterm?

Can I put it in a config file? The only one I know about is ~/.mplayer/config But if I add the command line optipns mplayer dosent want to start.

So how do I do this? Has anyone ever done this?

Thanks!

chrisak 2008-03-21 04:11

Re: Mplayer Volume
 
I'm guessing... posting without testing, that mplayer will remember set volume. Run mplayer from command line and set your desired volume with 0 and 9 keys as I recall. I'd expect that volume setting to still be tthere when using the mplayer gui.

mrlanrat 2008-03-21 04:16

Re: Mplayer Volume
 
Im already at 100% volume, this command will allow you to set a new max % up to 1000%. I don't want to go that high, but that is the idea, to uncap the max volume.

chrisak 2008-03-21 04:49

Re: Mplayer Volume
 
Sorry, I misunderstood the question :)

Bundyo 2008-03-21 05:56

Re: Mplayer Volume
 
Use /etc/mplayer/mplayer.conf to set it. Or the config in your home folder.

mrlanrat 2008-03-21 06:00

Re: Mplayer Volume
 
What do I put in the file?

Bundyo 2008-03-21 06:09

Re: Mplayer Volume
 
softvol=1
softvol-max=200

EDIT: Tried it - works.

or with filter if you wih:
af=volume=10.1:0

mrlanrat 2008-03-21 06:14

Re: Mplayer Volume
 
I just added

Code:

softvol = yes
softvol-max = 500


It works perfectly!
Now I can watch movies on the bus.

Thanks.

lemmy 2008-03-21 10:37

Re: Mplayer Volume
 
Quote:

Now I can watch movies on the bus.
I hope you mean through headphones:-)

Bundyo 2008-03-21 10:42

Re: Mplayer Volume
 
This probably would also fix the 2008HE quiet mplayer problem.

qwerty12 2008-03-21 10:45

Re: Mplayer Volume
 
@Bundyo

Off topic, but do you use 770?

Bundyo 2008-03-21 10:47

Re: Mplayer Volume
 
I have both 770 and N800.

Trying to sell the 770, but not very hard :)

qwerty12 2008-03-21 10:49

Re: Mplayer Volume
 
Quote:

Originally Posted by Bundyo (Post 158244)
I have both 770 and N800.

Trying to sell the 770, but not very hard :)

Cool :D

I was just interested because I kept thinking you had 770 because of your posts :D

Bundyo 2008-03-21 10:58

Re: Mplayer Volume
 
My posts were 770 centric when i had only 770 (till about the middle of january), now i post in both camps :)

qwerty12 2008-03-21 10:59

Re: Mplayer Volume
 
I'm glad you have a N800 :). Otherwise I'd never get to see your brilliant work :)

Bundyo 2008-03-21 11:28

Re: Mplayer Volume
 
Heh, no need to flatter me, it's nothing that special. :)

qwerty12 2008-03-21 11:31

Re: Mplayer Volume
 
Quote:

Originally Posted by Bundyo (Post 158260)
Heh, no need to flatter me, it's nothing that special. :)

:D Lol, but I do appriciate your work though :)

mrlanrat 2008-03-21 13:26

Re: Mplayer Volume
 
Quote:

Originally Posted by lemmy (Post 158237)
I hope you mean through headphones:-)

Yes. there is too much background noise for me to hear at the nromal 100%.

rhouge 2008-07-01 00:00

Re: Mplayer Volume
 
OK, I'm not a total noob, but for some reason I can't figure out how to edit config files in Diablo. I copied the mplayer.conf over to my MMC, tried to open in Notepad and Xournal, but neither could open. I know I was able to edit in Chinook and Bora, what gives? Or am I just totally missing something obvious?

mrlanrat 2008-07-01 00:18

Re: Mplayer Volume
 
Just edit it in Xterm with nano or vi.

rhouge 2008-07-01 00:56

Re: Mplayer Volume
 
Quote:

Originally Posted by mrlanrat (Post 197905)
Just edit it in Xterm with nano or vi.

So vi /etc/mplayer/mplayer.conf?

Thanks

lm2 2008-07-01 01:09

Re: Mplayer Volume
 
Quote:

Originally Posted by rhouge (Post 197902)
OK, I'm not a total noob, but for some reason I can't figure out how to edit config files in Diablo. I copied the mplayer.conf over to my MMC, tried to open in Notepad and Xournal, but neither could open. I know I was able to edit in Chinook and Bora, what gives? Or am I just totally missing something obvious?

I explain how to use vi in this post.

bunanson 2008-07-01 15:26

Re: Mplayer Volume
 
Quote:

Originally Posted by rhouge (Post 197902)
OK, I'm not a total noob, but for some reason I can't figure out how to edit config files in Diablo. I copied the mplayer.conf over to my MMC, tried to open in Notepad and Xournal, but neither could open. I know I was able to edit in Chinook and Bora, what gives? Or am I just totally missing something obvious?

Everybody has their favorite tools. For me, it is emelfm2. Advantage of emelfm2, it is a file manager with a editor. So you use it like a file manager, look for the file you want to edit. You then open the file and do your editting, save and close. No special commands to remember. You do not have to move the file anywhere. You edit it on the spot. Go gronmayer.com/it/ and search for it. Beforewarned, emelfm2 is not the most user friendly prog in the world :)
It does has a GUI.

bun

nrune 2008-07-26 19:15

Re: Mplayer Volume
 
thanks so much for this hack/fix. it is something that i have been looking for some time. much apprechated!

mike

bunanson 2008-07-26 19:18

Re: Mplayer Volume
 
Quote:

Originally Posted by nrune (Post 207354)
thanks so much for this hack/fix. it is something that i have been looking for some time. much apprechated!

mike

Somewhat related materials, hot from the press, http://nittv.blogspot.com/.


bun

Nait 2008-07-27 14:38

Re: Mplayer Volume
 
I'm trying to find program like aumix - more effective.

aironeous 2009-08-17 14:47

Re: Mplayer Volume
 
Please explain this clearly how to turn up the volume permanently on the N810 because the volume is just way way too low and once in a while i encounter a loud youtube video and it reminds me again how utterly low volume this things is.

I can't watch a video in any environment that has any noise. It totally ruins the devices video playback. Please explain [in non programmers language] what program to open, what file to edit, how to edit it, how to open it and close it so as not to cause any problems and then post the easy to use instructions in the help and faqs section of this website because everytime i try to show a video to someone i end up saying oooops sorry it's too low to hear in here or I have to hand them my earplugs.

blade2002 2009-08-18 20:20

Re: Mplayer Volume
 
I am using the internal media player and the volume is for me at times way to low. Any suggestions besides of using the very popular mplayer.

wartstew 2009-09-21 21:29

Re: Mplayer Volume
 
I would like to revisit this thread.

I have an N810/Diablo and mplayer's audio has never been very good for me. I have played with the soft-vol and audio filter settings in mplayer.conf quite a bit, but I always just drive the audio levels into distortion and yet the audio level isn't even close to what I can cleanly get out of the the Maemo Media Player.

Is there a another volume setting downstream from mplayer that is limiting my volume? (of course the main GUI volumes are up the same when using both programs for comparison).

I noticed the way things are played from each program seems to be very different. Looking at activity shown from the "top" program, I notice activity on from a tasks "osso-media-server" and "DSP/0", while playing in mplayer I instead see activity from tasks "mplayer", "esd", OMAP-SPI/0, and maemo-launcher. I specifically noticed "esd" which I think is "Enlightened Sound Daemon", which is a software multi-stream mixer. I also noticed the OMAP-SPI verses DSP/0 too.

Any clues about this?

wartstew 2009-09-21 23:38

Re: Mplayer Volume
 
I think a got it at least partially figured out.
(see previous post)

The culprit was /home/user/.mplayer/sdl.volume

it is a text file and it was set to 17. I changed it to 100 and everything mplayer is loud and clear. I was able to turn off the software volume control and audio filter in the mplayer.conf file and it is still nice an loud.

Question: What UI program tends to mess with this value? As far as I'm concerned it should remain at 100% and i can use the master Maemo volume control to turn things down from there as needed.

overfloat 2009-09-22 01:43

Re: Mplayer Volume
 
you can also use the ALSA mixer if you have EasyDebian to drive the volume higher - increase 'DMA' a little - too high and it will be dangerous

YoDude 2009-09-22 02:13

Re: Mplayer Volume
 
Quote:

Originally Posted by wartstew (Post 331021)
I think a got it at least partially figured out.
(see previous post)

The culprit was /home/user/.mplayer/sdl.volume

it is a text file and it was set to 17. I changed it to 100 and everything mplayer is loud and clear. I was able to turn off the software volume control and audio filter in the mplayer.conf file and it is still nice an loud.

Question: What UI program tends to mess with this value? As far as I'm concerned it should remain at 100% and i can use the master Maemo volume control to turn things down from there as needed.


I only "see" mplayerplug-in.types and mplayerplug-in.conf in /home/user/.mplayer/

GeraldKo 2009-09-22 03:02

Re: Mplayer Volume
 
Quote:

Originally Posted by YoDude (Post 331113)
I only "see" mplayerplug-in.types and mplayerplug-in.conf in /home/user/.mplayer/

Me, too. (Nothing like "sdl.volume")

YoDude 2009-09-22 11:22

Re: Mplayer Volume
 
Quote:

Originally Posted by GeraldKo (Post 331148)
Me, too. (Nothing like "sdl.volume")


In /etc/mplayer/
adding the following to the bottom of the file, mplayer.conf

Code:

softvol=yes
softvol-max=600
audio-delay=yes
audio-delay=10

solved my volume issue and I have been good to go ever since. :)

I think I found that^ bit in our WiKi at one time.

GeraldKo 2010-03-04 21:31

Re: Mplayer Volume
 
Quote:

Originally Posted by Bundyo (Post 158165)
softvol=1
softvol-max=200

EDIT: Tried it - works.

or with filter if you wish:
af=volume=10.1:0

What is this optional filter meant to do? Any tweaking of the numbers advisable?

(Also, I suppose softvol=1 is the same as softvol=true. And the max numbers you just experiment with. I tried softvol-max=1400 as suggested here, and, wow, it resulted in lots of distortion even at low volume.)


All times are GMT. The time now is 06:57.

vBulletin® Version 3.8.8