Video

The video ImageProvider delivers frames from a video file or ZIP archive.

Field name Type Description
Required fields
type ImageProvider.Type video
source FileLocation A FileLocation indicating the source.
Optional fields
videooffset int Set the input time offset in frames. The offset is added to the timestamps of the input files. Specifying a positive offset means that the corresponding streams are delayed by offset frames.

Example

{
    "scenes": [
        {
            "numframes": 25,
            "tracks": [
                {
                    "content": {
                        "type": "video",
                        "source": {
                            "path": "userdata/video.mp4"
                        },
                        "videooffset": 0
                    }
                }
            ]
        }
    ],
    "params": {
        "vparams": {
            "width": 640,
            "height": 480
        }
    }
}   

Terms of Use | © 2017, Impossible Software, or its affiliates. All rights reserved.