Class VideoClip

java.lang.Object
org.opencastproject.videoeditor.impl.VideoClip

public class VideoClip extends Object
  • Constructor Details

    • VideoClip

      public VideoClip(int id, long start, long end)
      Video clip constructor.
      Parameters:
      id - Source identifier of the video clip
      start - Start time in milliseconds
      end - End time in milliseconds
  • Method Details

    • getSrc

      public int getSrc()
    • getStartInMilliseconds

      public long getStartInMilliseconds()
      Get the video clip's start time in milliseconds.
      Returns:
      Start time in milliseconds.
    • getStartInSeconds

      public double getStartInSeconds()
      Get the video clip's start time in fractions of seconds.
      Returns:
      Start time in seconds.
    • getEndInMilliseconds

      public long getEndInMilliseconds()
      Get the video clip's end time in milliseconds.
      Returns:
      End time in milliseconds.
    • getEndInSeconds

      public double getEndInSeconds()
      Get the video clip's end time in fractions of seconds.
      Returns:
      End time in seconds.
    • getRegion

      public String getRegion()
    • getDurationInMilliseconds

      public long getDurationInMilliseconds()
      Get the video clip's duration in milliseconds.
      Returns:
      Duration in milliseconds.
    • getDurationInSeconds

      public double getDurationInSeconds()
      Get the video clip's duration in fractions of seconds.
      Returns:
      Duration in seconds.