Jump to content



Photo

HyperCam (Screen Recording) UDF


  • Please log in to reply
7 replies to this topic

#1 seangriffin

seangriffin

    Polymath

  • Active Members
  • PipPipPipPip
  • 223 posts

Posted 18 June 2010 - 02:08 PM

This UDF allows users to record the events occurring on their screen in real-time (otherwise known as "screen recording").

Windows XP alone doesn't include a screen recorder. However I believe Windows Vista and Windows 7 do.

I wanted to find the best free screen recording UDF solution I could for Windows XP. CamStudio is clearly a popular choice in these forums. Though I was already using HyperCam prior to evaluating CamStudio. After comparing the two applications, I found them to both be almost identical, with one major exception. HyperCam includes a COM interface. It was therefore the ideal choice for an AutoIT UDF.

REQUIREMENTS:

  • AutoIt3 3.2 or higher
  • A HyperCam is installed & registered
LIST OF FUNCTIONS:

_HyperCam_StartRec($filename, $start_x = 0, $start_y = 0, $width = @DesktopWidth, $height = @DesktopHeight, $compressor = "MSVC", $comp_quality = 85, $frame_rate = 10, $key_frames = 100, $record_sound = 0, $playback_rate = 10, $flash_rect = -1)
_HyperCam_StopRec()

EXAMPLE:

The following example demonstrates how the HyperCam UDF can be used to record activities on the screen. On running the script, a full resolution screen recording (of the entire screen) will be performed for 3 seconds, with the result stored in the file "c:\full resolution 3 second recording.avi". Immediately after this, another screen recording is performed, on a 400 x 300 pixel area of the screen, also for 3 seconds, with the result stored in the file "c:\400x300 3 second recording.avi".

Attached File  HyperCam example.au3   264bytes   524 downloads

DOWNLOAD:

Latest Version - v0.1 (18/06/10)
Attached File  HyperCam.au3   4.51K   534 downloads

Edited by seangriffin, 18 June 2010 - 02:20 PM.

Cheers,Sean.See my other UDFs:SAP UDF - Automate SAPJava UDF - Automate Java Applications & AppletsTesseract (OCR) UDF - Capture text from applications, controls and the desktopTextract (OCR) UDF - Capture text from applications and controlsFileSystemMonitor UDF - File, Folder, Drive and Shell MonitoringVLC (Media Player) UDF - Creating and controlling a VLC control in AutoITGoogle Maps UDF - Creating and controlling Google Maps (inc. GE) in AutoITSAPIListBox (Speech Recognition) UDF - Speech Recognition via the Microsoft Speech (SAPI) ListBoxeBay UDF - Automate eBay using the eBay APIChildProc (Parallel Processing) UDF - Parallel processing functions for AutoITHyperCam (Screen Recording) UDF - Automate the HyperCam screen recorderTwitter UDF - Automate Twitter using OAuth and the Twitter APIcURL UDF - a UDF for transferring data with URL syntaxSee my other Tools:Rapid Menu Writer - Add menus to DVDs in secondsTV Player - Automates the process of playing videos on an external TV / MonitorRapid Video Converter - A tool for resizing and reformatting videosRapid DVD Creator - Convert videos to DVD fast and for freeZapPF - A tool for killing processes and recycling filesSean's eBay Bargain Hunter - Find last minute bargains in eBay using AutoITSean's GUI Inspector - A scripting tool for querying GUIsTransLink Journey Planner with maps - Incorporating Google Maps into an Australian Journey PlannerAutomate Qt and QWidgetsBrisbane City Council Event Viewer - See what's going on in Brisbane, Australia





#2 hat

hat

    Seeker

  • Active Members
  • 7 posts

Posted 18 June 2010 - 06:00 PM

Unstable :mellow: :P

#3 WeiHeXie

WeiHeXie

    Seeker

  • Active Members
  • 17 posts

Posted 19 June 2010 - 05:52 AM

yes,Unstable,102line!

#4 seangriffin

seangriffin

    Polymath

  • Active Members
  • PipPipPipPip
  • 223 posts

Posted 19 June 2010 - 02:12 PM

Unstable :mellow: :P


Please explain. Tell me what fails.
Have been using the UDF successfully at my work environment over the period of one day so far.
Could it be the way HyperCam is configured on my computer??

Edited by seangriffin, 19 June 2010 - 02:14 PM.

