You have a csv with an array of timestamp and durations and a video file (e.g. avi). The video has moved to the (timestamp, duration) suggested by the array each time. For instance:
Timestamp (minute:second), Duration (seconds)
we'll play you a 5 second clip starting from 1:25, then a 7 second clip staring from 3:30 and then a 3 second starting from 5:01.
The program should run like this:
java -jar yourjar.jar movie.avi parameters.csv
where 'yourjar.jar' is the your program, 'movie.avi' is any video and parameters.csv is a csv with two columns: timestamp and duration.