Class Progress

java.lang.Object
net.bramp.ffmpeg.progress.Progress

public class Progress extends Object
Represents progress data reported by FFmpeg during encoding.
  • Field Details

    • frame

      public long frame
      The frame number being processed.
    • fps

      public Fraction fps
      The current frames per second.
    • bitrate

      public long bitrate
      Current bitrate.
    • total_size

      public long total_size
      Output file size (in bytes).
    • out_time_ns

      public long out_time_ns
      Output time (in nanoseconds).
    • dup_frames

      public long dup_frames
    • drop_frames

      public long drop_frames
      Number of frames dropped.
    • speed

      public float speed
      Speed of transcoding. 1 means realtime, 2 means twice realtime.
    • status

      Current status, can be one of "continue", or "end".
  • Constructor Details

    • Progress

      public Progress()
      Constructs a default empty progress instance.
    • Progress

      public Progress(long frame, float fps, long bitrate, long total_size, long out_time_ns, long dup_frames, long drop_frames, float speed, Progress.Status status)
      Constructs a progress instance with the specified values.
  • Method Details