Skip to content

Instantly share code, notes, and snippets.

@zeryx
Created February 6, 2016 16:36
Show Gist options
  • Save zeryx/572351928afd403106b8 to your computer and use it in GitHub Desktop.
Save zeryx/572351928afd403106b8 to your computer and use it in GitHub Desktop.
case class SplitOnce(inputVideoUrl: String,
outputFolder: String,
outputFilename: String,
startTime: String,
stopTime: String) extends Inputs{
require(inputVideoUrl != null, "input video must not be null.")
require(outputFolder != null, "output folder must not be null.")
require(outputFilename != null, "output Filename must not be null.")
require(startTime != null, "start time must not be null.")
require(stopTime != null, "stop time must not be null")
}
class VideoSplitter{
def apply(input: SplitOnce): String = {...}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment