Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When rendering, a copy of the active view is opened in a floating window.  

A progress bar is displayed during rendering. If you click Cancel, rendering stops and the video file is removed from disk.  

Note
Note
The playblast command overrides existing output files without prompting you. You may want to add a check that a file exists to your script before running playblast.

...

playblast "destinationFile"[-width integer] [-height integer] 

Arguments

NameTypeRequiredComments
destinationFile
No

Full path and filename (including extension) of the rendered video file. The extension defines the video output container (mov, mp4, avi, or mkv), or image sequence (jpg).
If not specified, a mov is output with the same name as the scene name in the current save path.

...

NameFlag argumentsArgument typeExclusive toComments
width
integer
Output video resolution width (px).
If not specified, the default (720) is used.
height
integer
Output video resolution height (px).
If not specified, the default (480) is used.

Return value

void

Examples

Code Block
languagetext
playblast "G:/MOCAP/Playblast/fileName.mov" -width 1920 -height 1080;

...


// This produces a mov video of the active view to the path specified.

...


// The video resolution will be 1920 x 1080.