revRecordVideo

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
revRecordVideo <filePath>
Associationsvideo library
Summary

Records video from a video camera to a file.

Introduced2.0
Changes

The use of QuickTime was deprecated in version 8.1 of LiveCode with new defaults for dontUseQT and dontUseQTEffects as true on all systems apart from pre OS X 10.8. The Windows build of LiveCode no longer supports any QuickTime features and setting the dontUseQT and dontUseQTEffects will have no effect.

Support for the "Video Grabber" library on Mac OS X ended in LiveCode 9.0.

OSwindows
Platformsdesktop
Parameters
NameTypeDescription
filePath

The name and location of the file that will hold the recorded video data. If you specify a name but not a location, LiveCode assumes the file is in the defaultFolder.

Example
revRecordVideo "/Disk/Folder/file.mov"
revRecordVideo "mymovie.avi"
revRecordVideo theFileName
RelatedProperty: dontUseQT, dontUseQTEffects
Command: revVideoGrabIdle, revPreviewVideo, revInitializeVideoGrabber, revStopRecordingVideo, revVideoFrameImage
Function: format, movie
Glossary: execute, AVI, Standalone Application Settings, QuickTime, standalone application, video grabber, command, LiveCode custom library
Library: Video library
Securitydisk, privacy
Description

Use the revRecordVideo command to record a movie file.

You must use the revInitializeVideoGrabber command to open the video grabber before you can use the revRecordVideo command.

The recorded video is stored in AVI format.

If the video grabber was already recording video to a file, executing the revRecordVideo command again stops that recording and starts a new one. To stop recording the video input, use the revStopRecordingVideo command.

Important: The revRecordVideo command is part of the Video library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Video Grabber" library checkbox is checked.

Tagsmultimedia