Solveig Multimedia Forum - Get help for video editing software

SolveigMM End-User Products => Video Splitter => Topic started by: reebok on November 13, 2021, 10:58:47 PM

Title: Time format
Post by: reebok 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.
Title: Re: Time format
Post by: Maxim.Sakhankov 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 (https://www.solveigmm.com/en/support/doc/video-splitter/batch-splitter-console-utility.html#Time_format_types).

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