Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wiki:screencasttutorial [2011/12/06 04:28] – PQZJgXuUBvaTgCwW 109.230.216.225wiki:screencasttutorial [2011/12/15 14:35] 151.29.137.72
Line 1: Line 1:
-I am froever indebted to you for this information.+===== Optional Xephyr script  ===== 
 + 
 +Set up a Xephyr nested X server with a resolution of 1280x720 as this resolution yields the best result when uploading the final video to a webservice like YouTube. I use a little script for this: 
 + 
 +<code>#!/bin/bash 
 + 
 +# Set up nested X server 
 +Xephyr -keybd ephyr,,,xkbmodel=evdev -br -reset -host-cursor -screen 1280x720x24 -dpi 96 :2 & 
 +sleep 3 
 +export DISPLAY=:2.0 
 +/etc/X11/Xsession &</code> 
 + 
 +As you can see I set up a session by calling /etc/X11/Xsession. In Ubuntu >= 9.10 this starts up a new fresh Gnome session and because I use IceWM for my main session in which I run Xephyr this works very well. If you're using Gnome as your DE using /etc/X11/Xsession won't work properly so in that case you will have to resort to a different start-up option. This also holds for distributions that don't use /etc/X11/Xsession. 
 + 
 +TODO:other distros  
 + 
 +After you ran this Xephyr script, you should run the above screencast script, taking care of making the following changes to it:  
 + 
 + * add the line "export DISPLAY=:2.0" after the TIME line 
 + * change -i 0:0 ffmpeg option to -i :2  
 + * add the -display 0:0 option to the xterm line (so it won't appear in your screencast) 
 + 
 +Within the Xephyr session I also use a [[http://gnome-look.org/content/show.php/Basic?content=126559|plain cursor theme without drop shadow]] because ffmpeg doesn't capture the drop shadow properly. As of [[http://git.ffmpeg.org/?p=ffmpeg;a=commit;h=191a50db964768ca4418bdf00b26159a77879b9c|FFmpeg revision 25690]] this has been fixed. 
wiki/screencasttutorial.txt · Last modified: 2013/06/02 15:45 by 127.0.0.1