Class VideoWorker

java.lang.Object
yearreview.app.render.VideoWorker

public class VideoWorker extends Object
A class that pipes the generated images from the Renderer into an ffmpeg-subprocess to render the video.
Author:
ColdStone37
  • Field Details

    • ffmpeg

      private final Process ffmpeg
      ffmpeg-subprocess used for creating the video-file.
    • ffmpegInput

      private final OutputStream ffmpegInput
      Stream used to input raw frames into ffmpeg.
    • logger

      private static final Logger logger
  • Constructor Details

    • VideoWorker

      public VideoWorker()
      Default Constructor for a VideoWorker that starts the ffmpeg-subprocess.
  • Method Details