Author Topic: Time format  (Read 10022 times)
  • Administrator
  • Users
  • *****
  • Posts: 294
    • View Profile
« Reply #2 on: November 16, 2021, 02:59:03 PM »
Hello reebok,

I just tried to make an ssp project in a "time10ms" format and it seem to open OK in Video Splitter. Please check that the data of your ssp file is correct. Also, please keep in mind, that the timeFormat=... attribute can be omitted in case of the "time10ms".
See more details here.

If you would like to convert the time to 100ns units, you should do as follows.
Let's say you have the following time stamp: hh:mm:ss:ms (hours:minutes:seconds:milliseconds)
First you should convert this time stamp into seconds:
Tsec = (hh*60*60) + (mm*60) + ss + ms/1000

To convert seconds to 100ns units, you should multiply seconds by 10^7:
100ns units = Tsec*10000000

As an example, the time stamp 00:02:35:227 would be (0*60*60 + 2*60 + 35 + 227/1000)*10000000 = 1552270000 in 100nsunits

  • Users
  • *
  • Posts: 4
    • View Profile
« Reply #1 on: November 13, 2021, 10:58:47 PM »
I want to manually edit the .ssp file to add my own cuts without doing it through the GUI. I already know the times I want to cut and this will make it faster for me.
How can I convert mm:ss to timeformat 100ns? I have mm:ss and want to change it to the 100ns format that video splitter seems to use by default.

Next, I have tried using "time10ms" and it doesn't seem to work at all, which is why I am trying to figure out the above.
<clip src="D:\video.mp4" start="00:01:39.68" stop="00:01:41.53" timeFormat="time10ms" />

Thanks.