Created
February 6, 2016 16:36
-
-
Save zeryx/572351928afd403106b8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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