(putting a camera in front of the screen is not discussed
![Laughing :lol2:](./images/smilies/icon_laugh.gif)
Code: Select all
<application name="warzone2100">
<decor>no</decor>
<layer>above</layer>
</application>
Rather metacity. I don't have anything against gnome.gnome sucks? lol...
Hmm, nice. What about undecorate?toggle_above
Nice one! But seems to bring in some artefacts for me. /me hates ATI Uhhonly ffmpeg (as described in e.g. http://verb3k.wordpress.com/2010/01/26/ ... -on-linux/) worked without noticeable slowdown
I am curious, which one did the trick for you?NoQ wrote:Thanks!
/me wrote:Just a little success story: suddenly found out that gtk-recordMyDesktop does the job well enough.
That's an unfair comment. You followed that up with that that program brought in artefacts so I thought that the search was still on.NoQ wrote:/me wrote:Just a little success story: suddenly found out that gtk-recordMyDesktop does the job well enough.![]()
Don't worry, it's all right, i know how hard it is to read someone else's messages!
Code: Select all
#!/bin/sh
# Interrupt this script with Ctrl+C when the record is over,
# and then allow it to finish the audio compression and
# multiplexing (shouldn't take long).
# Feel free to adjust the settings below
XRESOLUTION=800
YRESOLUTION=480
FRAMERATE=15
XSHIFT=0
YSHIFT=0
BITRATE=1300
OUTPUT="final.avi"
TEMPVIDEO="raw.avi"
TEMPAUDIO="raw.wav"
DISPLAY=":0.0"
# Clean up, just in case
rm "${TEMPVIDEO}"
rm "${TEMPAUDIO}"
rm "${OUTPUT}"
sox -t alsa "default" -t wav "${TEMPAUDIO}" | ffmpeg -isync -f x11grab -s ${XRESOLUTION}x${YRESOLUTION} -r ${FRAMERATE} -i ${DISPLAY}+${XSHIFT},${YSHIFT} -vcodec mpeg4 -b ${BITRATE}k "${TEMPVIDEO}";
ffmpeg -isync -i "${TEMPAUDIO}" -i "${TEMPVIDEO}" -acodec libmp3lame -vcodec copy "${OUTPUT}"
rm "${TEMPVIDEO}"
rm "${TEMPAUDIO}"