Class VideoEncoder

  • All Implemented Interfaces:
    IEncoder

    public class VideoEncoder
    extends java.lang.Object
    implements IEncoder
    Since:
    : 23-11-2020
    Author:
    : Enrico Gamil Toros de Chadarevian Project name : ProjektStudiumSteganography
    • Constructor Summary

      Constructors 
      Constructor Description
      VideoEncoder​(Video video, java.io.File ffmpegBin, boolean logging)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] encodeFrames​(java.util.List<byte[]> stegImages)
      Encode a list of images to a video
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VideoEncoder

        public VideoEncoder​(Video video,
                            java.io.File ffmpegBin,
                            boolean logging)
    • Method Detail

      • encodeFrames

        public byte[] encodeFrames​(java.util.List<byte[]> stegImages)
                            throws java.io.IOException
        Encode a list of images to a video
        Specified by:
        encodeFrames in interface IEncoder
        Parameters:
        stegImages - List of images to be encoded
        Returns:
        Encoded Video as .avi
        Throws:
        java.io.IOException - If a read or write fails