mergAVEditVideo

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergAVEditVideo(<pFilePath>, [<pQuality>], [<pDuration>])
Associationsmergav
Summary

Edits the video and saves the result in the temporary folder and returns the file path

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pFilePath

the file path of the video

pQuality

(optional with "medium" default) the quality of the video - high : iOS 3.1+ - medium : iOS 3.1+ - low : iOS 3.1+ - 640x480 : iOS 4.0+ - 1280x720 : iOS 5.0+ - 960x540 : iOS 5.0+

pDuration

(optional with 600 default) the maximum duration of the video

Example
put mergAVEditVideo(tVideoPath,"medium",180) into tEditedVideoPath
put mergAVEditVideo(tVideoPath,"low") into tEditedVideoPath
Values
NameTypeDescription
return

one of:

  • mergAV:Error: can't edit video
  • mergAV: cancelled
  • The path to the saved video file
Description

iOS Only.

Tagsexternals