SamuKata
soruly
soruly

patreon


Improved time code accuracy and new preview url encoding format

trace.moe has just re-indexed everything using video's fps (mostly 23.976 fps, or whatever fps the video is encoded), instead of the previous fixed 12fps.

I've also identified and fixed the issue that causes time code to drift by about 1 second, occasionally showing video previews of the wrong scene.

Now it should be giving more accurate time code and previews should be showing the matching scene instead of the previous scene.

The index size has increased ~50%, to 300GB and 1.5 billion frames.

The preview URL has a new encoding format like this and no longer comes with ? query string

https://api.trace.moe/video/s5ev1nvsjMo9dIteUKim6Gj

So you need to add ?size=l instead of just append &size=l to it

There's also a new duration property in search API response, which shows the video duration of the file.

Apart from the "from" and "to" which marks the start and end of the matching scene, you can use "at" which represents the exact time of the matching frame.

Please refer to the updated API docs for details.

https://soruly.github.io/trace.moe-api/#/docs

Improved time code accuracy and new preview url encoding format

More Creators