I'm trying to write a script that will take a very long list of timecode numbers, in the format xx:xx:xx:xx, and arrange them in groups that equal a certain number.
I work at a TV station, and we air clips of people who are serving in the military away from home saying hello to their friends and family. We have a lot of clips, each of varying legth. Right now we're going through the proccess of logging how long each clip is.
I have a little expeirience with shell scripting, but this is beyond my abilities.
I want to be able to feed the script a list of timecode, and arrange them in groups that are close to 15 seconds. The order doesn't matter, just that they fit in a 15 second commercial.
If someone wants to write a script, that'd be great, but otherwise I just need to be pointed in the right direction with what commands I need to learn about.
Thanks for your time.
Colin
Just in case, timecode is formatted hh:mm:ss:ff Hour:Minute:second:frame and there are 30 frames per second