Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-25-2005, 09:11 AM
|
#1
|
Member
Registered: Aug 2002
Posts: 312
Rep:
|
Brightness/contrast settings not working anymore.
Ok, i am just a little upset since i haven't received any response in other forums about a brightness/contrast issue. The problem is as follows:
When i run a video through mplayer and try to set the brightness, i get this:
"Video attribute 'brightness' is not supported by selected vo & vd."
Same error comes up for hue, or saturation. I tried playing many videos with kaffeine (xine) as well, and they won't let me change any such settings either. I did try other output drivers in mplayer (gl, gl2, etc), and none let me change the settings.
A few things that have changed in my system recently:
1) X.org was installed through debian Sid repo.
2) Video card was upgraded to a Geforce 6600GT Pci-E.
I am using the latest nvidia drivers (1.0-7667), and the Antialiasing/Antistrophic setting are set to "application control".
A google search said to look into the 'xvinfo' output, so here is that:
http://www.geocities.com/topsoill/xvinfo.log
Like i said, i am not really sure when the trouble started...it could have been when i upgraded to X.org or installed the video card.
I also posted the same problem here:
http://www.nvnews.net/vbulletin/showthread.php?t=53984
But no responses, so i really don't know where to turn for help now...its like i haven't even gotten a hint as to what might be wrong.
Thx.
Last edited by sk545; 07-25-2005 at 09:14 AM.
|
|
|
07-26-2005, 03:33 AM
|
#2
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
Did you try "-vo X11" ? It *should* work...
|
|
|
07-26-2005, 10:52 AM
|
#3
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
I get this after doing that (-vo X11):
-----cut-----
Trying to force audio codec driver family libmad...
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
Error opening/initializing the selected video_out (-vo) device.
Exiting... (End of file)
-----------------
|
|
|
07-27-2005, 12:31 AM
|
#4
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
I'm sorry, There is a small x in "-vo x11"
|
|
|
07-27-2005, 12:49 AM
|
#5
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Try using a video filter like this:
mplayer -vf eq=20:50 your_movie.mpg
the 20:50 is a ratio of brightness to contrast... the default is 100:100 which is saturated... start with 50:50 and adjust the ratio until you have it like you want...
KC
|
|
|
07-27-2005, 09:26 AM
|
#6
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
ok, that works but how do i make it so that it will work with kaffeine(xine)/gmplayer? I don't wanna have to run a command everytime, and rather use a gui to change the brightness and such.
I mean, i used to be able to until last week when i upgraded to xorg from xfree.
Thx.
Last edited by sk545; 07-27-2005 at 09:28 AM.
|
|
|
07-27-2005, 06:50 PM
|
#7
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Well, I only use Mplayer from the command line but here is a snippet of my keyboard command file /etc/mplayer/input.conf:
1 contrast -1
2 contrast 1
3 brightness -1
4 brightness 1
5 hue -1
6 hue 1
7 saturation -1
8 saturation 1
KC
|
|
|
07-27-2005, 11:06 PM
|
#8
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
Yes, i have those too in my input.conf, but they only work if i use the command that you posted. So, i have to run the command first, then the mapped keyboard keys function. I want it so that i don't have to run the command first or "it just works."
Thx.
|
|
|
07-28-2005, 07:48 AM
|
#9
|
Member
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364
Rep:
|
The default arguments can be added in your ~/.mplayer/config file
For example, if I want to use "alsa" for audio, then I'll put the line "ao=alsa" (without quotes) in the ~/.mplayer/conf file.
In your case, you might have to use "vf=<something>" I'm not sure what the exact statement would be.
|
|
|
07-28-2005, 10:03 AM
|
#10
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
ok, i tried using kplayer, and in its settings, i was able to pass additional paramaters to mplayer, so i just put in ' -vf eq=20:50' and hit apply/ok. That worked! It would be nice to know how to send mplayer the saturation/hue paramaters, but i am happy for now.
Now, the problem is that i use the kaffeine plugin for all the web embedded movies. But kaffeine is based on xine and i have a ~/.xine/config file as well. Anyone know what to change in there so i could get brightness/contrast?
|
|
|
07-29-2005, 06:06 PM
|
#11
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
Alright, i messed everything up and completly broke my install (don't ask, i did something really stupid). So i had to reinstall debian sid and xorg using the debian installer. I reinstalled mplayer-386 from the marrilett repo, and tried running it without any paramaters to see what would happen. Well, the brightness, etc work now. However, when i change the brightness in mplayer while its playing a movie, my entire desktop changes the brightness as well. Why is it doing it to the entire desktop? Any way to make it so it does it only to itself?
|
|
|
07-29-2005, 06:23 PM
|
#12
|
Senior Member
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468
Rep:
|
Sorry you had to re-install... Strange problem, would not think Mplayer could change bright/contrast on the entire DT, unless in fs (full-screen) mode...
Is Mplayer displayed in a window when this happends? Wish I had a answer for you but seems really strange...
KC
|
|
|
07-29-2005, 08:10 PM
|
#13
|
Member
Registered: Aug 2002
Posts: 312
Original Poster
Rep:
|
Hmm, looks like its back to how it was before...i dunno why it was doing that. Maybe i rebooted
and it fixed itself? Not sure....however, i am back to where i started from:
Video attribute 'contrast' is not supported by selected vo & vd. 0 47%
Video attribute 'brightness' is not supported by selected vo & vd. 47%
Video attribute 'hue' is not supported by selected vo & vd. 1.1% 0 0 47%
Video attribute 'saturation' is not supported by selected vo & vd. 0 48%
|
|
|
All times are GMT -5. The time now is 10:40 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|