[Solved] Timecode difference between IN & OUT - hh:mm:ss:ff

Discuss the spreadsheet application
Locked
Cippalippa1975!
Posts: 2
Joined: Thu Aug 12, 2021 8:39 am

[Solved] Timecode difference between IN & OUT - hh:mm:ss:ff

Post by Cippalippa1975! »

Hi,

I would need to create a cue sheet with the time codes of the music cues in a movie, with hours, minutes, seconds and frames, for example 01:00:00:00

The movie is divided into acts 1, 2 and 3, which start respectively at TC 01:00:00:00, 02:00:00:00 and 03:00:00:00

1) I'd like to format the cells with numbers that look like 01:00:00:00

2) If for example the IN of a cue in ACT 1 is 01:00:29:00 and the OUT is 01:01:01:00, I'd like to use a formula that would show the DURATION as 00:00:32:00. If a similar situation would appear in ACT 3 we would have the IN at 03:00:29:00 and the OUT at 03:01:01:00, and I'd like the duration to show still as 00:00:32:00

3) being frame accurate, according to a frame rate would be awesome, but I'm not really good with formulas so the simpler the better. Having the :00 digits at the end, rather than just hours, minutes and seconds will help to follow more easily the time code burnt in the picture.

Thank you!
Last edited by MrProgrammer on Sun Aug 29, 2021 11:51 pm, edited 1 time in total.
Reason: Tagged ✓ [Solved]
OpenOffice 4.1 on MacOS 10.15.7
User avatar
robleyd
Moderator
Posts: 5383
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Timecode difference between IN and OUT - hh:mm:ss:ff

Post by robleyd »

1) I'd like to format the cells with numbers that look like 01:00:00:00
There is an existing format under format category TIME - [HH]:MM:SS.00 - which is almost identical to your needs. Format your start, end and duration cells thus. Then:
2) If for example the IN of a cue in ACT 1 is 01:00:29:00 and the OUT is 01:01:01:00, I'd like to use a formula that would show the DURATION as 00:00:32:00.
You can subtract IN from OUT to obtain DURATION.
Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 25.2.4.3; SlackBuild for 25.2.4 by Eric Hameleers
---------------------
Roses are Red, Violets are Blue]
Unexpected '{' on line 32
.
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Timecode difference between IN and OUT - hh:mm:ss:ff

Post by Villeroy »

As far as I know, the last part ff in hh:mm:ss:ff refers to frames which is not the same as hundredth seconds. If you need the precise difference, you need a column for the time and another column for the frames. Any time diff will be calculated as 1 hour, 35 minutes, 45 seconds and 15 frames. A spreadsheet can not recognize 01:35:45:15 as a calculatable numeric value.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
MrProgrammer
Moderator
Posts: 5279
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Timecode difference between IN and OUT - hh:mm:ss:ff

Post by MrProgrammer »

Cippalippa1975! wrote:I'm not really good with formulas so the simpler the better. Having the :00 digits at the end, rather than just hours, minutes and seconds will help to follow more easily the time code burnt in the picture.
The formulas when all the timecodes end in :00 are simple. See sheet Frame00 of the attachment.
202108211443.ods
(11.95 KiB) Downloaded 207 times
Cippalippa1975! wrote:being frame accurate, according to a frame rate would be awesome
You can do that too, though the formulas are more complex, as you suspected. See sheet Frame24 of the attachment. I used 24 frames per second, though you can change the rate in Insert → Names → Define.

Related topics:
[Solved] Convert hours:minutes:seconds:frames to minutes
[Solved] How to set time to TIMECODE ?
[Solved] User-defined time format (Timecode)
[Solved] Help converting frames to 'HH:MM:SS.FF.00'

[Tutorial] Ten concepts that every Calc user should know

If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the subject field. Select the green checkmark icon at the same time.
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.7.6, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
Cippalippa1975!
Posts: 2
Joined: Thu Aug 12, 2021 8:39 am

Re: Timecode difference between IN and OUT - hh:mm:ss:ff

Post by Cippalippa1975! »

Brilliant! That you so much!!
OpenOffice 4.1 on MacOS 10.15.7
Locked