Something like Camtasia Studio but written in perl

If that software fulfils your need, why do you want to re-invent the wheel? And why does it have to be done in Perl? Recording the screen usually needs very close interaction with special APIs of the respective operating system (or the X server), and while it can be done in Perl, there are other languages which are better suited for that task. Of course, if you need cross-platform support, the very first step would be abstracting the OS specific APIs so that you have an OS-independent API for screen recording.

My aim is not controlling a remote computer.

Who said that? Did you even try to research what vnc2swf does? Like copy-and-pasting vnc2swf into a Google search form, submitting that form, and clicking on the first link on the results page?

If you did, you would have noticed that (ab-)using VNC to access the screen in a cross-platform way is a very good abstraction of the OS specific APIs. As soon as you use VNC as an abstraction layer, you "just" have to implement an RFB protocol recorder and a translator that reads a recorded RFB data stream and writes the required output format(s).

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

In reply to Re^5: Screen recording by afoken
in thread Screen recording by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.