Class Video

    • Field Detail

      • videoInfo

        protected final VideoInfo videoInfo
      • blob

        protected final Blob blob
    • Constructor Detail

    • Method Detail

      • fromBlobAndInfo

        public static Video fromBlobAndInfo​(Blob blob,
                                            VideoInfo videoInfo)
        Build a Video from a video blob and the related videoInfo.
      • getDuration

        public double getDuration()
        Returns the duration of this Video.
      • getWidth

        public long getWidth()
        Returns the width of this Video.
      • getHeight

        public long getHeight()
        Returns the height of this Video.
      • getFormat

        public String getFormat()
        Returns the format of this Video.
      • getFrameRate

        public double getFrameRate()
        Returns the frame rate of this Video.
      • getStreams

        public List<Stream> getStreams()
        Returns all the Streams of this Video.
      • getBlob

        public Blob getBlob()
        Returns the video Blob.