Cheers,Sean.See my other UDFs:SAP UDF - Automate SAPJava UDF - Automate Java Applications & AppletsTesseract (OCR) UDF - Capture text from applications, controls and the desktopTextract (OCR) UDF - Capture text from applications and controlsFileSystemMonitor UDF - File, Folder, Drive and Shell MonitoringVLC (Media Player) UDF - Creating and controlling a VLC control in AutoITGoogle Maps UDF - Creating and controlling Google Maps (inc. GE) in AutoITSAPIListBox (Speech Recognition) UDF - Speech Recognition via the Microsoft Speech (SAPI) ListBoxeBay UDF - Automate eBay using the eBay APIChildProc (Parallel Processing) UDF - Parallel processing functions for AutoITHyperCam (Screen Recording) UDF - Automate the HyperCam screen recorderTwitter UDF - Automate Twitter using OAuth and the Twitter APIcURL UDF - a UDF for transferring data with URL syntaxSee my other Tools:Rapid Menu Writer - Add menus to DVDs in secondsTV Player - Automates the process of playing videos on an external TV / MonitorRapid Video Converter - A tool for resizing and reformatting videosRapid DVD Creator - Convert videos to DVD fast and for freeZapPF - A tool for killing processes and recycling filesSean's eBay Bargain Hunter - Find last minute bargains in eBay using AutoITSean's GUI Inspector - A scripting tool for querying GUIsTransLink Journey Planner with maps - Incorporating Google Maps into an Australian Journey PlannerAutomate Qt and QWidgetsBrisbane City Council Event Viewer - See what's going on in Brisbane, Australia

#5 o0o

o0o

    Seeker

  • Active Members
  • 9 posts

Posted 21 June 2010 - 12:30 AM

C:\Documents and Settings\KIN\My Documents\Downloads\HyperCam.au3 (102) : ==> Variable must be of type "Object".:
$_HyperCam_obj.StopRec
$_HyperCam_obj^ ERROR

#6 seangriffin

seangriffin

    Polymath

  • Active Members
  • PipPipPipPip
  • 223 posts

Posted 21 June 2010 - 01:31 AM

C:\Documents and Settings\KIN\My Documents\Downloads\HyperCam.au3 (102) : ==> Variable must be of type "Object".:
$_HyperCam_obj.StopRec
$_HyperCam_obj^ ERROR


Just checking the obvious. Did you register the HyperCam automation server? I know I haven't made it clear (yet) but in the remarks in the UDF I state that you need to run:

“C:\Program Files\HyCam2\HyCam2.exe” –regonly

to first register HyperCam as a COM object before using any functions. I need to make this clearer in the topic.

(It's a shame HyperCam doesn't do this automatically on installation)

Edited by seangriffin, 21 June 2010 - 01:31 AM.

Cheers,Sean.See my other UDFs:SAP UDF - Automate SAPJava UDF - Automate Java Applications & AppletsTesseract (OCR) UDF - Capture text from applications, controls and the desktopTextract (OCR) UDF - Capture text from applications and controlsFileSystemMonitor UDF - File, Folder, Drive and Shell MonitoringVLC (Media Player) UDF - Creating and controlling a VLC control in AutoITGoogle Maps UDF - Creating and controlling Google Maps (inc. GE) in AutoITSAPIListBox (Speech Recognition) UDF - Speech Recognition via the Microsoft Speech (SAPI) ListBoxeBay UDF - Automate eBay using the eBay APIChildProc (Parallel Processing) UDF - Parallel processing functions for AutoITHyperCam (Screen Recording) UDF - Automate the HyperCam screen recorderTwitter UDF - Automate Twitter using OAuth and the Twitter APIcURL UDF - a UDF for transferring data with URL syntaxSee my other Tools:Rapid Menu Writer - Add menus to DVDs in secondsTV Player - Automates the process of playing videos on an external TV / MonitorRapid Video Converter - A tool for resizing and reformatting videosRapid DVD Creator - Convert videos to DVD fast and for freeZapPF - A tool for killing processes and recycling filesSean's eBay Bargain Hunter - Find last minute bargains in eBay using AutoITSean's GUI Inspector - A scripting tool for querying GUIsTransLink Journey Planner with maps - Incorporating Google Maps into an Australian Journey PlannerAutomate Qt and QWidgetsBrisbane City Council Event Viewer - See what's going on in Brisbane, Australia

#7 cycotron

cycotron

    Seeker

  • Active Members
  • 5 posts

Posted 28 September 2010 - 04:47 AM

Just wanted to say I've been using this on Vista and 7, and it is working well.

Thanks!

#8 dexto

dexto

    Polymath

  • Active Members
  • PipPipPipPip
  • 239 posts

Posted 28 September 2010 - 05:45 PM

Never knew HyperCam has COM. Thx!

Edited by dexto, 28 September 2010 - 05:45 PM.

Too lazy for anything other then AutoIT.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users