Package steganography.video.encoders
Class VideoEncoder
- java.lang.Object
-
- steganography.video.encoders.VideoEncoder
-
-
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
-
-
-
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 interfaceIEncoder
- Parameters:
stegImages
- List of images to be encoded- Returns:
- Encoded Video as .avi
- Throws:
java.io.IOException
- If a read or write fails
-
-