Class VideoWriter


  • public class VideoWriter
    extends Object
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • VideoWriter

        protected VideoWriter​(long addr)
      • VideoWriter

        public VideoWriter​(String filename,
                           int apiPreference,
                           int fourcc,
                           double fps,
                           Size frameSize,
                           boolean isColor)
      • VideoWriter

        public VideoWriter​(String filename,
                           int apiPreference,
                           int fourcc,
                           double fps,
                           Size frameSize)
      • VideoWriter

        public VideoWriter​(String filename,
                           int fourcc,
                           double fps,
                           Size frameSize,
                           boolean isColor)
      • VideoWriter

        public VideoWriter​(String filename,
                           int fourcc,
                           double fps,
                           Size frameSize)
      • VideoWriter

        public VideoWriter()
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static VideoWriter __fromPtr__​(long addr)
      • getBackendName

        public String getBackendName()
      • isOpened

        public boolean isOpened()
      • open

        public boolean open​(String filename,
                            int apiPreference,
                            int fourcc,
                            double fps,
                            Size frameSize,
                            boolean isColor)
      • open

        public boolean open​(String filename,
                            int apiPreference,
                            int fourcc,
                            double fps,
                            Size frameSize)
      • open

        public boolean open​(String filename,
                            int fourcc,
                            double fps,
                            Size frameSize,
                            boolean isColor)
      • open

        public boolean open​(String filename,
                            int fourcc,
                            double fps,
                            Size frameSize)
      • set

        public boolean set​(int propId,
                           double value)
      • get

        public double get​(int propId)
      • fourcc

        public static int fourcc​(char c1,
                                 char c2,
                                 char c3,
                                 char c4)
      • release

        public void release()
      • write

        public void write​(Mat image)