Slackware This Forum is for the discussion of Slackware 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.
|
 |
05-15-2005, 10:55 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10.1
Posts: 15
Rep:
|
movie brightness
I have tried to use mplayer and xine and I cannot adjust the brightness of the video at all. I have also tried to adjust it with xgamma. Although the whole desktop gets brighter, the movie does not.
I use kernel 2.6.11.9 and my graphic card is Matrox G200.
Any ideas and suggestions are greatly appreciated.
Thanks!
|
|
|
05-15-2005, 11:00 PM
|
#2
|
Member
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654
Rep:
|
what video driver are you using?
XV
X11
GL?!?
The video output plugin used by the player can cause problems like this.
I use XV xine and mplayer, which is great if you video card is supported.
|
|
|
05-16-2005, 04:40 AM
|
#3
|
Member
Registered: Jul 2003
Location: India
Distribution: Slackware 10; FreeBSD 4.10
Posts: 77
Rep:
|
I have the same problem as despotic.
Also i can adjust the Brightness in Windows Media Player perfectly.
I have a NVidia riva TNT card wih the latest drivers for linux.
|
|
|
05-16-2005, 07:18 AM
|
#4
|
Member
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654
Rep:
|
Once again, what video driver are you using? (Note: NOT the graphics card driver, but the video output plugin driver)
|
|
|
05-16-2005, 01:28 PM
|
#5
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10.1
Posts: 15
Original Poster
Rep:
|
I normally run mplayer with the mga_vid driver (-vo xmga). I tried setting brightness through /dev/mga_vid, but that didn't work either.
I have also tried running mplayer with xv (-vo xv), but I can't adjust brightness with this option either. BTW, is xv supposed to be a module, cause i don't have it installed (i alsp didn't see it in the kernel config). If it is a module that I have to load, where do I find it? Although I think that this isn't the problem, because mplayer runs fine with "-vo xv" and does not complain about missing drivers. The only problem is that I can't adjust brightness or contrast.
Tx for the help!
|
|
|
05-16-2005, 01:36 PM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
How did you attempt to ajust settings ? With shift+3, shift +4 ?
Make sure you don't use the numbers from the pad keys, but
those who are above the alphabet.
|
|
|
05-16-2005, 01:51 PM
|
#7
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10.1
Posts: 15
Original Poster
Rep:
|
I use "3" and "4" (no shift) to adjust brightness in mplayer.
- When I use the xmga video output driver, mplayer tries to change the brightness, but there is no change in the actual brightness of the movie.
- When i use xv and try to change the brighness, mplayer tells me that "Video attribute 'brightness' is not supported by selected vo & vd."
- I also tried "xgamma -gamma 10". The whole screen gets brighter, except for the movie window ... weird!
I get a RTC error when mplayer starts up [Failed to open /dev/rtc: No such device (it should be readable by the user.)], but I don't think it is the problem.
Tx for the help, keefaz. I realy appreciate it. You have no idea how long i've been banging my head against the wall with this problem.
Last edited by despotic; 05-16-2005 at 01:52 PM.
|
|
|
05-16-2005, 02:05 PM
|
#8
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
Did you try -vo dfbmga or -vo mga or -vo syncfb ?
|
|
|
05-16-2005, 04:10 PM
|
#9
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10.1
Posts: 15
Original Poster
Rep:
|
I tried -vo mga: works, but can't adjust brightness/contrast (mplayer adjusts, but no visible result)
dfbmga and syncfb don't work...i guess i don't have those output plugins.
Not sure if this will help, but here's the output of my mplayer's configure script b4 compile:
Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 3.3.4, ok
Checking for host cc ... cc
Checking for CPU vendor ... GenuineIntel (6:5:2)
Checking for CPU type ... Pentium II (Deschutes)
Checking for GCC & CPU optimization abilities ... pentium2
Checking for kernel support of mmx ... yes
Checking for mtrr support ... yes
Checking for assembler support of -pipe option ... yes
Checking for assembler (/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/as 2.15.92.0.2) ... ok
Checking for Linux kernel version ... 2.6.11.9, ok
Checking for mplayer binary name ... mplayer
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for -lposix ... no
Checking for -lm ... yes
Checking for i18n ... yes
Checking for iconv ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes (using -ltermcap)
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for strlcpy() ... no
Checking for strlcat() ... no
Checking for fseeko() ... yes
Checking for localtime_r() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Mac OS X Finder Support ... no
Checking for Mac OS X Bundle file locations ... no
Checking for Samba support (libsmbclient) ... yes
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for tdfxvid ... no
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... yes
Checking for xmga ... yes
Checking for GGI ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-dvbincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for PNM support ... yes
Checking for md5sum support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... yes
Checking for esd_get_latency() ... yes
Checking for Polyp ... no
Checking for JACK ... no
Checking for ALSA audio ... yes (using alsa 1.0.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libdvdread) ... disabled by libmpdvdkit2
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fontconfig ... yes
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... yes
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for OggTheora support (only the CVS version!) ... no
Checking for mp3lib support ... yes
Checking for liba52 support ... yes
Checking for libdts support ... no
Checking for libmpeg2 support ... yes
Checking for Matroska support ... yes
Checking for internal FAAD2 (AAC) support ... yes
Checking for external FAAD2 (AAC) support ... no
Checking for LADSPA plugin support ... no
Checking for Win32 codec DLL support ... yes (using /usr/local/lib/codecs)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer DLL ... yes (using /usr/local/lib/codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for FFmpeg libavcodec (static) ... yes
Checking for FFmpeg libavformat (static) ... yes
Checking for amr narrowband ... no
Checking for amr narrowband, fixed point ... no
Checking for amr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for DivX4 compatibility in XviD ... no
Checking for x264 ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... no
Checking for libmp3lame (for mencoder) ... no
Checking for DivX4linux encore (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... yes
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for GTK version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for automatic gdb attach ... no
Checking for compiler support for -fno-PIC ... yes
Checking for ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating libaf/config.mak
Config files successfully generated by ./configure !
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer
Byte order: little-endian
Optimizing for: pentium2 mmx mtrr
Languages:
Messages/GUI: en
Manual pages: en
Enabled optional drivers:
Input: ftp network edl tv matroska cdda mpdvdkit2 vcd smb
Codecs: qtx xvid libavcodec real xanim dshow/dmo win32 faad2(internal) libmpeg2 liba52 mp3lib tremor(internal) libmad gif
Audio output: alsa esd oss sdl mpegpes(file)
Video output: xvidix cvidix sdl vesa gif89a md5sum pnm jpeg png mpegpes(file) fbdev svga caca aa xmga mga opengl dga xv x11 xover tga
Audio filters:
Disabled optional drivers:
Input: vstream tv-v4l2 tv-v4l tv-bsdbt848 live.com dvdread dvb
Codecs: opendivx x264 libdv amr_wb amr_nb libdts libtheora toolame liblzo
Audio output: sgi sun jack polyp arts dxr2 nas dsound win32 macosx
Video output: winvidix bl zr zr2 dxr3 dxr2 directx ggi xvmc directfb tdfx_vid tdfxfb 3dfx quartz
Audio filters: ladspa
|
|
|
05-16-2005, 06:44 PM
|
#10
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,795
|
At least, did you try start gmplayer and set the brightness with the video
equalizer (gettable from a right-click on the GUI interface)
|
|
|
05-16-2005, 08:44 PM
|
#11
|
LQ Newbie
Registered: Jun 2004
Distribution: Slackware 10.1
Posts: 15
Original Poster
Rep:
|
Quote:
Originally posted by keefaz
At least, did you try start gmplayer and set the brightness with the video
equalizer (gettable from a right-click on the GUI interface)
|
Does not work either 
|
|
|
05-17-2005, 12:28 AM
|
#12
|
Member
Registered: Oct 2003
Distribution: Slackware64 13.1 x86_64, Ubuntu 10.04 x86_64
Posts: 121
Rep:
|
Have you tried just:
mplayer -brightness 50 nameofmovie.avi
that is what I use.
|
|
|
07-26-2006, 05:44 AM
|
#13
|
Member
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87
Rep:
|
Hi All!
I had the same problem once. I use NVidia GeForce4 card with its official driver from nvidia and I use the default video output (x11) for MPlayer. When I build the nvidia kernel module and tell X to use that, I can't change the brightness when playing a movie with MPlayer. Without the official nvidia driver (using the FC3 default : nv) there's no problem.
I solved this by starting a new X on a new display (:1.0) with the original xorg.conf file generated during distro installation. Therefore the new X does not use my card's driver. When playing a movie on 'DISPLAY:1.0' I can adjust color-settings, brightness, etc.
Hope It would help.
|
|
|
10-31-2006, 06:39 PM
|
#14
|
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
|
I have the problem with Brightness in MPlayer on Damn Small Linux 3.0.1, but I am using Xvesa by default. Xfree86 is available by download for DSL, and I will try it, but does anyone know how to solve this problem with Xvesa and DSL? Xine crashed because I believe Xvid is not supported. VLC is not available in the repositories. MPlayer has always been my favorite. I never had this problem before. Thanks.
|
|
|
11-01-2006, 07:21 PM
|
#15
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
People that use the NVidia driver can use their settings-tool.
Type "nvidia-settings" and you'll get a gui.
Not ideal but it works.
egag
|
|
|
All times are GMT -5. The time now is 10:53 AM.
|
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
|
|