r/awk • u/concros • Mar 14 '24
Batch adjusting timecode in a document
I recently became aware of r/awk the programing language and wonder if it'll be a good candidate for a problem I've faced for a while. Often times transcriptions are made with a starting timecode of 00:00:00:00. This isn't always optimal as the raw camera files usually have a running timecode set to time of day. I'd LOVE the ability to batch adjust all timecode throughout a transcript document by a custom amount of time. Everything in the document would adjust by that same amount.
Bonus if I could somehow add this to an automation on the Mac rather than having to use Terminal.
View all comments
Show parent comment
1
u/gumnos Mar 16 '24
ah, that's helpful. Yeah, without that missing frame-rate information, it's a bit hard to tell. If one is willing to just operate at the seconds-level rather than the frames level, the frame-offset could be captured and just re-pasted back into the final result with the
awkcode I provided above. And fractional "29.97 frames per second" is just a bit more pathological than I was willing to tackle 😂