[MPlayer-users] Brightness changing when capturing tv
Alex Polite
m4 at polite.se
Fri May 14 10:45:08 CEST 2004
Hi all.
I've been capturing tv shows with mencoder for some time now and I'm
quite happy with the results.
But one thing is still bugging me. The brightness setting of mencoder
seems to be adaptive. Bright scenes will appear overexposed. The black
borders surrounding the image goes gray.
How do I fix this?
Here's my tv capturing script.
-------------------
CHAN=$1
TIME=$2
NAME=$3
BITRATE=1500
WIDTH=640
HEIGHT=480
MENCODER=/usr/bin/mencoder
CHRT="sudo chrt -f 99"
AUDIO="-oac mp3lame"
VIDEO="-ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=$BITRATE -vf pp=lb,crop=636:480:2:0"
DSP="adevice=/dev/dsp:forceaudio:forcechan=1"
TV="-tv driver=v4l2:device=/dev/video0:input=0:chanlist=europe-west:width=$WIDTH:height=$HEIGHT:outfmt=yuy2"
cd /var/www/files
alsactl restore -f /etc/recordmixersettings
$CHRT $MENCODER $TV $VIDEO $AUDIO -endpos $TIME -o "$NAME.avi" tv://$CHAN
-------------------
--
Alex Polite
http://polite.se
More information about the MPlayer-users
mailing list