>  Docs Center  >  Libraries  >  Salvaggio  >  WRITE_MP4
Libraries

WRITE_MP4

WRITE_MP4

Name


    WRITE_MP4

Purpose


    This procedure will create an MPEG4 video file from the provided
    frames. The frames can be either greyscale or 3-channel color.

Category


    Image Processing.

Calling Sequence


    WRITE_MP4, frames, filename, FPS=fps, VERBOSE=verbose

Inputs


    frames
      An [n,samples,lines] (greyscale) or [n,3,samples,lines] (color)
      array containing the frames to be rendered in the video file.

Filename


      A string containing the full path and filename of the video
      file to be created.

Keyword Parametrs


      FPS
        The frame rate that the created video file should play
        at [default=30].
      VERBOSE
        Set this keyword to receive feedback to the console window
        during the rendering process.
  :ERROR CHECKING:
    None

Side Effects


    None

Requires


    None

Modification History


    Written by: Carl Salvaggio
    January, 2012 Original code
   

Disclaimer


    This source code is provided "as is" and without warranties as to performance
    or merchantability. The author and/or distributors of this source code may
    have made statements about this source code. Any such statements do not
    constitute warranties and shall not be relied on by the user in deciding
    whether to use this source code.
    This source code is provided without any express or implied warranties
    whatsoever. Because of the diversity of conditions and hardware under which
    this source code may be used, no warranty of fitness for a particular purpose
    is offered. The user is advised to test the source code thoroughly before
    relying on it. The user must assume the entire risk of using the source code.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us