Differences

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

dev:animated_voiceover [2007/02/10 11:55]
tim
dev:animated_voiceover [2009/07/06 20:36] (current)
Line 1: Line 1:
====== Animated Voice Over Guide ====== ====== Animated Voice Over Guide ======
----- 
Using the “vnc2swf” tool you can record your interactions with a desktop, or single window, and share them to other people. To create your own movie you need two things: Using the “vnc2swf” tool you can record your interactions with a desktop, or single window, and share them to other people. To create your own movie you need two things:
Line 12: Line 11:
When LAME is installed, we need to tell Audacity about it. The first time you go to export to an //MP3// Audacity will ask you where libmp3lame.so is located. You can simply point it to the "//liblame.so//" file, normally in the "///usr/local/lib//" folder, and click OK and you should be all set. When LAME is installed, we need to tell Audacity about it. The first time you go to export to an //MP3// Audacity will ask you where libmp3lame.so is located. You can simply point it to the "//liblame.so//" file, normally in the "///usr/local/lib//" folder, and click OK and you should be all set.
----- +=== Getting vnc2swf ===
-**Getting vnc2swf** +
vnc2swf isn't contained inside the Debian repository yet, so for the moment you must download it from the internet. You can find the current release here: vnc2swf isn't contained inside the Debian repository yet, so for the moment you must download it from the internet. You can find the current release here:
Line 21: Line 19:
Download the python version of the software, (currently this is pyvnc2swf-0.6.4.tar.gz), and unpack it: Download the python version of the software, (currently this is pyvnc2swf-0.6.4.tar.gz), and unpack it:
-''wget [[http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.6.4.tar.gz]]\\ +  wget [[http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.6.4.tar.gz]] 
-tar -pzxvf pyvnc2swf-0.6.4.tar.gz\\ +  tar -pzxvf pyvnc2swf-0.6.4.tar.gz 
-cd pyvnc2swf-0.6.4/''\\+  cd pyvnc2swf-0.6.4/
As the software is written in the Python scripting language there is no need to compile anything, you just need to have the relevant Python libraries installed upon your host. As the software is written in the Python scripting language there is no need to compile anything, you just need to have the relevant Python libraries installed upon your host.
Line 29: Line 27:
To make this package work upon a Debian system you'll need to install ''python-tk'', and ''python-pygame'' packages, which you can do with this command: To make this package work upon a Debian system you'll need to install ''python-tk'', and ''python-pygame'' packages, which you can do with this command:
-''apt-get install python2.3-pygame python2.3-tk''+  apt-get install python2.3-pygame python2.3-tk
Once that has been done you're ready to move on to the VNC server setup. Once that has been done you're ready to move on to the VNC server setup.
----- 
-**VNC Server Setup**\\+=== VNC Server Setup ===
   
For the VNC server it is better to use the **"xllvnc"** package. This package allows you to create a VNC server sharing either your whole desktop, or just a single window. The latter is ideal for creating a simple training video. For the VNC server it is better to use the **"xllvnc"** package. This package allows you to create a VNC server sharing either your whole desktop, or just a single window. The latter is ideal for creating a simple training video.
Install the package with the following command, as root: Install the package with the following command, as root:
-''apt-get install x11vnc''+  apt-get install x11vnc
If you wish to create a movie of your complete desktop you can run it as follows: If you wish to create a movie of your complete desktop you can run it as follows:
-''x11vnc -localhost -viewonly &''+  x11vnc -localhost -viewonly &
If you'd rather share a single window run: If you'd rather share a single window run:
-''x11vnc -localhost -viewonly -id pick &''+  x11vnc -localhost -viewonly -id pick &
This will allow you to click upon the window you wish to share with your mouse - after you have done so your selected window will be shared and made available. This will allow you to click upon the window you wish to share with your mouse - after you have done so your selected window will be shared and made available.
----- +=== Make Your Movie ===
- +
-**Make Your Movie **\\+
Now that you have a running VNC server upon your local host you can create the movie. To do so execute: Now that you have a running VNC server upon your local host you can create the movie. To do so execute:
-''./vnc2swf.py -nowindow -o myoutput.swf localhost''+  ./vnc2swf.py -nowindow -o myoutput.swf localhost
This will immediately connect to the VNC server you have running upon the localhost, and start recording a movie of anything that happens to that window. The output will be sent to "myoutput.swf" - and a HTML file will also be created called myoutput.html. You can use your own file name rather than “myoutput.swf”. This will immediately connect to the VNC server you have running upon the localhost, and start recording a movie of anything that happens to that window. The output will be sent to "myoutput.swf" - and a HTML file will also be created called myoutput.html. You can use your own file name rather than “myoutput.swf”.
Line 64: Line 59:
After capturing the screen stop the vnc2swf and then export the audio file as MP3.  In the example I have used “mymovie.mp3” After capturing the screen stop the vnc2swf and then export the audio file as MP3.  In the example I have used “mymovie.mp3”
----- +=== Adding Sound ===
- +
-**Adding Sound **\\+
If you have an appropriate MP3 file you can add it to your movie file as follows: If you have an appropriate MP3 file you can add it to your movie file as follows:
-Put the MP3 file to the directory where the myoutput.swf file is located.\\ +Put the MP3 file to the directory where the myoutput.swf file is located.
   
-''./edit.py -a mymovie.mp3 -o output-with-audio.swf myoutput.swf''\\ +  ./edit.py -a mymovie.mp3 -o output-with-audio.swf myoutput.swf
Here we add the audio file mymovie.mp3 to the file we've just created (myoutput.swf) and save the combined movie as output-with-audio.swf. Here we add the audio file mymovie.mp3 to the file we've just created (myoutput.swf) and save the combined movie as output-with-audio.swf.
- 
----- 
- 
-  
-             
- 
- 
- 

Navigation
  • Navigate