Linux-Noob Forums
Record Your desktop - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+--- Thread: Record Your desktop (/thread-2982.html)

Pages: 1 2


Record Your desktop - hijinks - 2004-12-20


I have used this to create video FAQs when I do a GUI app for clients that pay for my work. It adds that bit of professional touch

 

First we have to install the ming libraries. This lets us create flash movies. NOTE: vnc2swf does not work with ming v.3 at the time of writting this

 



Code:
wget http://unc.dl.sourceforge.net/sourceforge/ming/ming-0.2a.tgz
tar zxfv ming-0.2a.tgz
cd ming-0.2a
make
make install
ldconfig -v




 

Now that our ming library is installed.. Lets download and compile vnc2swf which we will use to grab a vnc session and turn it into a flash movie file.

 



Code:
wget http://www.unixuser.org/~euske/vnc2swf/vnc2swf-0.4.2.tar.gz
tar zxfv vnc2swf-0.4.2.tar.gz
cd vnc2swf-0.4.2
./configure --prefix=/usr
make
make install




 

Now that vncrec is installed. We have to start a vncserver. You can use any vncserver you want. I assume you have one up and running. So now we run the following command as the user that started the XServer

 



Code:
vnc2swf -truecolour -startrecording demo.swf localhost:1




 

Now you should have a demo.swf file in the same directory you ran that command in. NICE! You should be able to view that in a browser now or some flash viewer.

 

Now we can add some nice tags to improve our little flash file

 



Code:
-soundfile <mp3-to-play>  # That will loop a mp3 file while the demo is playing
-framerate <frames-per-sec> # will change the framerate to make it smoother or to conserve filesize




 

From there we can import it into a webpage by using the following code

 



Code:
<embed src="demo.swf" width="600" height="400" loop="false" quality="high"  pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">







Record Your desktop - anyweb - 2004-12-20


totally cool Jy ! now all i gotta do is try it out, can you post a swf file you have created with this method here just to see what its like ?

 

cheers

 

anyweb




Record Your desktop - hijinks - 2004-12-20


[/url]http://homer.meso.com/crap/demo.swf

 

Here it is embeded in html.. looks much better

 

[url=http://homer.meso.com/crap/test.html]http://homer.meso.com/crap/test.html

 

i'd have to re-size my vncserer's desktop in order for it to look better.




Record Your desktop - anyweb - 2004-12-20

will this howto work for fedora core release 3 ?



Record Your desktop - hijinks - 2004-12-20

it should



Record Your desktop - lerum - 2004-12-21


nice!

 

got my mouse doing an act [img]<___base_url___>/uploads/emoticons/default_laugh.png[/img]

it worked on FC3!




Record Your desktop - xDamox - 2004-12-23

hijinks, how did you just get it to show a certian part of the screen not the whole thing?



Record Your desktop - joesnow99 - 2005-08-16


tried in FC4 and got this error:

 

[root@js2 vnc2swf-0.4.2]# make

gcc -DHAVE_LIBZ=1 -DHAVE_LIBMING=1 -I. -DVNC_SOCKLEN_T=socklen_t -I/usr/X11R6/include -O2 -Wall -g -c argsresources.c

gcc -DHAVE_LIBZ=1 -DHAVE_LIBMING=1 -I. -DVNC_SOCKLEN_T=socklen_t -I/usr/X11R6/include -O2 -Wall -g -c colour.c

colour.c: In function




Record Your desktop - znx - 2005-08-16

Quote:
Code:
vncviewer.h:160: error: previous declaration of



Record Your desktop - dasunst3r - 2005-08-17

Another program you could use is called Wink: www.debugmode.com/wink