Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop span command #3

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

NPatch
Copy link

@NPatch NPatch commented Aug 16, 2017

A new command that provides a way to playback a portion of a file akin to the way KinectStudio provides.
Starting and Ending points are TimeSpans so we have to provide the string format of the TimeSpan that KinectStudio displays when hovering on top of the equivalent handles.

KSUtil.exe -loop 15 -span 0:00:03.3924922 0:00:03.7110503 -play test.xef

…ameters in addition to the default parameter list. Those two are a starting and ending point for the playback just like KinectStudio has.
…ommand.

* Also to avoid problems of relative vs absolute paths when it comes to file paths, added conversions to FileInfo to any variable that resembles filePath, prior to giving it to the function that will consume it.
@NPatch
Copy link
Author

NPatch commented Aug 16, 2017

A neat addition to this might be a span that also takes Metadata entries which are of type TimeSpan, saved on the clip by KinectStudio manipulation. Easier to use in automated testing to store and also debug metadata keys instead of TimeSpan strings.

@NPatch
Copy link
Author

NPatch commented Aug 17, 2017

Added support for playback of time portion given Metadata keys that correspond to TimeSpan values, saved on the recording itself. For now it only works with Personal Metadata.
e.g.

KSUtilExtended.exe -loop 15 -span SomeEdgeCaseStart SomeEdgeCaseEnd -play test.xef

where SomeEdgeCaseStart and SomeEdgeCaseEnd correspond to metadata keys attached to the recording(Personal Metadata) when opened for Edit in KinectStudio , choosing value type to be TimeSpan and entering the values given by the time region anchors above the timeline.

PS: Renamed the assembly to KSUtilExtended to avoid conflicts when saving directories into the PATH system variable for usage without the full path of the application. Was isolated in one commit so reversal is very easy.

…tart/End points , therefore the recorded ended immediately.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants