LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-25-2005, 09:11 AM   #1
sk545
Member
 
Registered: Aug 2002
Posts: 312

Rep: Reputation: 30
Angry 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.
 
Old 07-26-2005, 03:33 AM   #2
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
Did you try "-vo X11" ? It *should* work...
 
Old 07-26-2005, 10:52 AM   #3
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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)

-----------------
 
Old 07-27-2005, 12:31 AM   #4
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
I'm sorry, There is a small x in "-vo x11"
 
Old 07-27-2005, 12:49 AM   #5
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
Old 07-27-2005, 09:26 AM   #6
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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.
 
Old 07-27-2005, 06:50 PM   #7
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
Old 07-27-2005, 11:06 PM   #8
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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.
 
Old 07-28-2005, 07:48 AM   #9
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 30
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.
 
Old 07-28-2005, 10:03 AM   #10
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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?
 
Old 07-29-2005, 06:06 PM   #11
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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?
 
Old 07-29-2005, 06:23 PM   #12
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
Old 07-29-2005, 08:10 PM   #13
sk545
Member
 
Registered: Aug 2002
Posts: 312

Original Poster
Rep: Reputation: 30
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%
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Brightness & Contrast yet to be optimized in SuSE 9.2 Pro Box ? bedi-beparwah SUSE / openSUSE 1 04-01-2005 11:29 AM
Brightness and contrast settings Joe Belmaati Linux - Newbie 5 11-16-2004 12:39 AM
xine brightness and contrast control lost QuiB Linux - Software 3 08-22-2004 10:25 AM
How do you change v4lctl brightness, color, contrast? cmisip Linux - Hardware 0 06-05-2003 02:31 PM
Changing brightness,contrast,gamma and opeming RPM files HellBound Linux - General 10 08-07-2002 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:05 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